Commit graph

479 commits

Author SHA1 Message Date
ceriel eecdf96b0b Rearranged a bit 1991-03-22 15:17:16 +00:00
ceriel adab058c34 Fixed typo 1991-03-14 13:46:53 +00:00
ceriel d8771e87f9 minor mods 1991-03-14 13:43:45 +00:00
ceriel 977e1ac25e Removed unused variable 1991-03-11 14:38:28 +00:00
ceriel 52d4c7ff70 Added VARARGS 1991-03-11 14:33:13 +00:00
ceriel ee02bfcd82 minor mods 1991-02-26 15:46:18 +00:00
ceriel 8de1b855ab delinted 1991-02-19 16:25:21 +00:00
ceriel 9a294d4821 Changed name of include file 1991-02-19 13:53:04 +00:00
ceriel 3660ea15c5 One less significant digit: 20 was too much 1991-02-18 11:43:44 +00:00
ceriel af7686cd66 delinted 1991-02-18 10:58:49 +00:00
ceriel 8322e2d5d3 Made to work if BYTES_REVERSED and/or WORDS_REVERSED are not defined 1991-01-18 09:54:56 +00:00
ceriel 57f2827832 Modified manual page so that STDOUT and STDERR are mentioned 1991-01-17 13:24:28 +00:00
ceriel 4b40bae467 made acceptable for flex (no yyless() callable from other source file) 1991-01-11 14:36:37 +00:00
ceriel d9815cadcd fixed bug with APPEND in sys_open() 1991-01-11 13:19:36 +00:00
ceriel 159d8ec57d Fixed for OUTSEEK (by C. Verstoep) 1990-12-11 10:38:22 +00:00
ceriel 24a8b613ae Added test program 1990-12-04 16:40:21 +00:00
ceriel 8468609eda improved for numbers that can be represented exactly 1990-12-04 11:33:01 +00:00
ceriel 96d5009bef speeded up std_alloc() 1990-11-12 13:56:38 +00:00
ceriel 1bab6dbcaf Several fixes 1990-11-01 09:33:51 +00:00
ceriel 1aef1c5921 Added high-speed clear loops and changed behaviour of Realloc 1990-11-01 09:32:21 +00:00
eck e3a247ad23 added em_mesX.h to .distr 1990-09-20 17:03:05 +00:00
ceriel e0ff37aa6e support for long strings 1990-08-01 14:30:45 +00:00
ceriel f4e1a15dfb Added support for debugger messages 1990-07-30 16:05:27 +00:00
ceriel 76fd4c3d7b fixed declaration of C_error 1990-07-30 16:03:15 +00:00
ceriel 6c5c8c980e Added em_mesX.h which makes some C_ms_... unique in first 7 chars 1990-06-20 12:00:26 +00:00
ceriel 8444bc32fb Added debugger message routines 1990-06-20 11:59:57 +00:00
ceriel 9dacc57b3a C_out uses EM_bsssize etc. instead of C_bsssize etc. 1990-05-16 18:05:55 +00:00
ceriel afae382803 removed references to C_bssinit etc. 1990-05-16 18:03:50 +00:00
ceriel f2b4713c24 cast ptrdiff_t to int for ANSI 1990-04-25 14:23:05 +00:00
ceriel a932246479 Fix: did not work with ALIGNMENT < MIN_SIZE 1990-03-21 16:45:39 +00:00
eck 0296dc2371 fixed wrong assertion 1990-03-21 13:33:14 +00:00
ceriel 1a18efbe49 EM_mkcalls is obsolete 1990-03-14 10:16:49 +00:00
ceriel d35a781049 improved test for overflow 1990-02-27 14:30:10 +00:00
ceriel 0c95aa4b86 fixed library order : fix for 2-byte machines 1990-02-23 17:02:06 +00:00
ceriel 9288115a4d fixed for OUTSEEK 1990-01-29 11:42:58 +00:00
ceriel 0c4835caf3 maintain own free list of buffer headers 1990-01-29 11:41:37 +00:00
ceriel f5b29d9ccc creat mode 666 1990-01-26 11:02:34 +00:00
ceriel fc5c0ddc52 several fixes in the CHECK part 1990-01-18 17:11:41 +00:00
ceriel 531f9b1f77 removed unused variables 1990-01-18 10:59:04 +00:00
ceriel a72bbc0ce2 Changed an o into $suf 1990-01-17 14:39:50 +00:00
ceriel 2b6d2c8407 graceful degradation: allocate fewer structs if cannot get requested amount 1990-01-16 14:38:28 +00:00
ceriel 4b42dcf97f fix: flt_status was not always set properly 1989-12-19 09:27:16 +00:00
ceriel 662c87a579 flt_status maintained for flt_str2flt() 1989-12-18 18:17:17 +00:00
ceriel 2b8e44b860 publicdata is extern for development version 1989-12-18 13:18:43 +00:00
ceriel d6f0d3b65f test on BIGMACHINE was wrong 1989-12-15 15:35:17 +00:00
ceriel a0187208a5 fixed: did not compare properly with 0; reduced size 1989-12-13 16:35:19 +00:00
ceriel e891b36895 removed declaration of unused variable 1989-12-13 13:09:10 +00:00
ceriel 5e2915d143 bug fix: the in_store test did not work when NON_STANDARD was defined,
because in this case, the bit tested resided in user area
1989-11-30 17:29:00 +00:00
ceriel ac489d50a3 Corrected assertion 1989-11-30 15:12:11 +00:00
ceriel 30208cda9a changed commented #defines to #undefs 1989-11-30 14:25:40 +00:00
ceriel 862f83571f speeded up a bit for converting 0.0 to string 1989-11-27 17:25:55 +00:00
ceriel e9d477fd6e more internal buffering 1989-11-17 15:56:53 +00:00
ceriel d4bcec7ec2 removed some unused variables 1989-11-16 16:08:59 +00:00
ceriel 42a7f3d8e7 new version with internal buffering 1989-11-16 15:52:08 +00:00
ceriel c30769327b fixes: ucmp did not quite work right, flt_div had an obscure bug 1989-11-13 12:54:33 +00:00
ceriel 45c90324fd Added some casts for lint 1989-11-08 12:52:41 +00:00
ceriel cccb0dd197 if malloc can return 0 on a 0 argument, free should also accept 0 1989-10-31 09:44:21 +00:00
ceriel 4b445d4860 malloc can return NULL when given a 0 argument 1989-10-30 18:25:30 +00:00
ceriel 4360ab1cee improved error handling: C_busy now returns 0 if C_failed is called 1989-10-25 11:36:51 +00:00
ceriel a413fa8b90 fixed for SunOs 4.0 make 1989-10-24 16:09:24 +00:00
ceriel c246adf1c4 correction 1989-10-24 14:42:49 +00:00
ceriel 95cfd33824 corrected assertions 1989-10-24 12:58:23 +00:00
ceriel 1e3b6137d4 also include ../read_em; C_out.c needs em_comp.h. We cannot install
read_em first, because that needs em_codeEK.h
1989-10-24 09:29:30 +00:00
ceriel e5117bbf30 Added an ARGSUSED to shut up lint 1989-10-23 10:37:00 +00:00
ceriel 35c612b99b some minor improvements 1989-10-19 14:50:52 +00:00
ceriel 1ae683e3b3 improved the making of libCEopt.a 1989-10-18 14:40:15 +00:00
ceriel 744fcc3442 Added split.c to .distr 1989-10-16 18:02:55 +00:00
ceriel 82c3158ada simplified a bit 1989-10-16 17:56:36 +00:00
ceriel b821194cbd merged cricon.c+crfcon.c+crucon.c into crxcon.c 1989-10-16 16:37:46 +00:00
ceriel 1fefd074f9 Added em_private.h 1989-10-16 14:23:25 +00:00
ceriel 81a2d12ae5 improved Makefile: save libemopt.a when creating libCEopt.a 1989-10-16 09:45:06 +00:00
ceriel 0b44329a4b cleaned up considerably 1989-10-13 18:26:05 +00:00
ceriel 8c84139dc8 Added RCS Headers 1989-10-13 14:03:25 +00:00
ceriel 998de8d264 install code-expander version 1989-10-11 15:31:10 +00:00
ceriel 3aa0ecdb5c removed include file in_all.h 1989-10-11 15:25:07 +00:00
ceriel 0e2a3baa5d also install peephole optimizer and code expander versions 1989-10-11 15:15:47 +00:00
ceriel f63613844b Added em_codeO.h 1989-10-11 15:13:07 +00:00
ceriel de6b8d9108 Added em_opt 1989-10-11 12:43:53 +00:00
ceriel 1525e12aee mkstrct.o ended up in the archive twice 1989-10-09 15:03:01 +00:00
ceriel 9197c959dc recursive calls to sametest routine were wrong; How could this ever work? 1989-10-06 14:53:49 +00:00
ceriel 10a379dc8a latest Makefile Version 1989-10-04 11:12:57 +00:00
ceriel 96562f964d This is the 4th distribution version 1989-10-04 11:02:39 +00:00
cvs2hg 42e84d8dd2 fixup commit for tag 'distr3' 1989-10-04 10:56:17 +00:00
ceriel 9a92f57752 Initial revision 1989-10-04 10:56:16 +00:00
ceriel 8ee1e318a3 Added em_codeCE.h to repository and to .distr file 1989-08-21 13:12:51 +00:00
ceriel 8279a37642 made more ANSI conformant 1989-08-09 16:25:50 +00:00
ceriel be3597ddbe fixed: arguments to fputs were the wrong way around 1989-08-09 16:22:59 +00:00
ceriel 94a4bbb268 some fixes: representation for 0, and corrected check for overflow 1989-08-01 16:34:01 +00:00
ceriel 3e194345cf Added #define for buffer size needed for flt_flt2str() 1989-07-31 13:05:51 +00:00
ceriel 990e7a67da Added some assertions 1989-07-31 12:55:33 +00:00
ceriel 53ce9da827 fixed some bugs, added flt_umin 1989-07-28 14:13:39 +00:00
ceriel b1ee8fe36b fixed a problem with the store: we sometimes lost some memory 1989-07-17 15:13:09 +00:00
ceriel b07825aee3 exponent was wrong in divide routine; corrected 1989-07-13 11:18:02 +00:00
ceriel 02c5bf9140 changed lay-out of manual page a bit 1989-07-12 09:48:15 +00:00
ceriel f62db3f3c6 Added #define for Free, improved text 1989-07-11 17:02:07 +00:00
ceriel c483664bb1 made names of some files shorter 1989-07-11 11:38:52 +00:00
ceriel 1e9c82d6e5 made to work, and added the b64 shift routines to the interface 1989-07-11 09:15:17 +00:00
ceriel 1c848c8db3 Added flt_arith 1989-07-10 11:25:02 +00:00
ceriel c20a2155fa Initial revision 1989-07-10 11:17:19 +00:00
ceriel 46b57440a0 made a bit more robust 1989-06-30 14:46:27 +00:00
ceriel 1205b95090 use different (better) hashing algorithm 1989-06-19 11:17:41 +00:00
ceriel c48f281b39 Avoid I/O buffering when using the checking malloc 1989-06-19 11:10:58 +00:00
ceriel e2b5163869 avoid a null-reference 1989-06-19 11:09:44 +00:00
ceriel 4220dc1479 some fixes 1989-05-16 14:48:47 +00:00
ceriel 948aa06740 fixed: signed divide by power of 2 not equivalent to shift-right 1989-05-02 18:00:37 +00:00
ceriel 6877184666 improved version with better PushBack 1989-04-04 14:49:31 +00:00
ceriel 4797a7d4ce make realloc behave like most Unix realloc versions when handed a
null pointer
1989-03-29 12:58:18 +00:00
ceriel 1e3877b595 documented null-string behaviour 1989-03-16 15:41:43 +00:00
ceriel 8aee01de95 made easier to compile with different compiler 1989-02-20 15:29:10 +00:00
ceriel 9751e398e3 Made easier to use other compiler 1989-02-16 16:33:29 +00:00
ceriel 188b1df96d fixed; the previous change was wrong 1989-02-16 11:14:22 +00:00
ceriel 9baa112ea1 Handle empty string in search path; It means: current directory 1989-02-16 10:48:06 +00:00
ceriel 5a4933ff7f Try to allocate to the next power of 2, instead of just aligning
with GRABSIZE; This way, malloc(1000000) followed by free() followed by
another malloc(1000000) will result in the same block being allocated,
because first_present will now find it
1989-02-10 09:18:19 +00:00
ceriel c64da88289 Added FORMAT information for our lint; Documented the _format routine 1989-02-07 11:17:22 +00:00
ceriel 1e9d815c92 Documented need of em_data.a for libeme.a 1989-02-07 11:11:57 +00:00
ceriel f3c29355f6 simplified a bit to make the resulting optimizer smaller; Added a
constant w2 that can be used in the patterns instead of 2*w
1989-02-02 11:41:31 +00:00
ceriel 2930ebb406 fixed bug: OO_halfflush did not work properly 1989-01-31 10:33:59 +00:00
ceriel f2d5f15e51 fixed wr_arhdr: date and size 1988-11-18 16:06:07 +00:00
ceriel 4b5e5a9764 fixed typo 1988-11-16 13:37:46 +00:00
ceriel 0e895422bc removed include: was already done in nopt.h 1988-11-03 10:03:45 +00:00
ceriel 7a6913dea1 some minor improvements 1988-10-28 13:37:48 +00:00
ceriel e71c873fc1 moved comment 1988-10-21 17:35:54 +00:00
ceriel 0d9daaa18d changed assert macro to also work with ANSI C compilers 1988-10-21 17:34:20 +00:00
ceriel 0f8489fe28 Added .distr 1988-10-14 16:47:39 +00:00
ceriel b909bb629b modified bts2str to also escape double quotes 1988-10-05 16:19:42 +00:00
ceriel 9c8e5b9217 corrected a bit 1988-09-30 09:36:26 +00:00
ceriel 391d115b4d fixes from bruce: there are four, not three types of pattern that the
routine findworst should look for
1988-09-27 11:16:04 +00:00
ceriel 751854f36a prevent multiple includes 1988-09-27 09:50:34 +00:00
ceriel 8a8d0d9151 prevent multiple includes 1988-09-26 15:11:25 +00:00
ceriel 2df4da50da made names more unique 1988-09-26 15:05:00 +00:00
ceriel b533b53690 some improvements to manual page and interface 1988-09-22 16:09:18 +00:00
ceriel f8a9f58006 Parameterize archiver 1988-08-23 13:16:38 +00:00
ceriel 9d6a005bb2 minor change: use int in array index 1988-08-23 12:54:16 +00:00
ceriel 7ee4487924 Added ChPushBack 1988-08-19 13:07:20 +00:00
ceriel e0fd12fd05 removed obsolete comment 1988-07-26 15:15:01 +00:00
ceriel b1dc8c8f52 fixed 1988-07-26 09:53:47 +00:00
ceriel b3efe7e46c should not result in commons; does not work with some ranlibs 1988-07-12 20:34:16 +00:00
ceriel 45bb3b1413 try another SBRK 1988-07-11 14:06:11 +00:00
ceriel 0505a65a74 check results in shell script 1988-07-08 16:10:17 +00:00
ceriel 32c3955be1 don't include too much 1988-07-08 15:51:27 +00:00
ceriel 87901b15ba declare mktemp 1988-07-08 15:31:32 +00:00
ceriel 7f6d1911e2 comment sign at begin of line 1988-07-05 12:56:43 +00:00
ceriel bb3dc913a2 improved; delayed frees did not work anyway 1988-07-05 11:50:11 +00:00
ceriel bbf9b03ef4 changed order in archive 1988-07-05 09:12:07 +00:00
ceriel 1f07fc05a4 fixed bug with linenumber counting 1988-06-29 14:05:37 +00:00
ceriel c03e25dc0d Added sys_rename 1988-06-28 11:12:18 +00:00
ceriel c68c06d0c3 only check duplicate ms_emx 1988-06-15 15:25:50 +00:00
ceriel 62c9bd14ce made to work for distribution 1988-04-19 18:58:08 +00:00
ceriel 347a183428 avoid installation order problem 1988-04-19 17:05:05 +00:00
ceriel 39ee09e442 order was wrong 1988-04-19 16:56:40 +00:00
ceriel 832e4c3e8d order was wrong 1988-04-19 16:55:51 +00:00
ceriel bbe4d39ddd improved stupid test 1988-04-19 16:45:19 +00:00
ceriel 0de242d9bb Added make.sh 1988-04-18 09:18:18 +00:00
ceriel f5be4dafc6 use varargs when needed 1988-04-15 15:34:19 +00:00
ceriel e53d23a925 some minor improvements 1988-04-13 13:05:38 +00:00
ceriel 24d7026a7a corrected comment message 1988-04-13 12:52:40 +00:00
ceriel cdda84eaab minor improvement 1988-04-13 12:40:48 +00:00
ceriel b0715c481b also make a makecalls for code expander 1988-04-11 09:48:59 +00:00
ceriel 7c4afedd26 split into separate include files 1988-04-11 09:47:33 +00:00
ceriel ea4b32d326 parameterize archiver used 1988-01-14 14:10:51 +00:00
ceriel b5d320392c parameterize archiver used 1988-01-14 13:58:44 +00:00
ceriel e873fd637d try to free mem as soon as possible 1988-01-14 13:53:58 +00:00
ceriel fb65cda40f make separate lib for code-expander 1988-01-14 13:50:43 +00:00
ceriel 1f3ad61fd5 parameterize archiver used 1988-01-14 13:44:36 +00:00
ceriel bf37d48ac5 Some minor corrections 1988-01-14 13:40:56 +00:00
ceriel 1ee5101ba7 Some corrections to make it work on small machines 1988-01-14 13:34:42 +00:00
ceriel 629fc3f824 adapted to new em_code module 1988-01-14 13:19:32 +00:00
ceriel d5c423adaf better check if a block was already freed 1988-01-14 11:35:07 +00:00
ceriel a726f7d49e adapted to use new em_code module, and a minor fix 1988-01-14 10:52:36 +00:00
ceriel 2e932ba803 fixed: used wrong index in em_flag 1987-11-23 13:35:34 +00:00
ceriel bffdad9cdc improved a bit 1987-11-17 16:22:13 +00:00
ceriel 4359c699dc completely new version 1987-11-12 12:26:36 +00:00
ceriel 0baf75f779 completely new version 1987-11-12 11:59:31 +00:00
ceriel 7b317f79e2 The 'ahead' mechanism was not right 1987-11-09 11:45:39 +00:00
ceriel 7d0a77821c fixed bug in reading of longs in archive header 1987-11-05 11:55:28 +00:00
ceriel 5f35f2b26b parameterized archiver used 1987-10-15 10:32:12 +00:00
ceriel 149a2abd07 some fixes 1987-09-29 16:07:10 +00:00
ceriel 1eda133f01 Added register decl, re-arranged some code 1987-09-23 14:22:39 +00:00
ceriel 1655b2521f Added a register decl 1987-09-22 16:14:38 +00:00
ceriel dd320002c2 time must be called with a 0-pointer, not with 0! Erikje toch! 1987-09-01 14:18:20 +00:00
ceriel a2d921040d first free-ing and then reallocing did not work properly.
Now, free does nothing, except remembering that a block was freed.
malloc, realloc and free check for this.
1987-08-14 11:52:17 +00:00
ceriel 34bcf4786b make two versions: one for new peephole optimizer 1987-08-06 19:00:21 +00:00
ceriel a5e33acf51 fixed manual page 1987-08-06 18:59:07 +00:00
ceriel a9392483b1 Added files for new peephole optimizer 1987-08-06 18:58:39 +00:00
ceriel 88eaeed762 code improvement 1987-08-06 14:24:08 +00:00
ceriel 5f6b6651e1 fixes 1987-08-06 14:21:01 +00:00
ceriel 912e362f11 minor mods 1987-08-06 14:20:11 +00:00
ceriel ce6a1b9cfc many re-arrangements 1987-08-06 10:48:14 +00:00
ceriel c37193b667 some cosmetic changes 1987-08-03 11:01:19 +00:00
ceriel a203a029cb some cosmetic changes 1987-08-03 09:16:20 +00:00
ceriel 3b038786ad removed the limitation of the next field 1987-08-03 09:07:25 +00:00
bruce 48a4d04b61 Corrected EMHOME in Makefile (yet again) 1987-07-30 09:42:39 +00:00
bruce bf63b12a93 Added removal of dead code patterns 1987-07-29 16:10:27 +00:00
bruce 9e55f02c3b Parser outputs some stats and fixed error is pseudo.r 1987-07-28 11:22:59 +00:00
bruce 545bed355d Converted dfa to use row displacement compaction 1987-07-28 09:37:09 +00:00
bruce 85053cf283 Remove strings library from Makefile 1987-07-22 12:41:46 +00:00
bruce 1c1eed4fd8 Major change: All queues now in same buffer 1987-07-21 13:23:09 +00:00
bruce 287a122d85 remove a couple pieces of trivial lint 1987-07-14 09:15:10 +00:00
bruce 40b9920f8f dfa.c now a routine for each state rather than nested switch statement 1987-07-13 15:03:27 +00:00
bruce dc8d6ce37b Remove free queue and use st_alloc/free from alloc module 1987-07-13 10:07:33 +00:00