Commit Graph

4763 Commits

Author SHA1 Message Date
Fridrich Štrba
3e7eb8bcad mingw64: Use the *LongPtr Windows api
Change-Id: I00c753f71460bee9f2bce3af35b352a25a3b8484
2013-06-10 14:03:37 +02:00
Noel Grandin
177f01b9fe fdo#46808, Convert form::inspection::FormComponentPropertyHandler
.. to new style service

Change-Id: Iee4681f94dc9874271dc8a1d5d74e161d7691a29
2013-06-10 10:20:45 +02:00
Julien Nabet
7bdd928c35 Fix typo: alway -> always
Change-Id: I60b4a6086a6e114ff4895755e4c20dfb402a1979
2013-06-08 13:45:37 +02:00
Fridrich Štrba
35a65baefe Slowly, but surely going on compiling for mingw64
Change-Id: I590aa6a854a040281bf73d5be768c05d4906a984
2013-06-06 15:52:05 +02:00
Fridrich Štrba
be8855ebe4 Some more win64 "fixes"
Change-Id: Id3de720a7ab28499644881e628a18f99121cb3c9
2013-06-05 16:26:13 +02:00
Michael Meeks
05e2d2bf03 fdo#64962 - ignore exceptions from checking with the update service.
Change-Id: If627b303f8710b915dcbdcb899454631f607e217
2013-06-05 13:03:22 +01:00
Noel Grandin
95c0d568fd use uno::Reference#clear() method...
...instead of assigning an empty value. Reduces code noise.

Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-05 08:13:23 +02:00
Noel Grandin
cee55a2c54 fdo#46808, Convert a copy of ComponentContext to XComponentContext
Looks like this extensions had a modified copy of
comphelper::ComponentContext in it.

Change-Id: I7e29aea4e6480a619f3148530fe6d784efe260e1
2013-06-05 08:13:22 +02:00
Noel Grandin
dcbaf7c253 remove unused componentcontext.hxx includes
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-06-05 08:13:21 +02:00
Julien Nabet
b532752e7b Fix variable value reassigned before old value used
Change-Id: Ide65a35d1dd39cbce9230f951bcc229b0df7b634
2013-06-03 23:09:44 +02:00
Michael Meeks
1e4422a4b4 re-base on ALv2 code. Includes:
Patches contributed by Mathias Bauer
        gnumake4 work variously
        http://svn.apache.org/viewvc?view=revision&revision=1394707
        http://svn.apache.org/viewvc?view=revision&revision=1394326
        http://svn.apache.org/viewvc?view=revision&revision=1397337
        http://svn.apache.org/viewvc?view=revision&revision=1397315
        http://svn.apache.org/viewvc?view=revision&revision=1396797

	Patches contributed by Andre Fischer
	Fixed getcsym.awk to handle #-comments that contain special regexp chars.
        http://svn.apache.org/viewvc?view=revision&revision=1230971
	118778: Added ADDITIONAL_REPOSITORIES environment variable and its
	automatic setup in configure.
        http://svn.apache.org/viewvc?view=revision&revision=1232004
	118160: Added external CoinMP library.
        http://svn.apache.org/viewvc?view=revision&revision=1233909

	Patches contributed by Herbert Duerr
	#i119168# use generic LICENSE file for langpacks and sdks
        http://svn.apache.org/viewvc?view=revision&revision=1310178
	macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars
        http://svn.apache.org/viewvc?view=revision&revision=1183367
	allow gbuild with empty sysroot on linux
        http://svn.apache.org/viewvc?view=revision&revision=1179186

	Patches contributed by Ingo Schmidt
	native373: #164472# improvements for msi database
        http://svn.apache.org/viewvc?view=revision&revision=1167540
        http://svn.apache.org/viewvc?view=revision&revision=1167539

	Patches contributed by Jurgen Schmidt
	adapt setup package scripts to handle special DS_Store file for
	developer snapshot builds
        http://svn.apache.org/viewvc?view=revision&revision=1232430
	imported patch extensions_i117681.patch
	http://svn.apache.org/viewvc?view=revision&revision=1172102

	Patches contributed by Michael Stahl
	gbuild: RepositoryFixes.mk should be optional
        http://svn.apache.org/viewvc?view=revision&revision=1166123
	xslt filter: remove the FLA horror
	wordml import filter: replace FLA usage with plain XSLT
	http://svn.apache.org/viewvc?view=revision&revision=1363727

	Patch contributed by Oliver-Rainer Wittmann
	i#88652: applied patch, remove unicows deps
	http://svn.apache.org/viewvc?view=revision&revision=1177585

    Remove lots of OS2 conditionals, re-extract Rhino Java, unwind
    cppunit pieces, cleanup Mac image bits, remove coin-mp and
    re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand
    MPLv2 subset checking.

Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-06-03 11:41:36 +01:00
Tor Lillqvist
f5cd4c2bdd WaE: unused parameter '_rxContext'
Change-Id: I75c9d894f792dd7a4ac85acace586e163d57c077
2013-06-03 11:30:31 +03:00
Noel Grandin
2838b8eb5e fdo#46808, Convert ComponentContext in connectivity,extension..
...modules.

