2623 Commits

Author SHA1 Message Date
Thomas Bernard
dcfd0894e0 add support for PNG in BMP (BI_PNG) 2019-01-08 22:09:12 +01:00
Thomas Bernard
f35c6007c0
Simplify Load_BMP_Image() 2019-01-08 22:08:42 +01:00
Thomas Bernard
0b45bc5fc6
BMP: support bitmask of more than 8 bits 2019-01-08 22:06:31 +01:00
Thomas Bernard
51f90c7ec0
BMP: support OS/2 v2 format, enforce pixel ratio, check palette over-size 2019-01-08 21:20:56 +01:00
Thomas Bernard
55dadae79d
Reorganize Load_BMP() 2019-01-08 21:20:55 +01:00
Thomas Bernard
71d1089442
BMP: improve log and comments. support BITMAPV4HEADER/BITMAPV5HEADER 2019-01-08 21:20:55 +01:00
Helmut Grohne
56794c8589 Allow to use a different pkg-config when cross compiling
Debian bug #918725
2019-01-08 21:12:09 +01:00
Thomas Bernard
21da97be6a
space around operators, etc. 2019-01-08 20:58:42 +01:00
Thomas Bernard
02cf6ac99a
add version 2.5 brief in README.txt 2019-01-05 19:00:14 +01:00
Thomas Bernard
3eb18fa98f
helpfile.h: credit Aldus/Adobe for TIFF 2019-01-05 19:00:09 +01:00
Thomas Bernard
7e83df5531
Show libTIFF version in statistics 2019-01-05 17:41:55 +01:00
Thomas Bernard
046e5efcd7
Add tiff and jpeg dll to Win32 distrib 2019-01-05 17:08:58 +01:00
Thomas Bernard
75a22eeced
TIFF: add support for our private tag 2019-01-05 17:03:04 +01:00
Thomas Bernard
2dfb5cafe1
load/save Aspect ratio in TIFF 2019-01-05 13:39:14 +01:00
Thomas BERNARD
379dc4a092 Copy to pasteboard support for MacOS 2019-01-05 00:04:37 +01:00
Thomas Bernard
d556df556d
sdl: Get_Screen_pixel_ptr() improve debug log... 2019-01-04 23:24:53 +01:00
Thomas Bernard
5a4ae06720
fix Print_filename() when File_name is empty 2019-01-04 22:56:00 +01:00
Thomas Bernard
8cb1c36029
support more TIFF tags 2019-01-04 22:54:02 +01:00
Thomas Bernard
f1e641b44e
fix lTIFF_seek()
also fix some warnings
2019-01-04 22:52:36 +01:00
Thomas BERNARD
12a775a2b8 explicitely ignore SDL2 SDL_FINGERMOTION / SDL_FINGERDOWN / SDL_FINGERUP 2019-01-04 22:45:07 +01:00
Thomas BERNARD
8c03202df6 Support for Pasting from macOS PasteBoard 2019-01-04 22:43:30 +01:00
Thomas Bernard
40dd718dd1 Redirect libTIFF errors and Warnings 2019-01-04 21:25:13 +01:00
Thomas Bernard
addf8d9798 Win32/msvc: build with libtiff 2019-01-04 21:00:56 +01:00
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