Commit Graph

10862 Commits

Author SHA1 Message Date
Noel Grandin
a7f84fc431 convert include/svtools/QueryFolderName.hxx from String to OUString
Change-Id: Iec274c35c3ce4f1f9d5f17bd5562b52b788595d4
2013-08-22 10:49:27 +02:00
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
Stephan Bergmann
67876ed105 SAL_INFO output contains the current thread ID anyway
Change-Id: Ie51865e57a33e31c2aa115b68eed0fc0a1972c40
2013-08-21 11:42:13 +02:00
Michael Meeks
1c7af455ab Re-work 8bit characters in source code, or remove them.
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3
Reviewed-on: https://gerrit.libreoffice.org/5550
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-08-20 19:30:59 +00:00
Caolán McNamara
c3164e42dc Resolves: rhbz#998046 store last size/position of the table/query/form
Change-Id: I3623d5e133b8d7b2e7920824b05c46ade7b10d7c
2013-08-20 20:26:41 +01:00
Tor Lillqvist
08452f1208 Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVA
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-19 10:29:04 +03:00
Jelle van der Waa
9a1aca007f fdo#57950: Remove some chained appends in dbaccess
Change-Id: If93b4a11ac15ede2b08ef42bb2fa4670f0d4cd24
Reviewed-on: https://gerrit.libreoffice.org/5481
Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-08-19 06:04:40 +00:00
Tor Lillqvist
c6a7300974 Use subfolder names from <config_folders.h>
Change all instances of hardcoded "program", "share" etc subfolder names to
use those from <config_folders.h> instead. In normal builds, the end result
will not change.

Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-18 21:11:16 +03:00
Caolán McNamara
91da177229 remove various unused dialogs
Change-Id: If639745db976671a3b6e3405253dfb3bc5783363
2013-08-17 13:09:23 +01:00
Michael Stahl
d0a593d771 pass gb_DEBUG_CFLAGS for the remaining NOOPT files
Change-Id: I5d5f65766d4ad3b319b2cbe4f6491d0aab7f02df
2013-08-16 15:15:33 +02:00
Stephan Bergmann
c9db5e6f08 Do not use this ptr in ctor
...offload to init() instead and wrap ctor in create().  That removes the need
for refcount fiddling and additional OContainerListener class.  Which in turn
removes code using dynamic_cast on UNO interface classes, which my claim at
<http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130812/
086127.html> "ubsan: check type_info equality via strcmp" that "there should not
be uses of dynamic_cast involving [UNO] classes in the LibreOffice code base"
made me wonder about...

Change-Id: I5d72650f6bf081f971f7bd6bb65f4e58a342f791
2013-08-16 15:02:30 +02:00
Noel Grandin
00f5fde6c4 convert include/svtools/roadmapwizard.hxx from String to OUString
Change-Id: I1b5a0c3f5946aac9d353550091616cf5a31e6f82
2013-08-15 09:11:35 +02:00
Noel Grandin
33eeb70011 convert include/svtools/svparser.hxx from String to OUString
Change-Id: I4d6196a9a96ad1dd236f8622a523b4702e92d76f
2013-08-15 09:11:33 +02:00
Julien Nabet
1d6ef2446e Reduce scope + use SAL_N_ELEMENTS
Change-Id: I33fd212f6ab82f802fa85af804980c2e8c4c9ec7
2013-08-15 00:04:55 +02:00
Lionel Elie Mamane
76b5ac2193 doing it once is sufficient
Change-Id: If31845aa575b3f9459507deefb1b469ac3715e35
2013-08-14 17:39:58 +02:00
Caolán McNamara
6b2cc1eb6c XubString->OUString
Change-Id: I1db6254b23c5203c20c168989656d320f86a3bb9
2013-08-13 09:22:29 +01:00
Caolán McNamara
bfafc8c3a1 callcatcher: update unused code
mostly ResId using ctors left stranded post .ui conversion

