Commit Graph

49 Commits

Author SHA1 Message Date
nccuong
a6b9173005 fdo#60148 Clean up warnings from the Clang compiler plugin
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671
loplugin: clean warnings: unused variables, incorrect indentation and log area.
Reviewed-on: https://gerrit.libreoffice.org/2544
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-06 12:59:26 +00:00
Stephan Bergmann
b699519969 Drop support for /etc/opt/ure and ~/.ure from LibreOffice 4
For one, /etc/opt/ure was probably never used by anyone anyway, so meant just
needless file-stats during startup.  For another, accidentally created
~/.ure/javasettings_*.xml that later became stale were noted to cause trouble,
so that source is now closed.

For this to work, jvmfwk needs to be silent now if it cannot read/write any
shared/user javasettings_*.xml.

Change-Id: I332b5ebb9549dc6ccf7c99c439d9a3b61aeb5829
2012-11-15 12:46:19 +01:00
Caolán McNamara
d00dc66996 loplugin: unused OStrings
Change-Id: I22916424fb97ba27ea6f4e540841a6c851fb8c88
2012-10-09 21:33:20 +01:00
Noel Grandin
4faa36e42f sal_Bool->bool in jvmfwk
Change-Id: I8821bc7e4615421a710e6fdf913e646059dd5665
2012-10-04 21:29:33 +02:00
Stephan Bergmann
6dcb3d4ef4 Related fdo#51252: No more prereg, no more unopkg sync
Now that 5c47e5f63a "fdo#51252 Disable copying
share/prereg/bundled to avoid startup crashes" removed the use of share/prereg,
there is no longer need to generate it in the first place (by calling "unopkg
sync" at build or installation time), and so no need for the "unopkg sync" sub-
command, either.  This also allows to simplify some of the jvmfwk code that was
only there so that "unopkg sync" (which can require a JVM) can work in "hostile"
environments (during build and installation).

Change-Id: I52657384f4561bf27948ba4f0f88f4498e90987f
2012-08-10 16:03:28 +02:00
Michael Meeks
2c47c9989e re-base on ALv2 code. Includes:
cws mba34issues01: #i117709#: make sure that parent of error message box is visible
    Patch contributed by Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1172346
    i#119036 - improve user experience of certification dialog - only shown once
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1299727
2012-07-13 21:38:47 +01: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
Gustavo Buzzatti Pacheco
c47f352333 Fix for fdo43460 Part XXII getLength() to isEmpty()
Part XXII
modules
jvmfwk, l10ntools, lingucomponent
2012-01-05 15:07:34 +01:00
Norbert Thiebaud
bf1f1e9cba remove include of pch header from jvmfwk 2011-11-27 13:13:58 -06:00
Julien Nabet
3b56b6ff5f small bugfix : bNeedsSave instead of *bNeedsSave 2011-09-12 07:37:01 +02:00
Christina Rossmanith
c776e24f16 remove FileStatusMask_XXX in favour of osl_FileStatus_Mask_XXX (ure) 2011-04-19 20:40:32 +02:00
Takeshi Abe
cde377f758 Removed an unchanged variable 2011-03-24 23:19:02 +09:00
Norbert Thiebaud
d7fc91fcd1 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
* commit 'ooo/DEV300_m101': (185 commits)
  chart52: cleanup unused legend entry stuff in preparation of issue #i82802#
  masterfix: #i10000# add missing dependency in offapi
  sb138: #i115619# fix for MinGW
  sb138: #i115619#, #i116038# use osl_setThreadName in binaryurp
  sb138: #i115619# osl_setThreadName
  gridsort: i116682: update UnoControlDialog to reflect XDialog
  gridsort: minor changes to the new API: - renamed XMutableGridDataModel::setRowHeading to updateRowHeading for consistency reasons - renamed XSortableGridDataModel to XSortableGridData - actually, this is not a full-fledged model in itself.
  gridsort: grid control related unit tests (first set, more to come)
  sb138: #i116038# fresh implementation of binary URP bridge
  chart52: #28670# make the legend within charts resizeable - part 2
  gridsort: re-did the column resizing - introduced XGridColumn.Flexibility, determining to which degree the column is resized during auto-column-resizing - removed XGridColumn.PreferredWidth - there really is no need for this anymore now - documented the relationship between XGridColumn.Flexibility and XGridColumn.Resizeable - re-implemented TableControl_Impl::impl_ni_updateColumnWidths, with (hopefully) less magic
  sb139: #i116530# improve Java URP bridge error notification by utilizing the java.lang.Throwable cause facility
  gridsort: document the relationship between soorting the data and notifying XGridDataListeners
  gridsort: introduce XGridColumn::DataModelIndex. this allows for column removal/insertion at the GridColumnModel, without the need to touch the GridDataModel
  locales34: #i112431# adapt documentation to reality
  gridsort: introduce XSortableGridDataModel::removeColumnSort
  gridsort: #163172# added UNO API support for sorting grid data. Implementation still unfinished. Things missing in the SortableGridData implementation - add as listener to the delegator, so we're notified of changes - translate and multiplex those changes - do own notifications (XGridDataListener.dataChanged) when the sort order changed - (possibly) update the sort order when the data in the current sort-column changed
  gridsort: made the row title a row heading, being an Any instead of a string
  gridsort: XMutableGridData: renamed updateRow to updateRowData for consistency; introduced updateRowToolTip as shortcut for multiple updateCellToolTip calls
  gridsort: updateCell->updateCellData, setCellToolTip->updateCellToolTip; in both methods, have (Col,Row) params instead of (Row,Col), for consistency reasons
  ...

Conflicts:
	bridges/inc/bridges/remote/bridgeimpl.hxx
	bridges/inc/bridges/remote/connection.h
	bridges/inc/bridges/remote/context.h
	bridges/inc/bridges/remote/helper.hxx
	bridges/inc/bridges/remote/mapping.hxx
	bridges/inc/bridges/remote/proxy.hxx
	bridges/inc/bridges/remote/remote.h
	bridges/inc/bridges/remote/remote.hxx
	bridges/inc/bridges/remote/stub.hxx
	bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
	bridges/source/remote/context/context.cxx
	bridges/source/remote/static/helper.cxx
	bridges/source/remote/static/mapping.cxx
	bridges/source/remote/static/proxy.cxx
	bridges/source/remote/static/remote.cxx
	bridges/source/remote/static/remote_types.cxx
	bridges/source/remote/static/remote_types.hxx
	bridges/source/remote/static/stub.cxx
	bridges/source/remote/urp/urp_bridgeimpl.cxx
	bridges/source/remote/urp/urp_bridgeimpl.hxx
	bridges/source/remote/urp/urp_cache.h
	bridges/source/remote/urp/urp_cache.hxx
	bridges/source/remote/urp/urp_dispatch.cxx
	bridges/source/remote/urp/urp_dispatch.hxx
	bridges/source/remote/urp/urp_environment.cxx
	bridges/source/remote/urp/urp_job.cxx
	bridges/source/remote/urp/urp_job.hxx
	bridges/source/remote/urp/urp_log.cxx
	bridges/source/remote/urp/urp_log.hxx
	bridges/source/remote/urp/urp_marshal.cxx
	bridges/source/remote/urp/urp_marshal.hxx
	bridges/source/remote/urp/urp_marshal_decl.hxx
	bridges/source/remote/urp/urp_property.hxx
	bridges/source/remote/urp/urp_propertyobject.cxx
	bridges/source/remote/urp/urp_propertyobject.hxx
	bridges/source/remote/urp/urp_reader.cxx
	bridges/source/remote/urp/urp_reader.hxx
	bridges/source/remote/urp/urp_replycontainer.hxx
	bridges/source/remote/urp/urp_threadid.cxx
	bridges/source/remote/urp/urp_threadid.hxx
	bridges/source/remote/urp/urp_unmarshal.cxx
	bridges/source/remote/urp/urp_unmarshal.hxx
	bridges/source/remote/urp/urp_writer.cxx
	bridges/source/remote/urp/urp_writer.hxx
	cppu/source/threadpool/threadpool.cxx
	cppu/util/target.pmk
	cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx
	cppuhelper/source/interfacecontainer.cxx
	cpputools/source/regcomplazy/regcomplazy.cxx
	jurt/prj/d.lst
	jvmfwk/source/elements.cxx
	offapi/com/sun/star/awt/grid/GridDataEvent.idl
	offapi/com/sun/star/awt/grid/XGridColumn.idl
	offapi/com/sun/star/awt/tab/makefile.mk
	offapi/com/sun/star/chart2/ExplicitIncrementData.idl
	offapi/com/sun/star/chart2/XPlotter.idl
	offapi/com/sun/star/chart2/XUndoHelper.idl
	offapi/com/sun/star/document/MediaDescriptor.idl
	offapi/com/sun/star/document/makefile.mk
	offapi/com/sun/star/linguistic2/XLanguageGuessing.idl
	offapi/com/sun/star/script/ModuleInfo.idl
	offapi/com/sun/star/script/ModuleType.idl
	offapi/com/sun/star/text/TextMarkupType.idl
	offapi/com/sun/star/util/XTextSearch.idl
	offapi/com/sun/star/xml/sax/XFastAttributeList.idl
	pyuno/source/loader/makefile.mk
	remotebridges/source/bridge/bridge_connection.cxx
	remotebridges/source/bridge/bridge_connection.hxx
	remotebridges/source/bridge/bridge_provider.cxx
	remotebridges/source/bridge/remote_bridge.cxx
	remotebridges/source/bridge/remote_bridge.hxx
	remotebridges/source/dynamicloader/dynamicloader.cxx
	remotebridges/source/factory/bridgefactory.cxx
	remotebridges/source/factory/bridgeimpl.cxx
	remotebridges/source/factory/bridgeimpl.hxx
	remotebridges/source/factory/makefile.mk
	sal/cppunittester/cppunittester.cxx
	sal/inc/osl/diagnose.h
	sal/osl/os2/system.h
	sal/osl/unx/diagnose.c
	sal/osl/unx/file_misc.cxx
	sal/osl/unx/process_impl.cxx
	sal/osl/w32/diagnose.c
	sal/osl/w32/process.cxx
	sal/prj/build.lst
	sal/qa/rtl/math/makefile.mk
	sal/qa/rtl/math/rtl_math.cxx
	sal/qa/rtl/math/rtl_old_testint64.cxx
	sal/qa/rtl/math/test_rtl_math.cxx
	sal/systools/win32/kill/kill.cxx
	sal/textenc/tencinfo.c
	sal/util/sal.map
	stoc/source/inspect/introspection.cxx
	stoc/source/security/file_policy.cxx
	stoc/source/simpleregistry/simpleregistry.cxx
2011-03-08 22:29:39 -06:00
Takeshi Abe
b406c51330 removed dead code; fix a comment 2011-03-04 01:41:18 +09:00
Thomas Arnhold
1d0fa44ad1 Move bogus OSL_ASSERT(msg) to OSL_FAIL(msg) 2011-02-26 10:35:54 +01:00
Joachim Lingner
4d9bdb9e1a jl160 merge with DEV300m96 2011-01-04 12:01:53 +01:00
Caolán McNamara
355a9a5c56 cppcheck: prefer prefix variant 2011-01-01 20:54:36 +00:00
Andy Holder
22d6ac96d8 Change unnamedspaced file.hxx macros 2010-12-12 21:11:14 +00:00
Jan Holesovsky
752d233ca1 Merge commit 'ooo/OOO330_m13' 2010-11-01 13:54:58 +01:00
Joachim Lingner
3352853a9d jl162 #i115180# fix problems with latest java 1.6.0_22 on MacOS 10.6 2010-10-27 14:33:45 +02:00
Joachim Lingner
d726734faf jl162 #i115180# fix problems with latest java 1.6.0_22 on MacOS 10.6 2010-10-27 13:53:26 +02:00
Joachim Lingner
f1b79dae76 jl162 #i115180# fix problems with latest java 1.6.0_22 on MacOS 10.6 2010-10-26 12:28:33 +02:00
Sebastian Spaeth
a715e1b3d0 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:04:31 +02:00
Joachim Lingner
0347768811 jl160 #i114509# installation hangs when installing on nfs volume 2010-09-15 10:00:35 +02:00
Jens-Heiner Rechtien
7c80db2eb3 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Release Engineers
71729f85b7 CWS-TOOLING: integrate CWS jl105
2008-11-24 11:36:28 +0100 jsk  r264217 : #i96511
2008-11-21 12:19:22 +0100 jl  r264121 :  #i86079# test extensions for localized description
2008-11-18 13:01:02 +0100 jl  r263763 : CWS-TOOLING: rebase CWS jl105 to trunk@263288 (milestone: DEV300:m35)
2008-11-17 12:36:19 +0100 jl  r263717 : #i85509# migrating to svn
2008-11-17 12:32:12 +0100 jl  r263716 : #i91204# migrating to svn
2008-11-17 12:18:15 +0100 jl  r263715 : #i80449# migrating to svn
2008-11-17 12:11:44 +0100 jl  r263714 :  migrating to svn
2008-11-17 11:49:57 +0100 jl  r263712 : #i49060# migration to svn
2008-11-28 10:06:48 +00:00
Rüdiger Timm
efb2451866 INTEGRATION: CWS jl101 (1.21.12); FILE MERGED
2008/05/28 15:03:29 jl 1.21.12.2: RESYNC: (1.21-1.22); FILE MERGED
2008/05/28 14:55:52 jl 1.21.12.1: #i89584# patch - remove unused code.
2008-06-06 07:37:17 +00:00
Kurt Zenker
56cf44fd0e INTEGRATION: CWS jl98_DEV300 (1.19.14); FILE MERGED
2008/05/02 09:20:24 jl 1.19.14.1: #i85109# when UNO_JAVA_JFW_INSTALL_DATA is used and the settings file has expired then it is not deleted as before but instead its size is set to zero
2008-05-21 07:24:47 +00:00
Rüdiger Timm
39618d2c9a INTEGRATION: CWS changefileheader (1.20.12); FILE MERGED
2008/03/31 07:24:51 rt 1.20.12.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:25:18 +00:00
Ivo Hinkelmann
610c3dbbdd INTEGRATION: CWS gcc430two (1.19.38); FILE MERGED
2008/01/28 09:53:07 rene 1.19.38.1: more gcc 4.3.0 things
2008-02-04 12:46:18 +00:00
Jens-Heiner Rechtien
4a8b7621f0 #i10000#,#i78538#: insert missing conversion 2007-06-20 16:13:59 +00:00
Oliver Bolte
c704109001 INTEGRATION: CWS jl64 (1.17.24); FILE MERGED
2007/06/08 06:29:05 jl 1.17.24.5: #i76390#
2007/06/07 14:41:36 jl 1.17.24.4: #i76390#
2007/06/07 11:32:38 jl 1.17.24.3: #i76390#
2007/06/07 07:52:57 jl 1.17.24.2: #i76390# support of new bootstrap variable UNO_JAVA_JFW_INSTALL_DATA and UNO_JAVA_JFW_INSTALL_EXPIRE
2007/06/04 08:05:45 jl 1.17.24.1: #i76390 do not create user installation when installing java extensions during setup
2007-06-13 06:57:18 +00:00
Oliver Bolte
3b07bd24ee INTEGRATION: CWS pchfix02 (1.16.16); FILE MERGED
2006/09/01 17:31:41 kaib 1.16.16.1: #i68856# Added header markers and pch files
2006-09-16 16:47:38 +00:00
Jens-Heiner Rechtien
20799416a6 INTEGRATION: CWS warnings01 (1.14.34); FILE MERGED
2005/10/28 10:13:55 sb 1.14.34.3: #i53898# Made code warning-free.
2005/09/22 20:22:56 sb 1.14.34.2: RESYNC: (1.14-1.15); FILE MERGED
2005/09/19 14:52:02 sb 1.14.34.1: #i53898# Made code warning-free.
2006-06-19 23:10:45 +00:00
Rüdiger Timm
a4ff642989 INTEGRATION: CWS ooo19126 (1.14.32); FILE MERGED
2005/09/05 17:12:26 rt 1.14.32.1: #i54170# Change license header: remove SISSL
2005-09-07 18:33:50 +00:00
Kurt Zenker
7eac4143c2 INTEGRATION: CWS jl15 (1.13.2); FILE MERGED
2004/11/26 13:02:43 jl 1.13.2.1: #i36957# the directory for the user data is now created according to the bootstrap parameter UNO_JAVA_JFW_USER_DATA
2004-12-16 10:47:01 +00:00
Jens-Heiner Rechtien
d4fd631aab INTEGRATION: CWS jl13 (1.12.22); FILE MERGED
2004/10/20 14:22:15 jl 1.12.22.6: #i29390#
2004/10/20 13:30:38 jl 1.12.22.5: #i29390#
2004/10/08 17:31:02 jl 1.12.22.4: #29930#
2004/09/30 15:08:56 jl 1.12.22.3: #i29390#
2004/09/30 08:16:00 jl 1.12.22.2: #i29390#
2004/09/29 13:43:49 jl 1.12.22.1: #i29390# using framework in other applications
2004-11-09 12:59:48 +00:00
Joachim Lingner
56c7be7fee #i20052# 2004-05-20 07:50:59 +00:00
Joachim Lingner
c58b07c958 #i20020# 2004-05-13 10:15:02 +00:00
Joachim Lingner
99a825569e #i20052# 2004-05-13 07:10:46 +00:00
Joachim Lingner
17b1692682 #i20052# 2004-05-10 12:40:47 +00:00
Joachim Lingner
de6af143cc #i20052# 2004-05-05 09:14:01 +00:00
Joachim Lingner
c6ee6abeaf #i20052# 2004-04-27 14:22:15 +00:00
Joachim Lingner
f17a9b4b44 #i20052# 2004-04-26 14:54:23 +00:00
Joachim Lingner
052f4cf6e4 #i20052# user/config/javasettings.xml is now platform dependent 2004-04-26 13:47:39 +00:00
Joachim Lingner
cab7aaaaae #i20052# ../user/config/javasettings.xml is now generated 2004-04-26 10:20:34 +00:00
Joachim Lingner
99eb720ef1 #i20052# fixed bug when writing JavaInfo element and jfw_findAndSelectJRE now uses also manually selected paths 2004-04-23 07:40:39 +00:00
Joachim Lingner
e61aa88e3d #i20052# 2004-04-21 08:30:36 +00:00
Joachim Lingner
49614181e5 #i20052# plugin lib for java framework 2004-04-19 14:57:02 +00:00