Commit graph

1803 commits

Author SHA1 Message Date
Takeshi Abe
660e4481a4 Avoid temporary rtl::OUString
in scripting / sdext / starmath / stoc / svtools / svx
2012-02-28 01:55:00 +09:00
Korrawit Pruegsanusak
7b348b9f67 CRLF to LF, no code changed 2012-02-27 21:38:50 +07:00
Caolán McNamara
b36d555440 drop UniString::CreateFromInt64 2012-02-27 09:45:57 +00:00
Julien Nabet
67d01fb5d4 Avoid temporary rtl::OUString 2012-02-26 14:58:33 +01:00
Tor Lillqvist
dd3f4855ec Unify indentation 2012-02-23 22:59:55 +02:00
Stephan Bergmann
fe981519f5 gb_JunitTest_JunitTest takes only one argument 2012-02-20 16:39:59 +01:00
Elton Chung
d30b4e9fb6 Get rid of size() == 0 2012-02-19 17:07:46 +04:00
Elton Chung
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00
Stephan Bergmann
9ab0b38e95 Various string function clean up
Added:
* rtl::OString::matchL
* rtl::OString::endsWith
* rtl::OString::endsWithL
* rtl::OString::indexOfL
* rtl::OString::replaceFirst
* rtl::OString::replaceAll
* rtl::OString::getToken
* rtl::OUString::endsWith
* rtl::OUString::replaceFirst
* rtl::OUString::replaceFirstAsciiL
* rtl::OUString::replaceFirstAsciiLAsciiL
* rtl::OUString::replaceAll
* rtl::OUString::replaceAllAsciiL
* rtl::OUString::replaceAllAsciiLAsciiL
* rtl::OUString::getToken
plus underlying C functions where necessary

Deprecated:
* comphelper::string::remove
* comphelper::string::getToken

Removed:
* comphelper::string::searchAndReplaceAsciiL
* comphelper::string::searchAndReplaceAllAsciiWithAscii
* comphelper::string::searchAndReplaceAsciiI
* comphelper::string::replace
* comphelper::string::matchL
* comphelper::string::matchIgnoreAsciiCaseL
* comphelper::string::indexOfL

Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM ->
RTL_CONSTASCII_STRINGPARAM.
2012-02-15 15:41:09 +01:00
Elton Chung
806bec7107 Fix typos in comments 2012-02-13 15:27:24 +00:00
Matúš Kukan
4b30ec9def fdo#39491 -I$(OUTDIR)/inc is set in SOLARINC 2012-02-10 21:41:45 +01:00
Takeshi Abe
e7e0455b02 Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsAscii("...") 2012-02-10 01:59:26 +09:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Josh Heidenreich
904d59fab9 add missing README to animation, sc, sd, slideshow, starmath, sw 2012-02-04 09:26:08 -06:00
Caolán McNamara
970ccf4f69 drop unnecessary includes 2012-01-31 22:42:22 +00:00
Caolán McNamara
bbc94edb9a refactor ConvertLineEnd 2012-01-30 13:18:38 +00:00
Luboš Luňák
6b2e9ebf77 fprintf -> SAL_INFO 2012-01-30 14:10:48 +01:00
Ivan Timofeev
93236fcdf2 remove '#define UNOOUSTRING ::rtl::OUString' 2012-01-30 12:23:34 +04:00
Caolán McNamara
0c5ed3541b String->rtl::OUString 2012-01-25 15:37:19 +00:00
Caolán McNamara
1d4e0d9ec5 reduce unnecessary includes 2012-01-25 15:37:18 +00:00
Ivan Timofeev
924d0bdd47 add the "Send Feedback..." help menu item 2012-01-23 12:37:07 +01:00
Caolán McNamara
61eb66bd2d make starmath ByteString free 2012-01-23 11:37:05 +00:00
Olivier Hallot
806dce17d6 Fix for fdo43460 Part XXXIV getLength() to isEmpty()
Part XXXIV
Modules
shell, slideshow, sot, starmath
2012-01-11 18:43:07 -02:00
Marcel Metz
5845c5b6ec Removed unnecessary tools/link.hxx includes. 2012-01-06 23:55:50 +01:00
Michael Stahl
23dd856d3c Merge branch 'feature/gbuild_extensions'
Conflicts:
	extensions/source/ole/servreg.cxx
	extensions/source/plugin/util/makefile.mk
	postprocess/packcomponents/makefile.mk
	postprocess/prj/build.lst
	tail_build/prj/build.lst
