Commit graph

333016 commits

Author SHA1 Message Date
Stephan Bergmann
e75e021413 Fix PYUNO_LOADER_PYTHONPATH for non-ENABLE_MACOSX_MACLIKE_APP_STRUCTURE
Change-Id: Ifc164b80466d3b847ce1214c28a1ba79fdfd690b
2013-08-28 10:05:14 +02:00
Stephan Bergmann
dccf47b7f6 Build python3 with debug flags if --enable-debug
...the special case for AIX can probably be cleaned up?

Change-Id: I34ca29acaddcff9b811067504c12a8243a6d046b
2013-08-28 10:04:08 +02:00
Julien Nabet
9ebcd5ec54 End iterator might not be const
Change-Id: I95c0999903762e79e606fdae7fd11b1ce79fe8d0
2013-08-28 08:39:26 +02:00
Julien Nabet
711535f766 Shouldn't be removed
Thank you Thorsten!
(See https://gerrit.libreoffice.org/#/c/5639/)

Change-Id: I933a318ba83c63fa2d7eaa0ecb616b1d3a14b097
2013-08-27 23:41:57 +02:00
Julien Nabet
9aca3570c5 Spread "Use std::find()" part2
Change-Id: I58e6f189c950dbaa5b71bb1b040f9eff20c50796
2013-08-27 23:37:52 +02:00
Julien Nabet
834464c787 Spread "Use std::find()"
Change-Id: I710cc7aeea494c69ae0df720db857d2759e70654
2013-08-27 23:37:52 +02:00
Andrzej J.R. Hunt
7bc88db8c5 Implemet setNull. (firebird-sdbc)
Change-Id: I9fd53a5e8b5d1dba467fa8064f9f2ea1b93f26df
2013-08-27 20:58:32 +01:00
Andrzej J.R. Hunt
186f264dc2 Implement set[Int|Long]. (firebird-sdbc)
Change-Id: I234b8f136b90f56c689553d0df8ec2d473a92225
2013-08-27 20:58:31 +01:00
Andrzej J.R. Hunt
8620524f19 Implement setShort. (firebird-sdbc)
Change-Id: Ia543f34344915c4621ba0c6ce6984dce7ca9e08b
2013-08-27 20:58:31 +01:00
Andrzej J.R. Hunt
dadba3efcb Return change count for Statement:executeUpdate too. (firebird-sdbc)
This also simplifies Statement, although not using execute_immediate
is somewhat less efficient.

Change-Id: I4bebe13e5a63cb02e6b2659dec534f0c6feeba52
2013-08-27 20:58:31 +01:00
Andrzej J.R. Hunt
73aaa4da67 Implement retrieving change count for executeUpdate. (firebird-sdbc)
Change-Id: Ied47f421dc801bb6790bed49b28d3231844e6ee5
2013-08-27 20:58:31 +01:00
Takeshi Abe
eb6ab3bc04 Mark as const
Change-Id: If20ac542f31dd650d6d1cc22ced618f73e1ce773
2013-08-28 04:55:33 +09:00
Takeshi Abe
7673a08e72 sal_Bool to bool
Change-Id: I63a05b7ba0954dbc18932de9cbdea4f0c1a18422
2013-08-28 04:55:33 +09:00
Tor Lillqvist
d00e125cbe Factor out the app bundle code signing into a script
Call that script for make dev-install and when creating the .dmg.

Change-Id: Ic468cafe04b2755f371d449fef0b84e2fdc7e197
2013-08-27 21:50:30 +03:00
Tor Lillqvist
994d2951fa Update comments
We now have the --enable-canonical-installation-tree-structure option
which does what was suggested.

Change-Id: I41215275d6d8c8f11b4a45390d44998c967fcc53
2013-08-27 20:42:52 +03:00
Tor Lillqvist
1603854be9 Don't create any (new) Python bytecode files when running a PythonTest
PythonTests are run on a dev-install tree where (when using code
signing on OS X) the Python framework has already been signed, so
scribbling bytecode cache files into it will invalidate the signature.

Change-Id: Ic53043b59c9a59373e2383d8dcca9120457d4ba9
2013-08-27 20:42:37 +03:00
Lionel Elie Mamane
4033532e9f release m_aLengthVector even when m_aBindVector is empty
Change-Id: Ia3bd53402d436e296005f4f93113cc08daea2421
2013-08-27 18:50:21 +02:00
Lionel Elie Mamane
1c7b0b08b2 the place reserved for bookmark in m_aBindVector is never used
Change-Id: Iae4850739c329a7b04f8eea75047ab75465e3dea
2013-08-27 18:50:17 +02:00
Lionel Elie Mamane
89c6e2327f odbc insert: unbind as soon bindings not necessary
SQLFetchScroll uses the bound columns, and writes to them.
This has two problems:
1) For non-bookmark columns, this happens in our buffers,
   and at first sight could be innocuous.
   However, it allows the driver to disallow us to use
   SQLGetData on the same columns, which we intend to do...
