Commit graph

2694 commits

Author SHA1 Message Date
Stephan Bergmann
1d38dbab29 sb140: #i117084# do not leak Lockfile instance
plus improvements based on a14010cb8c "valgrind: fix leak"
2011-09-09 17:46:37 +02:00
Stephan Bergmann
e700031cc4 sb140: #i116910# do not leak Thread_Impl from desktop::Acceptor 2011-09-09 17:46:35 +02:00
Caolán McNamara
a78a6e013b Resolves: fdo#37195 CreateProcessServiceFactory can't happen before sync
If CreateProcessServiceFactory is called, then common.rdb of
"Users/YOU/AppData/Roaming/LibreOffice/3/user/extensions/bundled/registry/
com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb" is
opened mmapped

On a new start of an LibreOffice which wants to synchronize new config over an
old config, then it will want do a copy of
"install/share/prereg/bundled/registry/
com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb"
over
"Users/YOU/AppData/Roaming/LibreOffice/3/user/extensions/bundled/registry/
com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb"
which will fail on windows with error 1224, i.e. ERROR_USER_MAPPED_FILE

That aborts the copy_bundled_recursive copy, leaving an old config
pointing to the old location of dictionaries.

So for windows at least, CreateProcessServiceFactory shouldn't happen before
copy_bundled_recursive.
2011-09-01 13:44:49 +01:00
Caolán McNamara
8de61c9fb6 grabbag of unused code 2011-08-31 10:43:23 +01:00
Caolán McNamara
c7c62c7114 oops, out-by-one idiocy 2011-08-26 10:23:55 +01:00
Caolán McNamara
acfe7d39e5 regoptions (etc.) now unused post registration-removal 2011-08-22 09:39:18 +01:00
Michael Meeks
9950fc4f65 print fatal UNO exceptions' text in a friendly way from OpenClients failures 2011-08-19 12:27:19 +01:00
Caolán McNamara
2f800d902f fdo#37206 toggle default config to false for crash-reporter installed 2011-08-19 09:30:45 +01:00
Caolán McNamara
8a0941ad1d use RTL_CONSTASCII_LENGTH/SAL_N_ELEMENTS 2011-08-17 09:54:14 +01:00
Caolán McNamara
2ef7e20436 catch by const reference 2011-08-16 09:04:08 +01:00
Caolán McNamara
90fe8dadaa add a jdk 1.5-alike string replace to comphelper::string 2011-08-15 09:21:49 +01:00
Caolán McNamara
4cab499c00 explicitly call XDesktop::terminate on early "restart" exit
Too many things create an XDesktop and too many things depend on it explicitly
having terminate called on it to allow the office on early-restart after
updating extensions to exit without config items etc not getting flushed.
2011-08-08 13:04:45 +01:00
Caolán McNamara
a1316a5d3a why create a com.sun.star.util.PathSubstitution and not use it 2011-08-08 13:04:45 +01:00
Julien Nabet
040b8f46cc Some cppcheck cleaning 2011-07-31 17:37:07 +02:00
Julien Nabet
37d7efc5f9 Some cppcheck cleaning 2011-07-30 10:08:45 +02:00
Tor Lillqvist
0045722d53 Header filename case sensitivity fixes 2011-07-21 23:33:35 +03:00
Matúš Kukan
a90983bd65 Remove component_getImplementationEnvironment methods 2011-07-12 17:59:13 +02:00
Matúš Kukan
5af427d16e Remove unused bChechOk
MacOSX 10.6.7 Intel no-moz was failing because of this
2011-07-07 10:57:07 +02:00
Matus Kukan
55da136b3c Remove socomp library related code 2011-07-07 09:48:35 +02:00
Matus Kukan
f38e701e47 Remove productregistration.jar library related code 2011-07-07 09:45:32 +02:00
Matus Kukan
2d47d1d1f7 Remove accidentally kept unused files 2011-07-02 14:21:37 +02:00
Caolán McNamara
ec940d35c6 build id isn't massively helpful here 2011-06-30 11:34:37 +01:00
Caolán McNamara
407e9d0b7a catch by const reference 2011-06-21 09:12:39 +01:00
Robert Nagy
dbff7ae58b fix fdo#37110 --quickstart shouldn't show start center 2011-06-20 11:52:21 +02:00
Caolán McNamara
3c822ccbf0 Related: rhbz#702833 addEventListener without removeEventListener 2011-06-17 14:03:30 +01:00
Noel Power
6b52267337 default config location has changed, look in old config dir when migrating
A previous patch (boostrap:25bd2eec77ed774a37d1cddd0d72312e23d5e9fd) changed the default configuration directory location ( on unix ) When evaluating user configurations for migration we need to search the old default config dir and not the new default config directory,
2011-06-13 10:45:45 +01:00
Caolán McNamara
511e0e1738 tweak these a bit to allow better template 2011-06-01 15:21:18 +01:00
Jan Holesovsky
5a9d7a54e9 Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/libs-core 2011-05-27 20:49:48 +02:00
Jan Holesovsky
9df8682ced Merge remote-tracking branch 'origin/integration/dev300_m106'
Conflicts:
	basic/source/classes/sbunoobj.cxx
	basic/source/inc/runtime.hxx
	basic/source/runtime/step1.cxx
	desktop/source/deployment/dp_services.cxx
	drawinglayer/prj/d.lst
	drawinglayer/source/primitive2d/makefile.mk
	sfx2/source/appl/appinit.cxx
	sfx2/source/appl/appquit.cxx
	sfx2/source/inc/appdata.hxx
	sfx2/source/view/viewfrm.cxx
	svx/source/fmcomp/gridctrl.cxx
	vbahelper/source/vbahelper/vbahelper.cxx
