- Do not use svnversion to find the version, instead use a revision
count from git. As a result, the version number jumps back, however,
so we should have a 2.5 release soon!
- Fix some URLs pointing to either the svn repo,
or even to google code (!).
Patch by miniupnp, with some C89 adjustments.
Enabled for Haiku and the generic Linux/*BSD part of the Makefile.
Please adjust as needed.
Fixes#10 for codepages for which we have a font.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2172 416bcca6-2ee7-4201-b75f-2eb2f807beb1
* 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
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
src/text.c: Added path for truetype fonts.
src/Makefile: Create GrafX2 binary in the root directory. This allows
running without any prior installation.
src/readline.c: Added ':' to the forbidden charactersS.
src/const.h: Use '/' as indicator for parent directory.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1972 416bcca6-2ee7-4201-b75f-2eb2f807beb1
Since the factory can open in an empty or even non-existing (!) dir, this is helpful to locate where you are.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1962 416bcca6-2ee7-4201-b75f-2eb2f807beb1
mixing them in the same binary result in linker error, build them in separate dirs.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1961 416bcca6-2ee7-4201-b75f-2eb2f807beb1
* Switch to Mac OS X Lion (doesn't xhange much, if someone still wants to do a build on Tiger for PPC support it's easy)
* Cleanup things that got messed up by the $(shell) changes
* Add some comments that can be uncommented when building with MacPorts, instead of the more official OSX frameworks. This seems easier to setup, but does not provide portable binaries (the SDL framework can't be embedded in the app).
Many thanks to Rikard Lang for giving access to an OSX computer so I could debug stuff!
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1892 416bcca6-2ee7-4201-b75f-2eb2f807beb1
There is room for optimization and maybe bugfixing.
The cluster table size is now:
511*15 = 7665bytes, this is 1094 times better than the color table.
Please test and report your results !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1874 416bcca6-2ee7-4201-b75f-2eb2f807beb1
Note this alsoincludes the "oldies" branch.
This has the following consequences :
[C64]
* Loading and saving of screen-only, and color-only C64 picture is removed
* Loading and saving in FLI mode is now possible
* FLI constraint checker : tries to convert your image to FLI format, and put all the areas where it couldn't find a solution in a separate layer for you to fixup
* This is currently accessible only with a shortcut. Menu will come next.
[Amstrad CPC]
* Loading and saving of pictures in "Mode 5" is now possible. This custom format allows overscan mode 1 with rasters on 2 inks and split rasters on a 3rd one.
* Mode 5 constraint enforcer : will ensure you can only draw pictures that are valid in mode 5. Each ink is seen as a layer.
* This is accessible from a new button in the FX menu.
[Generic]
* Added patch as I saw it : platform that don't support reporting "free space" on disk will not display anything (instead of "0 bytesÃ" as before)
* For other platforms, when the free space is 0, we now have a disk full message.
The merge was not straight forward. I hope I didn't break too much things.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1810 416bcca6-2ee7-4201-b75f-2eb2f807beb1
Consequences :
* This is a GNU Make extension, so it may not work with BSD Make and others
* However, backticks relied on an sh shell, which may not be the case everywhere (AmigaOS comes to mind)
Why did I do that : $(shell) is evaluated at variable assignment, not each time a command with the variable is executed. This is cleaner and should get the build
running a little faster.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1806 416bcca6-2ee7-4201-b75f-2eb2f807beb1
Bugfix there was no Atari_Memory_free() declaration when __MINT_ define was declared.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1799 416bcca6-2ee7-4201-b75f-2eb2f807beb1