2) For bookmark column, the "read bookmark from" and
   "write bookmark to" buffers end up being the same.
   This unnecessarily exposes us to driver bugs in this corner case.

Change-Id: I594d34cf5a64564766f06b49c86f8737961573c0
2013-08-27 18:50:14 +02:00
Lionel Elie Mamane
2939a1fa63 odbc insert: adjust buffer size *after* it is written to
the buffer (aBookmark) is written to by SQLBulkOperations or
SQLSetPos, not by SQLBindCol, which merely sets up the instruction
that the next call should write there. So its finak size is known
only *after* the call that makes the write, obviously.

Change-Id: I4faaaeffc060433645188f0eda3d9958b087cf6c
2013-08-27 18:50:10 +02:00
Lionel Elie Mamane
8f9388c023 fdo#68315 odbc update *reads* a bookmark, not *writes* a bookmark
This code was completely inverted. The row update operation
*reads* a bookmark (that is, what row to update), not *writes*
a bookmark.

So we were passing an empty bookmark, and thus the update was failing
because we were refering to a non-existent row.

Change-Id: I676b1a7727a88e13a3e465bd96cbbaf18dad2fa6
2013-08-27 18:50:07 +02:00
Miklos Vajna
d9f1c11dfa Reduce copy&paste by adding SwModelTestBase::getShape()
Change-Id: I3b73405c546427bb5676db30e297af36c18043e6
2013-08-27 18:26:39 +02:00
Khaled Hosny
c2f6428e32 Minor
Change-Id: I8a0c09087e522cbd8ee6a25b71541514e562a618
2013-08-27 18:20:44 +02:00
Luboš Luňák
b0b087cd18 move valueof compiler plugin
The mass-conversion has been already done, so it's most probably
not needed anymore.

Change-Id: I3f161b8ea122e4dd185746ea29509b0d7768d6c7
2013-08-27 18:11:21 +02:00
Jelle van der Waa
2ec606730b fdo#62475 removed pointless comments
Conflicts:
	dbaccess/source/filter/xml/xmlfilter.cxx
	dbaccess/source/ui/dlg/ConnectionPage.cxx
	dbaccess/source/ui/dlg/detailpages.cxx
	dbaccess/source/ui/dlg/odbcconfig.cxx
	dbaccess/source/ui/querydesign/querycontroller.cxx

Change-Id: I3a05649efa3a43dd8d8fb069fc1bce14ca0a6338
Reviewed-on: https://gerrit.libreoffice.org/5484
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-08-27 16:11:09 +00:00
Eike Rathke
434f3c8e7f use ...IgnoreAsciiCase()
Change-Id: I4de5201d6352ef1b7fc0dafcac9f8439dd943b60
2013-08-27 18:09:11 +02:00
Eike Rathke
fbf0a3ee5f in convertLocaleToLanguageImpl() don't use the implied fall back
... and through of dreaded convertIsoNamesToLanguage()

Change-Id: Ifb86974f9398094ed1a513a060ff61d63f798ea3
2013-08-27 18:09:11 +02:00
Eike Rathke
a18c90dfe5 split off convertLocaleToLanguageImpl()
Change-Id: Ief7402a1067598fe9635ac23dedcaf8faf8de2be
2013-08-27 18:09:10 +02:00
Eike Rathke
d9eaef1faf better check for 'qlt' instead of assuming Variant follows convention
Change-Id: I0915e5cd657633533a7374d533ec12c2bdaa3b8b
2013-08-27 18:09:10 +02:00
Eike Rathke
29c61173d6 avoid creation of a temporary Locale instance
Change-Id: I973c196d7f19725ccbbd6d24707fc30e5fe78eef
2013-08-27 18:09:10 +02:00
Thorsten Behrens
55c51004c5 Use slightly less verbose erase-then-move-on idiom.
Change-Id: Iae3a749770b75a99c53755d0410ef9510158e94b
2013-08-27 18:02:56 +02:00
Caolán McNamara
8efbafaf86 Related: fdo#68192 register bundled fonts
We have to register them one at a time, like windows, this means we detect our
bundled opensymbol which makes the "format->bullets and numbering" preview work
again.

Doesn't however fix fdo#68192 yet, more magic smoke required.

Change-Id: I430c91b48d96fb8d62e3b073898b72cf2b8ddea6
2013-08-27 16:44:45 +01:00
Stephan Bergmann
1b7ac34ea6 PLAINLIBS_NONE means layer NONE
Change-Id: I69a0f21e73e65747513c478aa6cdd8832d94f9de
2013-08-27 17:20:17 +02:00
Pierre-Eric Pelloux-Prayer
3fed166279 interpr/vlookup: use ScMatrix func to find matching cells
Moves the cpu intensive code to ScMatrix, where we can use our
knowledge of the internal structure: use mdds::multi_type_matrix::walk
instead of browsing cells one by one.

