Adrien Destugues
d34c3d9df5
Clipboard paste support for Haiku.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1828 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-25 11:48:37 +00:00
Adrien Destugues
afa22ae0ac
Experimental "paste" support for text fields.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1827 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-25 08:45:48 +00:00
Adrien Destugues
4dc40e7784
Add lua getfilename function (that also returns the path).
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1826 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-24 13:38:54 +00:00
Adrien Destugues
1d510d40bc
Remove unused vars. I think there are others since the IO_Context introduction ?
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1825 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-24 13:29:42 +00:00
Adrien Destugues
a8f03cfb20
fix issue #435 : resizing not precise enough on small pictures/brushes.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1824 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-24 13:15:25 +00:00
nokturnal
66ff11b4f2
added extra step for Atari MiNT/TOS target (cross and native builds). Explicit program flags and stack setting.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1822 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-08-03 16:16:05 +00:00
Yves Rizoud
8ba389e06b
Lua: matchcolor2() now takes an optional argument that is the weight of lightness in color proximity algorithm (instead of the 0.25 default).
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1821 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-07-18 23:08:33 +00:00
Yves Rizoud
f2316f12e2
Lua: statusmessage() now clears remainder of line
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1820 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-07-16 19:15:08 +00:00
Yves Rizoud
51ddfe4f86
Fix build on Windows ( $shell in makefile). Lua: waitinput now additionally returns mouse position in image coordinates
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1819 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-07-16 18:57:55 +00:00
Adrien Destugues
6672966661
* Avoid crash when enabling mode 5 without enough layers (they are created)
...
* Display error code to terminal when loading an image fails. Mainly for debugging purposes.
* Use different error codes for different errors in ILBM loader.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1818 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-07-12 19:31:48 +00:00
Adrien Destugues
e875597964
Merge the "CPC Mode 5" branch to trunk.
...
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
2011-06-19 20:15:22 +00:00
Adrien Destugues
706049a2d9
Merge all changes from trunk in CPCMode5 branch.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1809 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-19 18:30:53 +00:00
Adrien Destugues
2d95dac3b0
Add a warning if the native fileselector isn't available.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1807 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-18 16:08:40 +00:00
Adrien Destugues
f53734636d
Use $(shell ...) instead of ... for calling the shell in variable configuration.
...
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
2011-06-18 16:00:26 +00:00
Adrien Destugues
a28b5f6172
* Get the available memory for Haiku/BeOS
...
* Refactor the code a bit so the warning for missing code will be there for all the people that don't provide code.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1805 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-18 15:49:44 +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
nokturnal
7184fb857f
bugfix in Add_element_to_list(), there were changes in function interface, but they were not applied in function call, so this resulted in program hang when calling fileselector.
...
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
2011-06-15 19:29:11 +00:00
Yves Rizoud
bf28d19f20
Lua: Fixed drawdisk which was drawing a square instead of a circle (doh!). Radius can now be a multiple of 0.5 to draw circles of even sizes (r=0 -> 1x1, r=0.5 -> 2x2, r=1 -> 3x3 etc.)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1798 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-14 21:52:20 +00:00
Yves Rizoud
2f3e1e3294
Lua: added 'matchcolor2' that uses DawnBringer's perceptual formula. Updated scripts numbering to 2.4
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1797 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-12 19:03:14 +00:00
Yves Rizoud
17ce3a602b
Merge r1791 (Updated credits) from release (2.3) to trunk (2.4wip)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1796 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-12 18:24:24 +00:00
Yves Rizoud
1af5ee33f1
Merge r1787 (Fix loading of BMPs with negative heights) from release (2.3) to trunk (2.4wip)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1795 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-12 18:07:08 +00:00
Yves Rizoud
8cc20115d5
Fix systematic crash of 2.4wip.1790 when loading 24bit images.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1794 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-12 17:56:20 +00:00
Yves Rizoud
8cf7e1096f
Fix performance bug in previous commit (pre-scale was also performed when entering other tools than 'brush rotate')
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1790 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-04 15:25:06 +00:00
Yves Rizoud
2d8c061e32
Improved brush rotation by adding 3 steps of scale2x. Result is not as good as I hoped, but for large flat surfaces, the edges are indeed much smoother than before.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1789 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-04 15:22:13 +00:00
Franck Charlet
1da0c96db8
fixed makefile for OSX regarding scripts
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1788 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-05-23 22:36:39 +00:00
Yves Rizoud
1f10338f60
Merged trunk into branches/mode5 (=update mode5 branch to latest)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1785 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-25 15:17:18 +00:00
Yves Rizoud
37d30ae114
Fix issue 428: Mouse cursor deadzones in fullscreen mode; also non-functional mouse in fullscreen if mouse speed (in options) was any other value than 'normal'. Mouse speed removed, it's impossible to make it work AND have working tablets -> Issue 317 re-opened. Added 2 missing bugfinders in credits
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1781 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-18 21:56:11 +00:00
Yves Rizoud
63dcf9cc25
Performance improvement for slow graphic systems: avoid lag on X11 (Issue 405,269)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1780 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-16 18:24:24 +00:00
Yves Rizoud
02ecd8d29d
Fix issue 432: Options/Input: Missing graphic update after changing a numeric value
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1778 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-14 19:43:16 +00:00
Yves Rizoud
c56b3ac35a
Added Ravey1138 to bugfinders list (Help/Credits)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1776 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-13 22:13:14 +00:00
Yves Rizoud
c266b38e05
Fix part of issue 433: Safety colors (after image load) are now only added when not already present in palette, and in reverse order so that in the very common case of 0=black, the white is added in slot 255 (Now it's more consistent with 'backspace' in palette which forcibly adds these colors in unused slots at the end)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1775 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-13 21:40:47 +00:00
Yves Rizoud
80e0b17be8
Fix issue 430: warning 'Implicit declaration of function Remove_duplicate_shortcuts'. Fix another warning for unused parameter. Now 0 warnings on mingw32-gcc 4.4.1
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1774 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-10 14:35:29 +00:00
Yves Rizoud
b411f01b4c
Remove 'wip' tag, uploaded NSIS installer script, updated readme
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1771 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-07 20:50:38 +00:00
Yves Rizoud
c9d96e6087
Removed skins Clax2 Clax3 from makefile, and thus default 2.3 package
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1770 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-04 22:35:30 +00:00
Yves Rizoud
860648b190
Multi-shorcuts option now works. Default OFF, it will avoid situations where user mistakenly sets the same key for multiple actions.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1769 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-04 22:30:02 +00:00
Yves Rizoud
1d24885ddc
Beginning of setting to disable multi-shortcuts: settable in options, saved and reloaded, no effect so far.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1768 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-04 19:34:15 +00:00
Yves Rizoud
65b3c4290a
Fix critical bug: Grafx2 failing to load when no old config file is present (because of attempt to flash red screen, now has interactive mouse feedback, doesn't work before grafx2 is started). Fixed make install/make uninstall, tested on MSYS's shell for the moment
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1767 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-03 18:32:27 +00:00
Yves Rizoud
7571dcf3e2
Changed makefile according to scripts reorganization. make ziprelease works, still need to check install/uninstall
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1766 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-03 17:02:34 +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
e10fe19ae6
Lua: Fixed keyboard shortcuts to accomodate with full path names now used. Users who had shortcuts should clear them, from the list of shortcuts in Help screen.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1762 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-02 18:45:07 +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
Franck Charlet
92b76f2126
svn files excluded from archivbe OSX building
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1759 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-16 22:08:40 +00:00
Franck Charlet
14e891f3e6
using cut instead of tr to extract svn revision to generate archive name
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1758 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-16 21:58:04 +00:00
Franck Charlet
c16d9dab4c
added automatic archive generation on OSX
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1757 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-16 21:13:54 +00:00
Yves Rizoud
64e39cda85
Lua: fix crash of the new drawing primitives (drawcircle, drawdisk, drawfilledrect, drawline) when outside view area
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1756 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-13 00:52:51 +00:00
Franck Charlet
48c11e15a6
fixed a typo in makefile
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1755 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-11 23:03:23 +00:00
Franck Charlet
ec6fa4eab0
Added support for LUA in Mac OS X version
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1754 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-11 22:54:11 +00:00
Franck Charlet
a5fc3d9fec
new OSX version should be ready
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1753 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-10 23:38:38 +00:00
Franck Charlet
431484914e
more work done on Mac OSX version
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1752 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-10 22:16:42 +00:00