Commit Graph

3791 Commits

Author SHA1 Message Date
9a7fc5ee26 Typo: s/shure/sure
Change-Id: I1c55d3ee8be06deb6d48a6ad5cd30d170c8b9dbb
2014-04-18 00:30:35 +03:00
29368617fa typo: curosr -> cursor 2014-04-14 12:33:04 +02:00
aa0493be8c typo: puposes -> purposes 2014-04-14 12:32:29 +02:00
2d4afd15f0 typo: excption -> exception 2014-04-14 12:32:27 +02:00
cc1352243e typo: accesible -> accessible 2014-04-14 12:32:01 +02:00
6835d9f307 It's "its", not "it's"
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
9d7ee8a70f qadevOOo: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I1efcc27818c8ec92db32151afc8f17bbf7fc1f40
2014-03-10 17:39:57 +01:00
faabee6755 Remove visual noise from qadevOOo
Change-Id: I3d65145422039d629d2375c9fef030cd6ee41124
Reviewed-on: https://gerrit.libreoffice.org/8291
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 05:59:24 -06:00
8e000814ef Typo: folowing -> following + elemtens -> elements
Change-Id: Ice7ae2e82085ba5f0061ba1a960f693744e45e63
2014-02-25 22:11:12 +01:00
55d3127f6c Typo: "omited"/"ommitted"/"ommited" -> "omitted"
Change-Id: Icc690b0ae1fc8f7165082774720d265798815faa
2014-02-12 20:08:03 +01:00
4ed804d928 Typo: realtion -> relation
Change-Id: I2ec2d716eaff6c6dc03bf657e77daa8e4d57cb53
2014-02-06 21:25:21 +01:00
f0c24877ed Typo: chek -> check
Change-Id: I979956276a9d2d76604576d8b92e8f48a9f46c74
2014-02-06 21:23:57 +01:00
8f50196ef1 *_AppDispatchProvider_get_implementation cannot bypass XInitialization
...as SfxAppDispatchProvider implements new-style service
css.frame.AppDispatchProvider that doesn't declare any non-default ctors (which
looks broken, though) and old-style service css.frame.DispatchProvicer.

(And fix the test code to pass in meaningful XInitialization arguments.)

Change-Id: Ifcc32d17f6b96ade2acc40ccdb60f7bad2d503a4
2014-02-04 11:51:49 +01:00
69adcefcce typo: ACSII -> ASCII
Change-Id: I5c12ad690df99718dc1e5d1f25a3b62af3c6b355
2014-02-03 10:48:25 +01:00
ef602ba8ce Remove unused XInitialization.args data
...now that ModuleUIConfigurationManager no longer implements XInitialization
since 72b5343bd16deec540d8cd148cd7aebd74e92c16 "fwk: Use constructor feature for
ModuleUIConfigurationManager."

Change-Id: I479c6c93e9982d80318e53b794bac99e949a5e46
2014-01-20 17:40:52 +01:00
180271e987 Fix typo
Change-Id: Idb7ce105bf347d7cfee039da8939aecf743f2c16
2014-01-14 15:13:16 +09:00
be053c9a80 Spelling correction: s/retrive/retrieve/
Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
2013-12-20 23:26:58 +02:00
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
cff72ec4bf Minor qadevOOo improvement
Change-Id: Ibeefc8e9aad57c28722b62610231d14ebc8a7403
2013-12-12 07:47:36 +01:00
8d74243a65 Improve test code
Change-Id: I196a7f654bf8f061a4b050ea1fbe01fae9f450c2
2013-12-04 15:07:11 +01:00
758abf0130 Improve test output
Change-Id: I33b289a31a9a4991eb270b3d154d999fa76c7bb4
2013-11-27 11:35:24 +01:00
718de51eb9 Some Java String clean-up
Change-Id: I6728720a13f4b66edc6c5cd0b7a9bcb036e86ff2
2013-11-24 20:58:56 +01:00
480a0ef7c1 rigth -> right (other occurences)
Change-Id: Ic899aa36b1b18237f90295eaa04ea83450958c87
2013-11-23 21:49:02 +01:00
a25d360b3e Try make this more robust in slow environments
...where the previous .uno:PrintPreview request has not yet been processed, the
same way it had been made more robust for ScAccessiblePageHeader.java in
5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow
environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with
intermittend DisposedExceptions."

