summaryrefslogtreecommitdiff
path: root/jvmfwk/Makefile
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2018-09-12 22:06:18 +0300
committerTor Lillqvist <tml@collabora.com>2018-09-15 07:54:03 +0200
commit7d6be61a62ca3724c67ab3fb93e60a2748d8a67e (patch)
tree732347351ca62a21f676d65cb659cc25269a841c /jvmfwk/Makefile
parente005ab5d40d358adb75a64e140d46f4bf605647d (diff)
Re-think cppu::throwException() and the C++/UNO bridge on iOS
It seems that on iOS, where we don't have any Java, Python, BASIC, or other scripting, the only thing that would use the C++/UNO bridge functionality that invokes codeSnippet() was cppu::throwException(). codeSnippet() is part of what corresponds to the code that uses run-time-generated machine code on other platforms. We can't generate code at run-time on iOS, that has been known forever. Instead we have used some manually written assembler to handle it instead. We used to have a Perl script to generate a set of code snippets for different cases, different numbers of parameters of the called function and whatnot, but that went away at some stage some year ago. (It is unclear whether that broke the C++/UNO bridge on iOS, or whether the stuff continued to work even after that.) Anyway, this handwritten assembly, or the manual construction of internal data structures for exceptions, or something else, seemed to have bit-rotten. Exceptions thrown with cppu::throwException() were not catchable properly any longer. Instead of digging in and trying to understand what is wrong, I chose another solution. It turns out that the number of types of exception objects thrown by cppu::throwException() is fairly small. During startup of the LibreOffice code, and loading of an .odt document, only one kind of exception is thrown this way... (The lovely css::ucb:InteractiveAugmentedIOException.) So we can simply have code that checks what the type of object being thrown is, and explicitgly throws such an object then with a normal C++ throw statement. Seems to work. Sadly the cppu::getCaughtException() API still needs some inline assembly in the C++/UNO brige. That seems to work though, knock on wood. This commit also adds a small "unit test" for iOS, copied from cppuhelperm to ImplSVMain(). Ideally we should not copy code around of course, but have a separate unit test app for iOS that would somehow include relevant unit tests from source files all over the place. Later. Change-Id: Ib6d9d5b6fb8cc684ec15c97a312ca2f720e87069 Reviewed-on: https://gerrit.libreoffice.org/60506 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'jvmfwk/Makefile')
0 files changed, 0 insertions, 0 deletions
tr> Change-Id: Ifdd27ea71aa4c65b3ea85fad2b169f897174df3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105322 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> 2020-11-01Colibre: Update navigation, mail merge, gallery component, info iconsRizal Muttaqin Change-Id: If785dc620122ce2acd1b33ffe84d2e6b6294e2b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105149 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> 2020-06-17tdf#133268: Update message box, remove unnecessary, update some other etcRizal Muttaqin Change-Id: I44042fbfd51923f42114b55d9f69bad2887bd92e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96483 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> 2020-06-11tdf#133268Rizal Muttaqin - Update Calc's Paste Special - Update Emoji - Update images of Draw/Impress export as HTML - Add Save All - Update Merge Cell image Change-Id: I73a3c9ff28dffe1e83f63385abf19ecd970f8df1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96058 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> 2020-06-10tdf#133819 support for tristate checkboxesRizal Muttaqin Change-Id: Ie98700652d76db10e8f8b587016ddae9253ddaac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95956 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> 2020-06-03Fix for tdf#133582, missing checkbox in gen envRizal Muttaqin - - Add more SVG version of PNG icons Change-Id: I0217ec345215e710c7ee0b2bf3108c244e921f26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95387 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> 2020-05-31Resolves tdf#133268: Update Colibre color paletteRizal Muttaqin - Change color to latest MS Office monoline style - Overhaul overall appearance Change-Id: If181b58dc68310cacb926cf814c6d99d4b0b47d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95189 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> 2019-11-18Resolves: tdf#108452 invisible all-black drawing cursors on black bgCaolán McNamara commit c5ac80d90ebcc1c3fad18ece8784ac2b36f52045 Date: Fri Feb 8 10:00:12 2019 +0200 make cursor images part of the theme + commit 25d176ada67ada550bd4d0d08177c232cf7eeb37 Date: Mon Mar 4 15:58:18 2019 +0200 tdf#123796 Wrong cursor when inserting shape effectively resulted in the gtk version using the same curros as the mac version. Some of these icons are all black and invisible on a black background, which affects both gtk and osx. Taking a copy of LibreOffice 6-1 where the classic xbms were in use, dump all the xbm cursors and masks as loaded via cairo to png and where the mac cursors were all black take the xbm derived versions instead (if they were of the right size) Change-Id: I8a7a150caff415fa25180c1f2ed4cb8487fcd70c Reviewed-on: https://gerrit.libreoffice.org/83112 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2019-10-07hidpi cursors for macOSNoel Grandin Change-Id: I39bdc93048733627a54c4f7b4b2e7df4f073ef25 Reviewed-on: https://gerrit.libreoffice.org/67424 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2019-04-25tdf#106229 new icon for infobar type success neededandreas kainz Change-Id: I829218d014c13698d075e0fcd3162801d31ba093 Reviewed-on: https://gerrit.libreoffice.org/71265 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com> 2019-03-05tdf#123796 Wrong cursor when inserting shapeNoel Grandin regression from commit c5ac80d90ebcc1c3fad18ece8784ac2b36f52045 make cursor images part of the theme Turns out that I can't put SVG files into a normal theme, only colibre_svg is allowed to contain SVG files, so my idea of having only one set of files is not going to fly. So make a copy of the PNG files into the colibre theme, which is what everything currently falls back to. Change-Id: I5f04226da5c8b3d5db7e9807e845112b76b72f22 Reviewed-on: https://gerrit.libreoffice.org/68695 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2019-02-27make cursor images part of the themeNoel Grandin This first step only affects GTK3, later we will extend the support to other platforms. Note that these images are derived from the OSX PNG files, not the header-file encoded data we currently use for gtk/gtk3. Also rename the files to more useful names. Change-Id: Ia13a3f2ac35b06672aff724f4cf5bdcd823f6342 Reviewed-on: https://gerrit.libreoffice.org/67528 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2018-05-09tdf#117519 Colibre icons for merge cell dialogandreas kainz Change-Id: I4e23962dc4262569e4eff73345c1cb44c590370f Reviewed-on: https://gerrit.libreoffice.org/54040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com> 2018-05-09tdf#117519 Readd accidentally dropped Merge Cells visualsAdolfo Jayme Barrientos Heiko’s visuals for this dialog were added in commit 38f83693f096ae14cd43292223c5b16bbb001b87, but got removed with the mass nuking of Galaxy in commit 60413c9800c27f53c1108015b50754b065bc98c6. Change-Id: I3c546705e7769b2a798411fb93e6b4ca0d805323 2018-04-02Colibre icons: finish vcl galaxy folderandreas kainz Change-Id: Ife7d88d89e48b70418df574c0f204f3bf3a04850 Reviewed-on: https://gerrit.libreoffice.org/52246 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com> 2018-03-18Colibre icons: add vcl iconsandreas kainz Change-Id: I53de7245ef90805c32f116f1e84e698c0f9d5e78 Reviewed-on: https://gerrit.libreoffice.org/51480 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>