Commit Graph

45 Commits

Author SHA1 Message Date
Luboš Luňák
64b993e046 finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.

Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
Michael Meeks
3e52762c5a Move to MPLv2 license headers, with ESC decision and author's permission.
Change-Id: I9f1102d4f0e189a048d8fccfe9cae246c0136311
2013-05-02 12:49:20 +01:00
Michael Meeks
72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Stephan Bergmann
2d9ce9191d Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)
...which is a confusing overload with unexpectedly different semantics from the
one-parameter form.  In preparation of marking it as deprecated.

Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
2013-03-20 13:05:35 +01:00
Stephan Bergmann
4c0c23af21 Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19 11:32:20 +01:00
Thomas Arnhold
41e03a166e doubled using
Change-Id: Ib1d3213a688194bfb027b7bca5bd9ac1b7bb1b28
2013-03-05 12:34:33 +01:00
Lionel Elie Mamane
9953c1b5a6 pure comment: write down interesting idea gleaned at FOSDEM
Change-Id: I96685f405989fdd3b090b6a482edf8ad65bfd4e9
2013-02-19 12:35:01 +01:00
Jean-Noël Rouvignac
77fd448d09 Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING
Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f
Reviewed-on: https://gerrit.libreoffice.org/1954
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-14 13:20:14 +00:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Lionel Elie Mamane
fdd70e63ee fdo#46675: fixup 2012-02-27 13:48:50 +01:00
Lionel Elie Mamane
ee0cb9d05d fdo#46675: expand group memberships in get*Privileges 2012-02-27 13:14:02 +01:00
Takeshi Abe
03591233c1 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
Takeshi Abe
2b1758a2dc Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...) 2012-02-10 23:01:07 +09:00
Lionel Elie Mamane
f21eaff8ea fdo#45249 declare support for Core SQL -> Base allows user aggregate functions 2012-02-09 18:35:13 +01:00
Caolán McNamara
5e2b41dbfe unsigned int->sal_uInt32 2012-02-02 10:17:12 +00:00
Lionel Elie Mamane
7bd9ce1fae pgsql: simpler / safer check for system column 2012-02-01 18:56:41 +01:00
Lionel Elie Mamane
0adf5eed03 pgsql getColumns: order by columns, not by their concatenation... 2012-02-01 18:41:14 +01:00
Lionel Elie Mamane
77646473e3 pgsql: implement getColumnPrivileges, generate statement only once 2012-02-01 18:41:13 +01:00
Lionel Elie Mamane
76c34665da postgres getColumns: skip dropped columns, make ORDINAL_POSITION consecutive 2012-02-01 18:41:13 +01:00
Lionel Elie Mamane
8c922d8327 fdo#45254 getTablePrivileges: rely on information_schema
This avoids the use of aclexplode(), which is only SQL-available in PostgreSQL 9.0 and later.
With PostgreSQL versions known to have the information_schema.table_privileges bug of not filling in the default ACL in the absence of an ACL, fill in "owner has all rights", which is the default state of the default ACL.
2012-02-01 18:41:12 +01:00
Fridrich Štrba
e05856c798 Fix build of pgsql connector (std::hash -> boost::hash) 2011-12-07 22:21:48 +01:00
Lionel Elie Mamane
5f3bd5bed3 pgsql-sdbc: Robustify against empty arrays, etc 2011-11-30 16:00:13 +01:00
Michael Meeks
1932529adf postgresql: work around uninitialized warning. 2011-11-29 17:32:29 +00:00
Michael Meeks
4cc501d817 WaE: sizeable postgresql warning cleanup 2011-11-29 17:32:29 +00:00
Lionel Elie Mamane
8d2780d42f psql-sdbc: TODO note 2011-11-24 19:40:49 +01:00
Lionel Elie Mamane
0d0ffe3ff1 pgsql-sdbc: licence all non-Sun & future contributions under LGPLv3+/MPL1.1 2011-11-21 11:31:37 +01:00
Lionel Elie Mamane
412e178a40 pgsql-sdbc: be less prescriptive about indentation style 2011-11-17 21:29:14 +01:00
Lionel Elie Mamane
d526c3f5ea postgresql-sdbc: adapt to removal of implicit (O)ustring->sal_Char* conversion 2011-11-17 21:15:31 +01:00
Lionel Elie Mamane
4ab98d4663 Overhaul DatabaseMetaData::getTablePrivileges 2011-11-17 21:15:30 +01:00
Lionel Elie Mamane
1dbe65b207 Switch to LGPL-only 2011-11-17 21:15:29 +01:00
Lionel Elie Mamane
969bf70f1b pgsql-sdbc: switch to boost::unordered_map instead of std::unordered_map
Compatibility with non-bleeding edge C++ compilers/library environments
2011-11-17 21:15:27 +01:00
Lionel Elie Mamane
37c4d83865 More TODO 2011-11-17 21:15:25 +01:00
Lionel Elie Mamane
cc02d3db1c sdbc-psql: DbMetaData getIntSetting: move to first row before getInt 2011-11-17 21:15:23 +01:00
Lionel Elie Mamane
42667095d9 sdbc-psql: DatabaseMetaData: Implement get(Im|Ex)portedKeys, getCrossRef 2011-11-17 21:15:22 +01:00
Lionel Elie Mamane
ed82a11d39 pq-sdbc: Use UNO_QUERY_THROW when not checking for NULL before use 2011-11-17 21:15:22 +01:00
Lionel Elie Mamane
580f4d1453 fdo#35784 minimal fix
Fake DatabaseMetaData::getImportedKeys: we can get away with not giving column names if we give zero data rows
2011-11-17 21:15:21 +01:00
Lionel Elie Mamane
1b66f42870 First pass over DatabaseMetadata 2011-11-17 21:15:20 +01:00
Lionel Elie Mamane
7d3a6de0ed Janitorial clean-up
- fix a bunch of compiler warnings

  - Copyright statement on files I modified
2011-11-17 21:15:20 +01:00
Lionel Elie Mamane
81c4680483 if test: explicit grouping by parentheses 2011-11-17 21:15:17 +01:00
Lionel Elie Mamane
d612aa7f6f avoid name shadowing warning 2011-11-17 21:15:17 +01:00
Lionel Elie Mamane
e1423f5a92 calcSearchable: actually set return value, not fresh variable 2011-11-17 21:15:16 +01:00
Lionel Elie Mamane
c5a127771f Proper copyright notices, license mandated changelog 2011-11-17 21:15:16 +01:00
Lionel Elie Mamane
90b5fe7673 Use unordered_map instead of hash_map
GNU g++ 4.6 warns that hash_map is deprecated
2011-11-17 21:15:15 +01:00
Lionel Elie Mamane
e28033fdfa Apply sdbc-postgresql.diff 2011-11-17 21:15:13 +01:00