Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							857ae29be8 
							
						 
					 
					
						
						
							
							Directory_create()  
						
						 
						
						... 
						
						
						
						remove #include <windows.h> from setup.c 
						
						
					 
					
						2020-04-12 00:47:15 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9847110fe4 
							
						 
					 
					
						
						
							
							const.h: do not include <windows.h> anymore  
						
						 
						
						
						
						
					 
					
						2020-04-11 22:42:33 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas BERNARD 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4ad13b57a8 
							
						 
					 
					
						
						
							
							Calculate_relative_path(): fix when using symlinks  
						
						 
						
						
						
						
					 
					
						2020-04-11 20:42:52 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3d74c5201f 
							
						 
					 
					
						
						
							
							fix Calculate_relative_path()  
						
						 
						
						
						
						
					 
					
						2020-02-26 00:36:11 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eb0effaf3f 
							
						 
					 
					
						
						
							
							move some functions from filesel.c to fileseltools.c  
						
						 
						
						
						
						
					 
					
						2020-02-15 11:46:36 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							58eaeda164 
							
						 
					 
					
						
						
							
							Win32: browse Network Neighborhood  
						
						 
						
						
						
						
					 
					
						2019-06-01 13:15:57 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a0b60f2e49 
							
						 
					 
					
						
						
							
							win32: fix long path display in fileselector  
						
						 
						
						
						
						
					 
					
						2019-05-30 08:28:29 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cb78ac6136 
							
						 
					 
					
						
						
							
							win32: fix Get_current_directory() for unicode directories  
						
						 
						
						... 
						
						
						
						it was returning things like
C:\TEMP\grafx2\test-à__??????\
instead of the ASCII short path :
C:\TEMP\grafx2\TEST-_~1\
see http://pulkomandy.tk/projects/GrafX2/ticket/45  
						
						
					 
					
						2019-05-23 11:37:57 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d4aa63964d 
							
						 
					 
					
						
						
							
							io.c: include <stdlib.h> to use free()  
						
						 
						
						
						
						
					 
					
						2019-05-21 21:53:13 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0eb715bd17 
							
						 
					 
					
						
						
							
							better error handling in Extract_path()  
						
						 
						
						
						
						
					 
					
						2019-05-16 12:28:11 +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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b5d61472e5 
							
						 
					 
					
						
						
							
							factory.c: remove static selected_file[] string buffer  
						
						 
						
						
						
						
					 
					
						2019-05-07 17:25:18 +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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							81bf106865 
							
						 
					 
					
						
						
							
							For_each_directory_entry: remove MAX_PATH_CHARACTER  
						
						 
						
						
						
						
					 
					
						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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Romain Graillot 
							
						 
					 
					
						
						
						
						
							
						
						
							d36e59ca9c 
							
						 
					 
					
						
						
							
							Add Nintendo Switch support (including gitlab-ci, gitlab-pages etc.)  
						
						 
						
						
						
						
					 
					
						2019-04-28 11:18:23 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							02f9d68f8e 
							
						 
					 
					
						
						
							
							fix Calculate_relative_path()  
						
						 
						
						
						
						
					 
					
						2019-02-10 11:04:13 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d131b48274 
							
						 
					 
					
						
						
							
							fix drive letter case in Compute_relative_path()  
						
						 
						
						
						
						
					 
					
						2019-02-10 11:04:12 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bd57e6e8ea 
							
						 
					 
					
						
						
							
							Calculate_relative_path(): do not count trailing separator  
						
						 
						
						
						
						
					 
					
						2019-02-10 10:56:09 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b504d440a0 
							
						 
					 
					
						
						
							
							fix for MS Visual Studio snprintf()  
						
						 
						
						
						
						
					 
					
						2019-02-10 10:56:09 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7c79cf41e2 
							
						 
					 
					
						
						
							
							Add "Set Rel" for directory bookmarks  
						
						 
						
						... 
						
						
						
						see
