Commit graph

292712 commits

Author SHA1 Message Date
Xisco Fauli
6c76e4db03 Merge branch 'master' into feature/gsoc2011_wizards
Conflicts:
	automation/source/inc/cmdbasestream.hxx
	automation/source/server/cmdbasestream.cxx
	automation/source/server/retstrm.hxx
	automation/source/testtool/cmdstrm.cxx
	automation/source/testtool/cmdstrm.hxx
	automation/source/testtool/tcommuni.cxx
	basctl/prj/d.lst
	basctl/uiconfig/basicide/toolbar/findbar.xml
	cui/source/dialogs/about.cxx
	cui/source/dialogs/about.src
	cui/source/inc/about.hxx
	extensions/source/abpilot/abpservices.cxx
	extensions/source/dbpilots/dbpservices.cxx
	extensions/source/propctrlr/pcrservices.cxx
	extensions/source/svg/makefile.mk
	forms/Library_frm.mk
	lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
	lingucomponent/source/spellcheck/spell/sspellimp.cxx
	package/prj/d.lst
	package/source/zipapi/XMemoryStream.cxx
	package/source/zipapi/XMemoryStream.hxx
	setup_native/prj/d.lst
	setup_native/source/win32/customactions/relnotes/makefile.mk
	tools/test/export.map
	wizards/com/sun/star/wizards/common/ConfigGroup.py
	wizards/com/sun/star/wizards/common/ConfigNode.py
	wizards/com/sun/star/wizards/common/Configuration.py
	wizards/com/sun/star/wizards/common/Desktop.py
	wizards/com/sun/star/wizards/common/FileAccess.py
	wizards/com/sun/star/wizards/common/Helper.py
	wizards/com/sun/star/wizards/common/SystemDialog.py
	wizards/com/sun/star/wizards/document/OfficeDocument.py
	wizards/com/sun/star/wizards/fax/FaxDocument.py
	wizards/com/sun/star/wizards/fax/FaxWizardDialog.py
	wizards/com/sun/star/wizards/fax/FaxWizardDialogConst.py
	wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
	wizards/com/sun/star/wizards/fax/FaxWizardDialogResources.py
	wizards/com/sun/star/wizards/letter/LetterDocument.py
	wizards/com/sun/star/wizards/letter/LetterWizardDialog.py
	wizards/com/sun/star/wizards/letter/LetterWizardDialogConst.py
	wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
	wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.py
	wizards/com/sun/star/wizards/text/TextDocument.py
	wizards/com/sun/star/wizards/text/TextFieldHandler.py
	wizards/com/sun/star/wizards/text/TextSectionHandler.py
	wizards/com/sun/star/wizards/text/ViewHandler.py
	wizards/com/sun/star/wizards/ui/UnoDialog.py
	wizards/com/sun/star/wizards/ui/UnoDialog2.py
	wizards/com/sun/star/wizards/ui/WizardDialog.py
	wizards/com/sun/star/wizards/ui/event/CommonListener.py
	wizards/com/sun/star/wizards/ui/event/DataAware.py
	wizards/com/sun/star/wizards/ui/event/RadioDataAware.py
	wizards/com/sun/star/wizards/ui/event/UnoDataAware.py
	wizards/util/helpids.h
	wizards/util/hidother.src
	xmlsecurity/prj/build.lst
	xmlsecurity/prj/d.lst
	xmlsecurity/qa/certext/SanCertExt.cxx
2011-08-21 21:50:13 +02:00
Matúš Kukan
36703ca1de unusedcode: CollatorWrapper 2011-08-21 19:12:09 +02:00
Tor Lillqvist
fb9f4d8129 Further attempt to make this test run on iOS 2011-08-21 17:49:12 +03:00
Tor Lillqvist
b6a9f3560a Link cppu statically to gcc3_uno on iOS 2011-08-21 17:49:11 +03:00
Tor Lillqvist
c209bef8e5 Use prefixed name for uno_initEnvironment() for iOS 2011-08-21 17:49:11 +03:00
Joseph Powers
f433040784 Rename List -> OStringList
I also renamed the varable from list to stringlist.
2011-08-21 07:46:06 -07:00
Joseph Powers
25ad04f718 Rename List -> WeakReferenceList
Just to clearify which List we're talking about.
2011-08-21 07:36:28 -07:00
Joseph Powers
97ae05a43f Rename List -> NodeList
List was defined as std::vector< Node* >; but calling it List is confusing
since you don't know what type of list it is. Also it's just asking for
compile issues since we also use std::List, a custom List<>, & a class List.

