1385 Commits

Author SHA1 Message Date
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
Franck Charlet
c1ede1f657 started to bring Mac OS X version up to date
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1751 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-10 18:29:53 +00:00
Adrien Destugues
eae47aa0e8 * Factory : if message is longer than 24 chars, cut it instead of not doing anything
* Fileformats : remove outdated comment in gif loader

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1750 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-07 21:53:39 +00:00
Yves Rizoud
e11d8e030c Fix issue 417: Severe image corruption when scrolling image while some layers are hidden.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1748 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-05 18:17:55 +00:00
Yves Rizoud
504f25f1e1 Fix issue 414: Incomplete loading of some GIF images
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1747 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-05 17:29:28 +00:00
Yves Rizoud
d403d134f3 Palette: updated helpfile
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1746 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-05 16:33:56 +00:00
Yves Rizoud
50aa747510 Palette: Disabled Undo after operations that perform remapping (x-swap, x-inv, sort, reduce) because the undo was incomplete anyway.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1745 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-05 16:28:08 +00:00
Yves Rizoud
cdbc5be351 Fix issue 354: Palette undo unreliable
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1744 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-05 16:16:32 +00:00
Yves Rizoud
55422d160e (mode5 branch) Fix a bug in saving, including autosave every few minutes, that auto-selects the last layer to draw.
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1743 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-02 22:07:24 +00:00
Yves Rizoud
7caab79d21 Issue 425: Spray setting 'Init' is now minimum 1
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1742 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-01 18:10:32 +00:00
Yves Rizoud
9e7b8c7d4a Fixed issue 366: Default cursor of DPaint skin not very visible over white background : Made this cursor have black outline, and replaced the secondary cursor with the white borderless cursor.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1741 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-28 20:04:49 +00:00
Yves Rizoud
4b6263d6fc Fixes grafx2 forgetting the image's directory, since r1710 (issue 421)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1739 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-28 19:42:06 +00:00
Yves Rizoud
65d34dd7e0 Issue 346: Basic support for multi-line text with bitmap fonts: use alt-enter to type carriage returns (like Excel)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1737 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-26 18:44:43 +00:00
Yves Rizoud
cdd7f21265 Fxed and simplified double-click handling in Listboxes (Skins window, Text window, Factory window). Double-clicking a font in Text window 'accepts' the rendering and closes the window.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1736 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-26 17:43:55 +00:00
Yves Rizoud
34cd4d11cd Added Surt to list of bugfinders (issue 423)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1735 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-26 16:15:29 +00:00
Yves Rizoud
9cfefc9662 Fix display bug on menu buttons when comiled with 'unsigned character' (issue 423)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1734 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-26 15:56:45 +00:00
Yves Rizoud
107779edf5 Implemented double-click in Brush factory window. Still need to check/fix all other occurences of the listbox control (need to eliminate unnecessary refresh on double-click, or trigger a specific action instead)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1733 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-23 23:37:34 +00:00
Adrien Destugues
5b332bfa25 * Do not allow script to write more than 24 chars to the statusline
* Clear the statusline when a script is finished running.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1731 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-19 13:59:44 +00:00
Adrien Destugues
f6da992038 * Add scripts from dawnbringer : 3D palette viewer and applycolor (with tint and colorize effects)
* Add the dawnbringer lib 
Some changes were made
 * Remove line and filled circle functions from dawnbringer lib 
 * Add C replacement (slightly faster, and useful enough to be part of core)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1730 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-19 12:40:12 +00:00
Adrien Destugues
c80ec5edbf Fix #418: don't overwrite main file format if saving only the palette.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1729 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-18 10:48:08 +00:00
Yves Rizoud
9058926e4b mode5: Fix shortcut info for format checker/format menu
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1728 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-16 19:36:14 +00:00
Yves Rizoud
7c6e05ef6b mode5: Fix shortcuts of 'cycle colors' and format checker, mixup during merge
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1727 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-16 19:23:54 +00:00
Yves Rizoud
80c37034f9 Fix a remap problem on brush, when modified by Lua script then transformed. Fix Brush remap to maintain transparent pixels. Fix Text tool , respects transparent pixels and preview is always visible (The black PF_ fonts are no longer shown on a black background)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1726 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-16 17:03:45 +00:00
Adrien Destugues
cd8f3e40da * Save CM5 files. There seem to be a problem with "Supports_layers" field. setting it to 1 still triggers the warning that image will be flatenned...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1724 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-15 19:34:36 +00:00
Adrien Destugues
bf9c34d7fe Code for loading "CM5" (CPC Mode 5) pixtures
* Fix a bug in the Set_layer function : it was only possible to set a new layer, and this format needs us to write to previous layers too
 * Saving is missing (you need to save as png then convert back to cm5 using SyX converter)
 * Preview does not work (it does not use layers, so the result is broken)
 * Loading switches the "8bit" mode on automatically

