Commit Graph

645 Commits

Author SHA1 Message Date
Thomas Jensen
cda91cdbef Added Reverse pattern 1999-06-14 12:13:41 +00:00
Thomas Jensen
42d3d8f4f6 Added YREVERSE token
Added code for regexp reversion
1999-06-14 12:13:01 +00:00
Thomas Jensen
6756a85171 Added struct members for regexp reversion code
Renamed current_reprule to current_rule, now used for both directions
1999-06-14 12:11:54 +00:00
Thomas Jensen
c033fef722 Bugfix: best_match() box side detection used numw instead of nume
Added apply_substitutions() routine for central regexp handling
Added regexp reversion code for box removal
Unified use of current_re[pv]rule
Added a few comments and debugging code
1999-06-14 12:08:49 +00:00
Thomas Jensen
9ebc20ebc0 Some error message clean-up
Regular expression substituions on input text only if *drawing* a box,
not if the box is to be removed (requires other substitutions, TODO).
Added code for box design auto-detection when removing a box.
1999-06-13 15:28:31 +00:00
Thomas Jensen
02b697659e Don't adjust indentation after removing a box unless something was
removed on the west side
East Padding made dynamic, i.e. dependant on the east side size
1999-06-04 18:13:26 +00:00
Thomas Jensen
498bd9c12a Added snap target for automatic snapshot publication 1999-06-04 12:15:37 +00:00
Thomas Jensen
c0b7322493 a few fixes related to box removal (as expected) 1999-06-03 19:24:14 +00:00
Thomas Jensen
4a01a9254b *** empty log message *** 1999-06-03 18:54:33 +00:00
Thomas Jensen
5971b0994b lots of fixes
Added remove box functionality, which remains to be tested
1999-06-03 18:54:05 +00:00
Thomas Jensen
a53d558f8f Added rcsid using #pragma ident 1999-04-12 18:16:52 +00:00
Thomas Jensen
3722111e95 Added missing '$' to rcs id string, changed from #ident to char 1999-04-12 18:13:20 +00:00
Thomas Jensen
60535ea3b3 Added some more designs
Uncommented an unused entry, since boxes no longer generates warnings
upon encountering syntactically correct entries which it doesn't know.
1999-04-09 18:11:08 +00:00
Thomas Jensen
34d7cf0022 Removed code related to OFFSET blocks (obsolete) 1999-04-09 13:32:55 +00:00
Thomas Jensen
2164de8d0d Added checks for duplicate design names
Added checks for valid design names (no extended ASCII or ctrl chars)
Removed all code related to OFFSET blocks (obsolete)
1999-04-09 13:31:54 +00:00
Thomas Jensen
f9c8de9291 Removed all code related to OFFSET blocks (obsolete) 1999-04-09 13:31:13 +00:00
Thomas Jensen
5c957f0350 Removed all occurrences of OFFSET specs (obsolete).
Added some new designs
Added some test/debugging designs
1999-04-09 13:28:13 +00:00
Thomas Jensen
c015097473 Don't export regexec() and regsub() anymore - used by myregsub exclusively. 1999-04-05 19:41:42 +00:00
Thomas Jensen
c4d3a2e821 Hopefully fixed a potential buffer overrun problem in regsub() 1999-04-05 19:39:27 +00:00
Thomas Jensen
9a0829d1e5 Added #ident directive 1999-04-04 16:18:23 +00:00
Thomas Jensen
b203415277 Initial revision 1999-04-04 16:14:09 +00:00
Thomas Jensen
006a3bc702 Added rules for new regular expression handling files
Added file header
Straightened out clean commands
1999-04-04 16:12:40 +00:00
Thomas Jensen
4c0375a015 Added indent keyword
Added Replace token
Some fiddling which will hopefully fix a line counting bug
1999-04-04 16:11:39 +00:00
Thomas Jensen
1492da7251 Added some flags to design structure
Move default settings here from boxes.c
1999-04-04 16:10:51 +00:00
Thomas Jensen
bbf133112c Added code for specification of indentation handling of input
Added regular expression substitutions
Some minor fixes
1999-04-04 16:09:01 +00:00
Thomas Jensen
f239524594 Enforced use of PROJECT macro
Added "indent" directive to grammar
Added "replace" directive to grammar
1999-04-04 16:07:53 +00:00
Thomas Jensen
413528bdf0 Added build target for optimized compilation
Now linking with flex library instead of lex library
1999-04-03 12:01:01 +00:00
Thomas Jensen
3271315a45 ... still programming ...
Added infile/outfile parameter code (pasted from tal, more or less)
Added code to remove trailing spaces from output lines
1999-04-02 18:42:44 +00:00
Thomas Jensen
32e1584b43 ... still programming ...
Some bug fixes
Added size option (-s)
Added Alignment Option (-a)
It seems actually usable for drawing boxes :-)
1999-04-01 17:26:18 +00:00
Thomas Jensen
9285b8418d ... still programming ...
Added minwidth and minheight to design structure
1999-03-31 17:34:43 +00:00
Thomas Jensen
3ac253d3b8 ... still programming ...
(some bug fixes and restructuring)
1999-03-31 17:34:21 +00:00
Thomas Jensen
8590d861ed Added some more designs
Incorporated changes in the still evolving format
1999-03-30 15:36:03 +00:00
Thomas Jensen
504284f942 Added minimum width/height for a design. Fixed screwed tiny boxes.
Did not handle zero input.
1999-03-30 13:30:19 +00:00
Thomas Jensen
103bcbffda Added computation of minimum width/height of each design. 1999-03-30 13:29:50 +00:00
Thomas Jensen
5d6bde380a Added rcs keywords and standard file header. 1999-03-30 09:42:51 +00:00
Thomas Jensen
dc10567bac It drew a correct box for the first time! 1999-03-30 09:37:51 +00:00
Thomas Jensen
9b572008d8 ... still programming ...
It drew a correct box for the first time!
1999-03-30 09:36:58 +00:00
Thomas Jensen
c267c43c63 ... still programming ...
(removed setlocale() call and locale.h include)
1999-03-30 09:36:23 +00:00
Thomas Jensen
403c6ee4d6 Added detection of empty shapes ("") which are now cleared (+warning)
Changed rcs string to #ident directive
1999-03-24 17:29:12 +00:00
Thomas Jensen
aba8957f51 Added -D__EXTENSIONS__
Compile everything but the parser with -Wall -W
1999-03-22 10:57:14 +00:00
Thomas Jensen
d3f766d62e Added boxes.o to clean target
Switched language to ANSI C / POSIX_SOURCE
Added -Wall -W to boxes core compilation
1999-03-19 17:58:14 +00:00
Thomas Jensen
1dd6fcd588 ... still programming ... 1999-03-19 17:57:20 +00:00
Thomas Jensen
33c6e9cdc1 ... still programming ... 1999-03-19 17:51:19 +00:00
Thomas Jensen
cc3348c999 ... still programming ... 1999-03-19 17:44:47 +00:00
Thomas Jensen
8d7db8a263 Initial revision 1999-03-18 15:08:57 +00:00