Commit Graph

2496 Commits

Author SHA1 Message Date
ba0a57702c remove OUString wrap for string literals
For some functions and all kinds of Exceptions.

CannotConvertException
CloseVetoException
DisposedException
EmptyUndoStackException
ErrorCodeIOException
Exception
GridInvalidDataException
GridInvalidModelException
IOException
IllegalAccessException
IllegalArgumentException
IllegalTypeException
IndexOutOfBoundsException
NoMasterException
NoSuchElementException
NoSupportException
PropertyVetoException
RuntimeException
SAXException
ScannerException
StorageWrappedTargetException
UnsupportedFlavorException
VetoException
WrappedTargetException
ZipIOException
throwGenericSQLException
throwIllegallArgumentException

createInstance
createInstanceWithContext
forName
getByName
getPackageManager
getPropertyValue
getUnpackedValueOrDefault
getValueByName
hasPropertyByName
openKey
setName
setPropertyValue
supportsService

bash command:

for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
	| cut -d ':' -f1 | sort -u
	| xargs sed -i
		-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
		-e "s/\($i.*\)\"+ /\1\" + /g";
done

Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
Reviewed-on: https://gerrit.libreoffice.org/4624
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29 21:52:54 +00:00
b6d97514cd reduce some spacing
Change-Id: I72d494b1c0ff5ed3c52ae6a078815f497e4dd647
2013-06-29 18:38:14 +02:00
64f19368cc Related: #i122356# quote rdb path, windows spaces in paths
(cherry picked from commit 65ef7b5de4d5fa7b8b440a73329b088917f77957)

Conflicts:
	odk/settings/std.mk

Change-Id: I73e62097456ab8dbe601f557a4f5b65f9b7aba6b
2013-06-27 16:19:04 +01:00
2250429dda Related: #i121442# Add sed and cat as dependencies to odk
(cherry picked from commit 0a78e6e85d8e921705b7ea90038f822d47fb58ab)

Conflicts:
	odk/cfgWin.js
	odk/configure.pl
	odk/docs/install.html
	odk/setsdkenv_unix.sh.in
	odk/setsdkenv_windows.template
	odk/settings/std.mk

Change-Id: Ie124ffbb857e796923981e13dc3116c7af341056
2013-06-26 09:11:40 +01:00
f13f9b5cc5 various .xcus are gone now
Change-Id: Ia9596b15b45ae16bab7f1904f6b1cb31ba3d87a8
2013-06-24 12:00:49 +01:00
af572d9fbb Related: #i121577# Allow setting toolbar name in Addons.xcu
(cherry picked from commit 96cd87ec89e5ebe9d174c90b0f2cab96b3772732)

Conflicts:
	odk/examples/cpp/complextoolbarcontrols/CalcWindowState.xcu
	odk/examples/cpp/complextoolbarcontrols/WriterWindowState.xcu
	odk/examples/java/Inspector/Inspector.java

Change-Id: I6a0c1a657c6084df4efd8e150dc252155b32ba0b
2013-06-24 11:54:45 +01:00
9052caae53 Resolves: #i121542# Unify the Menu API
(cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d)

Conflicts:
	chart2/source/controller/main/ChartController_Window.cxx
	framework/source/uielement/langselectionmenucontroller.cxx
	framework/source/uielement/popupmenucontroller.cxx
	framework/source/uielement/recentfilesmenucontroller.cxx
	framework/source/uielement/toolbarsmenucontroller.cxx
	odk/examples/DevelopersGuide/GUI/UnoMenu.java
	odk/examples/DevelopersGuide/GUI/UnoMenu2.java
	odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx
	offapi/com/sun/star/awt/MenuBar.idl
	offapi/com/sun/star/awt/MenuEvent.idl
	offapi/com/sun/star/awt/MenuItemStyle.idl
	offapi/com/sun/star/awt/MenuItemType.idl
	offapi/com/sun/star/awt/MenuLogo.idl
	offapi/com/sun/star/awt/PopupMenu.idl
	offapi/com/sun/star/awt/PopupMenuDirection.idl
	offapi/com/sun/star/awt/XMenu.idl
	offapi/com/sun/star/awt/XMenuBar.idl
	offapi/com/sun/star/awt/XMenuBarExtended.idl
	offapi/com/sun/star/awt/XMenuExtended.idl
	offapi/com/sun/star/awt/XMenuExtended2.idl
	offapi/com/sun/star/awt/XMenuListener.idl
	offapi/com/sun/star/awt/XPopupMenu.idl
	offapi/com/sun/star/awt/XPopupMenuExtended.idl
	offapi/com/sun/star/awt/makefile.mk
	offapi/type_reference/types.rdb
	svtools/inc/svtools/popupmenucontrollerbase.hxx
	svtools/source/uno/popupmenucontrollerbase.cxx
	svx/source/tbxctrls/extrusioncontrols.cxx
	toolkit/inc/pch/precompiled_toolkit.hxx
	toolkit/inc/toolkit/awt/vclxmenu.hxx
	toolkit/inc/toolkit/helper/listenermultiplexer.hxx
	toolkit/source/awt/vclxmenu.cxx

Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7

Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle

(cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248)

Conflicts:
	odk/examples/DevelopersGuide/GUI/UnoMenu2.java
	offapi/type_reference/types.rdb
	toolkit/inc/toolkit/awt/vclxmenu.hxx

Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2013-06-23 21:16:14 +01:00
38d2ea2b25 Missing import
Regression introduced with 64e85a4cc8259a7d80c781e6698a8f30e7e0151d "Java
cleanup, remove unused imports."

Change-Id: I843cf651e20d2dd410f481222aca5206e0166a30
2013-06-19 17:41:00 +02:00
5b53053af5 Remove unused, broken rule
That rule was broken as it did not quote $@ which could be a pathname containing
"$", but it is unused anyway since 41efa1535827b3dfef66ed4ce6c20e85081fe060 "use
GeneratedPackage to deliver uno loader classes."

Change-Id: I4e5a15be8e4acca3d5be0c1b228f6c324d12331c
2013-06-19 17:20:34 +02:00
41efa15358 use GeneratedPackage to deliver uno loader classes
This is a workaround for problems with file names containing $ in
gbuild. And it does not matter much in this case, because the classes
are never used during build, so there is no need to have exact
dependencies.

Change-Id: Ibeb30257a62ed13744dc4fe987830d1e5a4102b0
2013-06-19 16:16:42 +02:00
0d61e5dcdb odk - Fix reading OOVERSION from settings/dk.mk
(cherry picked from commit decff1733c9cdeca40fc0438a1333de236c954cd)

Conflicts:
	odk/setsdkenv_unix

Change-Id: I4d78ebbb9f7b6d188dcba2140f26a17a8c17732f
2013-06-15 15:58:13 +01:00
322ee02748 odk - Add support for extension platform
(cherry picked from commit d84324ff612c652b0f6e7a91863808db4425c316)

Conflicts:
	odk/pack/copying/makefile.mk

Change-Id: I04c004b1ea2c6c05a18f48db553141e2cf32f06d
2013-06-14 16:00:12 +01:00
3af0114a29 Introduce O[U]String::toUInt32
...which has become necessary since bd60d41176da540b01d7583cfe00637431967f39
"Handle oveflow in O(U)String::toInt() functions" reduces values in the range
(SAL_MAX_INT32 .. SAL_MAX_UINT32] to zero, but some calls of toInt32(16) relied
on getting a correct (unsigned) value for the whole input range ["0" ..
"FFFFFFFF"] (see libreoffice-4-1 commit 9bf6c83367cedb7be81bf67f30d2147d26c7a8c3
"Revert overflow checks in O[U]String::toInt{32,64} again").

Audited all uses of toInt32/64 with non-decimal radix.  (There is still a TODO
comment in oox/source/helper/attributelist.cxx, and
stoc/source/typeconv/convert.cxx will still need some love and test code.)

Change-Id: Iadaca1c0e41dab553687d0ce41c20c10cd657a95
2013-06-13 17:08:36 +02:00
c3359bd7e6 Related: #i122483# correct library path
(cherry picked from commit f6c713b7e38d4de5afdf508b8d6bfc6d1d27e000)

Change-Id: I327d9946d139aaf3347c42e8b565a8de635b5ed1
2013-06-11 20:08:40 +01:00
9f97b3e270 Fix breaker when compiled with DEBUG=yes
(cherry picked from commit 07c6343beaea37e8e6254e0f988e19f1eccf38ce)

Conflicts:
	odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx

