Commit graph

4096 commits

Author SHA1 Message Date
Andrew Higginson
8a3aae9b69 Resolves: fdo#31022 about dialog is suboptimal 2012-04-10 12:49:49 +01:00
Matúš Kukan
0a45deba2b enforce only one possible use of gb_CustomTarget
This brings two changes:
- no more recursive calling of make
- gbuild_simple is now not used => removed
2012-04-09 21:04:39 +02:00
David Tardon
6de7392829 add package deps for resources 2012-04-09 10:09:23 +02:00
Szabolcs Dezsi
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
27cea710fd Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Szabolcs Dezsi
8a01ee6243 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
Julien Nabet
7d2508572a Fix Prefer prefix ++/-- operators
Includes too replacement < by != for comparison between current and end iterators
2012-04-05 21:17:09 +02:00
Caolán McNamara
3c19ff4f85 DEFINE_CONST_UNICODE isn't needed here anymore 2012-04-05 13:57:22 +01:00
Caolán McNamara
69fec63d46 unused U2S define 2012-04-05 13:57:22 +01:00
Stephan Bergmann
7d96faeacd Improved error reporting 2012-04-04 15:25:38 +02:00
Matúš Kukan
d5c18a48f8 desktop: use CustomTarget makefile 2012-04-04 11:31:55 +02:00
Caolán McNamara
15f14ec794 reorganize trickier statics 2012-04-02 14:53:48 +01:00
David Tardon
c4c6b52a21 fdo#47963 do not increase height of checkboxes
Especially as it is obvious the grow is unbounded .-)
2012-04-02 12:50:00 +02:00
Takeshi Abe
e60911f5fc removed duplicate includes in desktop / editeng 2012-03-30 21:45:15 +09:00
Caolán McNamara
9ce98add53 remove static OUStrings from static_initialization_and_destruction chain 2012-03-29 12:44:23 +01:00
Luboš Luňák
1c811f79e1 fix build 2012-03-29 13:42:31 +02:00
Michael Meeks
9404908713 desktop: unwind hideous StrTitle mess a little 2012-03-29 12:20:41 +01:00
Caolán McNamara
d2ed905c85 when run under memcheck allow SIGUSR2 to dump current memory allocations 2012-03-28 13:08:58 +01:00
Caolán McNamara
043ddca9c5 drop unused global rtl::OUStrings 2012-03-28 13:08:58 +01:00
Caolán McNamara
8757c9c462 remove static OUStrings from static_initialization_and_destruction chain 2012-03-28 13:08:58 +01:00
Caolán McNamara
96433d351e remove static OUStrings from static_initialization_and_destruction chain 2012-03-28 13:08:56 +01:00
Caolán McNamara
867588b4ca Resolves: rhbz#807316 don't complain that nocrashreport is an unknown option 2012-03-27 15:22:14 +01:00
Caolán McNamara
907ba5e528 match DB_ENV creation flags to DB creation flags 2012-03-23 20:47:57 +00:00
Caolán McNamara
7687651347 Take a meg off our memory footprint
We create 6 berkleydb backed databases. If no DB_ENV is provided for a
database, then berkleydb creates one for each database. Each
environment has a memory footprint of about 200k. It appears to be
legal to share an environment, which shaves about 1M off our
permanant footprint.
2012-03-23 10:20:47 +00:00
Caolán McNamara
f0a2c79019 DbEnv argument is always NULL 2012-03-23 10:20:46 +00:00
David Tardon
01eb464eb4 remove duplicate entries 2012-03-23 06:02:41 +01:00
David Tardon
424a03e72f simplify pagein creation 2012-03-23 06:02:41 +01:00
David Tardon
ecc7ae77d3 move Pagein from desktop to gbuild 2012-03-23 06:02:40 +01:00
Caolán McNamara
bdfba4dbf6 make ResId->OUString the primary route 2012-03-20 12:57:33 +00:00
Stephan Bergmann
7b9ea611be Resolves rhbz#804437, do not rtl_uString_release(NULL)
...in case osl_getProcessWorkingDir fails (e.g., if it has been unlinked).
2012-03-20 11:23:55 +01:00
Stephan Bergmann
5bda84a2d7 Fixed spl_component_getFactory
The old code relied on the order of initializing global static variables across
compilation units, which failed for MinGW cross compilation.  Cleaned up.
2012-03-19 19:36:51 +01:00
Jan Holesovsky
43061897a6 Workaround a strange wine / mingw crash. 2012-03-19 14:34:35 +01:00
Stephan Bergmann
9019ccb423 soffice.exe must not link against sal3.dll (might fix fdo#44489)
...as soffice.exe creates the proper environment (PATH) for soffice.bin to be
able to load URE libs like sal3.dll, so soffice.exe itself should neither be
able to load nor depend on sal3.dll (and does not depend on anything exported by
it, anyway).

It is unclear to me how this ever worked (which it presumably did?) with any
Windows build, either native MSVC or cross-compiled MinGW.  (Maybe MSVC builds
do not record a dependency from soffice.exe to sal3.dll, noting that the former
does not import anything from the latter?)
2012-03-19 14:21:00 +01:00
Stephan Bergmann
d4b67611c4 Introduced SystemShellExecuteFlags::URIS_ONLY 2012-03-16 15:01:26 +01:00
Matúš Kukan
45504f9ba8 fix windows build
No idea if this is proper fix or it needs to be done otherwise.
2012-03-16 01:25:24 +01:00
Michael Stahl
813a57cb1a fdo#47246: desktop: factor out a winextendloadenv static library 2012-03-14 16:23:30 +01:00
Michael Stahl
5cc6398985 fdo#47246: desktop: factor out a winlauncher static library 2012-03-14 12:33:47 +01:00
Michael Stahl
fece687329 desktop: move lockfile.cxx to libdeploymentmisc 2012-03-12 18:30:33 +01:00
Michael Stahl
c7458a4a71 desktop: libsofficeapp shouln't need a main() 2012-03-12 18:30:32 +01:00
Michael Meeks
61eeb689d7 fix smoketest - need to check read-only-ness of non-existent paths 2012-03-12 13:20:38 +00:00
Luboš Luňák
3f765e5bb2 replace usage of OUString::replace*AsciiL() with string literal overloads 2012-03-12 13:35:57 +01:00
Stephan Bergmann
bee742eb7a Fix sense of r/o detection code, and clean up 2012-03-09 19:42:48 +01:00
Michael Meeks
d3192948fe fdo#40607 - osl_syncFile having written, and avoid doing that on start 2012-03-09 17:03:48 +00:00
Matúš Kukan
ac26f68710 remove unused Makefile 2012-03-09 10:48:03 +01:00
Takeshi Abe
274b4272fa Removed dead define
It died 10 years ago: 85c2755e16
2012-03-09 00:30:40 +09:00
Michael Stahl
db21197de4 desktop: do not complain about soffice command line options:
These are handled in the soffice wrapper script, but that is too stupid
to be able to filter these out, so just ignore them in soffice.bin.

(regression from 4efbd87e31)

Also, print errors on stderr.
2012-03-08 15:53:49 +01:00
Caolán McNamara
4efbd87e31 Resolves: rhbz#800272 complain about unknown command-line options 2012-03-06 15:49:48 +00:00