Change-Id: Ie1df20e2be6414b8e21b4d58b7697a0801222c1e
Reviewed-on: https://gerrit.libreoffice.org/5455
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-08-27 14:50:59 +00:00
Kohei Yoshida
805e43c8c7 Follow-up change for coding styles, boundary checks etc.
Change-Id: Ice87da75429c54987f78c2897e6f4ded28cd8614
2013-08-27 10:37:13 -04:00
Eike Rathke
78e2309c0f use IsoLanguageScriptCountryEntry in convertLanguageToLocaleImpl()
... and lookupFallbackLocale()

Change-Id: I736ee24801b825c916edba25e1b43bbcbc3f1506
2013-08-27 16:28:14 +02:00
Eike Rathke
3b408e0e36 changed do{}while() to for(){}
Change-Id: I2c3962cdc3ad956333a37f73785928d5f1e94154
2013-08-27 16:28:14 +02:00
Eike Rathke
17382f9e5f added IsoLanguageScriptCountryEntry
Change-Id: Id3ce2ea6dff358546280107365e233607ad9f60c
2013-08-27 16:28:14 +02:00
Eike Rathke
7dd6699ae1 eliminate return of IsoLanguageCountryEntry &
Change-Id: I3cfe7781b6cdccc95f8164cf7557e29b34e5855c
2013-08-27 16:28:14 +02:00
Eike Rathke
334ccdb3d7 IsoLangEntry to IsoLanguageCountryEntry
Change-Id: Ib8a185ab34d1024ba622d34a75d0b4b5c87eee76
2013-08-27 16:28:13 +02:00
Eike Rathke
d457c322fb mpLangStr to mpLanguage
Change-Id: Id9c88c9aee434872243a7738eeda1484e5727806
2013-08-27 16:28:13 +02:00
Eike Rathke
b41e2788f5 maLangStr to maLanguage
this always annoyed me ...

Change-Id: I41223ca728a7d87dd6987027740817e3af31aeb2
2013-08-27 16:28:13 +02:00
Kohei Yoshida
b07708dd46 Fix the build.
Change-Id: I4d259c7bb8c043889ea23ae9056e2eb8a63d98c3
2013-08-27 10:24:58 -04:00
Pierre-Eric Pelloux-Prayer
7334f8db6f matrix: add functions to lookup a double or string in columns
Allows efficient lookup, instead of doing per cell fetch + match.

Change-Id: I3cd0d26a8fc91ed38fd339229fc0e948fb849f5e
Reviewed-on: https://gerrit.libreoffice.org/5454
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-08-27 14:12:38 +00:00
Winfried Donkers
e532143732 get rid of unnecessary warning
A value of 0 for Opcode eOp produces a debug assertion that is
not in place as opcode with value does exist (ocPush, SC_OPCODE_PUSH).

Change-Id: If529cc2ecd8d4d3a5e31f084dfa72e13c9c0fe37
Reviewed-on: https://gerrit.libreoffice.org/5586
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-08-27 13:48:01 +00:00
Caolán McNamara
68dea1c1b6 Resolves: fdo#67743 ensure user autocorr config dir exists
We try and copy the shared one to the user location the first time we create a
customized user file. If the dir doesn't exist then that migration doesn't
happen. The new autocorr file is then written, creating the dir, and any
further operations will reattempt the skipped share copy, and this time succeed
because the dir now exists.  Which overwrites the previously written customized
content.

This is similar to fdo#65501 "ensure configured backup dir exists before using
it", so reuse that code and move it into unotools.

Change-Id: I38fa621b8d7295d70b09172a028569ea95404120
2013-08-27 14:42:24 +01:00
Julien Nabet
8763c77c39 Simplify a bit iterator + remove double check
Change-Id: I4a12bacc1a3774741cf4bf3eb6770e16d0cecc6e
Reviewed-on: https://gerrit.libreoffice.org/5639
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-08-27 13:11:25 +00:00
Stephan Bergmann
5e9137c963 These shall apparently check for URL scheme prefix match
...they had originally been

  aURL.equalsIgnoreAsciiCaseAsciiL( "vnd.sun.star.pkg", 16 )

etc., so where likely confused with the OUString compareTo functions that take a
maxLength argument.

Change-Id: Ie12df4f589dda310b7e49eb93535ad797f88a8a7
2013-08-27 14:49:38 +02:00
Zolnai Tamás
aa279b32a8 Avoid painting of empty shadow
Change-Id: Ie293ad397b8b3f6db7d79dc4ff03c18cf896dfa2
2013-08-27 14:07:56 +02:00
Stephan Bergmann
644c33a857 fdo#67313: Use "lo" suffix for private URE libs
...(like is done for most of LO's non-URE libs already) to reduce likelihood of
name clashes, esp. on Windows where URE libs are found via PATH.

This introduces PRIVATELIBS_URE, and removes now-unused UNOLIBS_URE.

Change-Id: Ib95dd45f18de140a54e62d632dbf2239f83c232e
2013-08-27 14:03:36 +02:00