Commit graph

17 commits

Author SHA1 Message Date
Michael Stahl
23dd856d3c Merge branch 'feature/gbuild_extensions'
Conflicts:
	extensions/source/ole/servreg.cxx
	extensions/source/plugin/util/makefile.mk
	postprocess/packcomponents/makefile.mk
	postprocess/prj/build.lst
	tail_build/prj/build.lst
2012-01-06 21:09:13 +01:00
Tor Lillqvist
d49cdfddf8 Need the basebmp library 2012-01-05 17:53:01 +02:00
Peter Foley
fd66491759 Merge remote-tracking branch 'origin/master' into feature/gbuild_extensions
Conflicts:
	Module_tail_build.mk
	Repository.mk
	extensions/util/makefile.pmk
	postprocess/prj/build.lst
	svx/AllLangResTarget_svx.mk
2011-12-24 09:44:24 -05:00
Tor Lillqvist
6aac868d65 Add comment about how to use the lo-strace "extra" (option) 2011-12-22 15:45:33 +02:00
Tor Lillqvist
eae42329c2 Add a couple of missing files 2011-12-21 00:45:59 +02:00
Tor Lillqvist
0f65dbcf9a More shlibs and .component files needed 2011-12-19 01:28:01 +02:00
Tor Lillqvist
a2401b6c75 This is for Calc unit tests 2011-12-19 01:28:00 +02:00
Miklos Vajna
75b85b12fb android: delete generated lo-bootstrap.jar 2011-12-18 22:40:36 +01:00
Tor Lillqvist
fb6180ddde Add uninstall target 2011-12-15 16:46:17 +02:00
Tor Lillqvist
537beec7f9 ndk-gdb needs gdbserver and gdb.setup 2011-12-15 16:46:16 +02:00
Tor Lillqvist
0b1cff0dbd ucalc needs lots more libraries 2011-12-15 16:46:15 +02:00
Tor Lillqvist
535e37abdb Add an app for the sc_ucalc unit test 2011-12-15 01:03:18 +02:00
Tor Lillqvist
079de829c8 Add separate cppunittester app project that uses the Bootstrap library 2011-12-14 18:04:50 +02:00
Tor Lillqvist
e730da8be7 Turn Bootstrap into a "library" project from Ant's point of view 2011-12-14 18:04:50 +02:00
Tor Lillqvist
00373d2097 Move .gitignore one level up 2011-12-12 22:15:01 +02:00
Tor Lillqvist
5510127e89 Android code refactorig and hacking
Sorry for the large unstructured commit. But hey, the Android code is
experimental so far.

Extract the native lo-bootstrap code into a fairly normal library
built in sal. (Previously it was the JNI part of the "Bootstrap" app.)
Just linkink normally to liblo-bootstrap from C++ code that uses it
works fine, no need to do a dlsym lookup.

Bootstrap is still a subclass of NativeActivity and can thus still be
used as an "app" (to start unit tests, or whatever), but can also be
used from some other app's Java code to just get access to the
lo-bootstrap native methods.

Introduce a new top-level "module", android, for Bootstrap and the
experiments with DocumentLoader.

Note that the experimental DocumentLoader app still crashes. It can't
create the com.sun.star.frame.Desktop instance.

I spent lots of time debugging in the painfully inadequate
ndk-gdb. (Even the newer gdb build from the "mingw-and-ndk" project is
quite crappy in many ways.) I should really experiment with
corresponding code on a normal platform first before even trying on
Android. Basically, I think that if I just can get the concept of Java
code that instantiates and uses LO components *in-process* working on
a normal desktop platform, it should work on Android, too.
2011-11-30 21:52:52 +02:00
Tor Lillqvist
3ad35cbadb Android hacking
Start of an app to just load some document. Uses API from the
org.libreoffice.android.Bootstrap class.

Not sure what is the sanest way to build an app like this. It needs a
bunch of shared libraries of course to be copied into libs/armeabi-v7a
so that they get included in the .apk. Perhaps a Makefile similar to
the one for lo-bootstrap might be good?

But for debugging the Java code Eclipse is the way to go (?), and to
be able to do that Eclipse wants a "project". So should this then be
built only through Eclipse? Can one build Eclipse projects from the
command line?
2011-11-29 01:37:04 +02:00