Commit graph

785 commits

Author SHA1 Message Date
Jean-Noël Rouvignac
63b0ce97ba fdo#38838 searched, replaced and removed String::CreateFromInt32().
I ran the following code replace:
    s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/

And finally removed String::CreateFromInt32().

Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5
Reviewed-on: https://gerrit.libreoffice.org/2279
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-24 12:59:02 +00:00
Julien Nabet
1443a9f7ab [Uu]sefull -> [Uu]seful
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22 11:12:33 +01:00
Tor Lillqvist
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
Caolán McNamara
0db079cd5a coverity#982801 Out-of-bounds access
surely given we stream this in on Load, we should stream
it out on Store, rather than dump it out

Change-Id: Ibf499dad8ebe6eb7a60cdbaf667d35eed8331685
2013-02-19 16:23:51 +00:00
Stephan Bergmann
bde184dcf7 warning C4805: '!=' unsafe mix of type 'bool' and type 'sal_Bool'
Change-Id: Iaf8de7c729b3cefed8620dec7fe4dd1427305e50
2013-02-04 16:25:59 +01:00
Luboš Luňák
c2e2d77b19 unused variable
Change-Id: I636229e88f76d8e2f6ccd24fd7b5063ca64f9b27
2013-02-02 22:59:45 +01:00
Luboš Luňák
efe9bf61ed sal_Bool to bool
Change-Id: I7d05020b6e07268349fb269bd58ce11aeddf6631
2013-02-02 22:59:45 +01:00
Michael Stahl
a53586f4ef gbuild: do not copy boost headers around
- do not use gb_UnpackedTarball_copy_header_files for boost
- adapt the optimization in concat-deps.c for new path
- use boost_headers in all LinkTargets that require it
- add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus

Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26 22:20:06 +01:00
Caolán McNamara
4a1044229a Resolves: fdo#57532 restrict page sanity check to non-storage chunks
Change-Id: I47c24131e95b9a8a691dbff4710869ba91df8306
2012-12-05 13:16:32 +00:00
Tor Lillqvist
a3ce60eb3c We only support MSVC 2008 (_MSC_VER 1500) or later
We can drop or simplify many conditionals.

Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-28 20:53:40 +02:00
Eike Rathke
af60316514 some i18n wrappers with LanguageTag
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23 23:09:16 +01:00
Caolán McNamara
e2036d4ec1 Related: fdo#53909 add regression test
Change-Id: I8891401e5914b2908308cda3896a45d380688bc1
2012-11-22 22:35:15 +00:00
Caolán McNamara
ef9f9b750e Resolves: fdo#53909 STG_FREE sector locations rejected
Change-Id: I6f71c7e3cfeeba8a76096d5be68838b8d401c580
2012-11-22 22:30:35 +00:00
Caolán McNamara
3b23870673 callcatcher: remove another layer of binfilter-released methods
Change-Id: Id5bedd660b2ada460ffc48ce28d4f8ab9cd89226
2012-11-17 20:10:50 +00:00
Caolán McNamara
690ce9f1b9 callcatcher: more binfilter freed up methods
Change-Id: Iea3716e5c7a21f083f36ce4b8d43ae9fc85227f7
2012-11-14 10:11:33 +00:00
Caolán McNamara
c17f51c74c The additional methods of SO2_*_REF over SV_*_REF are now unused
so they can now be replaced by SV_*_REF now

Change-Id: I2207d6582cab5f41851064f3d0c773e9421c0078
2012-11-14 10:11:32 +00:00
Caolán McNamara
a94b6ec2d5 callcatcher: update unused code post binfilter death
Change-Id: I5b25d14ef2769126f98523551597f43812b9feb7
2012-11-14 10:11:32 +00:00
Norbert Thiebaud
060219ac1a binfilter.die.die.die
Change-Id: Ia3c103e4343d309b997ed37e33a382ffdfbddac3
Reviewed-on: https://gerrit.libreoffice.org/1014
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-09 07:58:02 +00:00
Noel Grandin
0666e43c45 fdo#46808, use service constructor for i18n::CharacterClassification
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
2012-11-05 18:05:00 +01:00
Caolán McNamara
c2913591d8 rework filters test to squeeze through extra flags
that are needed to load .odt, .sxw etc files, and
add a regression test for CVE-2012-4233

Change-Id: Ie178725ded3d76942030d12f23074de519cf62de
2012-11-01 13:14:09 +00:00
Noel Grandin
8aa5946afe fdo#46808, Adapt packages::manifest::ManifestWriter UNO service to new style
The service already existed, it just did not have an IDL file

Change-Id: I04c617a97262e9cc96af17fcae9cc084245c0149
2012-10-23 14:16:09 +02:00
Noel Grandin
694562874b fdo#46808, Adapt packages::manifest::ManifestReader UNO service to new style
The service already existed, it just did not have an IDL file.

Change-Id: Idad85ab23f6650c89ba3095d10568a302503613b
2012-10-23 13:10:20 +02:00
Julien Nabet
72fe2e3003 Prefer prefix ++/-- operators for non-primitive types
+ replace "<" by "!=" for end iterator comparison with current it

Change-Id: I6e90caa8752c7057cca8c74fca12c0a050544dbb
2012-10-13 16:08:09 +02:00
Luboš Luňák
190334febe mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html

Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
2012-10-12 13:34:48 +02:00
Michael Stahl
5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
Michael Stahl
b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
Michael Stahl
2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
Michael Meeks
540ab389f2 sot: memory savings to avoid duplicating the whole stream in RAM
re-work LRU cache to really be an 8 entry LRU cache.
only force dirty pages to stay in memory, hopefully huge reads
should now stream through memory.

