Bill Ferguson
|
1a22bfbcef
|
Added system library to handle running external commands on different operating systems in a transparent manner. Added file and path quoting that is cross platform compatible. Changed gimp.lua to use the new utilities.
|
2018-07-11 11:32:48 -04:00 |
|
Bill Ferguson
|
4b32c34ebd
|
Removed 'open -W -a' for mac commands from check_if_bin_exists since it only appears to be needed for GUIs. Added 'open -W -a' for macs using GIMP in gimp.lua
|
2018-07-06 23:04:44 -04:00 |
|
Bill Ferguson
|
7acf2b9cac
|
Fixed bug where log_level() always returned log.success instead of the correct log level
|
2018-05-15 01:22:09 -04:00 |
|
Bill Ferguson
|
f961e6aa6b
|
Replaced dt_print_log = dt.print_error with dt.print_log now that the function exists
|
2018-05-14 20:30:09 -04:00 |
|
Bill Ferguson
|
5266aa7547
|
Used a less aggressive quoting strategy that works with check_if_bin_exists, check_if_file_exists, and io.popen().
|
2018-03-16 12:16:45 -04:00 |
|
Bill Ferguson
|
1c587d3726
|
Changed wine test to check for .exe"$ or .EXE"$ because of quoting string paths
|
2018-03-10 13:45:04 -05:00 |
|
Bill Ferguson
|
b4ea97ce37
|
Fixed accidently wiped out check for macos
|
2018-03-10 13:38:17 -05:00 |
|
Bill Ferguson
|
83c1a5789a
|
Changed wine check to operating system isn't windows
|
2018-03-10 13:07:19 -05:00 |
|
Bill Ferguson
|
841026661a
|
Removed debugging statement
|
2018-03-10 12:56:18 -05:00 |
|
Bill Ferguson
|
692441e1d5
|
Added wine awareness for unix, linux, and macos. Added open -a -W to the macos path so that the path returned by the finder will work correctly.
|
2018-03-10 12:52:22 -05:00 |
|
supertobi
|
de18432a7d
|
Merge pull request #112 from wpferguson/os_path_fix
Windows and macOS external executable compatibility
|
2018-03-05 14:13:29 +01:00 |
|
Bill Ferguson
|
c073ecf0dd
|
Added check_os to lib/dtutils.lua so that scripts can check compatibility with the current operating system
|
2018-03-03 20:22:47 -05:00 |
|
Bill Ferguson
|
2ea4db8e38
|
Added windows and macOS external executable compatibility. Added functions set_executable_path_preference(), get_executable_path_preference(), and executable_path_widget() to lib/dtutils/file.lua to get, set and retrieve the location of executables on windows and macOS systems. Modified check_if_bin_exists to use the path preferences so executables can be found on windows and macOS systems as well as linux. Modified contrib/gimp.lua to use the new functions, thus making it usable on windows and macOS too.
|
2018-03-02 14:07:29 -05:00 |
|
Andy Chien
|
467365dcbb
|
platform dependent implementation of check_if_bin_exists and check_if_file_exists
|
2018-02-23 18:14:24 -08:00 |
|
Andy Chien
|
5d57347730
|
fixed a couple dtutils_file functions for windows platform
|
2018-02-22 16:01:54 -08:00 |
|
supertobi
|
19b7d29483
|
added {5,0,0} to the check_version
|
2017-09-26 15:21:20 +02:00 |
|
supertobi
|
15a492cfa3
|
added {5,0,0} to the check_version
|
2017-09-26 10:27:39 +02:00 |
|
Bill Ferguson
|
93e30a8542
|
Verified API 4.0.0 compatibility and made the necessary changes
|
2016-11-07 22:53:52 -05:00 |
|
Bill Ferguson
|
dab02823ff
|
Fixed log bug in dprint function
|
2016-10-24 19:23:04 -04:00 |
|
Bill Ferguson
|
564fd20f23
|
Moved lib/libLog.lua to lib/dtutils/log.lua. Rewrote most of it to make it more configurable and easier to use. Updated doc format to a fixed list of fields. Did away with the comment blocks and just relying on the libdoc comments. Update doc tools to use new formats. Moved dtutils/extensions.lua to dtutils/string.lua. Pulled dtutils/processor.lua back for now since there is no context for it. Removed unneeded functions and cleaned up others.
|
2016-10-20 01:19:54 -04:00 |
|
Bill Ferguson
|
a254ac87f7
|
Created libraries from commonly used functions. Moved official/debug-helpers.lua into lib/dtutils/debug.lua. Created a logging library to provide various levels of logging. Documented all libraries and functions. Created tools to extract documentation in text, man page, and pdf formats.
|
2016-10-15 01:47:43 -04:00 |
|