Commit graph

38 commits

Author SHA1 Message Date
wiz
b503582804 Add conflicts between jed and xjed. 2003-04-05 21:40:53 +00:00
wiz
2233f51e80 Separate out a Makefile.common, to be shared with xjed. 2003-04-05 21:34:14 +00:00
wiz
e8a1dfdb6c Update to 0.99.16, provided by Joerg Klemenz in PR 18937.
Changes:
Changes since B0.99-15
1. lib/edt.sl: Hard-coded escape sequences \e= and \e> were swapped.
   This affected the use of the application keypad on systems that did
   not have terminfo entries specifying these strings.
2. src/file.c: if write failed, report errno and num failed bytes.
3. src/screen.c: Unlock buffer files when exiting as a result of a
   fatal error.
4. lib/cmode.sl: c_indent_line would auto-insert // even when
   configured not to do so by the user.
5. lib/site.sl: Collapse multiple occurances of / characters in
   filenames that appear on the command line.
6. src/ledit.c: If a file to be loaded really a directory, then skip it.
7. src/*.c: use _SLvsnprintf instead of vprintf to
   avoid buffer overflows.  Also use safe_strcpy instead of strcpy.
8. src/sysdep.c: tweak to expand_filename to deal with very large
   filenames (much larger than OS permits).
9. lib/compress.sl: avoid using a regexp to get extname.
10. src/pty.c: tweaked for compiling with CYGWIN--- Requires slang
    1.4.5 if you intend to build a cygwin version.
11. src/main.c: If jed-script is symlinked to jed, then the result is
    equivalent to running jed with the -script option.  This is useful
    for using jed in an executable script, e.g.,

         #!/usr/bin/env jed-script
	 vmessage ("Script name: %s", __argv[0]);
	 quit_jed ();

    Also, if the script defines a function called "jedscript_main",
    then that function will get called after the file is loaded.

12. doc/rtl/keys.tm: get_key_binding documentation corrected by
    Guenter Milde
13. lib/filter.sl: filter_region function was not working.
14. src/menu.c: New function: menu_select_menu.  This enables a menu
    item to be executed from a function call, e.g.,

       menu_select_menu ("Global.W&indows.&Color Schemes");

    will popup the color-schemes menu.
15. src/ledit.c: bug-fix involving loading files such as xxx-1.0.sl
    when loaded as ()=evalfile("xxx-1.0").
16. src/colors.c: new intrinsics: get_color, add_color_object.  The
    idea behind these was conceived by Francesc Rocher.  A
    "custom_color" function analogous to "custom_variable" was also
    added.
17. src/wterm.c: patch from Paul Shirley
    to have ALT keys return scancodes instead of win32 virtual keycodes.
18. doc/tm/rtl/*.tm: Fixed synopsis lines and various other
    documentation improvments (Guenter Milde)
19. src/indent.c: New intrinsic: what_syntax_table returns the name of
    the current syntax table.
20. src/unix.c: fixed a problem in the filename expansion routines
    that affects older systems that do not have glob.h.
21. lib/site.sl: If Tab_Always_Insert_Tabs is non-zero, the pressing
    the tab key will cause a tab to be inserted.  The default value is
    0.
22. When objects (files or buffers) are loaded, they are given the
    full path name.  This means that the slang pseudo-variable
    __FILE__ will expand to the full pathname of the file being loaded.
23. lib/cmode.sl: treat formfeeds like whitespace
24. lib/comments.sl: Add support for java comments (Nathan Smith)
25. lib/os.sl: x_*_selection functions aliased to x_*_cutbuffer if
    undefined.  This permitted #ifdefs to be removed from lib/mouse.sl
    to avoid problems with mouse.sl byte-compiled with jed but used
    with xjed.
26. src/xterm.c: Handle selection events while waiting for keyboard
    input.  This allows, e.g., x_insert_selection to be bound to a key.
27. src/indent.c: Added support for a second string character to the
    syntax tables.  This improves the highlighting of, e.g., python
    code which uses two string characters.
28. lib/pymode.sl: minor cleanups.
29. src/wterm.c, w32cons.c: make NumLock return ESC O P when
    NUMLOCK_IS_GOLD is set.  Hopefully EDT emulation will now work
    properly on win32 systems.
30. src/menu.c: Ctrl-G causes abortion of menu mode.
31. src/wterm.c: drag/drop functionality for wjed ("John Skilleter")
32. lib/html.sl: updated to support euro, etc.  (Kees Serier)
33. src/win32.c:w32_pclose: add a work-around to what may be a Borland
    compiler bug. ("John Skilleter")
34. src/xterm.c: internal border width of the of xjed window is now
    configurable via -ib xjed option (Jim Clifton)
35. lib/krconv.sl: respect the value of C_BRA_NEWLINE
    (Ulrich Bernert)
36. src/buffer.c,ledit.c: If a file is read through a symbolic link,
    set the name of the buffer to the name of the symlink and not the
    actual file.  This is allows e.g., foo.c --> /dev/c/0013
    to be interpreted as a C file.
37. src/win32.c: differentiate between (shift|alt|ctrl)-backspace
    (John Skilleter)
38. src/cmisc.sl: Make c_end_of_function symmetric with
    c_top_of_function.  (Reuben Thomas)
39. src/wterm.c: fix problem with calculation of font-height for wjed.
    Also added new intrinsic for setting the font: w32_select_font
    (John Skilleter)
40. New internal hooks added: _jed_before_key_hooks, _jed_after_key_hooks
41. lib/wmark.sl: rewritten to use _jed_before/after_key hooks.  The
    result is that one is now able to use the regions with menu and
    minibuffer commands.
42. lib/popups.sl: Edit menu enhanced with more region functions.
    Register functions moved to region functions popup.
43. src/menu.c: disabled access to the menus from the minibuffer
44. lib/cmode.sl: added mode-specific menu entries to list all
    functions and macros defined by the file.  This affects C mode and
    SLang mode.
45. New intrinsics: exit, _exit.  These are useful in jed scripts to
    return an exit value to the shell.  exit is like exit_jed and
    _exit is like quit_jed except an argument is required.
46. lib/tmmode.sl: This file implements the tm_mode for editing
    text-macro files.  In addition, the text-macro processing code
    (textmac.sl) was removed from the jed distribution as well as
    lib/tm/*.  Instead, the text-macro processing code and macros will
    be made available as a separate package.
47. src/sig.c: Changed the way SIGHUP and SIGTERM are handled to avoid
    a possible race condition.
48. lib/latex.sl,ltx-math.sl: If another tex file was loaded while
    latex math mode was active, then latex_math_mode would cease to
    work in the first buffer.  This has been fixed.
49. lib/perl.sl: Updated to Mark Olesen's latest version.  See
    lib/perl.sl for details.
50. lib/sccs.sl: New file supporting SCCS revision control (Philip
    Brown).
51. src/intrin.c: New intrinsic function: run_program.  This plays the
    same role as the "system" function except jed resets the display
    first, if run in a terminal.  For X, it runs the specified program
    in another xterm, or the terminal set by the XTerm_Pgm variable.

    *** Note: This function needs to be fixed to work asynchronously
              on win32.  Any volunteers??

52. src/xterm.c: Added Charl Botha's XRENDER patch to Xjed.
53. lib/ide.sl: Remove references to ide_function_help (Guido Gonzato).
54. lib/site.sl: save_buffer was not calling read_file_from_mini
    without a prompt string <klaus.schmid at kdt.de>
55. doc/tm/*.tm: removed docs for obsolete functions <klaus.schmid at kdt.de>
56. lib/mouse.sl: wheel mouse was not ignoring hidden lines
     <klaus.schmid at kdt.de>
57. lib/f90.sl: Merged fix and free formats into the same file.  In
    addition to f90_mode, there is now f90_fixed_format_mode and
    f90_free_format_mode.  The default format for f90_mode is "free",
    which may be set via the F90_Default_Format variable.
58. lib/registers.sl: rewritten to allow registers to be given
    meaningful names by the user.  Also, fixed limit of 95 registers
    removed.
59. lib/folding.sl: Fixed endless loop during a call to
    fold_whole_buffer when a fold-start mark is at the end of the
    buffer.  Several other tweaks aimed at preserving the current
    position when closing folds (klaus.schmid at kdt.de)
60. lib/edt.sl: multiple definition of exit corrected
      (joukj at hrem.stm.tudelft.nl (Jacob (=Jouk) Jansen))
61. lib/search.sl,isearch.sl: If the search string contains any upper case
    characters then a case-sensitive search will be performed.
62. src/mkfiles/makefile.all: Add CFLAGS macro to MINGW32/CYGWIN32
    section. Miquel Garriga <miquel at icmab.es>
63. src/screen.c: Make the [EOB] line read-only. Miquel Garriga <miquel at icmab.es>
64. src/version.c: Use __MINGW32_VERSION if defined to get the
    compiler version. Miquel Garriga <miquel at icmab.es>
65. lib/os.sl: make sure W32shell_Perform_Globbing is declared. Miquel Garriga <miquel at icmab.es>
66. lib/cal.sl: avoid interpretation of 08 in dates as octal. Miquel Garriga <miquel at icmab.es>
67. src/screen.c: %F may be used to specify complete pathname on the
    mode-line. (John Skilleter).
68. doc/tm/keys.tm: get_key_binding documentation corrected. (Klaus
    Schmid <klaus.schmid at kdt.de>)
69. src/mkfiles/makefile.all: Make sure CFLAGS defines JED. Also add
    support for creating wjed in cygwin environment (Paul
    Shirley).
70. New intrinsic: expand_symlink expands symbolic links
2003-04-05 20:29:40 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
wiz
ed943d9a0c buildlink1 -> buildlink2. 2002-10-09 13:45:46 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
wiz
e5764c6d54 Not needed any longer. 2002-03-14 17:43:52 +00:00
wiz
a64dac5e4a Use slang buildlink.mk instead of DEPENDency.
Fixes pkg/15852 as suggested by Hiramatsu Yoshifumi.
2002-03-14 17:43:41 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
agc
5581f26980 Clean up the post-install target a bit more. 2001-10-25 19:34:44 +00:00
agc
abe131a03c Move post-install commands from a script to a Makefile target, and
do the post-install target a bit more efficiently.

Remove unnecessary script file.
2001-10-25 19:31:10 +00:00
agc
3bd1b1d2e2 Regnerate patch digests after adding NetBSD RCS Ids. 2001-10-25 19:30:09 +00:00
agc
c6db8694bf Add NetBSD RCS Ids. 2001-10-25 19:29:12 +00:00
wiz
20b7ba5fbc Update to 0.99.15, provided by Scott Barron in pkg/14194.
Changes since 0.99.14:
Bugfixes, and:
src/menus.c:  Scrolling implemented for popup menus that contain
    more rows than the display.
src/wterm.c: included latest patches from John Skilleter
    <John.Skilleter@pace.co.uk> for wheel-mouse support.
src/intrin.c: New intrinsic variable Menus_Active indicates
    whether or not the menus are currently active.
src/wterm.c: fix problem with background color used when the
    screen is cleared not matching the background color used in
    drawing text.
2001-10-21 11:44:23 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
wiz
1cad919fc7 Update to 0.99.14, provided by Scott Barron in pkg/13734.
Changes are too many too list here.
2001-09-14 22:48:27 +00:00
agc
7d757ead9a Move to sha1 digests, and add distfile sizes. 2001-04-19 11:00:59 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
wiz
d4fce8d4e7 Unify format of MESSAGEs, and include RCS Ids. 2001-02-06 14:24:03 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
wiz
efd0164fe7 Use a saner version number (0.98.7 instead of 0.98-7);
don't hardwire /usr/pkg in MESSAGE.
2000-09-03 10:04:38 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
mjl
3f7c2a0449 Wildcard dependency on libslang. 2000-01-01 17:11:27 +00:00
mjl
d8affa5162 Update dependeny on libslang to 1.3.9 1999-10-15 23:59:18 +00:00
mycroft
00f045cdf8 libslang to 1.3.8 1999-07-22 07:10:47 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
tron
3e569b15af Remove redundant "--prefix=..." from ${CONFIGURE_ARGS}. 1999-06-22 07:35:32 +00:00
tron
35c9aac0ba Update dependence on "libslang" package to version 1.3.7. 1999-06-22 07:34:15 +00:00
agc
bfeae5b1e2 On Solaris, find the -lcurses library instead of -ltermcap. Makes this
package work on Solaris.
1999-06-03 08:47:22 +00:00
agc
9e2486ff5d Add fix from the author to avoid an s-lang error with Emacs keybindings.
Pointed out by Jukka Marin.
1999-06-03 08:28:49 +00:00
agc
7c51b9a5d2 Fix directory path on ftp master site. 1999-06-03 08:27:21 +00:00
garbled
b0d15709d3 rgrep needs -lm and -ltermcap for slang to be happy. 1998-12-30 19:01:10 +00:00
agc
b9e6923ab2 Remove a blank line, flagged as a fatal error in pkglint. 1998-11-12 16:30:44 +00:00
hwr
76f0a4284c Also populate /usr/pkg/share/{doc,info}. Don't make /usr/pkg/share/bin. 1998-11-01 14:55:37 +00:00
frueauf
cedbd79e1a Remove unnecesary mkdir rules. 1998-10-31 23:25:18 +00:00
frueauf
75875c2637 Dito to what I fixed in slrn/Makefile. 1998-10-31 23:23:36 +00:00
hwr
fa3018abc2 Import of the Jed editor. Jed is powerful and extensible through
S-Lang functions.
1998-10-31 23:16:12 +00:00