2011-05-27 20:46:20 +02:00
Caolán McNamara
6f531db266 add salhelper::LinkResolver 2011-05-25 08:53:52 +01:00
Tor Lillqvist
11c71842f6 Drop OS2 2011-05-21 16:26:08 +03:00
Matus Kukan
6e946c59b1 search for sc_helperdialog in res/ 2011-05-20 19:04:08 +02:00
Caolán McNamara
800d9494a7 don't be so noisy 2011-05-20 15:23:09 +01:00
Caolán McNamara
0a5412e981 adjust for return by ref instead of pointer 2011-05-20 15:23:09 +01:00
Caolán McNamara
f8853c9f4e valgrind: use non-leaky singleton pattern here 2011-05-20 15:23:08 +01:00
Caolán McNamara
3eaec7a874 valgrind: use non-leaky singleton pattern here 2011-05-20 15:23:08 +01:00
Caolán McNamara
5db4a85ab1 resolve merge conflicts 2011-05-20 15:23:07 +01:00
Caolán McNamara
a14010cb8c valgrind: fix leak 2011-05-20 15:23:07 +01:00
Tor Lillqvist
c6e5c7ce9b Sanity checks that fix crash (fdo#36495) 2011-05-20 16:41:33 +03:00
Tor Lillqvist
ec88e3f84f Fix typo 2011-05-18 11:59:00 +03:00
Tor Lillqvist
4819e1bd1a Rework how <db.h> is included 2011-05-18 11:16:16 +03:00
Tor Lillqvist
718966db6f No DB_INCLUDES any more, pass -I if necessary 2011-05-17 23:24:19 +03:00
Michael Meeks
55a5d4c611 kill standalone pagein, it is now an integral part of oosplash.bin 2011-05-06 14:53:43 +01:00
Michael Meeks
2cffe9a5f5 fix fdo#36838 by avoiding -L argument to pagein 2011-05-04 20:27:43 +01:00
Muthu Subramanian
e784a2c0ef n#690798: Fixed a crasher. Also, improved batch conversion.
* The pointer is not removed from the array before 'delete'
* FilterMatcher now uses (input) content to guess better.
2011-05-02 17:01:45 +05:30
Christina Rossmanith
9cc6dfd98f remove Attribute_XXX in favor of osl_File_Attribute_XXX (desktop) 2011-04-30 17:43:17 +02:00
Luboš Luňák
282d1e0844 add presumably missing ReleaseSolarMutex() call
Noticed by Julien Nabet <serval2412@yahoo.fr>. It seems commit
b58863e8ddc923fa737d064b873b8099a24a8c51 reorganized the code
and removed this call. Not quite sure if it's needed as it has
apparently worked fine for a while, but this should match the code
before that commit (except for the pointless TryToAcquire() ).
2011-04-28 14:04:47 +02:00
Thorsten Behrens
f51c3f66b1 Merge commit 'ooo/DEV300_m106' into integration/dev300_m106
Conflicts:
	avmedia/source/gstreamer/gstframegrabber.cxx
	avmedia/source/gstreamer/gstplayer.cxx
	avmedia/source/gstreamer/gstplayer.hxx
	basic/inc/basic/sbxdef.hxx
	basic/source/classes/sbxmod.cxx
	basic/source/comp/makefile.mk
	basic/source/comp/sbcomp.cxx
	basic/source/inc/namecont.hxx
	basic/source/inc/scriptcont.hxx
	basic/source/runtime/methods.cxx
	basic/source/runtime/runtime.cxx
	basic/source/runtime/stdobj.cxx
	basic/source/runtime/step1.cxx
	basic/source/uno/namecont.cxx
	basic/util/makefile.mk
	connectivity/source/commontools/predicateinput.cxx
	connectivity/source/drivers/dbase/DNoException.cxx
	connectivity/source/drivers/dbase/DTable.cxx
	connectivity/source/drivers/file/fcomp.cxx
	connectivity/source/drivers/jdbc/JConnection.cxx
	connectivity/source/drivers/odbcbase/OResultSet.cxx
	connectivity/source/drivers/odbcbase/OStatement.cxx
	connectivity/source/parse/sqlnode.cxx
	desktop/source/app/app.cxx
	drawinglayer/inc/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx
	drawinglayer/source/processor2d/vclprocessor2d.cxx
	formula/inc/formula/token.hxx
	formula/source/core/api/token.cxx
	fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
	fpicker/source/win32/filepicker/platform_vista.h
	framework/source/helper/persistentwindowstate.cxx
	framework/source/uielement/menubarmanager.cxx
	oovbaapi/ooo/vba/XFoundFiles.idl
	oovbaapi/ooo/vba/excel/XApplication.idl
	oovbaapi/ooo/vba/msforms/XCheckBox.idl
	oovbaapi/ooo/vba/msforms/XComboBox.idl
	oovbaapi/ooo/vba/msforms/XControl.idl
	oovbaapi/ooo/vba/msforms/XGroupBox.idl
	oovbaapi/ooo/vba/msforms/XLabel.idl
	oovbaapi/ooo/vba/msforms/XListBox.idl
	oovbaapi/ooo/vba/msforms/XNewFont.idl
	oovbaapi/ooo/vba/msforms/XRadioButton.idl
	oovbaapi/ooo/vba/msforms/XTextBox.idl
	oovbaapi/ooo/vba/msforms/XToggleButton.idl
	scripting/source/dlgprov/dlgevtatt.cxx
	sfx2/source/control/unoctitm.cxx
	sfx2/source/doc/objstor.cxx
	sfx2/source/doc/objxtor.cxx
	svx/inc/svx/svdograf.hxx
	svx/source/form/fmpage.cxx
	svx/source/form/fmpgeimp.cxx
	svx/source/svdraw/svdedtv.cxx
	svx/source/svdraw/svdfmtf.cxx
	svx/source/svdraw/svdograf.cxx
	svx/source/svdraw/svdouno.cxx
	svx/source/xml/xmlgrhlp.cxx
	uui/source/iahndl-ssl.cxx
	vbahelper/Library_msforms.mk
	vbahelper/Library_vbahelper.mk
	vbahelper/inc/vbahelper/vbahelper.hxx
	vbahelper/prj/build.lst
	vbahelper/source/msforms/vbacombobox.cxx
	vbahelper/source/msforms/vbacontrol.cxx
	vbahelper/source/msforms/vbacontrols.cxx
	vbahelper/source/msforms/vbaframe.cxx
	vbahelper/source/msforms/vbaframe.hxx
	vbahelper/source/msforms/vbalabel.cxx
	vbahelper/source/msforms/vbalabel.hxx
	vbahelper/source/msforms/vbalistbox.cxx
	vbahelper/source/msforms/vbalistbox.hxx
	vbahelper/source/msforms/vbamultipage.cxx
	vbahelper/source/msforms/vbatogglebutton.cxx
	vbahelper/source/msforms/vbauserform.cxx
	vbahelper/source/vbahelper/vbacommandbar.cxx
	vbahelper/source/vbahelper/vbacommandbarcontrol.cxx
	vbahelper/source/vbahelper/vbacommandbarcontrols.hxx
	vbahelper/source/vbahelper/vbahelper.cxx
	vbahelper/source/vbahelper/vbawindowbase.cxx
	xmloff/source/meta/xmlmetai.cxx
	xmloff/source/style/PageMasterExportPropMapper.cxx
	xmloff/source/style/PageMasterStyleMap.cxx
	xmloff/source/text/txtexppr.cxx
	xmloff/source/text/txtprmap.cxx
2011-04-28 00:12:58 +02:00
Julien Nabet
66c11b5218 Some cppcheck cleaning 2011-04-22 15:39:25 +02:00
Julien Nabet
561192cfc9 Easyhack: Add visibility markup to all component_get* functions 2011-04-21 00:27:41 +02:00