John P. Hartmann
677ac05291
Fish's patch to fix lots of portability issues.
2013-12-25 09:54:01 +01:00
Enrico Sorichetti
0e8a246a81
fixed annoying warnings
2012-06-04 08:52:31 +02:00
Fish-Git
2e6e208a69
REXX related fixes:
...
Honor return code from command-line functions.
Fix rexx subcommand handler memory free bugs.
Test new rexx subcommand handling.
2012-06-01 12:22:37 -07:00
Fish-Git
9745b14f1c
New "command_capture" function that passes back the captured command's return code in addition to the captured messages.
2012-05-23 23:21:43 -07:00
Jan Jaeger
439bdbca92
Remove subversion $Id$ tag
...
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Jan Jaeger
9c72e28c21
Revert to Gregs memory allocation and disable non thread safe features
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7748 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-10 08:10:49 +00:00
Jan Jaeger
b843b0362c
Converge MSVC and GCC snprintf
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7743 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-04 11:37:40 +00:00
Jan Jaeger
1b1a7cc644
Correct MSGHLD, MSGCLR and simplify message processing
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7741 956126f8-22a0-4046-8f4a-272fa8102e63
2011-09-04 09:52:00 +00:00
Jan Jaeger
cf4a6bfd7f
Revert arch_mode use for message processing
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7691 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-13 10:01:51 +00:00
Paul Gorlinsky
31c9a99803
Remove LOGMSG macro. Change LOGMSG to logmsg. Rename log_msg() to logmsg().
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7688 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-12 23:28:17 +00:00
Paul Gorlinsky
798e583f9b
Restore delete variables in tdparms struct. Enable LOGMSG use in utilities. Correct missing timestamp on "HHC" messages with <pnl> construct.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7687 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-12 23:13:26 +00:00
Paul Gorlinsky
2c2eaf37dc
Restore code regressed by latest changes.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7678 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-09 02:00:07 +00:00
Jan Jaeger
be6a6e66c3
Cleanup logmsg macro
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7670 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-07 10:22:11 +00:00
Jan Jaeger
032e72e79b
Revert to lowercase logmsg()
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7669 956126f8-22a0-4046-8f4a-272fa8102e63
2011-08-07 00:09:14 +00:00
Paul Gorlinsky
1a68ab747f
Revert bzero(d,s) to memset(d,0,s).
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7603 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-22 17:17:13 +00:00
Paul Gorlinsky
03a4560910
Update Copyright notices to 2011.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7593 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-18 22:19:10 +00:00
Paul Gorlinsky
09233e600b
Add missing castings... Windows type strlen() as size_t not int.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7497 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-08 01:42:05 +00:00
Fish (David B Trout)
570914ae14
Fix hao (Hercules Automatic Operator) functionality to
...
ignore "<pnl.." color prefix and "msglvl debug" prefix.
git-svn-id: file:///home/jj/hercules.svn/trunk@7471 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-22 23:51:01 +00:00
Paul Gorlinsky
9081b644c7
Function logmsg() renamed to log_msg(). LOGMSG define added. All logmsg calls changed to LOGMSG.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7333 956126f8-22a0-4046-8f4a-272fa8102e63
2011-02-23 03:48:52 +00:00
Paul Gorlinsky
708387a651
Prevent loop in BFR_VSNPRINTF when no VA args are present. Return msg if no VA args are present.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7170 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-04 19:46:03 +00:00
Paul Gorlinsky
1d874dbe92
Prevent loop in BFR_VSNPRINTF when no VA args are present. Return msg if no VA args are present.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7158 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-03 05:18:39 +00:00
Fish (David B Trout)
290bf1176c
Message cleanup: re-fix WRMSG stack overflow bug reverted by svn #7149
...
(originally introduced in SVN #6966 ), default to "msglevel debug" for
DEBUG builds, 'OPTION_DEBUG_MESSAGES' build option is now obsolete.
git-svn-id: file:///home/jj/hercules.svn/trunk@7151 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-02 04:31:51 +00:00
Fish (David B Trout)
20a9008202
fix msgenu DEBUG WRMSG stack overflow
...
fix command/message level defaults
git-svn-id: file:///home/jj/hercules.svn/trunk@7143 956126f8-22a0-4046-8f4a-272fa8102e63
2010-11-29 06:16:34 +00:00
Paul Gorlinsky
6e71655d67
Remove warning for empty body if
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7014 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-31 16:35:07 +00:00
Jan Jaeger
14304dea26
Remove sleeps and make replace_opcode a resolvable symbol
...
git-svn-id: file:///home/jj/hercules.svn/trunk@7012 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-31 11:37:42 +00:00
Paul Gorlinsky
48aa410512
Color message correction
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6996 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-27 20:51:00 +00:00
Paul Gorlinsky
1dc5e5e3ab
Message cleanup and porting issues
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6995 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-27 20:04:15 +00:00
Paul Gorlinsky
af8d660bdc
Write message as a single call...
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6963 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-23 01:51:51 +00:00
Paul Gorlinsky
bcbf5d018a
Remove "color" string from diag8 response and from logger processes after panel is shutdown.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6936 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-18 03:40:21 +00:00
Paul Gorlinsky
1a728dd3b3
Clear storage for buf.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6929 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-17 04:19:26 +00:00
Paul Gorlinsky
c3c3d5d45f
deadlock during msglck processing.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6917 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 22:11:38 +00:00
Paul Gorlinsky
d4f4d39187
Correct DEBUG level processing; New RCs from psw depending on machine state
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6774 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-03 19:27:59 +00:00
Paul Gorlinsky
7e5fe0fcc7
Validate a proper message header before HHC00007 messages is generated.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6746 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-02 23:14:00 +00:00
Jan Jaeger
4a4bbd3133
Move all hercules specific language and scripting code to script.c
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6737 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-02 19:23:56 +00:00
Jan Jaeger
44c2ee376d
Define OPTION_MSGLCK
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6734 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-02 15:24:27 +00:00
Paul Gorlinsky
bca0a287c0
Buffer Overflow cleanup - ongoing
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6691 956126f8-22a0-4046-8f4a-272fa8102e63
2010-09-30 23:42:21 +00:00
Paul Gorlinsky
b82895468b
make strtok_r use throughout system... some code was already using it.
...
Use "secure" forms for some functions for windows.
git-svn-id: file:///home/jj/hercules.svn/trunk@6568 956126f8-22a0-4046-8f4a-272fa8102e63
2010-09-22 01:09:43 +00:00
Jan Jaeger
067b9fee4a
Add MGLEVEL VERBOSE option and enable as config option
...
In MSGLEVEL NORMAL commands will act in quiet mode
In MSGLEVEL VERBOSE if(MLVL(VERBOSE)) commands will be louder
In MSGLEVEL DEBUG if(MLVL(DEBUG)) Debug info will be logged
git-svn-id: file:///home/jj/hercules.svn/trunk@6458 956126f8-22a0-4046-8f4a-272fa8102e63
2010-09-12 10:43:48 +00:00
Bernard van der Helm
5c3b450db1
The sysblk.msglock will be forced released after a need for the lock and
...
1 second.
git-svn-id: file:///home/jj/hercules.svn/trunk@6334 956126f8-22a0-4046-8f4a-272fa8102e63
2010-08-21 06:10:19 +00:00
Bernard van der Helm
8c435b0173
New facility group messages. This facility allows you to keep messages
...
together in the log. In other words, other messages will not be printed
between those line. I will sent a separate mail with some explaining.
git-svn-id: file:///home/jj/hercules.svn/trunk@6327 956126f8-22a0-4046-8f4a-272fa8102e63
2010-08-20 09:20:22 +00:00
Paul Gorlinsky
0102ce96ca
Activate support for SET EMSG TEXT | ON | TIME . Q EMSG for current mode.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6220 956126f8-22a0-4046-8f4a-272fa8102e63
2010-07-21 06:33:38 +00:00
Bernard van der Helm
9e2f3797ac
Prevent writing color string when panel not ready
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6112 956126f8-22a0-4046-8f4a-272fa8102e63
2010-06-11 06:31:17 +00:00
Bernard van der Helm
d474507041
writemsg is now looking at sysblk.shutdown for preventing color strings.
...
It before ugly used sysblk.init_panel.
git-svn-id: file:///home/jj/hercules.svn/trunk@6104 956126f8-22a0-4046-8f4a-272fa8102e63
2010-06-09 10:43:51 +00:00
Bernard van der Helm
063708bc65
dasdinit std msg + layout change logmsg
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6098 956126f8-22a0-4046-8f4a-272fa8102e63
2010-06-07 19:29:20 +00:00
Paul Gorlinsky
eddfb6a5e8
Correct basename segfault on mac osx. Missing libgen.h ... not needed for Windows. basename() uses const qualifier on some machines. Added support for const qualifier. basename() is used because __FILENAME__ has directory information on some development platforms.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6073 956126f8-22a0-4046-8f4a-272fa8102e63
2010-06-01 01:52:48 +00:00
Paul Gorlinsky
8c78599d46
Correct basename segfault on mac osx
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6070 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-31 19:55:52 +00:00
Paul Gorlinsky
7103966e65
Correct basename segfault on mac osx
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6069 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-31 19:49:39 +00:00
Paul Gorlinsky
1d75762a93
Use just the basename for filename in log messages. Change qualifier to const for w32_basename and w32_dirname.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6049 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-27 18:40:59 +00:00
Paul Gorlinsky
1c9fae576b
Correct cmdlevel processing
...
git-svn-id: file:///home/jj/hercules.svn/trunk@6042 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-25 18:50:21 +00:00
Paul Gorlinsky
91d12ea25f
Add Windows Native Threading for WIN2K+ machines. Default is fthreads for windows. If OPTION_WTHREADS is enabled OPTION_FTHREADS and OPTION_FISHIO must be disabled.
...
git-svn-id: file:///home/jj/hercules.svn/trunk@5980 956126f8-22a0-4046-8f4a-272fa8102e63
2010-05-13 02:16:39 +00:00