summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)AuthorFilesLines
2013-07-24remove unused includeLionel Elie Mamane1-1/+0
Change-Id: I8c99b620bf61e0775b8e4613f58d649a89db9b00
2013-07-24Mark as constTakeshi Abe3-12/+12
Change-Id: Ia3996b997ebbd10ca02ec5a24d1969822bc39273
2013-07-17Move hasBigImages() from ToolboxController to SfxToolBoxController.Jan Holesovsky1-3/+1
We want to decide whether the images are big or not based on the real (underlying) ToolBox, not on the global setting, because we can have both toolbars with large as well as small icons visible at the same time (small in sidebar, large in toolbars). Change-Id: I046a12a495f2038df9a571f5779794a639bae6dc
2013-07-16Make firebird-sdbc install consistent with other drivers.Andrzej J.R. Hunt1-3/+1
Change-Id: I01673bda5a08ca793f4fba89ddae036e3f1483e2
2013-07-16Enable firebird by default, disable as default embedded driver.Andrzej J.R. Hunt1-4/+1
Change-Id: I4907b8b7a3b9ab767132d35b5c3539d52d122660
2013-07-16Create new fdb and/or extract from .odb as appropriate.Andrzej J.R. Hunt1-0/+6
Change-Id: I99dd3300c2a7e903bc924b15c4fea2fd3ad4abb8
2013-07-16Add embedded firebird loading code, set as default db.Andrzej J.R. Hunt3-1/+12
Change-Id: I993d7d7bacec710bb57d9e8f91d3cd01b0fbf616
2013-07-16fb-sdbc: Added temporal debugging in dbaccessAndres Gomez1-6/+12
2013-07-16Debug info and some API methods implementation.Javier Fernandez1-0/+12
* getTypeInfo * getTables * prepared statements. Change-Id: I549f4a9468b5346e22479363fe0fb81039bc6665
2013-07-15fdo#63690 drop RTL_LOGFILE_CONTEXT_AUTHORRicardo Montania1-9/+0
Change-Id: I46823bb2c6fc44a4871d9535c1f59bd24ba75858 Reviewed-on: https://gerrit.libreoffice.org/4908 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-07-15Fix build.Jan Holesovsky1-0/+2
Change-Id: Ia08b6e87b5be3ca2994e0c5fbc6b91c1a800208e
2013-07-14String::SearchAndReplaceAllAscii -> OUString::replaceAllCaolán McNamara2-8/+5
Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
2013-07-11microoptimisationLionel Elie Mamane1-1/+1
Change-Id: I977fbd8387b069574d9818923ada54392d39347a
2013-07-11ORDER BY columns are prioritarily *SELECT* columnsLionel Elie Mamane3-34/+60
as opposed to *table* columns, and notwithstanding HSQLDB 1.8 (our embedded database) bugs. Actually, supporting ORDER BY on non-select (but table) columns is OPTIONAL for DBMSs (but quite common) Change-Id: I6725dfda36b09429a78262bff6f3d3e3dd9032b6
2013-07-11delete in destructor checkbox created in constructorLionel Elie Mamane1-0/+1
Change-Id: Ifceae4c7ffe15bfc62ce34f4463fd4e071403359 fixes: debug build aborts when closing that window
2013-07-11XubString->OUStringCaolán McNamara9-12/+12
Change-Id: I1049249741f445ad7bd9c070f99812c4404597c9
2013-07-10Fix error: reference to 'ErrorCondition' is ambiguousTor Lillqvist1-1/+1
Either 'connectivity::ErrorCondition' or 'com::sun::star::sdb::ErrorCondition'. Change-Id: Ifeaa895497c8635b7801b2e79400634b11541373
2013-07-10don't use empty table nameLionel Elie Mamane1-2/+5
Change-Id: I9c8c3882f659747d53a047481ccabf1785835c99
2013-07-05cleanup src filesThomas Arnhold7-80/+0
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-04unusedeasy remove ORowSet_CreateInstanceJulien Nabet1-6/+0
Change-Id: I17e9eb168c664514dacc03d66911f72faf80e117
2013-07-03database suggestname: no '/' for queriesLionel Elie Mamane1-0/+4
In particular, this keeps the new query wizard from silently failing by default when the underlying table name has a slash: it would generate a name proposal based on the table name, and then use suggestName to get a similar, yet guaranteed allowed name. In this case, the "guaranteed allowed" part was failing, since suggestName failed to strip slashes, which are forbidden in query names. Change-Id: I53d3976979ee45f5659765ed5dd3371b78837b5b
2013-07-03fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan32-989/+944
- replaced RTL_CONTEXT_ with SAL_INFO - replace OSL_* with SAL_* Change-Id: I26761cf1d4c1cfe21dec7d8ede6df6f177bf2c3e Reviewed-on: https://gerrit.libreoffice.org/4620 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-02i#112615 table names are allowed slashesLionel Elie Mamane1-1/+15
Change-Id: I1b69c4575d79ba1b6a6e9cd83abaf18bad54fd79
2013-07-02Resolves: #i122589# check if element is added before...Armin Le Grand2-24/+48
removing and deleting it (well, put it in undo) (cherry picked from commit 48558dc3e09ec442bc4caf867df4b97354b4d334) Conflicts: dbaccess/source/ui/inc/QueryTableView.hxx dbaccess/source/ui/querydesign/QueryTableView.cxx Change-Id: Id8ef54c0a223548affc007d25131a23618c5fe01
2013-07-02fdo#66464 initialise static join info at construct timeLionel Elie Mamane1-5/+11
to ensure that isReadOnly returns something sensible as soon as construct() finishes Change-Id: I5f9bef049297c5232df0ecdb9084add968a0052f
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud1-0/+1
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-29remove OUString wrap for string literalsThomas Arnhold13-36/+36
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29remove some createFromAscii usageThomas Arnhold3-5/+5
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-28remove pointless external guards for standard headersMichael Stahl1-2/+0
Change-Id: I509984a6029b6a86fd1ee3f947394af9cdf71c6a
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold8-13/+6
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913 Reviewed-on: https://gerrit.libreoffice.org/4601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-27add missing VclBuilder::stringmap argument to some builder functionsCaolán McNamara1-1/+2
Change-Id: I57e13920b4707ebe5b6a7149dbdbfc45593c0d9d
2013-06-24Remove dbaui::OStatusbarControllerAriel Constenla-Haile5-91/+0
It actually does not override any method in svt::StatusbarController, so there is no point in keeping it (cherry picked from commit 83bf5a7b85a0e3430cc807415e081a10a1775f9f) Conflicts: dbaccess/source/ui/control/makefile.mk dbaccess/source/ui/control/statusbarontroller.cxx dbaccess/source/ui/inc/statusbarontroller.hxx Change-Id: Id6adc11c3a54f642ebdec9c6016996134908da71
2013-06-17fdo#43460 dbaccess: use isEmpty()Jelle van der Waa6-17/+17
Change-Id: Ie27a81f4e59c48ef5aa03fb82ab38e920c0646a1 Reviewed-on: https://gerrit.libreoffice.org/4321 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-14fix limit bug: selecting "All" has no effect to sqlZolnai Tamás2-3/+3
LimitBox set its value to -1 if the current text is "All" but just when it loses its focus so dispatching its value to the controller must be after this setting. (see limitboxcontroller.cxx) Plus some clean up in LimitBox.cxx Change-Id: Ic1d314a5a67c2b261b2e9c50973f51de2bfb8db8
2013-06-10mingw64: long -> sal_IntPtr in dbaccessFridrich Štrba2-5/+5
Change-Id: Ic9e049b6b79a8ae3777d8b2a6e918289445c21da
2013-06-10mingw64: NULL used in arithmeticFridrich Štrba1-1/+1
Change-Id: I87bf28e1d6db2afe5ffa095cbf9181602ec9fc3f
2013-06-07typosJulien Nabet1-1/+1
Change-Id: I3ebe1c03be3b7e84666ca6a19442c376f21a5491
2013-06-07cppcheck: reduce scopeJulien Nabet1-1/+1
Change-Id: Ia83fb8615dbe937b4b4478fd7bf128780f8c5289
2013-06-07cppcheck: reduce scopeJulien Nabet1-1/+1
Change-Id: Ie1eab551a2d5dce21b55226b17d62d9a78c1ffdd
2013-06-07cppcheck: fix reassignJulien Nabet1-2/+1
Change-Id: Ic1f02c6734cbb0ac4846f0003f70091d5d5b4315
2013-06-06cppcheck: unread variableJulien Nabet1-1/+0
Change-Id: I809cdbeb71bf4cf014e6d578f35c8a646a5c937e
2013-06-06Fix previous fixStephan Bergmann1-1/+1
Change-Id: I2d7ea38b743d78327fd19886019c1106bc1316d6
2013-06-06-Werror=sign-compareStephan Bergmann1-2/+2
(ListBox::GetSelectEntryPos returns sal_uInt16) Change-Id: Ia6e4bf4354523f5112ee3ade1d3da6db0f9ab2c4
2013-06-06Prevent out-of-range values coming from ListBox GetSelectEntryPos.Javier Fernandez1-0/+5
Change-Id: Ia787c412408ef53db3c8458f54c7843c669c81ad Reviewed-on: https://gerrit.libreoffice.org/4174 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-06-05fdo#64447 when changing setup mode, trigger changed DatasourceType eventLionel Elie Mamane1-0/+1
Change-Id: I961118331f534de103b83766a2c21a6bec479241
2013-06-05use uno::Reference#clear() method...Noel Grandin5-6/+6
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-05remove unused componentcontext.hxx includesNoel Grandin3-3/+0
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-06-03fdo#46808, Convert comphelper::ComponentContext in forms moduleNoel Grandin1-1/+1
Change-Id: I8a9913d964633381f00c0a4885cc655805fa1974
2013-05-31dbaccess: unused variableZolnai Tamás1-1/+0
Change-Id: I4bd8863bac0f5b4a5ff1936a9d6a240dbc40be72
2013-05-30gbuild: fix deps on svx/globlmn.hrcDavid Tardon1-0/+4
Change-Id: I5373c0a59fdbbe0230b74df967fdaf887b91f4e4