2808 Commits

Author SHA1 Message Date
Thomas Bernard
b170fce29d
change directory and highlight file when pasting a file path 2019-05-11 12:09:25 +02:00
Thomas Bernard
123fa86936
X11 clipboard: support pasting of filenames
see http://pulkomandy.tk/projects/GrafX2/ticket/107
2019-05-11 12:09:25 +02:00
Thomas Bernard
583d646b26
X11 clipboard paste : support several formats 2019-05-11 12:09:15 +02:00
Thomas Bernard
d24dd3e1a9
X11 Drag'n'drop: debug log of supported formats 2019-05-10 11:59:09 +02:00
Thomas Bernard
58bf9e73c1
use DEFAULT_SKIN_FILENAME and DEFAULT_FONT_FILENAME 2019-05-10 11:54:22 +02:00
Thomas Bernard
b86871d3bc
update www links in helpfile.h 2019-05-10 11:54:17 +02:00
Thomas Bernard
387e66068e Add gfx2mem.h/.c to MS Visual Studio projects 2019-05-10 10:46:54 +02:00
Thomas Bernard
c051ac2189
use GFX2_malloc() to log allocation errors
also check malloc() return more often
2019-05-07 17:25:18 +02:00
Thomas Bernard
7f78f3ec72
Win32: open a console for debugging when -v option is passed 2019-05-07 17:25:18 +02:00
Thomas Bernard
b5d61472e5
factory.c: remove static selected_file[] string buffer 2019-05-07 17:25:18 +02:00
Thomas Bernard
05175292a6
several fixes for WIN32
better handle minimize/maximize
http://pulkomandy.tk/projects/GrafX2/ticket/102
2019-05-07 17:25:18 +02:00
Thomas Bernard
7d5f287737
Change Selector_filename to Selector->filename 2019-05-07 17:25:17 +02:00
Thomas Bernard
030b7fa9b8
Remove usage of MAX_PATH_CHARACTERS in loadsave.c 2019-05-07 17:25:17 +02:00
Thomas Bernard
4bbb4f142d
Remove usage of MAX_PATH_CHARACTERS in loadrecoil.c 2019-05-07 17:25:17 +02:00
Thomas Bernard
e0401e8205
Remove usage of MAX_PATH_CHARACTERS in filesel.c 2019-05-07 17:25:17 +02:00
Thomas Bernard
c85a703aa0
Button_autosave() use unicode filename too 2019-05-07 17:25:17 +02:00
Thomas Bernard
6e83791dde
Improve Print_current_directory() 2019-05-07 17:25:17 +02:00
Thomas Bernard
9886872c8a
T_IO_Context Original_file_name and Original_file_directory are now dynamically allocated 2019-05-07 17:25:17 +02:00
Thomas Bernard
11ddd669b3
Remove some static length strings
There are too many MAX_PATH_CHARACTERS length string.
make Initial_directory, Data_directory, Config_directory
dynamically allocated.

