Commit Graph

43 Commits

Author SHA1 Message Date
Fish (David B. Trout)
04cbb443da Fix MSVC build error C4702: unreachable code 2015-01-25 16:38:56 -08:00
Enrico Sorichetti
93005fb28b symbols cleanup
renamed some flags for consistency
	obey casing rules for symbol names ( case sensitive for unix like )
	deleted the setenv code
	proper stacking of symbols values
	some non symbols related mods ( cosmetics ??? )
	tested on ...
	Yosemite(CLANG), Centos-6(GCC), Centos-7 (CLANG and GCC)
	( reinstalling windows XP under VMware takes longer than planned )
2014-11-30 17:29:41 +01:00
Enrico Sorichetti
c396a57818 Fixed some (silenced others) clang warnings
more to analyze and fix for linux
2014-10-08 12:49:31 +02:00
Fish (David B. Trout)
a7c8ce6ce8 correct set priority handling 2014-01-03 13:54:14 -08:00
Fish (David B. Trout)
22f664999d Configuration file 'pause' statement support 2013-09-28 23:01:17 -07:00
Fish (David B. Trout)
c1ac453e51 Log config file loud comments. 2013-09-28 21:52:59 -07:00
Fish (David B. Trout)
b82e662d5d OPTION_ENHANCED_DEVICE_ATTACH made permanent; build option removed. 2013-05-31 11:08:35 -07:00
Fish (David B. Trout)
cd67fe67b8 Don't presume thread-ids are integers:
Docs clearly start you shouldn't directly compare thread-ids since a thread-id, being an implementation defined opaque object, could easily be a struct or a pointer to a struct, etc. You should use the Hercules "equal_threads" macro which calls the implementation provided thread-id comparison function.
2013-05-16 12:06:03 -07:00
Fish-Git
7076c31be3 OPTION_CONFIG_SYMBOLS support for script 'pause' statement 2012-04-29 20:44:22 -07:00
Jan Jaeger
439bdbca92 Remove subversion $Id$ tag
Update copyright statement to 2012
2012-03-24 18:41:51 +11:00
Enrico Sorichetti
a3144fa5cf various build issues for...
SoftFloat - ( repackaged as per SoftFloat-readme.txt)
IPV6 - on APPLE builds ( quick and dirty )
       another commit will follow for full IPV6 configure support
REXX - rather than cleaning up the current implementation
       it took me the same time and number of objects modified
       to commit the FULL Rexx shebang
       in a while I will finish the hRexx_readme
othr - VERSION/V1/V2/... in dyngui.c
2012-03-10 21:52:51 +01:00
Paul Gorlinsky
47f306d108 Revert bzero(d,s) to memset(d,0,s).
git-svn-id: file:///home/jj/hercules.svn/trunk@7604 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-22 19:23:35 +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
9083dcf949 Add inline bzero function. Change memset(x, 0, l) to bzero(x, l)
git-svn-id: file:///home/jj/hercules.svn/trunk@7601 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-20 01:49:14 +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
Fish (David B Trout)
88fc85bf65 Fix shell_flg warning
git-svn-id: file:///home/jj/hercules.svn/trunk@7571 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-16 01:34:22 +00:00
Fish (David B Trout)
016c8dbb5e Silence missing initializer and signed/unsigned comparison GCC warnings.
git-svn-id: file:///home/jj/hercules.svn/trunk@7569 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-16 00:42:41 +00:00
Fish (David B Trout)
16b7e0a729 Re-apply 7545 fix regressed by 7563.
git-svn-id: file:///home/jj/hercules.svn/trunk@7567 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-15 04:00:19 +00:00
Paul Gorlinsky
532ec36db6 Cleanup some compiler warnings for GCC MAC OS X
git-svn-id: file:///home/jj/hercules.svn/trunk@7563 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-15 00:32:31 +00:00
Fish (David B Trout)
4eb48f3cf3 Fix 'pause' not working for values greater than 2-4 seconds due to 32-bit integer overflow.
git-svn-id: file:///home/jj/hercules.svn/trunk@7545 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-06 03:41:31 +00:00
Paul Gorlinsky
ca592dcc9e REXX Script can start have shell path card first...
!# /...
/* */

or

/* */

git-svn-id: file:///home/jj/hercules.svn/trunk@7543 956126f8-22a0-4046-8f4a-272fa8102e63
2011-07-05 00:43:43 +00:00
Paul Gorlinsky
c1c5fbf845 Remove restriction of devices being at the end of the configuration file. This is backward compatible with current processes.
git-svn-id: file:///home/jj/hercules.svn/trunk@7537 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-30 22:12:57 +00:00
Fish (David B Trout)
780f40357f Sub-second script pausing support
git-svn-id: file:///home/jj/hercules.svn/trunk@7519 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-21 20:25:46 +00:00
Fish (David B Trout)
ba6181c87f Implement asynchronous script command handling (the ability
to run multiple script commands simultaneously). Enhance the
script command to optionally report all running scripts and
cscript command to be able to cancel any one or all of them.
Enter "help script" and "help cscript" for more information.