I also removed Node::Children() since it wasn't used.
2011-08-21 07:06:34 -07:00
Tor Lillqvist
9097947b9b Revert "I am tired of thesee assertions, put them behind dbglevel>2"
Nah, having them behind dbglevel>1 is fine (which already means these
assertions won't normally be compiled even with --enable-debug).

I got mislead as I was building with dbglevel=2 everywhere. But
pondering the point of dbglevel a.k.a. OSL_DEBUG_LEVEL, I think the
right way to see it is: You are not supposed to build all (or large
parts) of LibreOffice with dbglevel=2. If we used OSL_TRACE all over
the place as thoroughly as in some files in sal/rtl, that would lead
to astronomical amounts of tracing output. (We don't use OSL_TRACE
like that, but that is another thing...)

I think the intended use of dbglevel is that you should build with
dbglevel=2 only the small part of code you are currently actively
working on, when you want to see trace output.

Of course, another problem then is that in some modules and/or
libraries it might not be possible to compile just a part of the
sources with dbglevel=2. That should be fixed.

This reverts commit a3bad28550.
2011-08-21 14:30:37 +03:00
Tor Lillqvist
5f4f2b8208 Also oldnames.lib 2011-08-21 14:30:35 +03:00
Norbert Thiebaud
e503a7e6ca bring sccomp into the tail_build fold 2011-08-21 05:00:32 -05:00
Norbert Thiebaud
51836d616f remove debugging print 2011-08-21 05:00:32 -05:00
Norbert Thiebaud
960e26e827 lotuswordpro is in tail_build, it should not be in postprocess pre-req 2011-08-21 05:00:32 -05:00
Julien Nabet
b2da8254dc There was still overload ambiguous 2011-08-21 11:18:13 +02:00
Lionel Elie Mamane
790d4bd44a OUStringBuffer.append call: add explicit radix to disambiguate overload 2011-08-21 11:03:13 +02:00
Lionel Elie Mamane
cb937e72b8 use boost::unordered_map instead of STL one so as not to require C++0x 2011-08-21 10:37:48 +02:00
Lionel Elie Mamane
2fa3cac022 check array index *before* using it in array, not *after* 2011-08-21 08:04:48 +02:00
Lionel Elie Mamane
eb6621d437 scripting: make a debug build log uncaught exception when loading a provider
Also put a newline between "Error creating provider from factory" and message of the exception raised by the provider load
2011-08-21 01:46:10 +02:00
Lionel Elie Mamane
ac2359cf84 pyuno: close opened parenthesis in raised exception message 2011-08-21 01:46:09 +02:00
Lionel Elie Mamane
21192c6ea9 pyuno: some comments 2011-08-21 01:46:09 +02:00
Lionel Elie Mamane
58aa95c944 Janitorial: remove unnecessary const_casts
The python C API has consts at these places
2011-08-21 01:46:09 +02:00
Lionel Elie Mamane
d269a18250 Janitorial: remove unused variable 2011-08-21 01:46:08 +02:00
Lionel Elie Mamane
fa43b77422 pyuno: make extractUnoException handle exceptions raised by uno.py loading
This allows having a meaningful error message when extractUnoException
is called from pyuno_loader::getLoaderModule() (via
raiseRuntimeExceptionWhenNeeded()). If it is called to treat an error
that cropped up in loading uno.py, the old code would abort the whole
operation by throwing an exception because... it gets essentially the
same error. The new code leads to a sensible message on the Python
debug console.
2011-08-21 01:46:07 +02:00
Lionel Elie Mamane
41a68a4f77 pyuno: hook into import *after* the _whole_ uno module is successfully loaded
This avoids breaking the whole python process module importing
when an uno.py import failure happens after the hooking point.
In that case, _uno_import is still the python module loader,
but _g_delegatee is not anymore bound to the previously installed
importer, and thus any module import fails with:
  File "/home/master/src/libreoffice/core/install/basis3.5/program/uno.py", line 260, in _uno_import
    return _g_delegatee( name, *optargs, **kwargs )
TypeError: 'NoneType' object is not callable
2011-08-21 01:46:07 +02:00
Lionel Elie Mamane
a9b9b40570 pyuno: allow uno structs to be initliased with keyword arguments 2011-08-21 01:46:07 +02:00
Norbert Thiebaud
b796c129e2 no need to redefine gb_Helper_conert_native over and over again.... 2011-08-20 17:35:26 -05:00
Norbert Thiebaud
ace5147f4f ios does not seems to inherit form macos, so add a yacc rule there too 2011-08-20 17:34:28 -05:00
Norbert Thiebaud
105ed49aca move yacc command in platform/* due to Mac PPC ancient bison version.
Mac PPC has a very old bison that does not handle .cxx extension well
not does it support --defines=<file>. the result is that the generated
header is called <foo>.cxx.h instead of <foo>.hxx

To deal with that we moved the yacc rule in the platefrom dependent section
and added some renaming magic for the PowerPC case on MacOS.
2011-08-20 17:24:12 -05:00
Matúš Kukan
0c2876b7f4 no reason for changing name of cui library on windows 2011-08-20 16:54:45 +02:00
Norbert Thiebaud
4103138235 prevent the creation of $INPATH in the module source for gbuild-module
The creation of $INPATH and sub-dirs was triggered by the location
of the logfile. in buil.pl that trigger the call of mkout.pl
We adapt SourceConfig to keep track of which modules is gbuildified
For these module, the log will be at workdir/Logs/

Also clean-up the remnant of the support for dual build mode (gbuild/dmake).
2011-08-19 23:23:56 -05:00
Norbert Thiebaud
9e29ce4120 WaE: MACOS gcc is too old for that pragma 2011-08-19 21:10:25 -05:00
Norbert Thiebaud
6f4309fb1e use native yacc/bison support in rsc rather than a sub-make 2011-08-19 20:39:35 -05:00
Norbert Thiebaud
d73872e9f2 add Yacc/bison support in gbuild 2011-08-19 20:39:34 -05:00
Kohei Yoshida
e5b8876064 get forms buildable on windows. 2011-08-19 20:57:27 -04:00
Kohei Yoshida
5673dc9620 icui18n -> icuin on Windows. Now lotuswordpro builds. 2011-08-19 20:22:03 -04:00
Norbert Thiebaud
d64bbd6bf8 detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly set 2011-08-19 18:29:07 -05:00
Kohei Yoshida
3c880648fb Fixes link error on Windows. 2011-08-19 15:20:20 -04:00
Jan Holesovsky
67f7622502 Fix some icu cross-building problems.
Still it does not finish, though; to be continued.
2011-08-19 18:43:29 +02:00
Caolán McNamara
2d7c9298c0 WaE: fix build 2011-08-19 17:06:15 +01:00
Caolán McNamara
b28766f1e5 missed this errno.h 2011-08-19 16:43:37 +01:00
Caolán McNamara
14a255f9c0 add errno.h for errno 2011-08-19 16:23:59 +01:00
Miklos Vajna
49f5d94f40 pictures in fly frames are already handled 2011-08-19 17:20:02 +02:00
Miklos Vajna
8807969ef3 a pard between two frame definitions means two frames 2011-08-19 17:20:02 +02:00
Miklos Vajna
72d09b8a1c paragraphs inside frames do not count 2011-08-19 17:20:02 +02:00
Miklos Vajna
c9bdee0b19 handle sections containing no paragraphs 2011-08-19 17:20:01 +02:00
Miklos Vajna
82336dbc53 multiple sections in a frame are not allowed 2011-08-19 17:20:01 +02:00
Miklos Vajna
4dd70db964 make sure frame props are always emitted 2011-08-19 17:20:01 +02:00
Miklos Vajna
6229149a1b have the twip->mm100 conversion code for frame props at a single place 2011-08-19 17:20:01 +02:00
Tor Lillqvist
d62e4809df Use cygpath -m on Windows where necessary
We can't pass Cygwin pathnames to non-Cygwin programs.
2011-08-19 18:00:36 +03:00
Tor Lillqvist
a72c7acad9 Improve input and output file open error handling
Tell file name and actual error in error message. Print error message
to stderr. Always exit with failure when not able to open an input or
output file.
2011-08-19 17:59:03 +03:00