Commit graph

194 commits

Author SHA1 Message Date
Tomas Babej
8066e4e6e2 meta: Update copyright year 2019-01-01 08:46:21 -05:00
Simon Ruderich
e817dfc800 Always use https:// link for opensource.org
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Mark Scannell
7af6db4c17 Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
cac258ef72 Lexer: Migrated to unicodeWhitespace 2018-01-25 00:47:23 -05:00
Paul Beckingham
8412198138 l10n: Eliminated STRING_UTIL_CONFIRM_* 2018-01-15 13:43:34 -05:00
Paul Beckingham
1d4b9173fc l10n: Eliminated STRING_ERROR_CONFIRM_SIGINT 2018-01-15 13:39:48 -05:00
Paul Beckingham
0de169bb10 Copyright 2018 2017-12-31 19:22:07 -05:00
Paul Beckingham
47715322dc util: Removed unused strippedLength() function 2017-03-23 01:02:29 -04:00
Paul Beckingham
ac93381cd0 util: Added helper function to properly manage table header color/underline 2017-03-20 09:06:16 -04:00
Paul Beckingham
5716508694 util: Removed unused header 2017-03-02 18:28:35 -05:00
Paul Beckingham
ec1323d9ee util: Migrated osName to libshared 2017-01-08 11:52:04 -05:00
Paul Beckingham
a50e65a134 Copyright update 2017-01-01 12:30:04 -05:00
Paul Beckingham
dc851fe4b2 util: Migrated obfuscateText calls to libshared 2016-12-17 16:54:11 -05:00
Paul Beckingham
c77487994e util: Added missing include 2016-12-12 08:28:24 -05:00
Paul Beckingham
b2ad9e96bd text: Eliminated module 2016-12-11 17:51:44 -05:00
Paul Beckingham
87757fb36f util: Migrated optionalBlankLine from text 2016-12-11 17:46:06 -05:00
Paul Beckingham
a0d88aaef8 util: Migrated strippedLength from text 2016-12-11 17:39:11 -05:00
Paul Beckingham
0027c9face util: Migrated nontrivial from text 2016-12-11 17:34:50 -05:00
Paul Beckingham
a7d90fa1fa util: Migrated obfuscateText from text 2016-12-11 17:29:03 -05:00
Paul Beckingham
6cdb0d4b95 util: Removed confirm 2016-12-06 07:32:19 -05:00
Paul Beckingham
c12deb535e util: Removed execute 2016-12-06 07:28:50 -05:00
Paul Beckingham
45e1622358 util: Removed formatBytes 2016-12-06 07:26:06 -05:00
Paul Beckingham
355620c640 libhsared: migrating from local to libshared 2016-12-06 07:20:45 -05:00
Paul Beckingham
8922728888 Cleanup: Don't use string literals when character literals are needed 2016-10-14 23:11:28 -04:00
Paul Beckingham
d27cb75ec1 util: Corrected comment 2016-05-08 16:36:25 -04:00
Paul Beckingham
2d20f4d57b Cleanup: Converted all sprintf to snprintf 2016-02-25 00:19:38 -05:00
Paul Beckingham
549b970e49 Cleanup: Removed redundant processing of OS name 2016-02-24 23:43:23 -05:00
Kent R. Spillner
933b2d8ebe OpenBSD also provides uuid support directly in its libc, same as FreeBSD. 2016-01-15 12:35:10 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
5c8b7148b4 Task: Moved include to top of list, per flint++ recommendation 2015-11-01 19:59:10 -05:00
Paul Beckingham
182b5427cd Lexer: Migrated trim(), trimLeft() and trimRight() from text to Lexer 2015-10-30 11:17:23 -04:00
Paul Beckingham
51def4b12b Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer 2015-10-30 10:57:14 -04:00
Paul Beckingham
5110a83efa Cleanup: Corrected object initialization using {} 2015-10-16 08:22:03 -04:00
Paul Beckingham
0772f7ea36 Code Cleanup: Removed unnecessary include 2015-10-03 19:28:40 -04:00
Paul Beckingham
27fd8910ae TW-1655: Inform "No changes made." when quitting early due to signal
- Thanks to Daniel Shahaf.
2015-08-14 17:20:16 -04:00
Paul Beckingham
5914418fb1 Test: Corrected util.cpp/confirm calls to check std::cin::eof 2015-07-29 22:37:59 -04:00
Paul Beckingham
70e4d16768 util: Sends all read input to debug output 2015-07-24 12:51:52 -04:00
Paul Beckingham
18046ae92d util: Deliberately initializing confirmation responses inside the loop 2015-07-24 12:49:11 -04:00
Paul Beckingham
ff88d9da16 Bug: ::execute concatenates output
- The ::execute function concatenates output to the std::string provided, which
  is almost never wanted. Now it clears first.
2015-05-25 09:22:14 -04:00
Paul Beckingham
7bbc794d3a C++11: N2672 Initializer lists
- Modified code to use the more compact and readable initializer lists.
2015-05-24 13:03:02 -04:00
Wilhelm Schuermann
8800ad33cf Util: Minor formatting cleanup of execute() 2015-05-13 20:59:59 +02:00
Paul Beckingham
e74c6963a9 C++11: Cleaned up program framework with range-based for 2015-05-11 17:50:53 -04:00
Paul Beckingham
c346cf9395 Portability: Use fcntl instead of flock
- POSIX file locking mechanism, eliminating platform-specific code.
2015-05-02 11:47:39 -04:00
Wilhelm Schuermann
af772f4c49 Util
- Closed dangling pipes in execute (), resolving problems when a hook script
  forks.
2015-02-22 14:03:30 -05:00
Paul Beckingham
528e72062b Hooks
- Fixed the ::execute function used by Hooks and CmdCalendar to run commands,
  by following the convention:

    "The first argument, by convention, should point to the file name associated
     with the file being executed."
     (man execvp)
2015-02-07 14:08:58 -05:00
Paul Beckingham
41003fc78b Code Cleanup
- Removed whitespace at EOL.
2015-01-17 19:05:09 -05:00
Wilhelm Schuermann
d2928dc4e4 TW-1516 Hook input not ended with EOF
- Made execute() send EOF when all input is written.
- Minor code cleanup.
2015-01-17 19:04:31 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
9a95696872 Code Cleanup
- Improved white space for readability and style compliance.
2014-11-28 12:15:00 -05:00
Paul Beckingham
8ca096689c Util
- Minor formatting.
2014-10-06 23:10:19 -04:00