git-svn-id: file:///home/jj/hercules.svn/trunk@7514 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-21 04:00:24 +00:00
Fish (David B Trout)
afd3b58323 Restore original one second sleep granularity in script logic
until I can resolve the usleep (w32_nanosleep) threading issue.

git-svn-id: file:///home/jj/hercules.svn/trunk@7507 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-14 07:07:40 +00:00
Fish (David B Trout)
4ab6019baf Locking fix to script handling.
(I thought I fixed this?!)

git-svn-id: file:///home/jj/hercules.svn/trunk@7503 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-11 16:32:45 +00:00
Jan Jaeger
44465337a0 rexxsaa.h has moved in Ubuntu 11.04
git-svn-id: file:///home/jj/hercules.svn/trunk@7499 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-08 07:52:38 +00:00
Fish (David B Trout)
96da04117f Locking fix to script handling.
git-svn-id: file:///home/jj/hercules.svn/trunk@7493 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-04 17:51:40 +00:00
Fish (David B Trout)
4f2b30db25 Fix script recursion and cscript handling
git-svn-id: file:///home/jj/hercules.svn/trunk@7489 956126f8-22a0-4046-8f4a-272fa8102e63
2011-06-03 13:57:08 +00:00
Fish (David B Trout)
2ef82c31c5 Additional command processing cleanup: 1) move all Hercules command processing
to the Hercules command processing function where it belongs, 2) Fix comment
processing to always call comment_cmd function, 3) fix comment processing to
honor original '*' == "loud" comment / '#' == "silent" comment design, 4) more
thoroughly document code with comments, 5) remove extraneous trailing blanks
from cmdtab.h accidentally introduced by SVN 7467.

git-svn-id: file:///home/jj/hercules.svn/trunk@7470 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-22 23:33:08 +00:00
Fish (David B Trout)
a831bd3be6 Cleanup command processing and implement sorted command list display.
git-svn-id: file:///home/jj/hercules.svn/trunk@7467 956126f8-22a0-4046-8f4a-272fa8102e63
2011-05-21 01:58:01 +00:00
Paul Gorlinsky
7f825037a4 buf1 not being freed
git-svn-id: file:///home/jj/hercules.svn/trunk@7155 956126f8-22a0-4046-8f4a-272fa8102e63
2010-12-03 05:15:28 +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
Jan Jaeger
a02270be90 Rework command and config processing:
- Change command class CONFIG to command level CONFIG
- Create group SYSNDIAG: commands may not be executed by means of DIAG8
- Fix segfault in single step trace




git-svn-id: file:///home/jj/hercules.svn/trunk@6925 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-16 19:46:19 +00:00
Paul Gorlinsky
cd65dcc8b4 Add DEVN like CCUU as symbol
git-svn-id: file:///home/jj/hercules.svn/trunk@6919 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 22:39:28 +00:00
Jan Jaeger
3448f9ba2b remove globals
git-svn-id: file:///home/jj/hercules.svn/trunk@6913 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-15 19:54:39 +00:00
Paul Gorlinsky
b0e6c9f45b Script and Rexx fixes. Script will now recuse properly. Add EXECB for background rexx processing of commands. cmdtab will process one command at a time. Trying to make command processing more thread safe.
git-svn-id: file:///home/jj/hercules.svn/trunk@6874 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-12 03:40:10 +00:00
Paul Gorlinsky
6692b40d93 Add HTTP command to STOP|START and display HTTP server status; HTTPPORT and HTTPROOT are also panel commands now. Script.c change to only indicate a configuration error when rc < 0 from process a configuration statement.
git-svn-id: file:///home/jj/hercules.svn/trunk@6790 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-05 05:06:47 +00:00
Jan Jaeger
7c2749b329 Fix OPTION_ENHANCED_CONFIG_INCLUDE
git-svn-id: file:///home/jj/hercules.svn/trunk@6771 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-03 17:41:32 +00:00
Jan Jaeger
9267e635da Make more re-entrent
git-svn-id: file:///home/jj/hercules.svn/trunk@6761 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-03 11:36:08 +00:00
Paul Gorlinsky
3619408dbf OPTION_ENHANCED_DEVICE_ATTACH backwards in script.c preventing device detection if compound device number is very first device "2e8.8 3270"
git-svn-id: file:///home/jj/hercules.svn/trunk@6754 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-03 04:02:07 +00:00
Jan Jaeger
1d4c75abb0 id
git-svn-id: file:///home/jj/hercules.svn/trunk@6740 956126f8-22a0-4046-8f4a-272fa8102e63
2010-10-02 20:05:23 +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