2012-01-06 21:09:13 +01:00
Luboš Luňák
608c927c0f symbolic names instead of hex values for math symbols where possible 2012-01-06 12:46:22 +01:00
Luboš Luňák
6977d658e1 write TBAR rather as an accent, use over/underline for m:bar
seems to match the docx semantics better, despite the names
2012-01-06 12:25:37 +01:00
Joshua Cogliati
b90ac7d682 smath does not handle accents in MathML 2012-01-06 10:48:59 +00:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Marcel Metz
79646372a0 Removed unnecessary tools includes.
Hello lo-devs,

this patch series removes a lot of unnecessary includes for the various
tools header. The patches without suffix should be applied to the core
repository, the .binfilter.patch suffix should be applied to the
binfilter repository. I've tested the build with the configuration
--enable-binfilter --enable-dbgutil --enable-debug, is this sufficient
or did I miss another important configuration, that enables some
conditional compiled code? I've only build this on linux-x86_64, but the
patch also touches some of the mac specific code like
fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good
idea to test this patch.

regards Marcel Metz
2012-01-05 15:31:29 +01:00
Caolán McNamara
bacfd2dc4c add a comphelper::string::getTokenCount
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00
Norbert Thiebaud
1c6f4e6ff7 fix dep to svx/globlmn.hrc inside of tail_build 2012-01-04 01:48:49 -06:00
Julien Nabet
74b675cb69 Some cppcheck cleaning 2011-12-29 11:36:13 +01:00
Takeshi Abe
5451e9c702 catch exception by constant reference 2011-12-26 03:38:50 +09:00
Peter Foley
fd66491759 Merge remote-tracking branch 'origin/master' into feature/gbuild_extensions
Conflicts:
	Module_tail_build.mk
	Repository.mk
	extensions/util/makefile.pmk
	postprocess/prj/build.lst
	svx/AllLangResTarget_svx.mk
2011-12-24 09:44:24 -05:00
August Sodora
4d4a67748e SV_DECL_VARARR->std::vector 2011-12-23 14:52:09 -05:00
Luboš Luňák
643de3b64e "*.*" is not "all files" (bnc#738021)
Not on any Unix, at least. I have no idea how deep entrenched is this
mistake all over the code, so I'll play safe and just fix the KDE4 fpicker
(GNOME/KDE3 seem to handle it fine), but at least in the UI show just
"All files" instead of "All files (*.*)").
2011-12-22 19:32:53 +01:00
Matúš Kukan
032df7e9bf gbuild: these targets depend on svx/globlmn.hrc 2011-12-20 19:38:30 +01:00
Luboš Luňák
170d75c3f5 remove obsolete comment 2011-12-20 16:12:45 +01:00
Luboš Luňák
577bb0dc29 if a bracket pair has no left/right bracket, it needs to explicit (fdo#32636) 2011-12-20 10:49:41 +01:00
Luboš Luňák
d607e5cda6 import m:eqArr (part of fdo#32636) 2011-12-20 10:49:41 +01:00
Luboš Luňák
a69d808021 export vertical stack as m:eqArr, seems to fit much better 2011-12-20 10:49:41 +01:00
Luboš Luňák
0acff1783a skip unknown elements when reading multiple elements from docx mathml 2011-12-20 10:49:40 +01:00
Tor Lillqvist
25e10370fe Link most libs and executables with gb_STDLIBS as presumably is intended 2011-12-20 01:12:23 +02:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Stephan Bergmann
3684fcdc0f configmgr.component is no longer an old one. 2011-12-14 10:42:51 +01:00
Luboš Luňák
9a8d7e2a3f add docx starmath testing documents
It's simply a bunch of documents with various math features in them.
It'd be nice to have an automated test built on top of them that
checks the formula is the same (roughly, in the meaning, it can't be
precise because import adds e.g. extra {}'s) after an export+import
roundtrip.
2011-12-08 16:36:19 +01:00
Eike Rathke
cabf25372c old class Stack pop'ed 0 from empty stack, which std::stack doesn't
Some places in the code assumed that if the stack is empty a null pointer is
returned by top() (or old Pop()), this doesn't work anymore with ::std::stack
that instead has undefined behavior in that case, so check !stack.empty()
first before accessing top.
(cherry picked from commit ac40f7d650)
2011-12-07 17:27:31 +01:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00