Change-Id: Ie61976dc12b514bb85ca42496c0d9173a1c56264
2013-06-03 10:00:02 +02:00
Noel Grandin
1f79707438 fdo#46808, Convert office::Quickstart service to new style
Service already existed, just needed an IDL file.

Change-Id: Ief5563e53c7331b65dd429079180c4eed2f2c071
2013-06-03 10:00:01 +02:00
Noel Grandin
0f627e06c9 fdo#46808, Convert form::TabOrderDialog service to new style
The service already existed, it just needed an IDL file.

Change-Id: I10219da7292db5e746a89028ddc4fabb069ac388
2013-06-03 10:00:00 +02:00
Lionel Elie Mamane
979b570f76 setPropertyValue can throw PropertyVetoException
fixes abort in report design when entering e.g. invalid positions or size for control

Change-Id: I38835ed79d5bee15c4d7b57ab6780050d250732a
2013-05-30 14:34:54 +02:00
Ariel Constenla-Haile
7e7e4c7a38 Resolves: #i121216# Allow unique logger file name
(cherry picked from commit a9606aa4d8a6bcb3955d991ee45c56cb93be2450)

Conflicts:
	officecfg/registry/schema/org/openoffice/Office/Logging.xcs

Change-Id: I25719f2898df2f91ef9c71234e9eab83f8140b96
2013-05-28 09:14:15 +01:00
Noel Grandin
1d1825db86 fdo#46808, Convert awt::UnoControlDialog to new style
Change-Id: I9a5256c8dbacda60167403b4e26900588943a9b2
2013-05-28 08:10:22 +02:00
Stephan Bergmann
e36f83d81c Revert "fdo#46808, Convert awt::UnoControlDialogModel to new style"
This reverts commit 6c61b20a8d.  As discussed at
<http://lists.freedesktop.org/archives/libreoffice/2013-May/052449.html> "Re:
fdo#46808, Convert awt::UnoControlDialogModel to new style problem" why the odd
change in 2e2a4827ce "scripting: get
CreateUnoDialog() work again" appears to fix things again:

  The problem is that the implementation of the css.awt.UnoControlDialogModel
  involves UNO aggregation
  (IMPL_CREATE_INSTANCE_WITH_GEOMETRY(UnoControlDialogModel) in
  toolkit/soruce/helper/registerservices.cxx creating a
  OGeometryControlModel<UnoControlDialogModel> instance that aggregates a
  UnoControlDialogModel instance).  That means that queryInterface can return a
  reference to something that is technically a different object, and that's
  what's happening here, and explains why calling setPropertyValue in two
  different ways on what logically appears to be a single object can end up
  calling two different implementations (of two different physical objects).
  (UNO aggregation is known to be broken and should not be used.  Nevertheless,
  there's still code that does---code that is a horrible mess and hard to clean
  up.)

  That all this worked as intended in the past is just sheer luck, but any
  way of substantially touching it is asking for trouble.  I'm going to
  revert 6c61b20a8d again.

