Commit Graph

185 Commits

Author SHA1 Message Date
Salvatore Bonaccorso
b3327c558d Properly quote argument to echo containging # in Makefile
lex.yy.c did not include config.h since the argument to echo was treated
as comment, so just an empty line was prepended.

Closes: #15
2015-07-24 10:19:24 +02:00
Thomas Jensen
90f967adb3 Remove obsolete revision histories from source file headers 2015-01-11 23:15:48 +01:00
Thomas Jensen
a60d74eb02 Apply patch by Salvatore Bonaccorso to fix FTBFS on GNU/kFreeBSD and GNU/Hurd 2015-01-11 22:23:25 +01:00
Thomas Jensen
0a58a24763 Apply patch by Jakub Hrozek to eliminate a compilation warning on Fedora 2015-01-10 22:35:08 +01:00
Mike Meyer
1a2cf93965 Allow user to add flags to CFLAGS and LDFLAGS
To build on Mac OS X: `make CFLAGS_ADDTL=-m32 LDFLAGS_ADDTL=-m32`
2014-10-20 16:32:53 -04:00
Thomas Jensen
f6c6a175b0 Updated error message format in getopt.c for win32 test case compatibility 2014-10-09 23:37:45 +02:00
Thomas Jensen
001eaeeb57 Consolidated separated Makefiles for Unix and Win32 into one 2014-10-07 23:57:44 +02:00
Thomas Jensen
2dccdbcc0d Moved boxes sources from RCS to git 2014-08-27 22:41:48 +02:00
Thomas Jensen
92a5770124 Added support for --help and -? options, which do the same as -h
(This feature was requested by Raphael Wimmer).
2006-08-28 15:53:46 +00:00
Thomas Jensen
b80e352569 Undo of previous version
Added include string.h and stdlib.h, removed all manual extern declarations
2006-07-23 16:28:13 +00:00
Thomas Jensen
4274b625b2 Undo of previous version
Added include string.h and removed manual extern declarations for strncpy()
2006-07-23 16:15:55 +00:00
Thomas Jensen
cff897f7d6 Removed unsigned modifier from a pointer declaration in order to clear a warning
which appeared on some Linuxes (reported by Andreas Heiduk)
2006-07-23 16:11:39 +00:00
Thomas Jensen
c37a33617f Applied patch by Christoph Dreyer to support unexpansion of leading tabs
Added ability to retain leading tabs in their original positions
Mending a box with -m now implies -k false
2006-07-22 19:40:40 +00:00
Thomas Jensen
b83ec23f56 Fix: Renamed yylineno to tjlineno to enable compilation on certain
flexes (reported by Andreas Heiduk)
2006-07-22 19:30:55 +00:00
Thomas Jensen
3089111594 Changed expand_tabs_into() so that it records the original tab positions in a line
Added tabbify_indent() to restore original leading tabs after box processing
2006-07-22 19:27:15 +00:00
Thomas Jensen
0803e5ca0a Applied patch by Christoph Dreyer to support unexpansion of leading tabs
Added ability to retain existing tabs
2006-07-22 19:19:26 +00:00
Thomas Jensen
0a06325655 Fix: Renamed yylineno to tjlineno to enable compilation on certain
flexes (reported by Andreas Heiduk)
Added tabexp to opt_t
Added tabpos and tabpos_len to line_t for advanced tab handling
2006-07-22 19:15:52 +00:00
Thomas Jensen
6f11b40d19 Changed expand_tabs_into() signature in order to support advanced tab handling
Added tabbify_indent()
2006-07-22 19:11:07 +00:00
Thomas Jensen
c925545c13 The file boxes.h is now managed by the top level Makefile only
Added rcslocks target to check lock status
Small usability enhancements
2006-07-22 19:07:21 +00:00
Thomas Jensen
03685e42c1 Small usability enhancements 2006-07-22 19:04:30 +00:00
Thomas Jensen
148ebfb4c3 Several small changes which may help clear some warnings on Debian 2006-07-22 19:02:24 +00:00
Thomas Jensen
3d99016b51 Added extern declaration of strncpy() to myregsub(), hoping this will clear some warnings on Debian 2006-07-22 19:01:10 +00:00
Thomas Jensen
38a62dec74 Added target rcslocks 2006-07-12 21:28:38 +00:00
Thomas Jensen
f8df42aa6a Updated email and web addresses in comment header etc.
Applied patch by Elmar Loos that adds -m option for mending a box
Changed a few more things to make the box mending patch work in
connection with all the other boxes options
2006-07-12 05:49:50 +00:00
Thomas Jensen
9eaecc9b3e Updated email and web addresses in comment header
Added new member 'mend' to opt_t (for option -m, mend box)
2006-07-12 05:44:12 +00:00
Thomas Jensen
b37c06c874 Updated email and web addresses in comment header 2006-07-12 05:41:52 +00:00
Thomas Jensen
21594c1f50 Updated email and web addresses in comment header
Added trim_only flag to output_input() function, used for box mending
2006-07-12 05:28:58 +00:00
Thomas Jensen
3f8bdab8f2 Updated email and web addresses in comment header 2006-07-12 05:25:27 +00:00
Thomas Jensen
40a1bb3487 Updated world wide web link in comment header 2006-07-12 05:20:26 +00:00
Thomas Jensen
74288d1d4a Removed -traditional flag from CFLAGS definition
Updated email and web addresses
2006-07-08 08:47:58 +00:00
Thomas Jensen
dab5f12459 Applied patch by Andreas Heiduk to facilitate compilation with
present-day flexes
2006-07-07 07:24:17 +00:00
Thomas Jensen
9eed60977d Added cld member to command line option struct (-c option) 2000-04-01 18:28:18 +00:00
Thomas Jensen
07d7260497 Added -c option (simple comment definition) 2000-04-01 18:27:17 +00:00
Thomas Jensen
06eac718d2 Minor change to make boxes compile on DEC/OSF, too (S_ISDIR) 2000-03-21 14:26:31 +00:00
Thomas Jensen
55d74f3c38 Added Makefile.Win32 and misc/* to snap generation commands 2000-03-17 23:51:43 +00:00
Thomas Jensen
4d48f2c8ef Port to Win32 platform based on patches by Ron Aaron
Changes only affect Win32 version. Win32 behavior differs from the UNIX
platforms in the way the config file is searched and the config file
name (boxes.cfg).
2000-03-17 23:44:26 +00:00
Thomas Jensen
980a056d33 Added vim autocommand to set syntax highlighting to C 2000-03-17 23:43:13 +00:00
Thomas Jensen
555f640f56 Moved config.h into ORIG_HDRCL group, so it appears in the change log Web
page
1999-11-08 10:55:13 +00:00
Thomas Jensen
85d76ebb6a Bugfix: For non-empty left box sides, spaces belonging to "empty" shape
lines were not properly removed in some cases
1999-11-08 10:51:41 +00:00
Thomas Jensen
3f2f687128 Bugfix: Horizontal box parts were not correctly detected if the west box
side was empty (reported: Tobias Buchal)
Bugfix: boxes could hang in detect_horiz() due to goeast/west confusion
1999-11-07 17:46:26 +00:00
Thomas Jensen
532bd941b3 Eliminated use of PATH_MAX in order to ease porting
Restructured infile/outfile code to eliminate need for access() function
and improve readability
Added file type check before reading config file. boxes used to generate
a weird error message if the config file is a directory
1999-09-10 19:21:05 +00:00
Thomas Jensen
a5119027eb Added concat_strings() function prototype from Joe Zbiciak's patches 1999-08-31 15:38:42 +00:00
Thomas Jensen
fc2a00f0dc Applied Joe Zbiciak's patches to remove all snprintf()s and variants
Replaced snprintf() calls with calls to concat_strings() in the process
1999-08-31 15:37:01 +00:00
Thomas Jensen
b84e9ed503 Applied Joe Zbiciak's patches to remove all snprintf()s and variants
Added concat_strings() function and changed yyerror() in the process
1999-08-31 15:35:13 +00:00
Thomas Jensen
2535f9f8f5 Bugfix: Changed empty #elif to #else (thanks Tommy Williams)
Port to i386/FreeBSD by Tommy Williams
1999-08-25 13:38:37 +00:00
Thomas Jensen
d3a64d0677 Removed const from 2nd parameter of justify_line() function 1999-08-22 11:36:45 +00:00
Thomas Jensen
70ba492f26 Bugfix: no-input-check must take place before indentation computation 1999-08-22 11:34:46 +00:00
Thomas Jensen
21ad76c0af Renamed file from boxes.h to boxes.h.in
VERSION and GLOBALCONF values are now put in by top level Makefile
1999-08-21 23:37:23 +00:00
Thomas Jensen
fcba4e3d7b boxes.h is now generated from boxes.h.in by top level Makefile
Added -Wall -W to CFLAGS and removed .c.o rule
1999-08-21 23:35:44 +00:00
Thomas Jensen
97c7109f5d Added usage of system-wide config file (GLOBALCONF from boxes.h)
Moved config file selection code into it own function (get_config_file())
1999-08-21 23:33:03 +00:00