Commit graph

10209 commits

Author SHA1 Message Date
Rene Engelhard
36d7f011a3 build qadevOOo only if OOO_JUNIT_JAR are set (add BUILD_TYPE) 2011-12-30 16:40:35 +01:00
Ivan Timofeev
f10fc42189 fdo#44204: shrink the first column in the open dialog, remove unused flags 2011-12-28 21:49:20 +04:00
Andras Timar
4310096484 missing icons in Index Design dialog fdo#38435 2011-12-26 22:38:05 +01:00
Caolán McNamara
5c24789ca3 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 13:44:52 +00:00
Caolán McNamara
fffae28952 bah, need to tweak for pre c++0x
This reverts commit d00fc0e293.
2011-12-21 10:29:33 +00:00
Caolán McNamara
d00fc0e293 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 10:10:58 +00:00
Olivier Hallot
545921f914 Fix for fdo43460 Part XII getLength() to isEmpty()
Part XII
Module
dbaccess
2011-12-21 09:52:48 +01:00
Caolán McNamara
e5e42a6986 msvc 2008 express won't link without explicit salhelper
post salhelper visibility markup and gbuildification express
2008 doesn't link without salhelper mentioned on link line
2011-12-19 11:59:26 +00:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Caolán McNamara
8cbfe4e211 ByteString->rtl::OString[Buffer] 2011-12-14 09:52:49 +00:00
Caolán McNamara
2b4aa91981 unused strings 2011-12-14 09:52:48 +00:00
Caolán McNamara
c732a811fc intermediate string object unnecessary 2011-12-13 10:11:42 +00:00
Julien Nabet
444eb68e8a Remove ByteString 2011-12-12 22:31:24 +01:00
Julien Nabet
5c45038987 Remove ByteString 2011-12-11 20:39:09 +01:00
Lionel Elie Mamane
10aba2a2d0 correct extra whitespace 2011-12-11 17:44:03 +01:00
Julien Nabet
15f8fce986 Remove ByteString 2011-12-11 16:36:38 +01:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Michael T. Whiteley
181b1815f8 Change "menues" to "menus" 2011-12-07 11:48:24 +02:00
Caolán McNamara
c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Lior Kaplan
3a9271b8fc Add missing space 2011-12-05 03:11:19 +02:00
Michael Stahl
5754213c70 sfx2::FileDialogHelper: refactor construction:
There are currently 2 different ways to specify what kind of file dialog
should be created: the nDialogType and nFlags ctor parameters.
Simplify that by using the nDialogType for the API specified variety,
and the nFlags only for options that cannot be specified by the API.

This allows to get rid of 3 constructors, and the following constants:
WB_OPEN, WB_SAVEAS, WB_PASSWORD, SFXWB_PASSWORD, SFXWB_SHOWSTYLES
2011-12-03 00:48:13 +01:00
Michael Stahl
434c1e3132 sfx2::FileDialogHelper ignores WB_3DLOOK, WB_STDMODAL 2011-12-03 00:48:12 +01:00
Michael Stahl
1274babb68 sfx2::FileDialogHelper: remove use of WB_OPEN
This can really be derived from the dialog type, don't duplicate it.
2011-12-03 00:48:12 +01:00
Michael Stahl
e913083ed0 remove unused #include sfx2/filedlghelper.hxx 2011-12-03 00:48:11 +01:00
Lior Kaplan
0443311761 Remove extra spaces from strings for translation 2011-12-02 01:43:50 +02:00
Lior Kaplan
127c6a3dab Typo fix: Maybe -> Maybe 2011-12-02 01:43:34 +02:00
August Sodora
ecbed27f6a Check length before operator[] 2011-12-01 11:23:42 -05:00
August Sodora
443a7229f9 Remove uses of charAt 2011-12-01 11:10:28 +01:00
Lionel Elie Mamane
15f7470531 add const 2011-11-30 17:20:20 +01:00
Lionel Elie Mamane
7b0f53a5ea Success to load JDBC driver is still info, not an error 2011-11-30 17:15:22 +01:00
Lionel Elie Mamane
c75e15c980 Failure to load JDBC driver is an error, not info 2011-11-30 16:00:07 +01:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Caolán McNamara
6f33482f8f ByteString->rtl::OUStringToOString 2011-11-28 09:55:03 +00:00
Caolán McNamara
48221d6a2b ByteString::GetToken->comphelper::string::getToken 2011-11-28 09:55:02 +00:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Norbert Thiebaud
281b13ce89 remove include of pch header in dbaccess 2011-11-27 13:04:48 -06:00
Norbert Thiebaud
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
Korrawit Pruegsanusak
c5710d4700 s/infomation/information/ 2011-11-27 14:42:26 +07:00
August Sodora
93253ee6ab Remove some uses of OUString::setCharAt 2011-11-26 00:49:26 -05:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
David Tardon
fba911fea7 gsl_getSystemTextEncoding -> osl_getThreadTextEncoding 2011-11-25 09:07:49 +01:00
Lionel Elie Mamane
538190e0ea fdo#32347: reenable ADO URL helper UI
cleanup obsolete DISABLE_ADO/WINDOWS_VISTA_PSDK logic
2011-11-23 16:20:08 +01:00
Caolán McNamara
ca02d72808 remove [Byte]String::EraseAllChars 2011-11-19 21:11:02 +00:00
Norbert Thiebaud
0ea8c014ef tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
Michael Meeks
6bfc7f28e6 Address data source ordering x#62860
information from the apply file:
 patchname: addrbk-datasrc-ordering.diff
 issues:
 author: michael
 section: Misc
 comment:
  Address data source ordering x#62860
 sectioncomment:

