27 Commits

Author SHA1 Message Date
Thomas Bernard
e7bb7c8684
Enable "Set Rel" for directory bookmarks only with portable installation
add a global variable to store if we are in a portable installation
2019-02-10 11:04:13 +01:00
Thomas Bernard
92facef46d Convert comments to UTF-8
most were encoded in Latin1 / CP1252
but a few lines in op_c.c were using IBM437/850 !
2018-06-26 11:37:19 +02:00
Thomas Bernard
d4746ea72e
Fix MacOS file case in include
<corefoundation/corefoundation.h>
should be
<CoreFoundation/CoreFoundation.h>

Many MacOS FS are case insensitives, but not all, so we must use
the correct case.

Issue detected by the MacPorts buildbot : https://trac.macports.org/ticket/56490
2018-05-15 15:33:15 +02:00
Thomas Bernard
91e6796b92 Set_program_directory(): check return value of readlink() 2018-03-20 21:58:22 +01:00
Thomas Bernard
06f49685a8 do not use _mkdir() but plain Win32 CreateDirectoryA() 2018-03-19 16:49:40 +01:00
Thomas Bernard
42a08d0f23 remove some warning when compiling with MinGW32 2018-03-19 16:49:37 +01:00
Thomas Bernard
6f48d7fefe Add MSVC 2010 project file and a make the project compile 2018-02-20 15:45:45 +01:00
Thomas Bernard
031f87ad2c remove "warning: ISO C90 forbids mixed declarations and code" 2017-08-08 18:09:42 +02:00
Adrien Destugues
f80bb320bc Use ~/.config/grafx2 when the XDG_CONFIG_HOME is not set
Follow the freedesktop spec.

Thanks to skrzyp for noting this important detail.
2017-05-08 09:43:47 +02:00
Adrien Destugues
317dc5c667 Move settins to XDG_CONFIG_HOME 2017-05-08 09:32:25 +02:00
Adrien Destugues
9c6f343215 Patch by Thomas Bernard to fix compilation on FreeBSD.
Thanks!

Fixes #50.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2173 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2017-01-03 18:25:35 +00:00
Adrien Destugues
702f1835da Support loading PPH files (Amstrad CPC).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2162 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2016-07-19 20:28:43 +00:00
Adrien Destugues
34ec1d967a Haiu: add missing / at end of data path.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2127 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-08-16 12:33:01 +00:00
Adrien Destugues
f2797f6648 Fix more things for Haiku port
* Add an icon in the native format
* Add "resource definition" to the executable (including icon and version info)
* Use the proper API to find the share directory.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2126 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-08-16 12:27:21 +00:00
Adrien Destugues
6a225eb4ed Fix Haiku build.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2087 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-23 19:33:41 +00:00
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
Adrien Destugues
e19026860d Update the URLs in several place to stop pointing to googlecode.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2069 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2014-01-13 12:36:22 +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
113d6423b4 src/init.c: bail out if skin_name or font_name is "".
Fixes a crash on AROS

src/filesel.c: fixed BSTR conversion routine for AROS.
Without this fix "RAM DISK" was printed as "AM DISK" in
the file selector.

src/setup.c: removed slash to avoid that paths like
"PROGDIR:/share" are created on AROS. That fix should be right
for all Amiga like OS but I don't want to change things
which I can't test.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1970 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-02 09:19:07 +00:00
nokturnal
78e1745ef1 replaced hardcoded lua script and libs paths with defines, Atari build stack adjustments (reduced it's size to 8k)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1800 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-15 22:40:43 +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
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
Yves Rizoud
bd13dd93b1 Integrated the changes by PheeL for Caanoo support
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1629 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-09-29 22:21:25 +00:00
Adrien Destugues
2fb79034ac Build fix for gp2x
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1388 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-17 20:39:59 +00:00
Yves Rizoud
54317d94ae Fix issue 326: Program doesn't find data directory on some linux (attempt. Tested ok on Debian)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1380 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-11 20:40:25 +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