remove big static strings in Init_Program()
2019-05-07 17:25:17 +02:00
Thomas Bernard
fc3e424922
shut up Warning about Pixel_figure_no_screen()
Also fix drawing at X=0 or Y=0
2019-05-07 17:25:17 +02:00
Thomas Bernard
758807e746
fix compilation warning in Load_INI() 2019-05-07 17:25:17 +02:00
Thomas Bernard
651d12b87b
get rid of MAX_PATH_CHARACTERS in factory.c 2019-05-07 17:25:17 +02:00
Thomas Bernard
79446a9c72
get rid of MAX_PATH_CHARACTERS in T_Page and T_Selector_Settings
strdup() the dynammicaly allocated filename and directory strings
2019-05-07 17:25:17 +02:00
Thomas Bernard
98811b6363
Get rid of Get_full_filename() 2019-05-07 17:25:17 +02:00
Thomas Bernard
c6781cd7cd
Brush_file_directory, Brush_filename, Brush_filename_unicode are no longer static strings 2019-05-07 17:25:17 +02:00
Thomas Bernard
fcd17f057b
remove usage of MAX_PATH_CHARACTERS in Test_MOTO() and Load_MOTO() 2019-05-07 17:25:17 +02:00
Thomas Bernard
0e0752c7d0
x11screen.c: remove usage of MAX_PATH_CHARACTERS 2019-05-07 17:25:17 +02:00
Thomas Bernard
923da28d9d
remove MAX_PATH_CHARACTERS in Define_icon() 2019-05-07 17:25:17 +02:00
Thomas Bernard
81bf106865
For_each_directory_entry: remove MAX_PATH_CHARACTER 2019-05-07 17:25:17 +02:00
Thomas Bernard
eb175c7efa
remove use of MAX_PATH_CHARACTERS in text.c 2019-05-07 17:25:17 +02:00
Thomas Bernard
cb66bfcde0
remove use of MAX_PATH_CHARACTERS in For_each_file() 2019-05-07 17:25:06 +02:00
Thomas Bernard
a95b7504a6
string length limit in .CFG is 255 chars 2019-05-07 17:25:06 +02:00
Thomas Bernard
a5d2dfab79
remove MAX_PATH_CHARACTERS in init.c 2019-05-07 17:25:06 +02:00
Thomas Bernard
efeaad5b73
Remove usage of MAX_PATH_CHARACTERS in saveini.c 2019-05-07 17:25:06 +02:00
Thomas Bernard
8f0d036fe1
remove big static strings in Init_Program() 2019-05-07 17:25:05 +02:00
Thomas Bernard
75c93b0ce4
Get_unicode_filename() can malloc() the return string 2019-05-07 17:25:05 +02:00
Thomas Bernard
a69ad46902
Get_current_directory() allocate buffer if needed 2019-05-07 17:25:05 +02:00
Thomas Bernard
f90a2331dd
Scripts_directory is now dynamically allocated 2019-05-07 17:25:05 +02:00
Thomas Bernard
b3baa57a36
Reduce usage of MAX_PATH strings in factory.c 2019-05-07 17:24:55 +02:00
Thomas Bernard
f5cc3a0aba
Remove some static length strings
There are too many MAX_PATH_CHARACTERS length string.
make Initial_directory, Data_directory, Config_directory
dynamically allocated.
2019-05-07 17:04:45 +02:00
Thomas Bernard
0c2ee6659a
add gfx2mem.c/.h: GFX2_malloc() to log allocation failures 2019-05-07 17:04:44 +02:00
Thomas Bernard
91e028794a
Fix UI palette remapping when pixel width > 1
Fixes bug #111
http://pulkomandy.tk/projects/GrafX2/ticket/111
2019-05-07 12:33:54 +02:00
Thomas Bernard
80dcf30ee8
3rdparty: update SDL2_ttf from 2.0.14 to 2.0.15 2019-05-04 19:18:32 +02:00
Thomas Bernard
56842618f1
3rdparty: check SDL2_ttf and SDL2_image versions 2019-05-04 19:15:36 +02:00
Thomas Bernard
07ad86698e
htmldoc: improve display 2019-05-03 22:12:11 +02:00
Thomas Bernard
e39a8a55a9
htmldoc: add the ability to choose the skin
skinselector hidden when JS is disabled
or when printed
2019-05-03 22:11:48 +02:00
Thomas Bernard
deed88bed4
Improve HTML doc : add icon and "Tooltip" 2019-05-03 22:11:39 +02:00
Thomas Bernard
2aa6376895
init: move button data to init_buttons.h 2019-05-03 22:11:39 +02:00
Thomas Bernard
067e382edd
add (c) Thomas Bernard 2019-05-03 22:11:39 +02:00
Thomas Bernard
1c9813fcac credit Romain Graillot for the Switch Port 2019-05-03 21:37:29 +02:00