summaryrefslogtreecommitdiff
path: root/qadevOOo
AgeCommit message (Collapse)AuthorFilesLines
2013-08-22What's it with all those *static* XSpreadsheetDocument instances?Stephan Bergmann106-112/+112
...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 (cherry picked from commit 77dc93ddeaee5ee73c7b0afe49da7d699fe62e23) Signed-off-by: Eike Rathke <erack@redhat.com>
2013-08-06More little fixes for JunitTest_forms_unoapiStephan Bergmann2-2/+6
...needed since 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt form control code to time nanosecond API change, step 3." Change-Id: If0fc8109d6da56c8e8df181ae0b35a4d9b34e767
2013-08-06Add cases for css.uno.Date/Time to ValueChangerStephan Bergmann1-0/+12
...needed since 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt form control code to time nanosecond API change, step 3." Change-Id: Id561151ac4b57b972761ec19f0e8943b8d25a54f
2013-08-06Fix uses of Java == on css.uno.Date/TimeStephan Bergmann2-20/+20
...introduced with 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt form control code to time nanosecond API change, step 3." Change-Id: Ifdd449715ce0be602b7bc2d304d503385195eb66
2013-08-04fdo#67235 adapt form control code to time nanosecond API changeLionel Elie Mamane2-29/+31
squash of steps 1, 2 and 3 in master Change-Id: If68ecf0691919d71d06d7b97d46db115013f9805 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl1-2/+2
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 Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 652ccbdf3111766fadc379a8cf4650b744e1e19c) i#108348: fix TimeZone -> Timezone in struct names (cherry picked from commit 604aae1fd240254fe851d93dc35b5408bd13296c) Signed-off-by: Michael Stahl <mstahl@redhat.com> Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu> Signed-off-by: Michael Meeks <michael.meeks@suse.com> Conflicts: forms/source/xforms/convert.cxx offapi/type_reference/offapi.rdb reportdesign/source/core/sdr/RptObject.cxx sc/source/filter/oox/unitconverter.cxx
2013-05-22Revert "Java cleanup, AccessibilityTools.."Stephan Bergmann3-90/+18
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 (cherry picked from commit 89fbed7e29104bf189dc3d75dc11a8aadd362322)
2013-05-20Java cleanup, AccessibilityTools..Noel Grandin3-18/+90
was using a global variable. Yuck. Fix it to use a local variable. Not perfect, but better. Change-Id: I27bbbb2ddc89402da53be7f19d2cd963b03b1a83
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist1-4/+4
2013-05-14Improve test log outputStephan Bergmann1-1/+6
Change-Id: I11afb19726ecf6b585d84517cf2a8244800db81a
2013-05-06fix typos (wich instead of which)Philipp Riemer5-10/+10
2013-05-06Java cleanup, remove unnecessary @SuppressWarnings annotationsNoel Grandin10-10/+0
Change-Id: Ib5df091fc4a6233b526c44ae42dbdbacb0bef7c6
2013-05-06Java cleanup, close file handles when done with themNoel Grandin1-23/+22
Change-Id: I79e6e0b8f53ae6f232c34aa8e833853d2ec24cf0
2013-05-06Java cleanup, delete some dead codeNoel Grandin1-4/+0
Change-Id: I4423cc7ec49769e256f73d9b7fba7b78f84f932f
2013-05-06Java cleanup, convert Hashtable to HashMapNoel Grandin3-28/+22
Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
2013-05-06Java cleanup, Convert Vector to ArrayListNoel Grandin1-4/+4
Change-Id: I323a6625f93347e69f3114fc10cb04dc759a539f
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-46/+8
2013-04-26Java cleanupNoel Grandin1-25/+15
-fix constructor declaration -remove dead copyright notice Change-Id: I021ef11dd5000a75dba3359fe6d4f49740c3b237
2013-04-26Java cleanup, access static methods using correct syntaxNoel Grandin115-422/+422
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
2013-04-26Java cleanup, remove unused importsNoel Grandin8-8/+0
Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
2013-04-25Mark TypeDescriptionProvider service as "don't create by name"Stephan Bergmann1-6/+9
...had to adapt one test that had picked this service apparently arbitrarily. Change-Id: Iaa17b7c622b9ac3601beb3ba931f7b1d99f649f1
2013-04-23Java cleanup - reduce use of global fieldsNoel Grandin21-87/+42
This field does not need to be global, it is returned from the relevant methods Change-Id: Ic53eec4a699d6acc4410e71dde385e6a49ded745 Reviewed-on: https://gerrit.libreoffice.org/3567 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22Java cleanup - static fields that should not be staticNoel Grandin3-48/+31
Somebody appears to have been confused about the purpose of static in Java. These are instance fields and should therefore not be static. Also reduce the visibility of some methods and fields. Change-Id: I0b5875b6cbd91ee89823e2058b87c1087dc5c92e Reviewed-on: https://gerrit.libreoffice.org/3555 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-46/+8
2013-04-19Java cleanup, remove the rest of the unnecessary castsNoel Grandin12-121/+72
Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa Reviewed-on: https://gerrit.libreoffice.org/3432 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane1-2/+2
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-15fdo#60724 correct spellingThomas Arnhold3-4/+4
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-15fdo#60724 successfull -> successfulThomas Arnhold3-4/+4
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15fdo#60724 correct spellingThomas Arnhold8-15/+15
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15fdo#60724 correct spellingThomas Arnhold12-12/+12
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-03-25There are many ships in the port of Hamburg but "ownership" is not oneTor Lillqvist1-1/+1
Change-Id: I971390d084b08293b21fdc35beb74482a1560bb8
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-12qadevOOo: fix typoMichael Stahl1-2/+2
Change-Id: I00e90954f535d023b48a80d319563c43bd935d93
2013-03-06fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck1-2/+2
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments. All other instances of the misspelling have remained the same. Example: AF_REMOVEABLE Change-Id: I391f4101bbc3e06689318235a37d616065bc1686 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold5-5/+5
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-23Fix typo begining/beginning.Julien Nabet1-1/+1
Change-Id: I9fff386181a2be0bc83787c8b5aec9c1cb4db9c3
2013-02-23Fix typo accessable/accessibleJulien Nabet7-11/+11
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-23Fix typo "fuction" -> "function"Julien Nabet1-2/+2
Change-Id: I369da2262d42fbc7cc3cfeeef4920606522237cd
2013-02-23Fix typo "sucessfully" -> "successfully"Julien Nabet1-1/+1
Change-Id: I01c85e4d3853c44fa05acc3019bc35c56c4f655e
2013-02-23Fix typo "paramater" -> "parameter" + remove some commented linesJulien Nabet1-20/+1
Change-Id: I1e6343fdcee91d23aacd776520e8bfdf81d411e4
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet9-12/+12
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22s/the the/the/Tor Lillqvist4-8/+8
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22s/childrens/children/Tor Lillqvist1-1/+1
Change-Id: I1731710811506383d29c835a613b07506e7232f0
2013-02-01Skip broken character bounds checks on Mac OS XStephan Bergmann1-1/+5
...where for whatever reason (TODO: investigate) they keep failing at least with my local Mac OS X 10.7 build at toolkit.AccessibleFixedText::com::sun::star::accessibility::XAccessibleText: LOG> getCharacterBounds(-1) LOG> Expected exception LOG> getCharacterBounds(8) LOG> Expected exception LOG> getCharacterBounds(0) LOG> Text at this place: F LOG> Character bounds outside component LOG> Character rect: 1, 3, 6, 11 LOG> Component rect: 0, 22, 100, 12 LOG> getCharacterBounds(1) LOG> Text at this place: x LOG> Character bounds outside component LOG> Character rect: 6, 6, 10, 8 LOG> Component rect: 0, 22, 100, 12 LOG> getCharacterBounds(2) LOG> Text at this place: e LOG> Character bounds outside component LOG> Character rect: 15, 6, 7, 8 LOG> Component rect: 0, 22, 100, 12 LOG> getCharacterBounds(3) LOG> Text at this place: d LOG> Character bounds outside component LOG> Character rect: 22, 3, 7, 11 LOG> Component rect: 0, 22, 100, 12 LOG> getCharacterBounds(4) LOG> Text at this place: T LOG> Character bounds outside component LOG> Character rect: 30, 3, 8, 11 LOG> Component rect: 0, 22, 100, 12 LOG> getCharacterBounds(5) LOG> Text at this place: e LOG> Character bounds outside component LOG> Character rect: 39, 6, 7, 8 LOG> Component rect: 0, 22, 100, 12 LOG> getCharacterBounds(6) LOG> Text at this place: x LOG> Character bounds outside component LOG> Character rect: 45, 6, 10, 8 LOG> Component rect: 0, 22, 100, 12 Change-Id: I690ffc773b53e0f19536605e3cb89280bc98c19a
2013-01-06The "ProductSource" (MWS name) makes no sense any moreTor Lillqvist1-11/+0
2012-12-10Revert "Use XNotifyingDispatch to avoid races"Stephan Bergmann1-38/+9
This reverts commit 21ea372541a81972aa33cb2226dbc2ee3886e23a. Looks like neither XNotifyingDispatch nor XSynchronousDispatch can be used to avoid this race; sigh.
2012-12-07Use XNotifyingDispatch to avoid racesStephan Bergmann1-9/+38
Change-Id: Ia91bd08122052f5ea206eb9e6c03524e6e3ec245
2012-12-07Revert "Use XSynchronousDispatch to avoid races"Stephan Bergmann1-6/+9
This reverts commit 16383552c8477ac4620d6260a2b7981a9a6aaf17, which was broken, but toplevel "make .../workdir/*/JunitTest/sc_unoapi/done" did not trigger qadevOOo rebuild, so got unnoticed at first. Change-Id: I6031cf9f67a8cc69cbabd197bd01462968eeb07e
2012-12-07Use XSynchronousDispatch to avoid racesStephan Bergmann1-9/+6
Change-Id: I517ae0f3a17e769da20219d69d7ff4bac44623cd