Change-Id: I75278282efc80f3e9c31c413842392030beeb265
2013-06-06 13:14:10 +01:00
2c2dc8ebb7 Use api.libreoffice.org fallback links when no local doxygen/javadoc docu
Change-Id: I2b108da334f63d79a16af0e3ba956240a5aff80c
2013-06-05 11:06:14 +02:00
06c7349758 Some HTML clean up
Change-Id: I5f1b5d5e5fc59bc1496a292a5f002d87584732a4
2013-06-05 11:06:14 +02:00
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
57d8858884 notsupported.html appears unused
Change-Id: I4d49158c373b24add3b42043201695e2071f4c15
2013-06-04 15:17:21 +02:00
cf53e0ea70 No idl check for --without-doxygen
Change-Id: Id1a8629aac38ef3214d0f891ecc9f36d666552c3
2013-06-04 12:53:57 +02:00
a95520b501 odk: doxygen 1.8.4 does not have PREDICTABLE_URLS
... so adjust the links to the less predictable defaults for now.

Change-Id: Ia39823fe048ceb878465ce4bfdb60a3276864ba3
2013-06-04 12:01:12 +02:00
be49d3a25b odk: fix odd Java example that creates URLs to IDL documentation
... and even does it wrongly by appending the fragment part too early.

Change-Id: I05c790113cb219f422a9650db85c04943cde28a3
2013-06-04 12:01:11 +02:00
345afe7b72 odk: adapt hyperlinks to IDL docs
Change-Id: I2b1874ff926c7510016919b9f11674a4746fa82c
2013-06-04 12:01:11 +02:00
9d93ed7cd1 API CHANGE: odk: stop packaging autodoc tool
There is no need to package doxygen, users can just download that from
upstream.

Change-Id: I166b2f5b692d2335246e3484089ebe5d8edcae4a
2013-06-04 12:01:10 +02:00
e2fd9fbe6e odk: stop packaging autodoc generated documentation
Change-Id: I9d1e232f2fea779f111067b588bbb36411039de2
2013-06-04 12:01:10 +02:00
c05b9d3e2c odk: use SHORT_NAMES on Windows
Unfortnately the MSI stuff complains that lines in ddf files are too
long, so we need to use SHORT_NAMES.  But use it only on Windows because
the file names are mostly just numbers then and totally unpredictable;
the documentation for the website must not be built on Windows.

Change-Id: I5d7d917bf34c55424259cf04bb13cb8c26fe409b
2013-06-04 12:01:10 +02:00
4146cef50c odk: package doxygen IDL docs
Change-Id: I1613ce8cf9b8248bb5d5e546df7310154e11b830
2013-06-04 12:01:10 +02:00
91dde49e9a odk: add DevGuide wiki links to doxygen documentation
Unsurprisingly doxygen does not support reading a idl_chapter_refs.txt
file like autodoc does.  And it looks like doxygen tag files can not
be used to do this, as they link only in the "other" direction.

But with a bit of hackery we can generate a "dummy" IDL input file, with
emtpy definitions for those types that have DevGuide links.
Doxygen will nicely combine documentation from multiple definitions of a
type, and fortunately does only put in references to the first file that
defines a type, so hopefully adding the generated file as the last input
file is suffficient to make things work nicely.

The generated file is committed to git because there is a bit of a
problem with finding out what sort of entity a name like
"com.sun.star.Foo" refers to, which needs to be in the doxygen input.

Change-Id: I793bc59c8acfecf460e4addea7838c76a3ede77e
2013-06-04 12:00:58 +02:00
363a37b6e3 odk: remove output directory before invoking doxygen
Change-Id: I04b8dbecbe62f8d72ca75f6508046294c3409a17
2013-06-04 12:00:58 +02:00
361642c094 odk: generate IDL docs with doxygen
Change-Id: Ibf7ab46bdd08a42ecf475500d35f92b67d4d8036
2013-06-04 12:00:57 +02:00
8b43736ca7 odk: generalize CustomTarget_doxygen a bit
Change-Id: Ic3f2d42121b5423d67c4c79302b02ac495ac9640
2013-06-04 12:00:57 +02:00
eb8cbbea91 odk: clean up CustomTarget_doxygen.mk
- give right path to STRIP_FROM_PATH
- prefix vars
- depend on makefile
- only call cygpath in rule

Change-Id: Iceef191751b82a423be354db1f0a3ca4fc213e04
2013-06-04 12:00:57 +02:00
3505f0e46c Revert "fdo#46808, Convert oox::PowerPointExport service to new style"
This reverts commit 02021163dbbcc8904da0b2138c8b53684dcc8ab4.  The filter
appears to be split in two (com.sun.star.comp.oox.ppt.PowerPointImport
implementation oox::ppt::PowerPointImport from include/oox/ppt/pptimport.hxx for
im-/export, for export calling com.sun.star.comp.Impress.oox.PowerPointExport
implementation PowerPointExport from sd/source/filter/eppt/epptooxml.hxx) for no
good reason, so the com.sun.star.oox.PowerPointExport new-style service is
supporting a hack that should rather be cleaned up.