Change-Id: I5244e8f8af9560ae986ed3a836bdf9571574420f
2013-11-04 18:24:25 +01:00
baa68e4e89 Try make this more robust in slow environments
...where the previous .uno:PrintPreview request has not yet been processed, the
same way it had been made more robust for ScAccessiblePageHeader.java in
5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow
environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with
intermittend DisposedExceptions."

Change-Id: I64389b817d91a2bed8dfe1b8d92bafec42eba21a
2013-11-01 09:41:30 +01:00
ee337e7ed6 Try make this more robust in slow environments
...where the previous .uno:PrintPreview request has not yet been processed, the
same way it had been made more robust for ScAccessiblePageHeader.java in
5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow
environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with
intermittend DisposedExceptions."

Change-Id: I4b0ca00c04c2b1c8ffbfe4aaf926305ee9b51f30
2013-10-22 12:24:31 +02:00
dcee4cfcdc Try make this more robust in slow environments
...where the previous .uno:PrintPreview request has not yet been processed, the
same way it had been made more robust for ScAccessiblePageHeader.java in
5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow
environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with
intermittend DisposedExceptions."

Change-Id: I4d429a96b7b595776aaf3fa20e3e03b00ca886bc
2013-10-08 10:55:32 +02:00
f52d78bf7c Unused variable (AccessibilityTools is all static members)
Change-Id: I5f3be57dea77cec1cfa3f48833758b0c2328350e
2013-10-08 10:55:32 +02:00
b5dd2b4218 Also cope with intermittend DisposedExceptions
...while waiting for the .uno:PrintPreview request to be processed, see
5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow
environments."  (However, to avoid an endless loop in case DisposedExceptions
are caused by a crash of soffice.bin, cap the loop at 10 sec.)

Change-Id: I13518eea46deb68731604ef08461bad5bb5f7cdf
2013-10-07 10:22:16 +02:00
32e0f451d6 junit: add 'r' to creating, and better exception descriptions. 2013-09-30 15:28:58 +01:00
a9cf50c24d junit: make tests robust by compensating for intermittent sizing race. 2013-09-30 15:28:57 +01:00
7f436c1fd3 typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26 11:47:45 +02:00
5b5c52a3a4 Try make this more robust in slow environments
...where the previous .uno:PrintPreview request has not yet been processed and
xRoot/oObj would still be null.  Hopefully, it does not introduce infinite
loops, though.

Change-Id: Ie79e0b0a3185528ab4036ed7a33de81117c02c83
2013-08-28 13:23:58 +02:00
77dc93ddea What's it with all those *static* XSpreadsheetDocument instances?
...appears to be completely unnecessary, and maybe this helps fix some obscure
DispsedException failures in JunitTest_sc_unoapi (not ones resulting from a
crashed soffice.bin, but "genuine" ones happening when chasing
util.AccessibilityTools.getAccessibleObjectForRole).

Change-Id: I127940e9a2a9784d01255307b60614d53c86436f
2013-08-22 14:55:29 +02:00
bcce27d283 No (apparent?) need for xSheetDoc to be static
Change-Id: Iea653925d383537f5f7f5ef9dd7559e7cb8730cf
2013-08-21 14:19:10 +02:00
8dbfb3bfb1 More little fixes for JunitTest_forms_unoapi
...needed since 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt form
control code to time nanosecond API change, step 3."

Change-Id: If0fc8109d6da56c8e8df181ae0b35a4d9b34e767
2013-08-05 11:57:23 +02:00
5b0ac8149d Fix uses of Java == on css.uno.Date/Time
...introduced with 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt
form control code to time nanosecond API change, step 3."

Change-Id: Ifdd449715ce0be602b7bc2d304d503385195eb66
2013-08-05 11:19:21 +02:00
8ee69b0ba1 fdo#67235 adapt form control code to time nanosecond API change, step 3
Change-Id: I4899c89ee5b2a54c9c05b531ab284365f1558e3d
Reviewed-on: https://gerrit.libreoffice.org/5270
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-08-04 06:51:31 +00:00
ed904af866 fdo#67235 adapt form control code to time nanosecond API change
Conflicts:
	offapi/type_reference/offapi.rdb

