Commit Graph

10 Commits

Author SHA1 Message Date
Tor Lillqvist
2b5b04e1e6 Include <osl/diagnose.h>
Change-Id: I67cb459b1e9ab5638a5b405430d3e0a42fc6bfc3
2014-11-20 17:40:01 +02:00
Alexander Wilms
6660b9d2c5 Remove visual noise from bridges
Change-Id: I53fa23d335ff62795f09f9838d4064cea71aeb65
Reviewed-on: https://gerrit.libreoffice.org/8237
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-01 05:21:45 -06:00
Tor Lillqvist
72bbd83c03 Intermediate work in progress commit on the arm64 C++/UNO bridge
Note that the arm64 code is not even close to "working" yet.

Change-Id: I261d09f7e797cded26396ed0d4b8b3021f712ebf
2013-12-08 14:16:16 +02:00
Tor Lillqvist
d52bfc915f Add some more comments
Change-Id: I267cb424deee4d329a0860cf9c87f295fb8fc5bf
2013-11-12 00:01:14 +02:00
Tor Lillqvist
e036d4b706 Spell "indices" correctly
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
2013-10-02 21:57:42 +03:00
Tor Lillqvist
dba1bb24cc Add dummy arm64 code to just get it to compile for now
Change-Id: I9898c0757a2dd495c73bd4b485dd8489f4a2b08e
2013-10-02 10:00:22 +03:00
Thomas Arnhold
39d45390f4 removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms

Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 10:48:30 +00:00
Thomas Arnhold
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:

s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms

Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 09:00:26 +00:00
Tor Lillqvist
0ff470cff6 iOS C++/UNO bridge fixes
As the inline asm statement stores parameters into r0-r3 we need to
include those registers in the clobber list. Clang happened to store
pMethod in r2 as input to the asm snippet.

iOS uses the basic calling convention, but __ARM_EABI__ is not defined
so amend some ifdefs.

Change-Id: If3d66c5f3baa4dfa13f82a2b5c2ef1ab559ce31b
2013-01-19 23:58:41 +02:00
Tor Lillqvist
a477138dfa Work on the iOS C++/UNO bridge
Split uno2cpp.cxx and cpp2uno.cxx into separate files for the emulator
(i386) and device (ARM). Much cleaner like that.

Try harder to get the ARM stuff to actually work.

Add the rtti.h and unwind-cxx.h files from libcppabi as such instead
of cherry-picking stuff from them.

Change-Id: Ia238a9ce048116ad796dfb168fd4e5d3b9712ad5
2013-01-19 23:58:40 +02:00