Change-Id: I0bedc762086f5f02202795568743750aefaaa50b
2012-09-20 11:54:42 +01:00
Michael Meeks
1da4e8c6bf sot: stgcache re-factor to use sane lifecycle semantics
Store a dirty page hash to allow us to fix the LRU cache next.

Change-Id: I67130af37ac1bc2d0a4abbb11f4d9871bb2bc306
2012-09-19 17:53:49 +01:00
Michael Meeks
e48e489102 sot: substantially accelerate sorted cache write-out
Sort only the pages we want to write out, at the end, using a std::sort
instead of a hand-crafted linked-list mess maintained during use.
Cleanup StgPage as well, de-friend it from StgCache, clean member names.
Remove unused pCache member as well.

Change-Id: I0f53d1f85be373fce0d504b226d34ccaf575b2b3
2012-09-19 15:51:24 +01:00
Michael Meeks
b7db3b8e1a sot: remove un-used LRU cache
Change-Id: I3d011a1aae47b6961b1cea2bf544af2c88bd611e
2012-09-19 14:58:02 +01:00
Michael Meeks
422a41ff11 sot: remove horrible hiding of LRU cache map
Change-Id: Ic8df1012752e78d3326999a07dc15a99e982b896
2012-09-19 14:58:02 +01:00
Michael Meeks
3b3d738c16 sot: remove unused Owner construct on StgPage
Change-Id: Idd6616ac11e16b4c4631c607a3dc92417a796521
2012-09-19 14:58:02 +01:00
Stephan Bergmann
03a9f139bd ComponentContext::getUnoContext -> getComponentContext simplification
...and some further clean-up.

Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-19 13:16:38 +02:00
Stephan Bergmann
9ac86f484b Improvement on previous commit, UCB clean up
* As UCB is only ever initialized with "Local"/"Office", remove this
  configuration vector completely.  The "create" ctor creates an instance
  internally initialized with those "Local"/"Office" keys.  Special (test) code
  can still instantiate an uninitialized one via plain createInstance.  And for
  backwards compatilibity process startup still ensures to create an initialized
  instance early, in case there is still code out there (in extensions) that
  later calls plain createInstance and expects to get the already-initialized
  (single) instance.

* XInitialization is an "implementation detail" of the UniversalContentBroker
  service, do not expose in XUniversalContentBroker.

* ucbhelper/configurationkeys.hxx is no longer needed and is removed.

* ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that
  requires ucbhelper::Content constructors to take explicit XComponentContext
  arguments now.

* The only remaining code in ucbhelper/source/client/contentbroker.cxx is
  Android-only InitUCBHelper.  Is that relevant still?

Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14 18:24:49 +02:00
Noel Grandin
bf4352084b Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-06 17:13:58 +02:00
Noel Grandin
206c70eef3 fdo#46808, Adapt TempFile UNO service to new style
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27 15:40:08 +02:00
Caolán McNamara
350b031df0 callcatcher: remove some of the slightly trickier unused methods
Change-Id: Ief164c980f3a92316e1f47cb50bdf243155b6dd9
2012-08-20 12:12:21 +01:00
Michael Stahl
5a4bcd3b75 gbuild: register all jars
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-17 12:52:25 +02:00
Kohei Yoshida
50d89530ee Do not check the stored DIFAT sector count.
Refer to this thread for details.
http://lists.freedesktop.org/archives/libreoffice/2012-August/036852.html

Change-Id: Id2115732a1e1bcd78c13445f5aaefe1ec7cfa0c2
2012-08-15 14:08:28 -04:00
Thomas Arnhold
582e06f71c unusedcode.easy: remove unused code
Change-Id: I87e7264ffd3086796aaa8e136c2f9b77fde7b74f
2012-08-13 18:18:42 +02:00
Thomas Arnhold
d1ba5419cf Remove non-existing forward declarations
Those classes don't exist. So remove friend class operators too.

Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-08-07 13:45:26 +02:00
Eike Rathke
7a1fe4a086 tabs to spaces
Change-Id: Iafc55604f49f0db08ad2b6b3940c1ade12835355
2012-07-27 19:47:39 +02:00
Mikhail Voytenko
10dc090b31 sot: prevent some null pointer crashes 2012-07-27 17:50:22 +02:00
Caolán McNamara
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
Michael Meeks
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
Takeshi Abe
d221d4e5a7 removed unnecessary forward declarations of class
this also moved necessary ones to right headers

Change-Id: Idda93aeaa1fdfeda602b14e3b233ffd1cf27c0cf
2012-07-02 22:07:55 +09:00
Thomas Arnhold
b63027f099 Remove some unused defines and controls
Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5
2012-06-29 15:59:53 +02:00
Thomas Arnhold
bbac35af14 Remove unused header files
These were only referenced by Package_inc.mk...

Change-Id: Idc771477595b9d221f9f2003b293fdd1ba7e1588
2012-06-27 13:34:35 +02:00
Julien Nabet
e45bb323ee Fix prefix ++/-- operators for non-primitive types
Change-Id: Ibb55fcedecaf66f0817d24d8f408ef69d273ffa2
2012-06-23 23:06:48 +02:00