Change-Id: If68ecf0691919d71d06d7b97d46db115013f9805
Reviewed-on: https://gerrit.libreoffice.org/5149
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-08-02 11:35:57 +00:00
0b59f6953a Fix some typos.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2013-07-31 00:09:46 +02:00
652ccbdf31 i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.
Add IsUTC member to:

com.sun.star.util.DateTime
com.sun.star.util.DateTimeRange
com.sun.star.util.Time

Add new stucts with explicit time zones:

com.sun.star.util.DateTimeWithTimezone
com.sun.star.util.DateWithTimezone
com.sun.star.util.TimeWithTimezone

Adapt the sax::Converter to read/write timezones, and fix the unit test.

Everything else just uses default (no time zone), this commit is just
to fix the API.

STRUCT: /UCR/com/sun/star/util/DateTime
    nFields1 = 7  !=  nFields2 = 8
    Registry2 contains 1 more fields
STRUCT: /UCR/com/sun/star/util/DateTimeRange
    nFields1 = 14  !=  nFields2 = 15
    Registry2 contains 1 more fields
STRUCT: /UCR/com/sun/star/util/Time
    nFields1 = 4  !=  nFields2 = 5
    Registry2 contains 1 more fields

Conflicts:
	sc/source/filter/oox/unitconverter.cxx

Change-Id: I01f7a6d082a6b090c8efe71d2de137474c495c18
Reviewed-on: https://gerrit.libreoffice.org/4833
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-07-15 11:46:41 +00:00
805c6101b3 Resolves: #i121544# - Clean-up MessageBox API
(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-07-11 13:16:58 +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
4b373ef7f5 fdo#60724 change spelling error REMOVEABLE -> REMOVABLE II
Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-05-29 10:43:24 +02:00
89fbed7e29 Revert "Java cleanup, AccessibilityTools.."
This reverts commit d702dd4396161f8e2e7396f5c24554088b752fcb, which reproducibly
broke JunitTest_sc_unoapi:

java.lang.NullPointerException
 at util.AccessibilityTools.getAccessibleObjectForRole_(AccessibilityTools.java:177)
 at util.AccessibilityTools.getAccessibleObjectForRole(AccessibilityTools.java:95)
 at mod._sc.AccessibleEditableTextPara_PreviewCell.createTestEnvironment(AccessibleEditableTextPara_PreviewCell.java:149)
 at lib.TestCase.getTestEnvironment(TestCase.java:121)
 at base.java_fat.getTestEnvironment(java_fat.java:319)
 at base.java_fat.executeTest(java_fat.java:167)
 at org.openoffice.Runner.run(Runner.java:234)
 at org.openoffice.test.UnoApiTest.test(UnoApiTest.java:38)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
 at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
 at org.junit.runners.Suite.runChild(Suite.java:128)
 at org.junit.runners.Suite.runChild(Suite.java:24)
 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
 at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
 at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
 at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
 at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
 at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
 at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
 at org.junit.runner.JUnitCore.main(JUnitCore.java:45)

Change-Id: I3601fe24db21bd63f7dc6cdf0a1eb69f447d962a
2013-05-21 16:56:30 +02:00
d702dd4396 Java cleanup, AccessibilityTools..
was using a global variable. Yuck.
Fix it to use a local variable. Not perfect, but better.

Change-Id: I27bbbb2ddc89402da53be7f19d2cd963b03b1a83
2013-05-20 09:21:20 +02:00
893404cf5e Improve test log output
Change-Id: I11afb19726ecf6b585d84517cf2a8244800db81a
2013-05-14 09:18:28 +02:00
2ce25faffd fix typos (wich instead of which) 2013-05-06 20:07:23 +02:00
8bebd29976 Java cleanup, remove unnecessary @SuppressWarnings annotations
Change-Id: Ib5df091fc4a6233b526c44ae42dbdbacb0bef7c6
2013-05-06 11:45:58 +02:00
8be40d31d7 Java cleanup, convert Hashtable to HashMap
Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
2013-05-06 11:45:53 +02:00