Adrien Destugues
61c8dca353
Add a port to the GCW Zero, contributed by David Knight.
...
Untested since I don't have the hardware.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2080 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-10 20:13:57 +00:00
Yves Rizoud
1248100ae9
Integrate path fix from Android port (tnanks a lot Pelya)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2071 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2014-03-30 17:31:05 +00:00
Yves Rizoud
dc960c2f4e
Fixed fileselector on linux, displayed always hidden directories but never 'parent dir'
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2006 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-22 17:58:23 +00:00
Yves Rizoud
01690f7df1
Fix compilation error on Linux, introduced by r1994 (issue 506)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2004 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-22 17:13:48 +00:00
Yves Rizoud
95b537e5f0
Fix issue 506: Missing 'parent directory' in fileselector
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1994 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-17 21:11:44 +00:00
Yves Rizoud
a630a84822
Removed all usage of __attribute__((unused)), replaced by void cast which is supported both on GCC and VBCC
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1984 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-11 16:19:07 +00:00
mazzearos
8621253165
Oops, forgot to revert some test code with my previous commit ( #1979 ).
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1980 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-05 08:58:26 +00:00
mazzearos
d28a1df60b
Renamed Find_last_slash() to Find_last_separator() to make purpose more clear.
...
Append_path():
- when adding sub directories: don't add a "/" when last separator is a ":".
- when climbing upwards: don't remove the ":" it it's the last separator.
Those fixes help the file selector for scripts on AROS.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1979 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-05 08:51:16 +00:00
mazzearos
ce8fbe076d
Started to add Lua support to AROS.
...
src/Makefile: link with lua. Note that I'm currently using an absolute path to include/lua
which only exits on my machine until AROS has support for pkg-config.
src/setup.h: added valid path to lua scripts.
src/io.c: take colon into account when checking for last separator.
src/factory.c: use luaL_newstate() instead of lua_open() because latter doesn't exist anymore in Lua-5.2.
Note: that fix should be valid for all platforms.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1977 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-03 19:10:44 +00:00
mazzearos
12501833df
Two more fixes for AROS to avoid paths like volume:/file.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1975 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-02 18:26:04 +00:00
mazzearos
ce2d12a0a8
AROS: check for ':' to avoid paths like PROGDIR:/filename.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1971 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-02 10:56:08 +00:00
Yves Rizoud
d8bb1e1d55
Fix some mostly harmless warnings and re-generated dependencies. Now compiles with zero warnings on Linux (gcc 4.1.2)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1945 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-05-03 21:32:59 +00:00
Yves Rizoud
f34417919f
Lua: now remembers which directory you last browsed when you quit. Fixed an issue where gfx2.ini isn't saved if there's a file gfx2.$$$ in same directory (Like after a crash)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1763 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-03 14:43:16 +00:00
Yves Rizoud
04761c79c4
Unbroke the file selector (was listing only hidden files instead of non-hidden). Lua: can browse the whole filesystem now
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1761 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-02 17:43:16 +00:00
Yves Rizoud
9f8dada2b0
Lua window: Fix inconsistency of 'parent directory' appearance. Now applies the 'show hidden files/dirs' settings too.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1760 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-23 20:13:12 +00:00
Yves Rizoud
d0aaabf6b2
Merge of r1709 into trunk: Atari Falcon port
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1710 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-06 19:30:55 +00:00
Yves Rizoud
f24d4a55bd
Lua script selector: can now browse directories. Todo: handle double-click.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1668 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-12-22 02:21:26 +00:00
masta.uy
0bfc627094
Some minor changes to make it compile on AROS.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1649 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-11-13 20:05:12 +00:00
Adrien Destugues
f36f4c9ddb
Some fixes to make the amiga build work better. I finally installed gcc on my amiga, so there is a
...
hope of getting a working build.
Everything compiles but fails when linking, because I've not figured out how to install SDL.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1464 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-24 21:38:39 +00:00
Yves Rizoud
3ca5322379
Reorganized source code and directory tree.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1375 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-05 02:53:19 +00:00