Change-Id: I06689eea30ee9146ba05294f52056c0d263695f5
2013-08-10 12:25:10 +01:00
Michael Stahl
03eb15938e vcl, sw: fix the inheritance of SwComboBox from ComboBox a bit
Remove the silly overloading, and introduce virtual methods.

Change-Id: If54a6a3fb7464283f80d3387ae23db234690f8a3
2013-08-08 23:25:28 +02:00
Michael Stahl
91f3d77b98 tweak comment translations
ede5f05c fb3a1bb9 5e04331f fd6089b9 66a1d406

Change-Id: I5077ce5f6182f9193cebaaf63190450d375679dd
2013-08-08 23:25:25 +02:00
Lionel Elie Mamane
6357299275 minor tweaks to existing unittests
Change-Id: I64769fee917c5d8c6450a19ad53fdf795e280c98
2013-08-03 21:00:41 +02:00
Takeshi Abe
e2e15148fc Mark as const/static
Change-Id: I54a7daee7345e7c0c5c3f866d5c365722b567eff
2013-08-04 00:54:12 +09:00
Tor Lillqvist
e22e166a5d WaE: unknown log area 'dbaui.OGeneralPage' [loplugin]
Change-Id: I669bd637a8f4c9880eaceed2c67b9ddedd6eff3e
2013-08-02 16:55:28 +03:00
Tor Lillqvist
c590bf1050 WaE: unknown log area 'dbaaccess' [loplugin]
Change-Id: I327192e60ed75f2c24331f38f89bcfeb085725ba
2013-08-02 16:52:39 +03:00
Andrzej J.R. Hunt
c5fb2644c9 Check that xKeys exists before using.
Currently base segfaults here when using a database driver that doesn't
support sdbcx, the internal sdbcx wrapper doesn't implement getKeys()
either.

Change-Id: I195dfa891b4e38e6e0f5a9286bcbfa66ca818e28
Reviewed-on: https://gerrit.libreoffice.org/5243
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-08-02 13:41:06 +00:00
Andrzej J.R. Hunt
04d1e80ac7 Add embedded database selector to db setup dialog.
This allows for choosing between the HSQLDB driver (currently default)
and the firebird driver for embedded databases.

Change-Id: I3734440fedf9f07b28f9cfd806dafbe6610393f7
Reviewed-on: https://gerrit.libreoffice.org/5199
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-08-02 13:38:46 +00:00
Lionel Elie Mamane
3d5a27bf5a for later...
Change-Id: I266d2992bcd212a6539e4b50c9daf2c53ff98904
2013-08-02 13:57:51 +02:00
Lionel Elie Mamane
a8f327a9fc make comment actually describe the code
Change-Id: If4dda13ff8018d7fd855457a76db2acf8077a477
2013-08-02 13:57:49 +02:00
Lionel Elie Mamane
0fafb92e97 janitorial: more const where possible
Change-Id: If579b2b2990c3cdd4785077aa1b34c33bcc241b6
2013-08-02 13:57:48 +02:00
Lionel Elie Mamane
6fc71eea1d SingleSelectQueryComposer: the name of a non-SELECT column is its "real" name
That is, the name in the table.

Change-Id: I95326915f381ec0cf72c66f13352ce76d82e9517
2013-08-02 13:57:47 +02:00
Caolán McNamara
ab29ad8cd5 set some initial sizes for the direct sql dialog textedits
and we can use existing GtkTextView<->VclMultiLineEdit mapping rather than the
svtools MultiLineEdit

