Commit graph

36 commits

Author SHA1 Message Date
Daniel Kochmański
46693c9b31 android/example: add .gitignore 2015-10-28 19:59:24 +01:00
Daniel Kochmański
458b52e70d android/example: simplify example even further
Remove the menu. Adjust AndroidManifest.xml
2015-10-28 18:40:05 +01:00
Daniel Kochmański
546b06b7b1 android/example: adjust README a bit 2015-10-28 18:28:14 +01:00
Daniel Kochmański
fd7547aaa6 android/example: simplify the example
This is just a "Hello world" example. Simplify it and improve the
readme. More feature full application may be found at:

https://gitlab.common-lisp.net/ecl/ecl-android
2015-10-28 17:24:55 +01:00
Daniel Kochmański
4ee8e62135 android/example: cosmetic: indent / untabify 2015-10-26 11:13:48 +01:00
Daniel Kochmański
5e2edcae92 android/example: don't add *.a to assets
This files shouldn't be copied. They are big, duplicate binaries in fas
files and are no use without the gcc compiler on the target system.

Also clean assets directory on the clean target and use a symblink
`ecl-libdir' to access the libraries directory.
2015-10-26 10:13:28 +01:00
Daniel Kochmański
8af6929bc8 android/example: add short name for the launcher 2015-10-26 10:13:08 +01:00
Daniel Kochmański
a61a0cb0a3 android/example: minor tweaks with the build
Add some menu stubs, icon, change application name, remove generated
file, some indentation fix.
2015-10-25 22:57:25 +01:00
Daniel Kochmański
5ccf29f697 android/example: add the build.xml file
`-post-compile' target is customized to copy necessary files to the assets
directory from the installed ecl-android/ directory.
2015-10-25 21:22:05 +01:00
Daniel Kochmański
ade07de762 android/example: adjust sdk versions
Set minimal API to 2 and the target API to 23. It covers virtually all
devices present on the market.
2015-10-24 09:29:17 +02:00
Daniel Kochmański
66f79450bc android/example: cosmetic ecl_boot tweaks
Unify comment style, change some LOGI messages and wrap the long lines.
2015-10-23 18:18:58 +02:00
Daniel Kochmański
899a88a727 android/example: clean up the init scripts
Move the ASDF cache initialization below it's inclusion and don't be so
noisy with swank.

Also add the function sysinit which downloads and installs the Quicklisp
and replaces it's interpreted gunzip with our precompiled deflate.
2015-10-23 18:18:58 +02:00
Daniel Kochmański
35a6e91488 android/example: use ecl shared library
Don't statically link with the ECL. Use libecl.so instead. Thanks to
that we don't have to link explicitly with each module we want to use
and the whole process is simpler.
2015-10-23 18:18:58 +02:00
Daniel Kochmański
221c58b51b cosmetic: remove unndecessary message 2015-10-23 18:18:58 +02:00
Daniel Kochmański
b8edd5cda8 android: arrange resources directory
Separate different directories for the resources.
 #P"SYS:" -> #P"lisp/lib" - ECLDIR with the modules
 $HOME -> lisp/home       - user provided files, quicklisp, 3rd party contribs
           lisp/etc       - init scripts and the configuration
2015-10-23 18:17:09 +02:00
Daniel Kochmański
2e86acd398 mobile: fix initializing the required modules 2015-10-23 18:16:50 +02:00
Daniel Kochmański
7280f14f55 mobile: fix compilation of android app from examples/
Don't use C99 specific syntax for `for' loop and use functions
lib_init_* instead of main_lib_init_* which aren't exported.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-10-23 18:16:50 +02:00
Evrim Ulu
641a12b4e1 mobile: add sample android application (HelloECL)
Developed by Sylvain Agenau, added to the repository by Evrim Ulu with
a few minor fixes by Daniel Kochmański.
2015-10-23 18:16:38 +02:00
Daniel Kochmański
b57a4fff71 examples: fix bogus :move-here argument
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-10-02 13:02:00 +02:00
Zack Piper
00521d869a Untabify everything. 2015-09-01 20:10:10 +00:00
Juan Jose Garcia Ripoll
83e8057bd1 An example on how to embed ECL using C compilers and ASDF. 2013-05-28 23:07:05 +02:00
Juan Jose Garcia Ripoll
ac26a9db1f File example.asd had disappeared from examples/asdf/ 2011-07-31 13:05:47 +02:00
Juan Jose Garcia Ripoll
aa12f9de8c Changed the behavior of the :stop option in process-command-args and added a new global variable, ext:*unprocessed-ecl-command-args*, that groups all arguments after -- 2011-01-30 15:59:03 +01:00
Juan Jose Garcia Ripoll
9d43a9e9db Update ASDF example (David Leoni) 2010-03-19 23:30:58 +01:00
jgarcia
bd79bd29bb We have to include the garbage collector headers. 2007-12-30 20:51:01 +00:00
jgarcia
161e5a0fe8 Split system definition as separate file (needed by ASDF) and added an exit statement to the standalone program 2006-10-25 15:27:17 +00:00
jgarcia
3e31b7bbfb New example for using CFFI 2006-10-25 10:23:31 +00:00
jgarcia
d87dce61ec New tiny example of FFI 2006-10-23 17:14:21 +00:00
jgarcia
b34b26b6bf ECL now uses dlopen() in OS X so that shared libraries can be loaded. 2006-10-23 16:12:55 +00:00
jgarcia
c9a52b91f4 New example for UFFI 2006-10-23 15:33:02 +00:00
jgarcia
54f460ceaf Slight changes in the command line interface, plus an example on how to use it. 2006-10-22 16:21:53 +00:00
jgarcia
809d07ecfc New examples on how to build executable files and compound FASL files 2006-04-18 22:04:18 +00:00
jjgarcia
a85a00784c New example about building FASL files and standalone executables 2005-11-16 10:06:57 +00:00
goffioul
45a368cb4d Update Makefile for MSVC. 2005-10-28 14:57:31 +00:00
goffioul
157d4c9aba Make the example work with MSVC. 2005-10-28 14:29:46 +00:00
jjgarcia
796fd350bc New example on how to import threads to ECL. It's fragile, but hopefully we will add better examples in a near future 2005-10-27 18:12:38 +00:00