Conflicts:
	offapi/UnoApi_offapi.mk

Change-Id: I875192a68a8e3458dbfd74b4981a6a2e86ce44d7
2013-06-03 15:33:39 +02:00
8c3657658a Tweak comments
(Preventing documentation of macros via @cond ... @endcond is apparently at
least broken in Doxygen 1.8.3 and working in Doxygen 1.8.4.)

Change-Id: I2ee582119dba2c3d27db5298786d3076921af46d
2013-05-29 15:03:01 +02:00
07b348f51d Adapt Doxygen STRIP_FROM_PATH to moved headers
Change-Id: I949a5cf0cb2f4595db7d25103f7caf51b861e8ec
2013-05-29 10:43:24 +02:00
ae6a7df73b Typo (and don't shout at me)
Change-Id: Id5ad3af1fd70de6b0e9d2640d12011362e7c34ef
2013-05-27 11:23:33 +02:00
a02388b900 Fix css.ucb.Content documentation
Make it more readable by adding a table

(cherry picked from commit e7b7b284aca5f3936ab1a5902652af41ea849093)

Conflicts:
	offapi/com/sun/star/ucb/Content.idl

Change-Id: I31d3fc46993cad81d57ba15f77b8fbc797e4c541
2013-05-23 09:33:43 +01:00
6aa19bf090 Adapt to new com/sun/star/oox/
...introduced by a986eddb9b9d1de71ae1c6f73246e493cc449c21 "fdo#46808, Convert
oox.ExcelFilterExport service to new style."

Change-Id: Ie44688f02ffb73ff5967b66e649827058236614e
2013-05-21 14:57:05 +02:00
cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00
dca437578e Custom Panel SDK Example Fixes
- Remove unused boost header
- OUT_DEPLOY_URL must be an URL

Both break building the example on Windows

(cherry picked from commit 8af699cb89d9477b13d8701266b7c1fdf9356cfa)

Change-Id: Iedc1b1d6d9493390cdf8b9055afe7c712c6bfc31
2013-05-12 16:11:58 +01:00
b30c970602 Make Custom Panel example build and run
(cherry picked from commit 5aff353f227ecfeb36ef6b8be787495916610490)

Conflicts:
	odk/examples/cpp/custompanel/ctp_factory.cxx
	odk/examples/cpp/custompanel/ctp_services.cxx

Change-Id: I5b561fec12415b2c05ff1369629a8f88b420510b
2013-05-12 16:11:53 +01:00
379c701115 Move Custom Panel example to the SDK
(cherry picked from commit d0b30a0f10f506187fcff9775934d3594c140ead)

Change-Id: I898433cbdf9f779f425424d600ebb4f0946ccf20
2013-05-12 16:11:50 +01:00
c756afcdba Move the example code off the com.sun.star.comp.beans package
Change-Id: I27ffb8f1bddc0a41d76a8b6d441e10e9a71ff10f
2013-05-07 13:59:20 +02:00
2ce25faffd fix typos (wich instead of which) 2013-05-06 20:07:23 +02:00
7cba598a7d Java cleanup, delete some dead code
Change-Id: I4423cc7ec49769e256f73d9b7fba7b78f84f932f
2013-05-06 11:45:55 +02:00
8be40d31d7 Java cleanup, convert Hashtable to HashMap
Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
2013-05-06 11:45:53 +02:00
e527a34005 Java cleanup, convert more Vector to ArrayList
Change-Id: Icb807382eaf50f515f2c9dfada0c061414baed33
2013-05-06 11:45:51 +02:00
587c59fbc9 Java cleanup, Convert Vector to ArrayList
Change-Id: I323a6625f93347e69f3114fc10cb04dc759a539f
2013-05-06 11:45:50 +02:00
e10300dc78 use generics and convert from Vector to ArrayList
Change-Id: Idcc7d0c386ff59ddee95667939969259cdf11d02
2013-05-06 11:45:46 +02:00
45b9519086 $(WORKDIR)/CustomTarget/odk/odkcommon is no more
Change-Id: I49204b3518c47614e591de47a916901861331673
Reviewed-on: https://gerrit.libreoffice.org/3777
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-05-04 14:42:41 +00:00