I wasn't able to revert without also reverting
be50ad28f5 "fdo#46808, Convert
awt::XUnoControlDialog to new style," as the two were tightly dependant.  Also
reverts all the follow-up fixes cb4b6dde8f
"-Werror,-Wuninitialized" (sans the const-ness fix in
UpdateHandler::insertControlModel), 697a007c61
"Fix exception specifications," 2ce6828bbb "fix
awt::UnoControlModelDialog crash," and 2e2a4827ce
"scripting: get CreateUnoDialog() work again."

Conflicts:
	basctl/source/dlged/dlged.cxx
	filter/source/t602/t602filter.cxx
	xmlscript/test/imexp.cxx

Change-Id: I5d133468062f3ca36300db52fbd699be1ac72998
2013-05-25 11:45:47 +02:00
Ariel Constenla-Haile
1bfbe4963d Fix build breaker
(cherry picked from commit 4f7c31cdcf7ba9558e59bc345b3925f6b3d2695c)

Change-Id: Iccb1de40dc66d94128d4db2ca08b05b7e4c567f5
2013-05-23 15:19:12 +01:00
Ricardo Montania
b7df3446c3 AppendAscii cleanup
Change-Id: I7398272de0bd340ebfb5f31b314d32fcff007eec
Reviewed-on: https://gerrit.libreoffice.org/3974
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-22 21:03:56 +00:00
Noel Grandin
6a043e9c0a Use the new type-checking Reference constructor to reduce code noise
Also create a Clang compiler plugin to detect such cases.

Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752
Reviewed-on: https://gerrit.libreoffice.org/4001
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-22 10:44:29 +00:00
Stephan Bergmann
cb4b6dde8f -Werror,-Wuninitialized
Bogus

  uno::Reference< awt::XControlModel > xControlModel = xControlModel;

introduced with 6c61b20a8d "fdo#46808, Convert
awt::UnoControlDialogModel to new style."  Correct fix involves adding missing
"const" in declaration of UpdateHandler::insertControlModel, so implicit
Reference up-cast works.

Change-Id: I8f6d679a38d99188eb893366e9b552974b3c1bf2
2013-05-21 16:29:31 +02:00
Noel Grandin
be50ad28f5 fdo#46808, Convert awt::XUnoControlDialog to new style
Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
2013-05-21 08:23:59 +02:00
Noel Grandin
6c61b20a8d fdo#46808, Convert awt::UnoControlDialogModel to new style
Change-Id: I4b912034ef3f4855b87d6d6f18ff13bd1ecc8f72
2013-05-21 08:23:58 +02:00
Tor Lillqvist
026001cd5a Avoid linker warning LNK4222
These symbols should not be assigned an ordinal as they are always
located by name, using GetProcAddress(), says MSDN.

Change-Id: I46caf7da634b1379a5baf5de631571335c6134ca
2013-05-20 12:45:11 +03:00
Tor Lillqvist
cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00
Ariel Constenla-Haile
b9d460f18b Related: #i120413# document helpful precalculated CheckInterval vals
(cherry picked from commit 1045898eb4be2f19d8435e86ff600f4d9541abf9)

Conflicts:
	extensions/source/update/check/Jobs.xcu

