Thomas Bernard
857ae29be8
Directory_create()
...
remove #include <windows.h> from setup.c
2020-04-12 00:47:15 +02:00
Thomas Bernard
58eaeda164
Win32: browse Network Neighborhood
2019-06-01 13:15:57 +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
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
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
0d584f4966
io.h: define doxygen groups
2018-11-20 14:05:51 +01:00
Thomas Bernard
fd798c70f0
Write_bytes() add "const" in prototype
2018-11-14 11:28:09 +01:00
Thomas Bernard
3e4f3d0313
WIP. build under Win32 without SDL
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
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
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
a1f0f36062
chdir() => Change_directory()
...
improve portability
2018-02-20 15:44:39 +01:00
Thomas Bernard
62944c724e
getcwd() => Get_current_directory()
2018-02-20 15:44:39 +01:00
Thomas Bernard
cb936b24e7
Update For_each_directory_entry() for more args in callback
2018-02-20 15:44:39 +01:00
Adrien Destugues
705584a9d7
Fix some doxygen warnings.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2117 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-04-04 09:08:11 +00:00
mazzearos
d28a1df60b
Renamed Find_last_slash() to Find_last_separator() to make purpose more clear.
...
Append_path():
- when adding sub directories: don't add a "/" when last separator is a ":".
- when climbing upwards: don't remove the ":" it it's the last separator.
Those fixes help the file selector for scripts on AROS.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1979 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-05 08:51:16 +00:00
Yves Rizoud
e10fe19ae6
Lua: Fixed keyboard shortcuts to accomodate with full path names now used. Users who had shortcuts should clear them, from the list of shortcuts in Help screen.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1762 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-02 18:45:07 +00:00
Yves Rizoud
04761c79c4
Unbroke the file selector (was listing only hidden files instead of non-hidden). Lua: can browse the whole filesystem now
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1761 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-02 17:43:16 +00:00
Yves Rizoud
9f8dada2b0
Lua window: Fix inconsistency of 'parent directory' appearance. Now applies the 'show hidden files/dirs' settings too.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1760 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-23 20:13:12 +00:00
Yves Rizoud
d0aaabf6b2
Merge of r1709 into trunk: Atari Falcon port
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1710 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-06 19:30:55 +00:00
Yves Rizoud
f24d4a55bd
Lua script selector: can now browse directories. Todo: handle double-click.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1668 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-12-22 02:21:26 +00:00
Yves Rizoud
3ca5322379
Reorganized source code and directory tree.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1375 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-05 02:53:19 +00:00