1555 Commits

Author SHA1 Message Date
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
8596bc365f Updated manpage source
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1777 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-14 17:36:54 +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
27e8d15971 Reorganized scripts, fixed 'memory' not working with subdirectories
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1765 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-03 16:45:10 +00:00
Yves Rizoud
0129bb3590 missing file
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1764 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-03 14:43:47 +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
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