git log from build repository:
commit bfa619922b90a021e5d856333dd398512389ad67
Author: Jan Holesovsky <kendy@suse.cz>
Date:   Mon Jun 21 22:11:19 2010 +0200

    Update patches to dev300-m83.

    * [...]

commit 256381886a238d80b9ddab795b500576d92404cc
Author: Jan Holesovsky <kendy@suse.cz>
Date:   Wed May 19 12:16:00 2010 +0200

    Updated patches do dev300-m77.

    * [...]

commit df913735fd729978d20f0282fe32d14bf597891f
Author: Jan Holesovsky <kendy@suse.cz>
Date:   Mon May 17 01:21:36 2010 +0200

    Patches adopted to the tabs -> spaces fixes + trailing whitespace cleanup.

    * [...]

commit c6847e9b022184e98942391a2b5711c31eb25ba3
Author: Jan Holesovsky <kendy@suse.cz>
Date:   Fri May 14 14:32:23 2010 +0200

    Convert tabs to spaces in all the code introduced by the patches.

    * [...]

commit 09774df8a62bf886c78c0f84d56b2d518ae8107e
Author: Jan Holesovsky <kendy@suse.cz>
Date:   Tue Apr 29 14:04:53 2008 +0000

    Src680/

    * Some cleaning action: src680/* -> dev300/

    * patches/dev300/gstreamer-sd.diff,
    patches/dev300/gstreamer-slideshow.diff,
    patches/dev300/letter-wizard-resource-id.diff: Moved to
    patches/gstreamer.

    * patches/dev300/mono-build.diff: Moved to patches/mono.

    * patches/dev300/sc-hacky-handle-boolean.diff,
    patches/dev300/vba-workbook-worksheet-events.diff: Moved to
    patches/vba.

    * patches/src680/unittesting-*: Moved...
    patches/unittesting/*: ...here.

    * patches/src680/*: Moved...
    patches/dev300/*: ...here.

    * patches/dev300/apply,
    patches/Makefile.am: Add the unittesting subdir, remove src680.
2011-11-15 17:39:55 +01:00
Joseph Powers
bc85f4fe71 Remove some unused headers 2011-11-15 08:06:53 -08:00
Joseph Powers
9d4747f91e Remove some unused Precompiled Header logic 2011-11-15 08:06:52 -08:00
Stephan Bergmann
8b75883b87 Simplified some uses of css.configuration.theDefaultProvider.
* Retro-added new-style UNOIDL singleton specification for it, for easy
instantiation.
* Plus new comphelper::getComponentContext to map from XMultiServiceFactory
to XComponentContext.
2011-11-14 22:07:23 +01:00
Stephan Bergmann
b11bd0323e Removed comphelper -> unotools processfactory.hxx duplication. 2011-11-14 11:50:26 +01:00
Stephan Bergmann
c1758889cb Heavily simplified utl::ConfigManager. 2011-11-11 22:49:21 +01:00
Andras Timar
a2dacd9205 remove empty Text [ x-comment ] entries 2011-11-08 11:28:33 +01:00
Michael Stahl
66d9925bb6 Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/core 2011-11-02 17:49:42 +01:00
Michael Stahl
7edb1da8c5 move CloseVeto from dbaccess to unotools 2011-10-31 21:18:24 +01:00
Lionel Elie Mamane
6efdf794cd factorise multiple SQL_ISRULEOR2 implementations into one 2011-10-30 13:37:02 +01:00
Lionel Elie Mamane
eaa8cb8ee3 add const 2011-10-30 13:37:02 +01:00
Lionel Elie Mamane
788283383e Remove unnecessary variable 2011-10-30 13:37:02 +01:00
Lionel Elie Mamane
1f805926d8 fillFunctionInfo now also guesses the type of non-function call expressions 2011-10-30 12:39:38 +01:00
Lionel Elie Mamane
fbf27dc44c Reorganise code for more clarity; no behaviour change 2011-10-30 12:39:35 +01:00
Julien Nabet
9764427b69 Remove some parenthesis for readability 2011-10-28 00:16:28 +02:00
Julien Nabet
ac1eb33bfc C-Style casting replaced by C++ style 2011-10-27 17:29:41 +02:00
Tor Lillqvist
ec059f87f4 WaE: illegal copy-initialization 2011-10-26 13:31:46 +03:00
Tor Lillqvist
45a5fdc735 WaE: unreferenced local variable 2011-10-26 13:26:30 +03:00
Tor Lillqvist
94f9419aec WaE: C++ exception handler used, but unwind semantics are not enabled 2011-10-26 13:03:39 +03:00
Tor Lillqvist
717024f3ae WaE: C++ exception handler used, but unwind semantics are not enabled 2011-10-26 13:02:20 +03:00
Tor Lillqvist
6d000e84f6 WaE: illegal copy-initialization
more than one user-defined conversion has been implicitly applied. So
use the other style of initialisation then.
2011-10-26 12:58:49 +03:00
Tor Lillqvist
aca52b3cf6 Revert "Build dbaccess and connectivity only for DESKTOP platforms for now"
Nah, breaks the build for non-DESKTOP platforms anyway, as headers
delivered there are needed elsewhere. So just keep building that stuff
even if it presumably will not be needed on either of the non-DESKTOP
platforms.

This reverts commit 9b4212f14b.
2011-10-26 12:18:11 +03:00
Tor Lillqvist
9b4212f14b Build dbaccess and connectivity only for DESKTOP platforms for now 2011-10-25 13:55:34 +03:00
Tor Lillqvist
605369eec7 WaE: unreferenced local variable 2011-10-25 11:31:51 +03:00
Stephan Bergmann
f257664724 Undo basis/brand split: Moved the rest of the WNT-only stuff. 2011-10-24 13:59:57 +02:00
Julien Nabet
48cdc0318b Fix fdo#38286. Perhaps it could be simplified 2011-10-22 11:26:20 +02:00
Stephan Bergmann
322d455f9f Simplified comphelper::OSequenceIterator and its uses. 2011-10-19 11:17:47 +02:00
Michael Stahl
8666469d7b #i108468#: clean up xmluconv code duplication, measured approach:
modify sax::Converter::convertMeasure to use sal_Int64 instead of BigInt:
  should be sufficient, since the largest number is SAL_INT32_MAX * 10^7.
 remove duplicate methods from SvXMLUnitConverter:
  convertMeasurePx, convertMeasure (static variants)
 remove entirely duplicative class SvXMLExportHelper:
  GetConversionFactor, GetUnitFromString, AddLength
 change SvXMLUnitConverter interface from MapUnit to css::util::MeasureUnit.
 change SvXMLExport constructor params from MapUnit to css::util::MeasureUnit.
 rename some methods to turn compiler into merge conflict detector :)
2011-10-11 17:57:01 +02:00
Michael Stahl
ae3e2f1700 #i108468#: clean up xmluconv code duplication, DateTime edition:
remove duplicate methods from SvXMLUnitConverter:
  convertTime (all variants), convertDateTime (DateTime variants),
  convertTimeDuration.
 move convertAny from SvXMLUnitConverter to sax::converter.
2011-10-11 17:57:00 +02:00
Michael Stahl
3ca2bef768 #i108468#: clean up xmluconv code duplication, part 1:
move convertNumber64 from SvXMLUnitConverter to sax::converter.
 remove duplicate methods from SvXMLUnitConverter:
  convertBool, convertPercent, convertColor, convertNumber, convertDouble,
  indexOfComma, encodeBase64, decodeBase64, decodeBase64SomeChars,
  clearUndefinedChars
2011-10-11 17:57:00 +02:00
Michael Meeks
9142f9a1a1 WaE: win32 cleanup 2011-10-07 16:30:52 +02:00
Caolán McNamara
9a8593e69f ByteString->rtl::OStringBuffer 2011-10-05 10:41:04 +01:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Caolán McNamara
1b78b83fbd tweak ambiguities for F-15 gcc 4.6.1-9 2011-09-30 09:09:26 +01:00
Caolán McNamara
2774cab826 add modelines 2011-09-29 09:33:46 +01:00
Caolán McNamara
44eb2b3355 remove archaic header guards 2011-09-29 09:33:46 +01:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Tor Lillqvist
4f3e9f30a0 Always link with user32 2011-09-22 15:46:15 +03:00
Caolán McNamara
5ab3360cf7 WaE: unused variable 2011-09-21 16:09:17 +01:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00
Stephan Bergmann
c9b1cb5ae3 Avoid premature deletion of objects in ODatabaseContext::m_aDatabaseObjects.
Access of deleted objects found with valgrind/memcheck of dbaccess/qa/unoapi.
2011-09-19 21:40:11 +02:00
Michael Stahl
f69eb5b703 dbaccess: databasecontext.cxx: copy m_aDatabaseObjects
this fixes an STL assertion due to invalidated iterator.
2011-09-15 14:07:30 +02:00
Michael Stahl
3c6d38fed0 dbaccess: RowSet.cxx: update m_bIsInsertRow
fixes an STL assertion; this line was accidentally removed in merge commit
bc3bbd2bb4
2011-09-15 14:07:29 +02:00
Lionel Elie Mamane
b89da4bbb9 Type: BROWSER_INVALID_ID -> BROWSER_INVALIDID 2011-09-12 17:46:56 +02:00
Lionel Elie Mamane
f7ed67f2cf cleanup BrowseBox, DbGridControl & friends handle & invalid column handling
- BrowseBox: Check Handle column-related invariants when adding a
   column:
   # only one handle column
   # it is the first

 - BrowseBox: Check column id-related invariants when adding a column:
   # Id is not the special "handle column" value
   # Id is not the special "invalid ID" value
   # unicity of the ID among columns

 - GetColumnId: return BROWSER_INVALIDID, not 0 (== id of handle
   column) for an invalid column; adapt code calling GetColumnId to
   this change.

 - Use the correct const or #define'd symbol instead of magic
   constants; introduce such a symbol if needed

 - General other miscellaneous cleanups:
   # Translation of comments
   # typo/spelling in comments, error messages and the like
   # parenthesise #define'd value
   # use SAL_MAX_UINT16 instead of USHRT_MAX where a sal_uInt16 is
     expected
   # BrowseBox::SetColumnTitle: nItemId is checked to be non-zero, so
     don't test if for zeroness again.
2011-09-12 16:40:51 +02:00
Lionel Elie Mamane
fea84e0041 typo in parameter name 2011-09-12 16:40:51 +02:00
Caolán McNamara
07f9a847f0 callcatcher: various unused methods 2011-09-12 09:09:59 +01:00
Jenei Gábor
bc0a497f08 Fixes fdo#36594 Syntax error in SQL on "--" comment (and "//" and "/**/")
The SQL parser implementation does not handle comments.
Temporarily remove "-- ..." and "// ..." end-of-line comments and "/* ... */"
inline comments of a query and append comments after recomposition of the
query.

NOTE: The original comment positions are not preserved, all comments are
      appended to the query!

Based on the original patch further development was done for inline comments
and preserving comments' line order.
2011-09-03 01:19:51 +02:00
Julien Nabet
78c1a9f5c4 Some cppcheck cleaning 2011-09-01 21:34:19 +02:00
Caolán McNamara
8de61c9fb6 grabbag of unused code 2011-08-31 10:43:23 +01:00
Caolán McNamara
2f5856b20d WaE: dbglevel=2 2011-08-30 09:32:23 +01:00
Caolán McNamara
01f5362e79 String::CreateFromInt64->rtl::OUString::valueOf 2011-08-25 09:42:07 +01:00
Jan Holesovsky
326494b71c gb_Library_set_cxxflags -> gb_Library_add_cxxflags 2011-08-24 01:33:44 +02:00