summaryrefslogtreecommitdiffstats
path: root/unotools
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup in Tools > Options > User DataUray M. János2012-08-292-1169/+243
| | | | | | | | | | | Change-Id: I4f0a0304d7dd23ed8ce011e6f8f90e170bfbe5df Cleanup in Tools > Options > User Data Change-Id: If89f19e22b6efeb0fdd811ff8afe2cb6c0b0bf4e Reviewed-on: https://gerrit.libreoffice.org/500 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* resolved fdo#52240 fdo#52137 fdo#52288 user editable date patternsEike Rathke2012-08-295-8/+174
| | | | | | | | | | | | | | | | | | | | | | | | Implemented user editable date acceptance patterns. The introduction of strict date parsing using locale dependent date acceptance patterns in 3.6.0 wasn't always welcomed. Besides that not every locale had patterns for incomplete (only day and month) date input, users also complained about not being able to key in dates on numeric keypads if the locale's date separator wasn't '/' or '-' This commit implements a "Date acceptance patterns" edit field under Tools->Options->LanguageSettings->Languages that follows the selected locale and enables the user to add patterns. Example de-DE locale: * default patterns: D.M.Y;D.M. * to enable additional input on numeric keypad: D.M.Y;D.M.;D-M-Y;D-M * if 3-4 shall not result in a date, D-M- could be used instead of D-M * note that to enter an ISO 8601 Y-M-D date with a D-M-Y pattern active one needs to enter a year >31 or with at least 3 digits, e.g. 011 Change-Id: I9e20fcb168578b02d0f0248a0e209942e0f27113
* fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin2012-08-271-10/+6
| | | | Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
* fdo#46249: UCBContentHelper::GetTitle must not fail for void propertyStephan Bergmann2012-08-222-9/+15
| | | | | | | | | | | | This was a regression introduced with 2af9040d38af7c7353855415dbea0134585058f3 "Cleaned up utl::UCBContentHelper." GetSize exhibited the same problem and has also been fixed. IsYounger exhibits a similar problem, but has not been addressed, as it is unclear what to return in case no dates can be compared; it is only used in one place (handling SID_EDITDOC in SfxViewFrame::ExecReload_Impl, sfx2/source/view/viewfrm.cxx) where, it appears, only contents for which DateModified /does/ yield a non-void value are relevant. Change-Id: Iff9f5e1ed6f45eede117713d64a265b98f6862b1
* WaE parameter shadow memberNorbert Thiebaud2012-08-182-5/+5
| | | | Change-Id: I231e41771e81f7e6f2939468e6b2175f2bc10101
* WAE parameter shadow memberNorbert Thiebaud2012-08-182-23/+23
| | | | Change-Id: Icf41caa23ce9a548223da4613a199116641e7fe5
* Partial replaced String with OUString in ScInterpreterSören Möller2012-08-181-0/+13
| | | | | | | | | Added wrapper using OUString instead of String to textsearch Change-Id: I866a109d60085da67ffa2fed3131c4e60b074bbf Reviewed-on: https://gerrit.libreoffice.org/425 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* gbuild: register all jarsMichael Stahl2012-08-171-6/+6
| | | | Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
* -Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2012-08-142-7/+3
| | | | Change-Id: Id5343222eea264c956ed0a6b545c59125352e110
* fdo#39468: Translate German comments in toolkit,unotools, & xmloffOliver Günther2012-08-102-13/+12
| | | | | | | | | | | Also checked the following with bin/find-german-comments (all false positives): - sysui - xml2cmp - udm - ucb Change-Id: I2c72f973f5cecf56d70b5419e56338170dd55a2e
* reduce ascii noise and useless commentsThomas Arnhold2012-08-0813-74/+0
| | | | Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
* remove include comments and boxesThomas Arnhold2012-08-088-29/+0
| | | | Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
* remove bogus date informationThomas Arnhold2012-08-071-6/+0
| | | | Change-Id: I2789153ee35f4ec10e760f9412eb7d379de031bf
* remove empty ascii boxes and stuff IIIThomas Arnhold2012-08-071-12/+0
| | | | Change-Id: I8b54e8518c219a7edd7e29173a1099611a7e0dbb
* remove empty ascii boxes and stuffThomas Arnhold2012-08-071-4/+0
| | | | Change-Id: Ied91b5b298f0cfad0d3408c3cbb87c7bd1b83247
* Typo ressource -> resourceStephan Bergmann2012-07-302-8/+8
| | | | Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
* Replaced deprecated tools/String with OUString in sc/../chgvisetSören Möller2012-07-112-0/+36
| | | | | | Added new TextSearch::SearchForward mirroring TextSearch::SearchFrwrd using OUString and sal_Int32 to make it possible to replace all uses of tools/String Change-Id: I260d8d3a23d634eab37f28a5ceaf61ace5040540
* re-base on ALv2 code. Includes:Michael Meeks2012-07-11126-2891/+1773
| | | | | | | | | | | | | Avoid some uses of non portable #!/bin/bash in shell scripts. Patch contributed by Pedro Giffuni http://svn.apache.org/viewvc?view=revision&revision=1235297 remove redundant namespace, patch contributed Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1162610 removal of OS/2 port changes, and preferring our similiar tools/inc/tools/solar.h DLLPOSTFIX cleanup. i118595 - Removal of the use of getopt() from rscdep. Patch contributed by Andre Fische http://svn.apache.org/viewvc?view=revision&revision=1202270
* ditch String::CreateFromAsciiCaolán McNamara2012-07-035-9/+9
| | | | Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
* targetted improvement of UNO API includes / usageMichael Meeks2012-07-021-4/+1
|
* Remove unused definesThomas Arnhold2012-07-011-1/+0
| | | | Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
* Remove UNO includes commentsThomas Arnhold2012-06-295-11/+0
| | | | Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
* Remove unused header filesThomas Arnhold2012-06-272-480/+0
| | | | | | These were only referenced by Package_inc.mk... Change-Id: Idc771477595b9d221f9f2003b293fdd1ba7e1588
* Remove unused include filesThomas Arnhold2012-06-271-37/+0
| | | | | | Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
* tidy some resource stringsCaolán McNamara2012-06-261-13/+8
| | | | Change-Id: I611a276d048121084ec842d062129e042f3baea5
* reduce static_initialization_and_destruction chainCaolán McNamara2012-06-253-42/+5
| | | | Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
* TODO: get rid of this in another incompatible build with SW projectCaolán McNamara2012-06-252-22/+0
| | | | Change-Id: Ic3fb0c8eb37317d55bcdc6abc7ff9843ba11fac6
* unnecessary use of UniString::GetBufferCaolán McNamara2012-06-251-2/+2
| | | | Change-Id: If7d31a649a058a30196e1ed4be28b5c6c42640a0
* re-base on ALv2 code.Michael Meeks2012-06-221-23/+14
| | | | Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
* replace all but one .hdl include with equivalent .hpp includes.Michael Meeks2012-06-213-3/+3
| | | | Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
* re-base on ALv2 code.Michael Meeks2012-06-2118-426/+264
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* re-base on ALv2 code.Michael Meeks2012-06-215-118/+73
| | | | Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
* adapt callers of getCurrFormatsImpl() to changesEike Rathke2012-06-201-11/+10
| | | | | | | | | | | 06e2005ed83567452783003e3113ad6a92190c2d changed String to OUString and initialized some variables with -1 instead of STRING_NOTFOUND, which was unsigned 0xffff so var1<var2 was true if var1 had a value other than default and var2 was default. After the change the comparison had logic reversed and the result was a default negative currency format with parentheses for all locales. Change-Id: I3fe49fed7c1047618dc653fce992eb01582c398d
* merge together hand-crafted traditional/simplified chinese testsCaolán McNamara2012-06-192-10/+6
| | | | | | | | | | | merge together a gadzillion hand-crafted isSimpleChinese/isTraditionalChinese/isKoreanVariants/isCJK implementations which should fix a goodly amount of them add a MsLangId::isFamilyNameFirst for locales where family name appears first while I'm at it. Change-Id: I65377793be037d16fe7250cd7450b28aec689e83
* death to some UniStringsCaolán McNamara2012-06-191-7/+6
| | | | Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
* reduce amount of static StringsCaolán McNamara2012-06-191-46/+41
| | | | Change-Id: Ic397223332982619d62a30326fa8ceddd59010f3
* why on earth are these double null terminatedCaolán McNamara2012-06-191-5/+5
| | | | Change-Id: If7246afada76ca078ace48ef6f8bdb6a72adc00a
* remove some UniString ctorsCaolán McNamara2012-06-192-2/+2
| | | | Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
* convert LocaleDataWrapper to OUStringCaolán McNamara2012-06-182-234/+227
| | | | Change-Id: Icb5f5adf9139d1c0f0e86d8128ea6742ce20b138
* use boost::noncopyableCaolán McNamara2012-06-181-6/+2
| | | | Change-Id: I1a72115796dfe876fe20bc3fecd9897c90da8db5
* Junit test for unotoolsNorbert Thiebaud2012-06-161-0/+37
| | | | Change-Id: I7f3e6ed57fa40e9c7804c42c37c10023eefcc022
* revert gmk4Norbert Thiebaud2012-06-161-56/+0
| | | | Change-Id: Ib91e193d55d38abd77a6b4c0849c1f13c37cc7f2
* Remove obsolete inetdef.hxxThomas Arnhold2012-06-151-2/+0
| | | | Change-Id: I043e226a1cec527c51cbd91075634d5c9ca371d8
* reduce use of UniString ctor from null-terminated unicodearrayCaolán McNamara2012-06-132-8/+8
| | | | Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
* nuke dead codeTakeshi Abe2012-06-122-105/+0
| | | | Change-Id: If8b6b4a3d9222726ae562e5b685710d86b5fe332
* callcatcher: update unused codeCaolán McNamara2012-06-112-31/+0
| | | | Change-Id: Id5f730fc447b11000b266954f9e7f5287bad02f4
* Remove superfluous empty lines on topThomas Arnhold2012-06-092-4/+0
| | | | | | More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
* fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin2012-06-061-4/+3
| | | | | | Update code to use factory method TextSearch::create Change-Id: I7a8b607ed397158ca1e2b834ce61b8b196c8019a
* fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin2012-06-062-9/+6
| | | | | | | Update code to use factory method PathSubstitutions::create Change-Id: I3721bd93c36b207d849eea19102f5ac61cadd205 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
* Add ODF1.2 extended-but-more-compatible modeThorsten Behrens2012-06-051-0/+1
| | | | | | | | | | With several legacy pre-ODF1.2 and ODF1.2-only consumers out there, folks wanted a more backward-compatible ODF1.2 extended mode, that uses stuff deprecated in 1.2, and/or is 'bug-compatible' to older OOo-versions. Therefore, adding ODFVER_012_EXT_COMPAT, and sticking it to several attributes that were ODFVER_LATEST before.