Change-Id: I6d20a9ba8731dda1ec9579fc2877b817fea0632f
2013-07-30 14:51:47 +01:00
Csikós Tamás
471e5c1ed1 modern .ui widgetlayout for directsql
Change-Id: I51140fe6abd2d321c5784b923f920ab9183f417e
Reviewed-on: https://gerrit.libreoffice.org/5171
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-30 13:48:40 +00:00
Andrzej J.R. Hunt
7392261333 Fix firebird-sdbc registry details.
Change-Id: I753095ba40b5fb45cfccd10a95bd8eb7b68bd564
2013-07-30 11:34:51 +02:00
Lionel Elie Mamane
15066dc6be fixup SAL_WARN log area
Change-Id: Ie0848f8dc7d0bce171a2081dd91f48519414eebe
2013-07-30 05:21:33 +02:00
Lionel Elie Mamane
97d433c823 remove unused include
Change-Id: I8c99b620bf61e0775b8e4613f58d649a89db9b00
2013-07-24 23:34:25 +02:00
Takeshi Abe
a140d3b7cb Mark as const
Change-Id: Ia3996b997ebbd10ca02ec5a24d1969822bc39273
2013-07-24 21:12:28 +09:00
Jan Holesovsky
8c69fcd6eb Move hasBigImages() from ToolboxController to SfxToolBoxController.
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-17 13:27:46 +02:00
Andrzej J.R. Hunt
f32dc63b52 Make firebird-sdbc install consistent with other drivers.
Change-Id: I01673bda5a08ca793f4fba89ddae036e3f1483e2
2013-07-16 16:40:16 +02:00
Andrzej J.R. Hunt
dc2e845dfe Enable firebird by default, disable as default embedded driver.
Change-Id: I4907b8b7a3b9ab767132d35b5c3539d52d122660
2013-07-16 16:40:14 +02:00
Andrzej J.R. Hunt
67ff964ca1 Create new fdb and/or extract from .odb as appropriate.
Change-Id: I99dd3300c2a7e903bc924b15c4fea2fd3ad4abb8
2013-07-16 16:40:11 +02:00
Andrzej J.R. Hunt
99dfc26327 Add embedded firebird loading code, set as default db.
Change-Id: I993d7d7bacec710bb57d9e8f91d3cd01b0fbf616
2013-07-16 16:40:10 +02:00
Andres Gomez
bcd5f5ebd4 fb-sdbc: Added temporal debugging in dbaccess 2013-07-16 16:40:07 +02:00
Javier Fernandez
d6855a708c Debug info and some API methods implementation.
* getTypeInfo
  * getTables
  * prepared statements.

Change-Id: I549f4a9468b5346e22479363fe0fb81039bc6665
2013-07-16 16:40:04 +02:00
Ricardo Montania
5730dd48ca fdo#63690 drop RTL_LOGFILE_CONTEXT_AUTHOR
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-15 16:29:34 +00:00
Jan Holesovsky
378510aeba Fix build.
Change-Id: Ia08b6e87b5be3ca2994e0c5fbc6b91c1a800208e
2013-07-15 16:02:50 +02:00
Caolán McNamara
82937ce3d7 String::SearchAndReplaceAllAscii -> OUString::replaceAll
Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
2013-07-14 14:04:03 +01:00
Lionel Elie Mamane
b93b9e6d42 microoptimisation
Change-Id: I977fbd8387b069574d9818923ada54392d39347a
2013-07-11 17:53:32 +02:00
Lionel Elie Mamane
40370f759c ORDER BY columns are prioritarily *SELECT* columns
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-11 17:53:30 +02:00
Lionel Elie Mamane
72e71b829d delete in destructor checkbox created in constructor
Change-Id: Ifceae4c7ffe15bfc62ce34f4463fd4e071403359
fixes: debug build aborts when closing that window
2013-07-11 17:53:27 +02:00
Caolán McNamara
cf6a74af53 XubString->OUString
Change-Id: I1049249741f445ad7bd9c070f99812c4404597c9
2013-07-11 14:31:44 +01:00
Tor Lillqvist
d3a221df1a Fix error: reference to 'ErrorCondition' is ambiguous
Either 'connectivity::ErrorCondition' or
'com::sun::sdb::ErrorCondition'.

Change-Id: Ifeaa895497c8635b7801b2e79400634b11541373
2013-07-10 20:48:50 +03:00