Change-Id: Iddf1ba34bd6a48ae64c3b7b104d2e942f39df244
2013-05-11 21:11:35 +01:00
Michael Stahl
09373d4583 soltools: remove Package_inc and empty unistd.h nonsense
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
2013-05-10 17:56:24 +02:00
Andras Timar
e1a5110bd9 support MS Office and Flat ODF file types in Mozilla Plug-in
Change-Id: I9bb3b67551dc14fd74e02defa0404e1f83359f2b
2013-05-08 22:07:33 +02:00
Julien Nabet
9d85fe82bc coverity#982973: Resource leak
Change-Id: I1ea51b29c3ad05016f42c215b71877cd8c3f92f4
Reviewed-on: https://gerrit.libreoffice.org/3821
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-05-08 08:47:57 +00:00
Stephan Bergmann
7ef1aa6876 -Werror=unused-macros
Change-Id: I9fd616930eb0b336ce89e97bc333f19d4cf449ae
2013-05-07 11:53:56 +02:00
Philipp Riemer
2ce25faffd fix typos (wich instead of which) 2013-05-06 20:07:23 +02:00
Luboš Luňák
e2e2cc6114 remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.

Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +02:00
Andras Timar
e8177f9900 remove unsupported binfilter types from npsoplugin
Change-Id: Ifd12d4d1f4dab0a6bea4701d0a1b9ab4f3763ce7
2013-05-02 19:04:59 +02:00
Andras Timar
248eea0629 remove defines from npsoplugin resource, that are defined elsewhere
Change-Id: I745944202a25a348f36e79d28f03740a28b70eee
2013-05-02 19:02:36 +02:00
Andras Timar
3b356ea977 remove unsupported binfilter types from npsoplugin
Change-Id: Ifb23e61b265697272e54df225719e006319e79af
2013-05-02 19:00:35 +02:00
Stephan Bergmann
1c2862e8d1 Remove residue of undocumented "edition" feature
...whereby some branding could be orverridden with information from a program/edition/
directory.

Change-Id: I7f9324678b09bc8069775dfcbda97be8e0618a91
2013-04-29 10:27:29 +02:00
Noel Grandin
73adc9b6e2 fdo#46808, Convert form::ControlFontDialog to new style
Change-Id: I83487cddbd6b3fce1fdcdfa48623b63a0e026d90
2013-04-25 08:56:38 +02:00
Lionel Elie Mamane
d645a6a17c Data-aware ListBox: can have a BoundColumn even without bound database column
It defines what goes into the ValueList property, what getCurrentValue() returns, and what an external value binding gets.

Change-Id: I9242d3a6040ec98c22b1d4350942dfa0e7aa6c5b
2013-04-22 17:54:39 +02:00
Michael Meeks
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Stephan Bergmann
e8ff469da5 Remove any remaining remnants of unused component_canUnload feature
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19 16:52:03 +02:00
Matúš Kukan
eeaa2ecd1e remove unused component_canUnload functions
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-04-19 16:52:03 +02:00
Lionel Elie Mamane
9830fd36db date/time IDL datatypes incompatible change
- nanosecond precision
 - signed (allowed negative) year

Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.

Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18 21:34:46 +02:00
Stephan Bergmann
8e08a41620 -Werror=int-to-pointer-cast (MinGW, extensions)
Change-Id: I16db60c861ef7ac0a2a9076fde1996a7b7b0e991
2013-04-17 11:51:15 +02:00
Stephan Bergmann
438f5b9f90 -Werror=unused-variable (MinGW, extensions)
Change-Id: I43c2ad4a601ffe20f471d81ed7697b89c496fa6f
2013-04-17 11:51:15 +02:00
Stephan Bergmann
fbba4781b7 -Werror=write-strings (MinGW, extensions)
Change-Id: I0761af5d2a6af23dbef67e4aadf4e6d21df1e58f
2013-04-17 11:51:14 +02:00
Stephan Bergmann
1eda84de6a -Werror=unused-macros (MinGW, extensions)
Change-Id: I208b5f1a8f3faabd03961bd58e2f09bb8338c790
2013-04-17 11:51:14 +02:00
Stephan Bergmann
463ca2cb29 -Werror=shadow (MinGW, extensions)
...and aStr, aStr2 are not necessary, anyway.

Change-Id: I04fbd1fb3c7375015168e866e8b77eebfb62f648
2013-04-17 11:51:13 +02:00
Stephan Bergmann
a394a6f912 -Werror=unknown-pragmas (MinGW, extensions)
Change-Id: I3eeb8864ddf931361f6504c04b8bfa787115cfd1
2013-04-17 11:51:13 +02:00