summaryrefslogtreecommitdiff
path: root/odk
AgeCommit message (Collapse)Author
2013-07-11Adapt example to use retrofitted UNO service ctorsStephan Bergmann
Change-Id: I85bf8e3fe76ff107cc3e611cc1103ca1f27fc00f
2013-07-11odk/examples/python/toolpanel/CalcWindowState.xcu is still in useStephan Bergmann
...contrary to what f13f9b5cc5267a7a5606b1a89db91b6d7aef5f9c "various .xcus are gone now" claims (thought it might ask for clean-up in light of af572d9fbb744c9691abe465815d7927a9d11510 "Related: #i121577# Allow setting toolbar name in Addons.xcu"). Change-Id: I4ff75c3ddf5bce28330f7b99282d8e2e081de48b
2013-07-11Resolves: #i121544# - Clean-up MessageBox APIAriel Constenla-Haile
(cherry picked from commit 27cfcb1e9d103b3e49c1263b1fa59fee8b187b21) Conflicts: desktop/test/deployment/active/active_native.cxx desktop/test/deployment/passive/Dispatch.java desktop/test/deployment/passive/passive_native.cxx odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java odk/examples/DevelopersGuide/GUI/MessageBox.java odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx odk/examples/java/Inspector/Inspector.java offapi/com/sun/star/awt/MessageBoxButtons.idl offapi/com/sun/star/awt/MessageBoxResults.idl offapi/com/sun/star/awt/XMessageBox.idl offapi/com/sun/star/awt/XMessageBoxFactory.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb sdext/source/minimizer/unodialog.cxx toolkit/inc/toolkit/awt/vclxtoolkit.hxx toolkit/source/awt/vclxtoolkit.cxx toolkit/source/layout/core/root.cxx Change-Id: I170b494fb96362bb25ba8d0f2518d4e46934dd67 Related: #i121544# - Clean-up MessageBox API (post fix) (cherry picked from commit c9f7a06e7798bcd5253844c49d210ea9345bd4b8) Conflicts: sw/inc/pch/precompiled_sw.hxx Change-Id: Ib8b1e7aaac769feff5206fcdd238c487a6130dd1 Related: #i121544# - Fix header guards Found by: Tsutomu Uchino (cherry picked from commit 82194a19ff4f29c8451c8e6ab6fe4f1b9d08df27) Conflicts: offapi/com/sun/star/awt/MessageBoxType.idl Change-Id: Ide8ba697fbc80395d2f30a068a0820a6afa3332f
2013-06-29remove OUString wrap for string literalsThomas Arnhold
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-29reduce some spacingThomas Arnhold
Change-Id: I72d494b1c0ff5ed3c52ae6a078815f497e4dd647
2013-06-27Related: #i122356# quote rdb path, windows spaces in pathsJürgen Schmidt
(cherry picked from commit 65ef7b5de4d5fa7b8b440a73329b088917f77957) Conflicts: odk/settings/std.mk Change-Id: I73e62097456ab8dbe601f557a4f5b65f9b7aba6b
2013-06-26Related: #i121442# Add sed and cat as dependencies to odkAriel Constenla-Haile
(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-24various .xcus are gone nowCaolán McNamara
Change-Id: Ia9596b15b45ae16bab7f1904f6b1cb31ba3d87a8
2013-06-24Related: #i121577# Allow setting toolbar name in Addons.xcuAriel Constenla-Haile
(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-23Resolves: #i121542# Unify the Menu APIAriel Constenla-Haile
(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-19Missing importStephan Bergmann
Regression introduced with 64e85a4cc8259a7d80c781e6698a8f30e7e0151d "Java cleanup, remove unused imports." Change-Id: I843cf651e20d2dd410f481222aca5206e0166a30
2013-06-19Remove unused, broken ruleStephan Bergmann
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-19use GeneratedPackage to deliver uno loader classesDavid Tardon
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-15odk - Fix reading OOVERSION from settings/dk.mkAriel Constenla-Haile
(cherry picked from commit decff1733c9cdeca40fc0438a1333de236c954cd) Conflicts: odk/setsdkenv_unix Change-Id: I4d78ebbb9f7b6d188dcba2140f26a17a8c17732f
2013-06-14odk - Add support for extension platformAriel Constenla-Haile
(cherry picked from commit d84324ff612c652b0f6e7a91863808db4425c316) Conflicts: odk/pack/copying/makefile.mk Change-Id: I04c004b1ea2c6c05a18f48db553141e2cf32f06d
2013-06-13Introduce O[U]String::toUInt32Stephan Bergmann
...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-11Related: #i122483# correct library pathJürgen Schmidt
(cherry picked from commit f6c713b7e38d4de5afdf508b8d6bfc6d1d27e000) Change-Id: I327d9946d139aaf3347c42e8b565a8de635b5ed1
2013-06-06Fix breaker when compiled with DEBUG=yesAriel Constenla-Haile
(cherry picked from commit 07c6343beaea37e8e6254e0f988e19f1eccf38ce) Conflicts: odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx Change-Id: I75278282efc80f3e9c31c413842392030beeb265
2013-06-05Use api.libreoffice.org fallback links when no local doxygen/javadoc docuStephan Bergmann
Change-Id: I2b108da334f63d79a16af0e3ba956240a5aff80c
2013-06-05Some HTML clean upStephan Bergmann
Change-Id: I5f1b5d5e5fc59bc1496a292a5f002d87584732a4
2013-06-05use uno::Reference#clear() method...Noel Grandin
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-04notsupported.html appears unusedStephan Bergmann
Change-Id: I4d49158c373b24add3b42043201695e2071f4c15
2013-06-04No idl check for --without-doxygenStephan Bergmann
Change-Id: Id1a8629aac38ef3214d0f891ecc9f36d666552c3
2013-06-04odk: doxygen 1.8.4 does not have PREDICTABLE_URLSMichael Stahl
... so adjust the links to the less predictable defaults for now. Change-Id: Ia39823fe048ceb878465ce4bfdb60a3276864ba3
2013-06-04odk: fix odd Java example that creates URLs to IDL documentationMichael Stahl
... and even does it wrongly by appending the fragment part too early. Change-Id: I05c790113cb219f422a9650db85c04943cde28a3
2013-06-04odk: adapt hyperlinks to IDL docsMichael Stahl
Change-Id: I2b1874ff926c7510016919b9f11674a4746fa82c
2013-06-04API CHANGE: odk: stop packaging autodoc toolMichael Stahl
There is no need to package doxygen, users can just download that from upstream. Change-Id: I166b2f5b692d2335246e3484089ebe5d8edcae4a
2013-06-04odk: stop packaging autodoc generated documentationMichael Stahl
Change-Id: I9d1e232f2fea779f111067b588bbb36411039de2
2013-06-04odk: use SHORT_NAMES on WindowsMichael Stahl
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-04odk: package doxygen IDL docsMichael Stahl
Change-Id: I1613ce8cf9b8248bb5d5e546df7310154e11b830
2013-06-04odk: add DevGuide wiki links to doxygen documentationMichael Stahl
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-04odk: remove output directory before invoking doxygenMichael Stahl
Change-Id: I04b8dbecbe62f8d72ca75f6508046294c3409a17
2013-06-04odk: generate IDL docs with doxygenMichael Stahl
Change-Id: Ibf7ab46bdd08a42ecf475500d35f92b67d4d8036
2013-06-04odk: generalize CustomTarget_doxygen a bitMichael Stahl
Change-Id: Ic3f2d42121b5423d67c4c79302b02ac495ac9640
2013-06-04odk: clean up CustomTarget_doxygen.mkMichael Stahl
- give right path to STRIP_FROM_PATH - prefix vars - depend on makefile - only call cygpath in rule Change-Id: Iceef191751b82a423be354db1f0a3ca4fc213e04
2013-06-03Revert "fdo#46808, Convert oox::PowerPointExport service to new style"Stephan Bergmann
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-05-29Tweak commentsStephan Bergmann
(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-29Adapt Doxygen STRIP_FROM_PATH to moved headersStephan Bergmann
Change-Id: I949a5cf0cb2f4595db7d25103f7caf51b861e8ec
2013-05-27Typo (and don't shout at me)Stephan Bergmann
Change-Id: Id5ad3af1fd70de6b0e9d2640d12011362e7c34ef
2013-05-23Fix css.ucb.Content documentationAriel Constenla-Haile
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-21Adapt to new com/sun/star/oox/Stephan Bergmann
...introduced by a986eddb9b9d1de71ae1c6f73246e493cc449c21 "fdo#46808, Convert oox.ExcelFilterExport service to new style." Change-Id: Ie44688f02ffb73ff5967b66e649827058236614e
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-12Custom Panel SDK Example FixesAriel Constenla-Haile
- 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-12Make Custom Panel example build and runAriel Constenla-Haile
(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-12Move Custom Panel example to the SDKAriel Constenla-Haile
(cherry picked from commit d0b30a0f10f506187fcff9775934d3594c140ead) Change-Id: I898433cbdf9f779f425424d600ebb4f0946ccf20
2013-05-07Move the example code off the com.sun.star.comp.beans packageStephan Bergmann
Change-Id: I27ffb8f1bddc0a41d76a8b6d441e10e9a71ff10f
2013-05-06fix typos (wich instead of which)Philipp Riemer
2013-05-06Java cleanup, delete some dead codeNoel Grandin
Change-Id: I4423cc7ec49769e256f73d9b7fba7b78f84f932f
2013-05-06Java cleanup, convert Hashtable to HashMapNoel Grandin
Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
2013-05-06Java cleanup, convert more Vector to ArrayListNoel Grandin
Change-Id: Icb807382eaf50f515f2c9dfada0c061414baed33