667 Commits

Author SHA1 Message Date
Adrien Destugues
2fa494f77e Removed postal address of the FSF since it's moving faster thant the website :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@779 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-05 18:19:37 +00:00
Adrien Destugues
f01c210211 Fixed make uninstall for the .xpm and menu file.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@778 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-05 16:54:56 +00:00
Adrien Destugues
8eaf299c08 Added files from debian distro.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@777 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-05 11:41:27 +00:00
Adrien Destugues
38657c54b8 Sort color by lightness if you use right click on the sort button.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@776 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-04 21:01:15 +00:00
Adrien Destugues
69393e2513 Added buttons x2 and /2 to select usual color scales easily. Also allows "2" as RGB scale. Just because we can :) (the menu color selector seems to have trouble with that, however)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@775 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-04 20:51:33 +00:00
Adrien Destugues
7909ce7304 Made RGB scaler a bit larger in palette secondary screen.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@774 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-04 20:24:13 +00:00
Adrien Destugues
3035788398 Fixed some splint warnings. Basically, ensure vars are positive when you use >> and << for divide and multiply by 2 :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@773 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-04 19:43:21 +00:00
Adrien Destugues
e5fc3a9ef3 AmigaOS 68k build fixes by Artur Jarosik. Thanks!
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@770 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-03 17:45:10 +00:00
Adrien Destugues
6f37000cd5 Preview in text window is now drawn with the back color, so you can see the antialiasing correctly.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@769 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-03 14:09:12 +00:00
Adrien Destugues
4e387fdbfc -Translation typo: need_to_remp > need_to_remap
-Allow sorting only a range of colors in the palette
-Reverted Lightness sorting order so white is first. This is what's used in the default palette.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@768 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-03 13:59:40 +00:00
Adrien Destugues
780bf3a751 -Fixes issue 152 (color picker cursor)
-Switches FreeBSD to cumulated update method, they shouldn't need macosX tricks for that they are using X11 :)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@767 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-03 13:02:25 +00:00
Yves Rizoud
a216785b59 Add help for "Picture transform" menu
Fix help for Y-flip
GUI skins: Add some characters in help fonts.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@766 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-02 19:04:34 +00:00
Yves Rizoud
cfb323cdf0 (source code) Fixed mistranslation of Select_button / Unselect_button
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@765 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-02 18:27:05 +00:00
Yves Rizoud
358b0ea076 Fix compilation error (gcc 4.3.3 doesn't seem to like inline, or maybe it should be static inline)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@764 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-02 17:57:40 +00:00
Yves Rizoud
e5f948076b New: Picture effects screen, resizes / mirrors / rotates image (Issue 73)
New: Distort brush (Issue 34)
New: Pixel scaler "Triple" for 3x3 zoom (Issue 147)
New: Pixel scaler "Quadruple" for 4x4 zoom (Issue 151)
New: Pixel scaler "Wide2" for 4x2 zoom (Issue 148)
New: Pixel scaler "Tall2" for 2x4 zoom (Issue 149)
Fix of very old bug: Resizing the image didn't mark the image 'modified since last save'

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@763 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-02 16:44:06 +00:00
Yves Rizoud
c1a1d88592 Fixed "empy" / "empty" typo in some functions declarations in graph.h to match their fix of r761. (gcc 3.8 was now warning of the lack of advance declarations).
Compiles to same executable as r761, no need to re-package the latest OSX version.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@762 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-30 19:24:28 +00:00
Franck Charlet
c4ca933dfe - Fixed a bug in the credits (and cleaned'em up a bit).
- Fixed a bug in the draw gradient ellipse that caused the cursor to remain on screen after the drawing operation.
- Fixed "empy" / "empty" typo in some functions names.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@761 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-30 13:28:25 +00:00
Adrien Destugues
33b28c76df Sorry hhickr :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@760 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-29 19:14:35 +00:00
Adrien Destugues
506ea20d36 Sparc CPU does not like accessing non-aligned things. Depack some structures so the program don't crash. We should probably fix every struct, but I'm too lazy to check all of them right now (could corrupt saving and/or loading).
Added Gürkan Sengün to the bugfinders as he found the problem. Thanks !


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@759 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-29 17:28:44 +00:00
Yves Rizoud
1eeed5aca4 Added some missed translations in source code.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@755 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-21 17:48:26 +00:00
Adrien Destugues
284eda4ffe Build fix for BeOS/Haiku gcc2
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@754 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-20 19:18:26 +00:00
Yves Rizoud
c09f5819c2 Doxygen documentation for text.h, SFont.h, setup.h, realpath.h, readline.h, palette.h, keyboard.h, io.h, input.h, hotkeys.h, helpfile.h, errors.h; and a basic description for all other headers.
Removed 2 unused function prototypes (They escaped translation)
In each C file, added a #include of its own header, to help doxygen generate a more complete documentation for the C files (and also double-check function prototypes)

All these changes don't change the generated executable, it's still beta 99.0.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@752 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-18 19:58:19 +00:00
Yves Rizoud
563b935615 Doxygen documentation for struct.h
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@751 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-18 15:04:31 +00:00
Yves Rizoud
0495eed913 Doxygen documentation of global.h and const.h (in English)
Some small changes in code that don't change the generated executable:
- 4 constants that were #defined are now enums, so they automatically get the right value: NB_ICON_SPRITES, NB_BUTTONS, NB_SPECIAL_SHORTCUTS, NB_OPERATIONS.
- Some numeric constants replaced by their symbolic value.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@750 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-16 19:32:15 +00:00
Adrien Destugues
70a3b22afb Fixes issue 144 : $(DESTDIR) aware build system.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@749 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-14 18:37:28 +00:00
Franck Charlet
7dae508324 - Renamed the "Button" array into "Buttons_Pool" due to a conflict with Apple headers.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@748 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-14 12:19:34 +00:00
Adrien Destugues
6823855cbb small makefile fixes for gp2x.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@745 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-13 10:05:20 +00:00
Adrien Destugues
603ed38297 Fixed a potentially dangerous bug : the palette setup screen was reading things in an area just released when closing the window ! Makes the palette sliders work correctly for me.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@744 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-08 07:55:52 +00:00
Yves Rizoud
c98bfafb76 Fixes r727 not compiling on windows,
Fixes an old issue on Linux where the program couldn't be run from a symbolic to the executable.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@743 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-07 21:53:20 +00:00
Adrien Destugues
19ac89a38f New (hopefully better) method for selecting the colors in smooth and colorize. Tell me if you think it's good.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@742 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-07 17:54:52 +00:00
Adrien Destugues
d1de5fa366 Dropped all the old files. They are not really usefull anymore as everything was rewritten in clean C for us...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@741 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-07 17:23:01 +00:00
Adrien Destugues
5c7256efa3 We dont need that anymore, either.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@740 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-07 17:20:43 +00:00
Adrien Destugues
b6d50b2ed6 Removed useless files
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@739 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-07 17:14:08 +00:00
Adrien Destugues
155843c4b7 Some updates to the help screens.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@738 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-07 15:10:13 +00:00
Adrien Destugues
385a99d1f6 Fixed issue 127 : program path under unix was stored relative when launching the program with "./grafx2" in the dev directory, so font loading failed when changing directory (loading a pic, for example).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@727 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-07 12:28:53 +00:00
Yves Rizoud
15e11b7144 Fix crash when rotating a tiny brush (bug from original version, was harmless in DOS due to lack of memory protection)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@726 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-06 18:06:06 +00:00
Adrien Destugues
61e2487ec6 Added some notes to the new readme and compiling files for the 2.0b99% release.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@725 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-06 11:18:22 +00:00
Yves Rizoud
31756d2ee5 Updated version number to 99.0
Makefile: README.txt and a new COMPILING.txt are now added in win32 and src packages.
Updated NSIS script to 99.0 version.
Cleaned up the list of error codes and error messages.
Removed a debug print.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@724 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-05 23:38:11 +00:00
Yves Rizoud
6c0637f65e New: Reading 32bit and 16bit bitmaps, with and without bitfields.
Fixed: Reading 8-bit compressed bitmaps.
New: Reading bitmaps with v4 header.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@723 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-05 19:21:07 +00:00
Yves Rizoud
cf16b72ae0 Palette sorting now automatically remaps the image, so its final appearance doesn't change.(issue 87)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@722 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-05 00:50:27 +00:00
Yves Rizoud
756712b759 Credits: Added 00.rgb.studios to bugfinders (reported makefile issues)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@721 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 19:15:59 +00:00
Yves Rizoud
8fee6a4247 Fix default sieve pattern which was all-black since r707
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@720 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 19:06:22 +00:00
Adrien Destugues
be1da7b6a6 Fixed a buffer overrun in the skin reading... make saving the config work again...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@719 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 18:41:04 +00:00
Yves Rizoud
8b29381699 After changing screen size or pixel mode, the palette is now scrolled to show FG color (issue 124)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@718 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 14:51:27 +00:00
Yves Rizoud
763a4551a9 Fix the mouse cursor erasing the filename in status bar when you close the Load window (old display bug)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@717 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 13:52:19 +00:00
Yves Rizoud
5655129401 Makefile: Added missing png library to linker options (issue 141)
Fix the minimum screen size not enforced when resizing window (since r705)
Fix the mouse cursor position when changing pixel size (since r705)
In fileselector, the image preview now enforces "safe colors". (issue 116)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@716 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 13:38:45 +00:00
Adrien Destugues
bc127c5d6a Migrated the history to the wiki.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@712 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-02 21:10:06 +00:00
Yves Rizoud
0a3984c18a Typo in palette screen title (Another victim of mass translation)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@708 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-30 23:57:52 +00:00
Yves Rizoud
927fafacbe Moved GUI skin files to "skins/" sub-directory.
Update makefile (install and uninstall only copy and delete the basic skin)
Added Ilkke's GUI skin to svn.
Skin can be specified by command-line argument "/skin <file>" (relative to program data).
Grafx2's default FG and BG colors are now white and black (instead of 15 and 0).
Credits: Fixed a typo caused by mass translation ("GRAFX2 CREATED (by)").
Credits: Added TeeEmCe to bugfinders.
Updated helpfiles (Resolution, Save, Freehand-draw)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@707 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-30 23:50:40 +00:00
Yves Rizoud
14a08f35dc Menus skin:Mouse cursors can now have user-defined hot-spot.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@706 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-30 21:09:47 +00:00