summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)Author
2013-01-27Remove more STRINGPARAM macros form dbaccessMarcos Paulo de Souza
Change-Id: I283ccd03dc811dda2f10963f400cd517f42ea7b3 Reviewed-on: https://gerrit.libreoffice.org/1878 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-24Change GetSavedValue() to return OUStringChr. Rossmanith
removed temporarily added OUString(...GetSavedValue()...) constructs again Change-Id: I11477654d217a5ae127c1ef1b19cbff56ed052a6
2013-01-24rename SfxSingleTabDialog to SfxNoLayoutSingleTabDialogCaolán McNamara
Change-Id: I4922b719bf819879909e9949bf7946f20914d1e5
2013-01-23show errors as errors, not warningLionel Elie Mamane
Change-Id: I32e514fbfbd323b688b25b9e2165d0c76e3c4db5
2013-01-23fix handling of subqueries in query designLionel Elie Mamane
- don't remove parentheses around subqueries (without the parentheses, it is not valid SQL) * when saving a Field (name value) typed by the user interactively * when parsing SQL and constructing the initial Query Design view - automatically add the necessary parentheses when a SELECT statement is entered as column name Also: In code saving a Field (name value) typed by the user interactively, factorise some common code Assorted minor fixes (typos in comments, etc) Change-Id: I3843258323c903cba23238b0730ec4eb5875f792
2013-01-23SQL parser: no "as" rule anymore; now as_clause and opt_asLionel Elie Mamane
Change-Id: Ib0c7151b311029318c213abb86e6541e3b27d040
2013-01-23ISO8859-1 -> UTF8 in commentLionel Elie Mamane
Change-Id: I8a67235e5110618f45fe9d9467bbb7ff90c7c712
2013-01-21Remove more STRINGPARAM macros from dbaccessMarcos Paulo de Souza
Change-Id: I5a5af27d7c980f6b71011c33531a49a82d79fbc8 Reviewed-on: https://gerrit.libreoffice.org/1771 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-18mark *all* tables of a nested join as addedLionel Elie Mamane
Else, if the n^{th} (with n>2) table also appears in a (non-NATURAL) INNER JOIN, it is repeated later, leading to an error from the database engine Change-Id: I03e0f0ef51f45be9d7ddfa63a9dbe09dc500f8dd
2013-01-16OXMLDataSourceSetting::convertString: try to make Clang tb happyMichael Stahl
Change-Id: I8b2509f28206fd5b6c20c88d9186a9a18f76f7a5
2013-01-16fix buildLuboš Luňák
Change-Id: I1697e761061c21826f57d4b2f4694ee03cdfb05d
2013-01-16Sanitize/simplify some parameters of functions in dbaccessMarcos Paulo de Souza
Some functions have parameters of OUString, so, we don't need this type of junk: ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LayoutManager" ) and we can use directly: "LayoutManager" I believe this brings some simplification to the code, at first glance! Also in this patch, changed some equalsAsciiL to ==, this simplifies more code yet. Change-Id: I38b8076afb84d77ed51c7be407c7f899d80829ff Reviewed-on: https://gerrit.libreoffice.org/1707 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-16fdo#57950: dbaccess: STRINGPARAM and more chained appendsMarcos Paulo de Souza
Change-Id: Iab1ba5eb6702d386e2775d7426c3398b606d2d97 Reviewed-on: https://gerrit.libreoffice.org/1706 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-15fdo#46808, Convert comphelper::MimeConfigurationHelper to XComponentContextNoel Grandin
Change-Id: I74b4f0c4a84f02b218102405eaba24cf47f654ce
2013-01-15fdo#46808, Adapt embed::*EmbeddedObjectCreator UNO services to new styleNoel Grandin
The services already existed, it just did not have an IDL file. Adapts com.sun.star.embed.OOoEmbeddedObjectFactory com.sun.star.embed.OLEEmbeddedObjectFactory com.sun.star.embed.EmbeddedObjectCreator Change-Id: I8ba01c7fd956a46c87d02dc7d61bdd5fcdf21ab8
2013-01-15fdo#46808, Adapt frame::TaskCreator UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file. Change-Id: I157c53d09b612da0178432100b8928013f811706
2013-01-14we only ever want the preferred window size from GetOptimalSizeCaolán McNamara
so remove the MAX and MIN options and simplify the whole lot Change-Id: Iaaf350c37e01f7fce434af760bcddb9b7d7135ea
2013-01-12fix compile with higher debug levelsCaolán McNamara
Change-Id: I95c932f94c4124ef40c67f7f270be05dfafd8f65
2013-01-10Removed some RTL_* macros and rtl:: prefixes in dbaccessMarcos Paulo de Souza
Change-Id: I467ad9307536e6cdd32ebcdd40539bd5f8614c85 Conflicts: dbaccess/source/core/dataaccess/documentcontainer.cxx
2013-01-09Remove some RTL_* macros, rtl:: prefixes and simplification in dbaccessMarcos Paulo de Souza
Change-Id: I2a4381cbe1e716cd2de1fb596053646d1a74d4b0 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmai.com> Reviewed-on: https://gerrit.libreoffice.org/1572 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-09fdo#46808, convert UnoControl and sub-classes to XComponentContextNoel Grandin
Change-Id: I4ade267a44620f5a3af8009ac57a2456c62b83bc
2013-01-09fdo#46808, use service constructor for i18n::CollatorNoel Grandin
Change-Id: I95d2a458ad05c9a248ceb3ca11cb41339cd5d395
2013-01-09fdo#468080, remove unnecessary XMultiServiceFactory from frameworkNoel Grandin
The ActionTrigger classes in framework were not using their XMultiServiceFactory parameters, so remove them. And follow that through by cleaning up places that no longer need to store XMultiServiceFactory references. Change-Id: I433c4fdb02a56eeef75728893e0c9b749d8313be
2013-01-09fdo#46808, convert OGenericAdministrationPage::setServiceFactoryNoel Grandin
... to XComponentContext. Change-Id: I8f9a811dafc831db59d6a462f8b405d7568e34cf
2013-01-09fdo#46808, convert DataSourceInfoConverter to XComponentContextNoel Grandin
and change it from a class to a simple method, there is no need for it to be a class. Change-Id: Ia8c263682d81371767f43acf1028c815923b4845
2013-01-09fdo#46808, new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin
and use it to replace usage of createWithServiceFactory, and thus replace usage of XMultiServiceFactory. Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
2013-01-09fdo#46808, Adapt sdb::OrderDialog UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file. Change-Id: If24e9d6069bf7454bb0add3be8c4bc5916cc4d1f
2013-01-07allow menu items to be referred to by a nameCaolán McNamara
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
2013-01-07fdo#57950: Remove some chained appends in dbaccessMarcos Paulo de Souza
Also simplify logic a little bit. Change-Id: I342f8d1d22e70023d23c6c8ca3976d501e18fb90 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1559 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-07fdo#57950: More fixes for chained appends in dbaccessMarcos Paulo de Souza
And also: Remove some RTL_* macros Remove ::rtl prefix Change-Id: I9c3902672518559e8a139c37bc1933843bebfe5d Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1561 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07fdo#57950: Remove some chained appends and more in dbaccessMarcos Paulo de Souza
- Sanitized some OUStringBuilder, avoiding creating a new one and after make some appends - Removed some ::rtl prefixes - Remove RTL_* macro Change-Id: Ide3d78f20c68774cd4864b82cb8d29784228d1cd Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1552 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-12-31fix fdo#58451Noel Grandin
I introduced this bug during my "shiny UNO" conversions. We pass around SQLException as an Any in the IDL, so we need to treat it like that it the service code. Change-Id: Ib55b1e156c93fb1488b21ab4d1423b25cb13a5cf
2012-12-28fdo#58842 Handle case of non-distinct statmentZolnai Tamás
Change-Id: I1797dd4e0bc6a2e4ec475c860e6b903085d2aae1
2012-12-26fix windows PCH buildLubos Lunak
2012-12-26PCH for Library_dbuLubos Lunak
2012-12-25Get rid of (most uses of) GUITor Lillqvist
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-23remove unused variables [-Werror,-Wunused-private-field]Matúš Kukan
Change-Id: I3cb08dd52c5a34be6585ac9fc0c4b6bb04b6ae8c
2012-12-21Previous fix did not help, have to just ignore the "Unreachable code" warningTor Lillqvist
Change-Id: Ic62056e2df9a17fd6716ae90e4372dec1d5dd40f
2012-12-21WaE: Unreachable codeTor Lillqvist
Change-Id: I366729dbd7f5f861c9233c0927b79ff7859114e4
2012-12-21Fixes for my UNO commitsNoel Grandin
- fix missing SAL_CALL annotations - fix missing namespace usage Change-Id: I8fa462bcbeaad63ad6a73cba68236b74bbe97e70
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21fdo#46808, Adapt sdb::FilterDialog UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file. Change-Id: I2267bec182ad1cc8f6a37939861a7368a17fcef2
2012-12-20Drop useless typedefStephan Bergmann
Change-Id: I0521f9ead0ee317f4eafefafb9c91f942b977cd1
2012-12-12fdo#32958 join editor: remove empty linesLionel Elie Mamane
Change-Id: If150261bae55cf91c8a344f34c79194ad29db903
2012-12-12typo in commentLionel Elie Mamane
Change-Id: I0e6dd24e2cd65a35886f75cde9197c5b957c6d57
2012-12-12query design / edit join: valid only iif column names everywhereLionel Elie Mamane
Change-Id: Idfb0e16c4cc2581a46e26fe97948897dc4b11dc0
2012-12-12be more cautious in debug modeLionel Elie Mamane
Change-Id: I46b89b10287ac755e2b727b46d6fdd19f44bcdd3