2600 Commits

Author SHA1 Message Date
Thomas BERNARD
c472f36d27 MacOS : link with libtiff 2019-01-04 20:06:22 +01:00
Thomas BERNARD
b34d588826 fix bitcount.h include guard 2019-01-04 20:06:02 +01:00
Thomas Bernard
f9dc0358c4
Split Dropdown in 2 columns if too many items
useful for file format dropdown in 320x200
2019-01-04 19:00:42 +01:00
Thomas Bernard
7db03f7aab TIFF support 2019-01-02 18:47:57 +01:00
Thomas Bernard
36bd67f197
use XFree() on XGetAtomName() returned strings.
Also imporve Doxygen documentation
2019-01-02 01:57:01 +01:00
Thomas Bernard
fa90928a50
improve PNG doxygen 2019-01-02 01:42:54 +01:00
Thomas Bernard
3e1d6b165d
Copy support for X11 2019-01-02 01:27:27 +01:00
Thomas Bernard
cd74f5da8d SDL1: SDL_VideoDriverName() => SDL2: SDL_GetCurrentVideoDriver() 2018-12-30 10:27:47 +01:00
Thomas Bernard
7331ad9bdf
X11 picture paste support (PNG format)
works with what GIMP puts in the X11 CLIPBOARD
2018-12-30 10:20:50 +01:00
Thomas Bernard
a68343d2ad
X11 : fix crash in Handle_SelectionNotify() when Clipboard cannot be converted to UTF8_STRING 2018-12-29 15:57:27 +01:00
Thomas Bernard
75210cfe7c Ctrl-C copies the brush or the whole image 2018-12-29 15:27:54 +01:00
Thomas Bernard
3265a8bcad Win32: Support for Pasting 16bpp DIBs 2018-12-21 13:16:52 +01:00
Thomas Bernard
5143a93b16 CTRL-V pastes the brush. Very convinient
only avaiblable under win32...
2018-12-20 13:23:02 +01:00
Thomas Bernard
90acb24c40 WIN32: Save to clipboard 2018-12-20 13:05:16 +01:00
Thomas Bernard
ec6d619efa Load_ClipBoard_Image() fix
lines are aligned on DWORD boundaries
2018-12-20 13:04:10 +01:00
Thomas Bernard
7ce94604a3 better "load from clipboard" integration in the file selector 2018-12-20 13:02:50 +01:00
Thomas Bernard
e68c16dd34 move Get_unicode_filename() to io.c. correclty select last directory in
filesel
2018-12-19 14:03:30 +01:00
Thomas Bernard
b67ce603a7 move New_preview_is_needed to filesel.c 2018-12-19 13:17:10 +01:00
Thomas Bernard
3876bb03e1 Load from clipboard 2018-12-19 13:10:07 +01:00
Thomas Bernard
b706566f57 WIN32: get Unicode filename of Dropped files 2018-12-18 17:52:28 +01:00
Thomas Bernard
322d95add8 add Find_last_separator_unicode() function 2018-12-18 17:50:57 +01:00
Thomas Bernard
c99fa40e6a
display the end of the filename when Spare filename begin is same
diplay :     …lename_end.ext
instead of : finename_begin…
when the begin of Main and Spare file name are the same.
2018-12-18 16:34:05 +01:00
Thomas Bernard
6a01368242
Fix L_SetPictureSize()
just call  Upload_infos_page() just before calling Backup_with_new_dimensions()
fixes http://pulkomandy.tk/projects/GrafX2/ticket/37
2018-12-18 15:45:38 +01:00
Thomas Bernard
559085a614
X11: fix Update_status_line()
it calls Update_rect() which already multiply by Pixel_width Pixel_height
2018-12-18 00:11:54 +01:00
Thomas Bernard
617e4da310
refuse to load file exceeding 9999x9999 pixels.
Prevent crashing when a GIf file pretends to be 50000x50000
2018-12-17 22:02:13 +01:00
Thomas Bernard
3bfa777d23
Load_GIF(): more error detection 2018-12-17 22:02:13 +01:00
Thomas Bernard
2d45c5e68b
Load_GIF() use "stop" for detecting end of image as well 2018-12-17 22:02:12 +01:00
Thomas Bernard
8691554a26
Save_GIF(): update/translate comment about the last code 2018-12-17 22:02:12 +01:00
Thomas Bernard
3a33c96dd5
Translate/doxygenize T_GIF_context comments 2018-12-17 22:02:08 +01:00
Thomas Bernard
a899fe49fb remove global variables used for GIF 2018-12-17 19:42:14 +01:00
Thomas Bernard
931335d1ad remove warnings in Load_PAL() 2018-12-17 11:52:42 +01:00
Thomas Bernard
8061d7c470 to compile under MS Visual C++ 2010 2018-12-17 11:36:40 +01:00
Thomas Bernard
14fcd342f7 remove warning 2018-12-17 11:28:51 +01:00
Thomas Bernard
2549598fc9 check the return value of "system" 2018-12-17 11:22:46 +01:00
Thomas Bernard
b47ace7a30 Load_GPL/Save_GPL: clean code, remove warnings 2018-12-17 11:16:28 +01:00
Thomas Bernard
ee992c6b5f fix Find_filename_match()
issue introduced in commit 49b7d101
2018-12-17 10:42:14 +01:00
Thomas Bernard
595348e7ed _XOPEN_SOURCE should be defined on CFLAGS if needed 2018-12-17 10:35:30 +01:00
Thomas Bernard
8e6ddb4066
update Gradation menu 2018-12-15 20:21:17 +01:00
Thomas Bernard
5a6333e5e8 define COLOR_CYCLING_SPEED_MAX 2018-12-15 20:19:29 +01:00
Thomas Bernard
9c2cd926f1
Tag_color_gradient_range() to simplify code 2018-12-15 17:02:09 +01:00
Thomas Bernard
9f26e372ba
prevent sliders to be displayed out of their range 2018-12-15 16:50:43 +01:00
Thomas Bernard
7a8b25ea4f
Load_IFF() support CCRT color range chunck and read DRNG (but not implemented) 2018-12-14 15:56:47 +01:00
Thomas Bernard
c86babeb35
Load_IFF() support for ANIM with sound chunks 2018-12-14 15:54:45 +01:00
Thomas Bernard
93bc0e6459
rewrite Save_NEO(). Now writes color Cycling info 2018-12-14 15:43:50 +01:00
Thomas Bernard
7a2c46ccc4
Load_NEO() support color cycling 2018-12-14 11:54:03 +01:00
Thomas Bernard
da092228f3
improve Atari ST file formats NEOchrome and Degas 2018-12-14 09:25:19 +01:00
Thomas Bernard
003fbcfc1b
Fix code to optimize sub-picture saving in GIF code 2018-12-13 00:49:18 +01:00
Thomas Bernard
0f098d8b84
Doxygen: create subsection for IFF 2018-12-13 00:11:29 +01:00
Thomas Bernard
f64a2df15c remove doxygen warning about #ifdef 2018-12-12 23:41:48 +01:00
Thomas Bernard
8ac2e3934e
doxygen: make GIF subgroup of loadsaveformats 2018-12-12 23:39:21 +01:00