git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1723 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-15 17:48:16 +00:00
Adrien Destugues
72e9892b53 Constraint mode is now switchable on/off in the effect screen.
I did some changes to the effect screen to make some space : instead of displaying an "on/off" label, we now keep the button pressed for active effects. 

There is no "constraint menu" yet, we should allow to select different constraints there (C64, MO5, spectrum, ...) to activate their respective enforcer and plug the right thing to the associated checker.

This should eventually allow drawers to :
 * Load any single-layer picture
 * Select the mode they want to use (without enabling it)
 * Run the checker and get the result as a multilayer (with an error layer)
 * Then, once they feel enough issues are solved, switch to "enforcer" mode for further manual tweaking.

Now we need a checker for CPC Mode5... :)

git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1721 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-14 13:37:35 +00:00
Adrien Destugues
bdf8b6d694 Actually merge everything from trunk, not only the source folder.
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1720 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-14 12:23:49 +00:00
Adrien Destugues
eba26aaa96 Merge trunk to the cpcmode5 branch. This gets us a more recent grafx2 with the cpcmode5 drawing. Now to make this mode optional so users can still work in regular mode :)
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1719 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-13 21:49:31 +00:00
Adrien Destugues
4e60f5ad74 Import the WIP CPC-Mode5 code from the sourcearchive
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1718 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-13 21:20:45 +00:00
Adrien Destugues
b42bd0afad Create branch for CPC Mode 5 drawing
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1717 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-13 21:08:41 +00:00
Yves Rizoud
2378d8cedc Fix remaining issue of gradients / color cycling.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1716 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-09 21:40:15 +00:00
Yves Rizoud
1ead8a3c42 Forgot skins
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1715 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-09 00:58:27 +00:00
Yves Rizoud
1e6c4d22bc Default gradients (or cycles) are now loaded from skins. Initialized all current skins so that range 0 is a white->black range, this way the grad shapes are immediately efficient. Still has a problem when loading an image in command-line.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1714 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-09 00:57:33 +00:00
Yves Rizoud
af857c09c9 Save and load color cycling information (and gradients, anyway) in PNG format (issue 365)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1713 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-08 23:30:13 +00:00
Yves Rizoud
ce3181b230 Fixed compilation warnings: a few missing declarations, and 2 strange casts on WIN32-specific code.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1712 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-07 19:39:45 +00:00
nokturnal
fdb925979e compilation fixes for atari port
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1711 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-07 13:37: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
57a1bda6de Improved text with bitmap fonts : Works great with 'Get brush colors' (F11) to import the exact font colors.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1708 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-05 19:43:51 +00:00
Yves Rizoud
065503ef64 Improved text rendering in Truetype mode (with and without antialias), thanks to the improved brush remapping. Still todo: bitmap fonts, colored and monochrome cases.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1707 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-05 00:07:28 +00:00
Yves Rizoud
5a8972d0f9 Fix an issue with files since the adding of xpm saving
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1706 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-30 19:35:29 +00:00
Yves Rizoud
7150a1ebcd Fix issue of changes in brush by Lua that didn't survive remap (ex: script Halfsmooth)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1705 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-30 15:52:56 +00:00
Yves Rizoud
4d3431afd4 Fix lasso, broken in last commit
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1704 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-30 14:42:33 +00:00
Yves Rizoud
1b0141367e Import colors from brush now works (F11)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1703 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-30 00:59:52 +00:00
Yves Rizoud
abadd59b12 Brush container saves and restores the right palette
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1702 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-30 00:17:47 +00:00
Yves Rizoud
5d2dd927e4 Much work on color brushes (issue 362). You can rotate, resize, flip etc. without losing original palette.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1701 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-30 00:03:38 +00:00