http://pulkomandy.tk/projects/GrafX2/ticket/45 
It is disabled under AmigaOS, AROS and MorphOS 
						
						
					 
					
						2019-02-10 10:56:08 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							322d95add8 
							
						 
					 
					
						
						
							
							add Find_last_separator_unicode() function  
						
						 
						
						
						
						
					 
					
						2018-12-18 17:50:57 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ab5d26897f 
							
						 
					 
					
						
						
							
							fix d21527c0  
						
						 
						
						
						
						
					 
					
						2018-11-22 13:43:43 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d21527c024 
							
						 
					 
					
						
						
							
							File_length_file() should return 0 in case of error  
						
						 
						
						
						
						
					 
					
						2018-11-20 14:10:29 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fd798c70f0 
							
						 
					 
					
						
						
							
							Write_bytes() add "const" in prototype  
						
						 
						
						
						
						
					 
					
						2018-11-14 11:28:09 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							3e32bc0c39 
							
						 
					 
					
						
						
							
							Fix endian aware load/save when SDL is disabled  
						
						 
						
						
						
						
					 
					
						2018-07-02 11:38:51 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							84fdc001cd 
							
						 
					 
					
						
						
							
							Display Truetype fonts with Win32 API  
						
						 
						
						
						
						
					 
					
						2018-07-02 11:38:51 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							3e4f3d0313 
							
						 
					 
					
						
						
							
							WIP. build under Win32 without SDL  
						
						 
						
						
						
						
					 
					
						2018-07-02 11:38:51 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							4d86b8a0c1 
							
						 
					 
					
						
						
							
							change all references to SDLK_xxxxx to KEY_xxxx  
						
						 
						
						... 
						
						
						
						+ some fixes 
						
						
					 
					
						2018-07-02 11:38:51 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							72fea0290f 
							
						 
					 
					
						
						
							
							isolate dependencies to SDL  
						
						 
						
						... 
						
						
						
						Do not access directly the SDL_Surface Screen_pixels
use new functions Get_Screen_pixel_ptr() Set_Screen_pixel(),
Get_Screen_pixel()
And SetPalette()
Signed-off-by: Thomas Bernard <miniupnp@free.fr> 
						
						
					 
					
						2018-07-02 11:38:51 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							c6975afe94 
							
						 
					 
					
						
						
							
							prepare Makefile to allow build with SDL, SDL2 or another "video API"  
						
						 
						
						... 
						
						
						
						update Visual C project as well 
						
						
					 
					
						2018-07-02 11:38:51 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							92facef46d 
							
						 
					 
					
						
						
							
							Convert comments to UTF-8  
						
						 
						
						... 
						
						
						
						most were encoded in Latin1 / CP1252
but a few lines in op_c.c were using IBM437/850 ! 
						
						
					 
					
						2018-06-26 11:37:19 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							c8bc04e413 
							
						 
					 
					
						
						
							
							Fix filebackup when saving.  
						
						 
						
						... 
						
						
						
						It was the wrong filename that was backuped when using "Save As".
Now it is the filename selected. 
						
						
					 
					
						2018-04-06 16:45:35 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							42a08d0f23 
							
						 
					 
					
						
						
							
							remove some warning when compiling with MinGW32  
						
						 
						
						
						
						
					 
					
						2018-03-19 16:49:37 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							3103629c02 
							
						 
					 
					
						
						
							
							io.c: add Read_byte_line() function  
						
						 
						
						
						
						
					 
					
						2018-03-15 13:24:13 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							854d787e59 
							
						 
					 
					
						
						
							
							io.c: Add Remove_directory() and Remove_path()  
						
						 
						
						... 
						
						
						
						Also implement WIN32 version of File_length() 
						
						
					 
					
						2018-02-20 15:45:45 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							ea7fdb1927 
							
						 
					 
					
						
						
							
							fix Get_full_filename() prototype  
						
						 
						
						
						
						
					 
					
						2018-02-20 15:45:45 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							c48e881a54 
							
						 
					 
					
						
						
							
							WIN32 versions of io functions  
						
						 
						
						
						
						
					 
					
						2018-02-20 15:45:45 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							6f48d7fefe 
							
						 
					 
					
						
						
							
							Add MSVC 2010 project file and a make the project compile  
						
						 
						
						
						
						
					 
					
						2018-02-20 15:45:45 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							4a2754321f 
							
						 
					 
					
						
						
							
							update For_each_file() to pass both full path and file name only to the callback  
						
						 
						
						... 
						
						
						
						All  callbacks need to extract the filename anyway, so it simplify the code 
						
						
					 
					
						2018-02-20 15:44:39 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							9a03a54fef 
							
						 
					 
					
						
						
							
							Display the current directory in unicode  
						
						 
						
						... 
						
						
						
						rename function Print_in_window_utf16() to Print_in_window_unicode() 
						
						
					 
					
						2018-02-20 15:44:39 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							3322529804 
							
						 
					 
					
						
						
							
							Support for unicode names in directory listing  
						
						 
						
						
						
						
					 
					
						2018-02-20 15:44:39 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Thomas Bernard 
							
						 
					 
					
						
						
						
						
							
						
						
							a1f0f36062 
							
						 
					 
					
						
						
							
							chdir() => Change_directory()  
						
						 
						
						... 
						
						
						
						improve portability 
						
						
					 
					
						2018-02-20 15:44:39 +01:00