debian/0000755000000000000000000000000012150736307007172 5ustar debian/Nedit.xpm0000644000000000000000000001021312146172430010754 0ustar /* XPM */ static char *Nedit[] = { /* columns rows colors chars-per-pixel */ "26 32 146 2", " c #6B697F", ". c #66618A", "X c #6E688A", "o c #676094", "O c #6B6493", "+ c #69669D", "@ c #6E6994", "# c #6D699A", "$ c #726F85", "% c #706D8C", "& c #716C94", "* c #736D9C", "= c #737081", "- c #75728F", "; c #787683", ": c #7B7A8C", "> c #757294", ", c #74719B", "< c #797495", "1 c #7A749C", "2 c #7C7A94", "3 c #7C799B", "4 c #6D67A3", "5 c #6E6BA4", "6 c #6D68A8", "7 c #726CA4", "8 c #726DAA", "9 c #746FB1", "0 c #7472A2", "q c #7571AA", "w c #7A74A5", "e c #7871AB", "r c #7C78A3", "t c #7D78AB", "y c #7570B1", "u c #7B76B0", "i c #7F7CB1", "p c #817D9A", "a c #827DA3", "s c #807AAA", "d c #827AB3", "f c #878593", "g c #85809E", "h c #8A8896", "j c #8B899C", "k c #8582A4", "l c #8984A5", "z c #8A86A9", "x c #8C88A3", "c c #8584B0", "v c #8882B2", "b c #928DA3", "n c #928DAD", "m c #938EB6", "M c #9793AE", "N c #9997A4", "B c #9592B4", "V c #9995B4", "C c #9B96BE", "Z c #9E9BB8", "A c #A09DAC", "S c #A29DB3", "D c #A29DBC", "F c #A7A7A9", "G c #A6A4B7", "H c #A5A1BA", "J c #AAA7BC", "K c #AEADB1", "L c #ADABBC", "P c #B0B0B2", "I c #B3B3BC", "U c #B9B6BD", "Y c #BBBBBD", "T c #9A92C3", "R c #A6A1C3", "E c #A6A1C9", "W c #A8A4C4", "Q c #ADAAC2", "! c #AFACCB", "~ c #A8A1D5", "^ c #ADABD0", "/ c #B2AFC4", "( c #B1ACCC", ") c #B1ABD2", "_ c #B6AFD9", "` c #B4B1C4", "' c #B8B5C6", "] c #B8B6CC", "[ c #BCBAC3", "{ c #BFBDCA", "} c #B9B6D1", "| c #BAB6DB", " . c #BFBBD2", ".. c #BCBADB", "X. c #BEB9E2", "o. c #C2BECC", "O. c #C1BFD0", "+. c #C2BEE3", "@. c #C3C2C4", "#. c #C6C6CA", "$. c #C4C2D2", "%. c #C4C1DA", "&. c #CAC6D5", "*. c #CAC6DC", "=. c #CCCADB", "-. c #D2D2D4", ";. c #D3D2DB", ":. c #DBDBDD", ">. c #C5C1E6", ",. c #C9C5E3", "<. c #CDCAE2", "1. c #CCC9E8", "2. c #C7C0F6", "3. c #CFCBF0", "4. c #D1CDEB", "5. c #D4CDFF", "6. c #D3D1E4", "7. c #D4D2E9", "8. c #D8D5EA", "9. c #DDDBE6", "0. c #DEDBEE", "q. c #D5D1F2", "w. c #D8D4FC", "e. c #DCD9F1", "r. c #E1DFED", "t. c #E0DEF3", "y. c #E2DDFC", "u. c #E3E3E5", "i. c #E5E4EA", "p. c #EAEAED", "a. c #E5E3F3", "s. c #E4E2FD", "d. c #E8E6F5", "f. c #E9E5FD", "g. c #EBEAF2", "h. c #EEEBFD", "j. c #F1EEFF", "k. c #F6F6EC", "l. c #F6F8EB", "z. c #FAFDEA", "x. c #F3F4F5", "c. c #F4F3FC", "v. c #F6F8F7", "b. c #F8F6FE", "n. c #FCFDF4", "m. c #FDFDFD", /* pixels */ "n.n.n.n.m.m.n.n.n.n.m.m.m.b.m.b.d.&.U @.n.n.z.n.n.n.", "m.n.v.m.m.m.m.n.n.m.m.m.m.m.b.*.t.b.o.@.n.k.n.l.m.n.", "m.m.m.m.b.m.m.m.m.v.i.K I 8.*.4.E ( / j.m.v.m.m.m.m.", "m.m.m.m.m.m.m.j.m.i.L m.j.H O.a 1 O z j.b.m.m.m.m.m.", "m.m.b.m.m.b.m.m.N [ g.h.8.Z X 1 * s * y.b.b.b.m.m.m.", "v.m.m.m.b.m.b.d.Z f ` ` B n > 3 * o p q.c.b.m.m.m.m.", "n.n.n.m.m.m.o.; $.c.b.m.m.h.s.| m 1 a } O.j.m.n.m.n.", "n.n.m.m.b.#.h = : G 7.c.1.! >.w.h.4.S t.r./ u.m.m.n.", "m.m.m.m.r./ a 6.O.- X a , , , , k ..s.Q 8.g.U ;.v.n.", "m.b.m.=.O.n a p q.s 1 a r 0 # 0 , > k 3.W f.c.$.#.x.", "A o.*.1.a _ 5.5.~ 7 e + 8 q 5 y # r # > ..B s.m.<.=.", "b b ( 3 s T +.d e 7 e 4 5 y 9 y q 0 0 q 0 , E m.b.Q ", "d.S p < @ 7 8 d 7 u 8 q 8 q 9 6 5 5 u 5 0 t * w.h.] ", "b.b.j.D a * O e e 7 + q q 5 8 5 u q 8 5 5 i 0 ^ %.a.", "m.m.j.J W a & 1 7 O v # 0 * 0 0 5 5 q 5 q # , 3 ! m.", "b.b.r.-.b.t.( a p 3 ..1 1 , , , q q 5 y q 5 3 > &.m.", "m.v.#.p.b.b.b.b.t.J j.- < 1 & w q y 8 q 8 e * < *.m.", "m.m.U m.m.x.m.m.b.6.r.x < < q.) c . q q 7 7 o p *.b.", "c.m.-.Y m.m.v.b.m.b.L Q p j b.b.s.R 0 0 e e t . 7.m.", "m.m.m.;.K x.v.m.b.b.9.8.$ p b.b.c.b.! O t 7 * r y.b.", "m.m.m.m.i.F p.g.m.m.j.$.G $ %.b.b.b.m.B * w # 3 j.m.", "b.c.m.m.m.m.P -.m.c.m.b.d.' j.m.b.a.h.B , * C R b.m.", "m.m.m.v.m.m.m.:.K p.c.m.b.b.m.b.6.j > > 1 r h.%.m.m.", "m.m.m.m.v.m.m.m.v.@.U u.m.b.m.m.Q 3 > O r > 1.$.m.m.", "m.m.m.m.m.m.m.m.v.m.p.[ Y p.m.m.4.< * a @ 1 V <.c.m.", "m.m.m.m.m.m.m.m.m.v.m.m.p.Y @.g.j.R a & w s l 1.h.b.", "m.m.m.m.m.m.m.m.m.m.m.v.m.m.u.[ I 6.s.T # w s ..j.b.", "m.m.m.m.m.m.m.m.m.m.m.m.m.v.n.m.m.b.b.,.O t v X.b.b.", "m.m.m.m.m.m.m.m.m.m.m.v.m.m.m.m.n.v.m.m.3 # & R b.b.", "m.m.m.m.m.m.m.m.m.m.m.m.m.m.n.n.n.m.m.b.Z 3 3 ..m.m.", "m.m.m.m.m.m.m.m.m.m.m.m.m.m.m.m.n.n.x.m.*. 2 a.m.m.", "m.m.m.m.m.m.m.m.m.m.m.m.m.m.m.m.n.m.m.m.d.h [ m.m.n." }; debian/menu0000644000000000000000000000025212146172430010054 0ustar ?package(nedit): needs="X11" section="Applications/Editors" command="nedit" \ title="NEdit" longtitle="Flexible editor for X11" \ icon="/usr/share/pixmaps/Nedit.xpm" debian/control0000644000000000000000000000374412150735760010607 0ustar Source: nedit Section: editors Priority: optional Maintainer: Paul Gevers Build-Depends: debhelper (>= 9), libmotif-dev, libx11-dev, libxt-dev, x11proto-core-dev, bison, perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/nedit.git Vcs-Git: git://anonscm.debian.org/collab-maint/nedit.git Homepage: http://www.nedit.org/ Standards-Version: 3.9.4 Package: nedit Architecture: any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: nedit-dmotif, nedit-smotif Replaces: nedit-dmotif, nedit-smotif Suggests: csh Description: powerful, customizable, Motif based text editor NEdit is a multi-purpose text editor for the X Window System, which combines a standard, easy to use, graphical user interface with the thorough functionality and stability required by users who edit text eight hours a day. It provides intensive support for development in a wide variety of languages, text processors, and other tools, but at the same time can be used productively by just about anyone who needs to edit text. Users of Macintosh and MS Windows based text editors will find NEdit a familiar and comfortable environment. Package: nedit-dbg Architecture: any Section: debug Priority: extra Depends: nedit (= ${binary:Version}), ${misc:Depends} Description: debugging symbols for nedit NEdit is a multi-purpose text editor for the X Window System, which combines a standard, easy to use, graphical user interface with the thorough functionality and stability required by users who edit text eight hours a day. It provides intensive support for development in a wide variety of languages, text processors, and other tools, but at the same time can be used productively by just about anyone who needs to edit text. Users of Macintosh and MS Windows based text editors will find NEdit a familiar and comfortable environment. . This package contains the debugging symbols. debian/docs0000644000000000000000000000010712150735760010045 0ustar README ReleaseNotes doc/nedit.doc doc/faq.txt doc/nedit.html doc/html/ debian/manpages0000644000000000000000000000003312146172430010700 0ustar doc/nedit.1 doc/nedit-nc.1 debian/compat0000644000000000000000000000000212146755223010373 0ustar 9 debian/postinst0000644000000000000000000000042512146172430010775 0ustar #!/bin/sh set -e # install alternatives link for nedit if [ "$1" = "configure" ]; then update-alternatives --install /usr/bin/editor editor \ /usr/bin/nedit 40 --slave /usr/share/man/man1/editor.1.gz \ editor.1.gz /usr/share/man/man1/nedit.1.gz fi #DEBHELPER# exit 0 debian/nedit.doc-base0000644000000000000000000000035712146172430011675 0ustar Document: nedit Title: NEdit User's Manual Author: The NEdit developers Abstract: This document describes the use of NEdit. Section: Editors Format: HTML Index: /usr/share/doc/nedit/html/nedit.html Files: /usr/share/doc/nedit/html/*.html debian/nedit.install0000644000000000000000000000020012146172430011651 0ustar debian/Nedit.xpm usr/share/pixmaps/ source/nedit usr/bin/ source/nedit-nc usr/bin/ debian/nedit.desktop usr/share/applications/ debian/nedit.desktop0000644000000000000000000000032512146172430011664 0ustar [Desktop Entry] Version=1.0 Name=NEdit Exec=nedit Icon=Nedit Terminal=false Type=Application Categories=Motif;Utility;TextTools; GenericName=Text editor GenericName[en]=Text editor GenericName[nl]=Tekst verwerker debian/watch0000644000000000000000000000020212146172430010211 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 http://sf.net/nedit/nedit-([\d.]*)-src\.tar\.gz debian/rules0000755000000000000000000000334712150727670010264 0ustar #!/usr/bin/make -f #DH_VERBOSE = 1 VERSION = NEdit 5.6 CVS checkout release by Debian on Nov 18, 2008 export DEB_BUILD_MAINT_OPTIONS=hardening=+all LDFLAGS = -Wl,--as-needed $(shell dpkg-buildflags --get LDFLAGS) CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) # For the flags see makefiles/Makefile.generic CFLAGS = -DBUILD_UNTESTED_NEDIT -DHAVE__XMVERSIONSTRING \ -Wall $(shell dpkg-buildflags --get CFLAGS) # See http://wiki.debian.org/HardeningWalkthrough#Handwritten_Makefiles CFLAGS += $(CPPFLAGS) $(LDFLAGS) # ----------------------------------------------------------------------- # Modified during build. Keep original files intact. ORIG = source/help_data.h source/help_topic.h define save # Save original files for f in $(ORIG); do [ -f $$f._ ] || cp -a $$f $$f._ ; done endef define restore # Restore original files for f in $(ORIG); do [ ! -f $$f._ ] || mv $$f._ $$f; done endef # ----------------------------------------------------------------------- override_dh_auto_build: $(save) sed -i s'/\(NEditVersion = "\).*"/\1$(VERSION)\\n"/' source/help_data.h $(MAKE) CFLAGS="$(CFLAGS)" linux $(MAKE) -C doc VERSION="NEdit $(VERSION)" all mv doc/nc.man doc/nedit-nc.1 mv doc/nedit.man doc/nedit.1 mv source/nc source/nedit-nc $(restore) override_dh_auto_clean: # Generated files rm -f doc/nedit.1 doc/nedit-nc.1 source/nedit-nc $(MAKE) -C doc clean $(MAKE) clean find util source Xlt Microline/XmL -type l | \ xargs --no-run-if-empty rm -f $(restore) override_dh_auto_test: # Nothing to do, but nedit's Makefile processes wrongly if asked override_dh_auto_install: # Nothing to do, but nedit's Makefile processes wrongly if asked override_dh_strip: dh_strip --dbg-package=nedit-dbg %: dh $@ # End of file debian/README.debian0000644000000000000000000000074212146172430011272 0ustar nedit for Debian ---------------------- Note that due to a program name conflict with netcat (also named "nc"), NEdit's version of "nc" has been renamed to "nedit-nc". Sorry for any confusion this may cause. The shell sh is used by default. You can switch to csh if necessary. Erik Andersen , Mon, 29 Oct 2001 22:12:29 -0700 Martin Loschwitz Tue, 24 Dec 2002 14:35:00 +0100 Alexandre Pineau Tue, 2 Mar 2004 debian/changelog0000644000000000000000000004224112150736120011040 0ustar nedit (1:5.6~cvs20081118-8) unstable; urgency=low [ Jari Aalto ] * Removed deprecated dpatch and upgrade to packaging format "3.0 quilt" (Closes: #664439). * Standards-Version bumped to 3.9.4 (no changes needed). * Updated debhelper to 9 due to moving rules to dh(1) format. The dh(1) format makes it possible to utilize hardened build flags easily in the build process. * Added ${misc:Depends} to control files (Lintian). * Removed 80_Update_version_description.patch and moved version update to rules file. The version string cannot be set from a patch because it is modified during the build dynamically from the current date. (Closes: #694644) * Added 90_build_no_ask.patch to build unattended. CFLAGS option -DBUILD_UNTESTED_NEDIT would otherwise display "HIT ENTER TO CONTINUE" question. * Use hardened build flags; for this the sources also needed a new 92_format_string.patch. http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags * Update d/copyright to the machine-readable format v1.0 * Remove spurious whitespaces from debian files [ Paul Gevers ] * Update my e-mail address * Remove 70_EditVersionText.dpatch as the current version of the library is not known-bad * Add Vcs-* fields to d/control * Set package to Multi-arch: foreign * Remove build-depends on libxp-dev (Closes: #623662) * Build against libmotif-dev instead of lesstif2-dev now it finaly entered main (should get rid of quite some old bugs). * Create all CFLAGS in d/rules, thus 20_ChangeFlagsLinuxMakefile.patch is obsolete. Now build with BUILD_UNTESTED_NEDIT and HAVE__XMVERSIONSTRING, and without USE_DIRENT and USE_LPR_PRINT_CMD. The later means the default for the print command is now lp i.s.o. lpr. -- Paul Gevers Mon, 27 May 2013 21:22:21 +0200 nedit (1:5.6~cvs20081118-7) unstable; urgency=low * Fixed the debian/rules to really create the debugging package (Closes: #549328) -- Paul Gevers Mon, 05 Oct 2009 21:13:54 +0200 nedit (1:5.6~cvs20081118-6) unstable; urgency=low * Standards-Version bumped to 3.8.3 (no changes needed) * Created debugging symbols package * Added 10_EOF_Parser_error.dpatch created from upstream cvs to fix a parser error (upstream bug 2687525) * Added 30_off_by_one.dpatch created from upstream cvs to fix for off-by-one error, potentially causing a crash (upstream bug 2858723) * Added 40_Pointer_to_Integer.dpatch to fix compiler warning on 64 bit (from upstream bug 2846694) * Added 80_Update_version_description.dpatch to create a version string reflecting the real version, i.e. a cvs checkout of 5.6. * Updated patches to comply with DEP3 format for patches. -- Paul Gevers Mon, 28 Sep 2009 18:21:01 +0200 nedit (1:5.6~cvs20081118-5) unstable; urgency=low * Apply 70_EditVersionText.dpatch and slightly improved the text. -- Paul Gevers Fri, 08 May 2009 20:18:58 +0200 nedit (1:5.6~cvs20081118-4) UNRELEASED; urgency=low * Upload to unstable. * Standards-Version bumped to 3.8.1 (no changes needed) * Bumped build-depends on lesstif2-dev to >= 1:0.95.0-2.3 because of crashing bug in previous versions. * Improved debian/nedit.desktop, proper use of fields, and now also install it. * Added 70_EditVersionText.dpatch to improve the text shown on "nedit -version" and remove the warning about a bad lesstif. -- Paul Gevers Tue, 05 May 2009 21:50:55 +0200 nedit (1:5.6~cvs20081118-3) experimental; urgency=low * Removed source/nedit-nc in debian/rules clean target because nedit fails to build twice * Reference to GLP-2 in debian/copyright instead of GPL (Lintian pedantic warning copyright-refers-to-symlink-license) * Use "set -e" in debian/postinst and debian/prerm instead of setting it on the #! line (Policy 10.4) -- Paul Gevers Thu, 12 Feb 2009 20:14:01 +0100 nedit (1:5.6~cvs20081118-2) UNRELEASED; urgency=low * Removed patch 01_CleanupLinks and remove the symlinks directly in debian/rules (fails to build twice in a row otherwise). -- Paul Gevers Tue, 10 Feb 2009 21:31:15 +0100 nedit (1:5.6~cvs20081118-1) UNRELEASED; urgency=low * CVS checkout of 5.6 branch to experiment with upcoming release * New maintainer (Closes: 499316) * Adjusted short description (removed "A" at beginning) * Added patch system (dpatch) * Added debian/README.source * Checked original diff.gz changes (all implemented upstream or solved below) * Clean up of symlinks in Makefile clean rule (patch 01_CleanupLinks) * Added -DBUILD_BROKEN_NEDIT and -DBUILD_UNTESTED_NEDIT to CFLAGS in debian/rules and changed Makefile.linux to use it because LessTif2 version in Debian is considered bugged by upstream (patch 20_ChangeFlagsLinuxMakefile) * Updated debian/rules to use dh_install * Removed doc/README.FAQ (not relevant) * Build man pages from pod source to change name of NC in Nedit-NC (patch 50_ChangeNCinMan) * Created debian/nedit.desktop file and install it -- Paul Gevers Mon, 02 Feb 2009 14:50:37 +0100 nedit (1:5.5-3) unstable; urgency=low * QA upload * Trigger relinking by uploading (Closes: 431973) * Standards-Version changed to 3.8.0 (necessary changes included below) * Added debian/watch file * Changed build-dependency x-dev (obsolete) to x11proto-core-dev * Changed build-dependency debhelper to > 5 * Added debian/compat level 5 * Removed DH_COMPAT line from debian/rules (handeled by debian/compat) * Added -Wall to CFLAGS in debian/rules to match debian-policy 10.1 * Changed maintainers to QA and removed uploaders (package is orhaned, see bug #499316) * Added homepage to debian/control * Fixed doc-base-invalid-document-field lintian error by converting capitals in docid * Fixed doc-base-uses-applications-section lintian warning by removing unneeded "Apps/" part * Converted debian/copyright to UTF-8 * Fixed menu-item-uses-apps-section lintian warning by replacing Apps by Applications in section field * Escaped 3 hyphens in doc/nc.man -- Paul Gevers Mon, 17 Nov 2008 22:53:48 -0600 nedit (1:5.5-2) unstable; urgency=low * add Nedit icon to menu entry (in debian/menu and debian/rules) * acknowledge the changes from the non maintainer upload (Closes: #349124) * correct FSF adress in debian/copyright file * Standards-Version bumped to 3.6.2.2 -- no changes. * remove libxmu-dev from build-depends (useless) * remove -DBUILD_UNTESTED_NEDIT from Makefile.linux and remove test on BUILD_UNTESTED_NEDIT flag in util/misc.c Indeed, the use of a specific version has no sense for a shared library. (Closes: #343703) * apply patch Xorg-32.diff from Nedit upstream to util/misc.c to correct an issue with Xorg (Closes: #330048, #318261) -- Alexandre Pineau Mon, 6 Feb 2006 23:34:45 +0100 nedit (1:5.5-1.1) unstable; urgency=low * Non-maintainer upload. * Replace build-dependency on xlibs-dev with an explicit build-dependency on each required package. (Closes: #346890) -- Steinar H. Gunderson Sat, 21 Jan 2006 03:07:31 +0100 nedit (1:5.5-1) unstable; urgency=low * New upstream release (Closes: #283086) * clean links from Xlt and Microline/XmL directories * apply patch from yooden to correct the "cursor blinks while typing" bug (Closes: #60672) * use the noopt flag and O2 optimization (Closes: #240408) -- Alexandre Pineau Thu, 31 Mar 2005 19:06:49 +0200 nedit (1:5.4-1) unstable; urgency=low * New Maintainer: Alexandre Pineau (Closes: #229919) * New co-maintainer: Thosten Haude * New upstream release : + Replaces csh-specific scriptlet with awklet. + Workaround for KDE's FONTLIST bug (and for the various BACKGROUND and FOREGROUND resource values).(Closes: #184553) * sh is now the default shell for NEdit (Closes: #178686) * Use lesstif2 (Motif 2.1 compatible) for building the package and update the Build-depends (Closes: #162209, #174065) * remove manual confirmation to continue the building of NEdit if a an untested version of Lesstif is used. * add HTML documentation to doc-base * call the clean rule instead of cleaning the sources tree 'by hand' * clean links from util and source directories * link NEdit dynamically to lesstif (Closes: #195321) * mfile menu.c, line 4343 : remove {} from badFilenameChars to correct the neditdb corruption issue with Tom Lord's Arch revisions control system (Closes: #213564) * use quoted string in the file menu and the title of the menu entry is now properly capitalized. * Standards-Version bumped to 3.6.1.0 -- no changes. -- Alexandre Pineau Sun, 22 Feb 2004 17:27:34 +0100 nedit (1:5.3-2) unstable; urgency=low * Package orphaned, maintainer now the QA-group. * Approve previous NMU. Closes: #156322, #117770. * Fix prerm. Closes: #213325, #214808. -- Andreas Barth Wed, 28 Jan 2004 19:19:08 +0000 nedit (1:5.3-1) unstable; urgency=low * New Maintainer: Martin Loschwitz (blessed by Erik Anderson) - thanks goes to Erik Anderson for his work * New Upstream version (from Nedit website, version 5.3) (Closes: #159477, #157254) * debian/rules: Switched from debmake to debhelper (Closes: #170355) * debian/postinst: Fix manpage path (Closes: #171601) -- Martin Loschwitz Mon, 23 Dec 2002 17:00:00 +0100 nedit (1:5.2-1.2) unstable; urgency=low * NMU to fix bug 156322 as part of the 2nd Sarge BSP. * debian/postinst: - Changed symlink name from /usr/man/man1/editor.1.gz to /usr/share/man/man1/editor.1.gz, as per patch supplied to bug 156322. -- Matthew Palmer Sat, 23 Nov 2002 14:12:41 +1100 nedit (1:5.2-1.1) unstable; urgency=low * NMU to fix build-failures * debian/control: - add debmake to Build-Depends - also corrected existing errors in Build-Depends usage - bumped Standards-Version -- Branden Robinson Tue, 6 Nov 2001 13:33:53 -0500 nedit (1:5.2-1) unstable; urgency=low * New upstream version -- NEdit 5.2 -- Erik Andersen Mon, 29 Oct 2001 22:12:29 -0700 nedit (1:5.1.1-5) unstable; urgency=low * Fix a missing include file (closes: #93027, #86181) -- Erik Andersen Thu, 5 Apr 2001 12:33:59 -0600 nedit (1:5.1.1-4) unstable; urgency=low * Fix a build depends problem for unstable (closes: #92672) -- Erik Andersen Tue, 3 Apr 2001 01:14:45 -0600 nedit (1:5.1.1-3) stable unstable; urgency=low * Upload for potato/stable so nedit can finally get out of non-free for potato. It is about time. -- Erik Andersen Mon, 12 Mar 2001 21:40:06 -0700 nedit (1:5.1.1-2) unstable; urgency=low * Fix the Build-depends (closes: #66280, #84571) * Added Suggests: cvs (closes: #70726) -- Erik Andersen Tue, 13 Feb 2001 00:17:50 -0700 nedit (1:5.1.1-1) unstable; urgency=low * New upstream release -- Now available under the GPL!!! (closes: #45335, #51980, #55889, #58763) * Added Build-Depends (closes: #59498) * Resubmitting nedit 5.1.1 for woody, since it seems to have gotten lost last time I submitted it... -- Erik Andersen Sun, 18 Jun 2000 18:35:32 -0400 nedit (5.02-6) unstable; urgency=low * Recompile against lesstif 0.89 and compile with -DUSE_XMIM. From the Lesstif 0.88.9 Release notes: Fixed the problem with nedit and accelerators. nedit installs and removes accelerators _alot_. The mask were were using to install and remove event handlers did not match, therefore the handler was not removed, but all the data the handler used was freed. Needless to say strange things happened after this. Looks like the nedit bugs are _finally_ fixed (thanks to Bjoern Brill for letting me know). -- Erik Andersen Sun, 12 Sep 1999 22:33:54 -0600 nedit (5.02-4) unstable frozen; urgency=low * Make nedit comply with the keyboard policy by changing the default to stop trying to remap the delete key. Fixes Bug#29472 * I checked all the other nedit bugs in the bug tracking system, and they seem to have been lesstif bugs, or I already fixed them and forgot to close them, so this release lets me close out all the pending bugs. Fixes Bug#15616, Bug#18867, Bug#20106, Bug #20477, Bug#20709, Bug#23976, Bug#24257, and Bug #14512 -- Erik Andersen Tue, 17 Nov 1998 21:26:30 -0700 nedit (5.02-3) unstable frozen; urgency=low * Recomplile to get nedit to depend on lesstifg-0.83-5 (which is the latest and greatest) instead of the earlier lesstifg-19980310). -- Erik Andersen Sun, 5 Apr 1998 11:32:48 -0600 nedit (5.02-2) unstable frozen; urgency=low * Fixed location of man pages -- Erik Andersen Wed, 1 Apr 1998 22:56:44 -0700 nedit (5.02-1) unstable frozen; urgency=low * Fixed minor packaging issues so lintian would shut-up. * This is an upstream bug-fix release. Bug fixes include: - -import did not work as advertised in 5.0.1. When used, it re-set a number of preferences back to default values. Could also potentially cause a crash. - Macro -> Repeat crashes on some systems. - Mouse state can get "stuck" on Alpha-based systems. - Combination of auto-wrap, auto-indent, and unbreakable lines extending the width of the window, caused nedit to unnecessarily insert blank lines. - Incorrect case-insensitive comparison in character sets > 128 bits. - in by-word drag-selection (double click then drag) when begun in the middle of a whitespace selection, anchor would revert to original cursor position rather than maintaining the entire whitespace block. - Language mode names containing spaces could not be used in language sensitive user-defined menu items. - New windows did not always see existing learn/replay sequence, recorded before the window was created. - Possible crash in search_string and search_window macros, when used with long search strings. - Possible crash in get_selection("any") macro. - Under Solaris, crashes on window opening, file dialog, and language mode selection, when user-defined sub-menus were used. - Filenames containing spaces could cause the .neditdb file to become unreadable. - Escape key could not be used to cancel file-selection dialogs when the file list had keyboard focus (which it almost always does). -- Erik Andersen Fri, 20 Mar 1998 23:42:37 -0700 nedit (5.0-3) unstable; urgency=low * Minor change to description, to explain that this is linked with lesstif, and that lesstif still has a few problems that may affect stability. -- Erik Andersen Fri, 17 Dec 1997 12:35:34 -0700 nedit (5.0-2) unstable; urgency=low * Fixed a stupid bug where I put things in /usr/bin/X11 instead of /usr/bin/X11R6, but debian doesn't have this symlink (just me ;-) This fixes bug #15135 and #15425 * added in the proper update-alternatives stuff per the new editor policy * renamed "nc" to "nedit-nc" to avoid naming conflict with netcat. -- Erik Andersen Fri, 28 Nov 1997 02:47:46 -0700 nedit (5.0-1) unstable; urgency=low * New upstream source. Changes include: - Syntax highlighting with patterns for C, C++, Java, Fortran, Pascal, Ada, Perl, Python, Tcl, Awk, Csh, HTML, LaTeX, VHDL, Verilog, etc. - Completed macro extension language (Simple C/awk-like syntax) - Language-sensitive preferences - Continuous wrap and automatic-newline wrapping modes - Configurable right-button pop up menu - Searchable on-line help - Programmable Smart indent. - Word boundary matching (<>) in regular expressions - Bug fixes. * libc6 * Converted to use debhelper * Now uses lesstif (no more nedit-dmotif and nedit-smotif). Lesstif now seems stable enough for Nedit to work fairly well. The font selection dialog box still doesn't work, and the right-mouse-button menu seems to lock things up sometimes, but most everything else seems to work! -- Erik Andersen Sat, 22 Nov 1997 01:01:09 -0700 nedit (4.0.3-1) unstable; urgency=low * Changed to new upstream source, fixing a number of minor bugs. -- Erik B. Andersen Sun, 16 Feb 1997 23:19:04 -0600 nedit (4.0.2-2) unstable; urgency=low * Fixed a minor, and fortunatly benign type in rules * Applied several patches from the upstream maintainer to fix some bugs - middle mouse paste now works with no-auto-wrap mode - fixed a crash in Revert to Saved on a newly emptied file - fixed how Redo from newly saved Undo leaves window unmodified - fixed a crash for SGIs (Not too helpful for the rest of us...) -- Erik Andersen Fri, 25 Oct 1996 22:39:09 -0600 nedit (4.0.2-1) unstable; urgency=low * Initial release of NEdit as a Debian package -- Erik Andersen Thu, 17 Oct 1996 05:09:24 -0600 debian/source/0000755000000000000000000000000012146755223010475 5ustar debian/source/format0000644000000000000000000000001412146755223011703 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000002137512150735376011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: nedit Upstream-Contact: Source: http://www.nedit.org Comment: Note that NEdit Version 5.1 was the first release of NEdit under the GNU General Public License, and the first release to be done entirely by volunteer effort. Files: * Copyright: 2004 Scott Tringali 2003 Nathaniel Gray 2002-2003 The NEdit Developers 2001 Arne Forlie 1999-2002 Mark Edel 1999 Timo Sirainen License: GPL-2+ with motif exception This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . In addition, as a special exception to the GNU GPL, the copyright holders give permission to link the code of this program with the Motif and Open Motif libraries (or with modified versions of these that use the same license), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than linking with Motif/Open Motif. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the section on the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License, version 2, can be found in "/usr/share/common-licenses/GPL-2". Files: Xlt/BubbleButton.c Xlt/BubbleButton.h Xlt/BubbleButtonP.h Xlt/SlideCP.h Xlt/SlideC.h Xlt/SlideC.c Copyright: 1996 Free Software Foundation, Inc. 1999-2001 by the LessTif developers License: LGPL-2+ This file is part of the GNU LessTif Extension Library. . This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. . You should have received a copy of the GNU General Public License along with this library. If not, see . . On Debian systems, the complete text of the GNU Library General Public License, version 2, can be found in "/usr/share/common-licenses/LGPL-2". Files: source/regexConvert.c Copyright: 1986 University of Toronto Nedit editors Comment: `CompileRE', `ExecRE', and `ConvertSubstituteRE' -- regular expression parsing . This is a HIGHLY ALTERED VERSION of Henry Spencer's `regcomp' code adapted for NEdit. . .-------------------------------------------------------------------. | ORIGINAL COPYRIGHT NOTICE: | | | | Copyright (c) 1986 by University of Toronto. | | Written by Henry Spencer. Not derived from licensed software. | | | | Permission is granted to anyone to use this software for any | | purpose on any computer system, and to redistribute it freely, | | subject to the following restrictions: | | | | 1. The author is not responsible for the consequences of use of | | this software, no matter how awful, even if they arise | | from defects in it. | | | | 2. The origin of this software must not be misrepresented, either | | by explicit claim or by omission. | | | | 3. Altered versions must be plainly marked as such, and must not | | be misrepresented as being the original software. | `-------------------------------------------------------------------' . This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, you may distribute version of this program linked to Motif or Open Motif. See README for details. . This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. License: GPL-2+ Files: Microline/*/* Copyright: 1998 Netscape Communications Corporation. License: (MPL-1.1 or GPL-2+ or LGPL-2.1+) with motif exception Version: MPL 1.1/GPL 2.0/LGPL 2.1 . The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ . Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. . The Original Code is the Microline Widget Library, originally made available under the NPL by Neuron Data . . The Initial Developer of the Original Code is Netscape Communications Corporation. Portions created by the Initial Developer are Copyright (C) 1998 the Initial Developer. All Rights Reserved. . Contributor(s): . Alternatively, the contents of this file may be used under the terms of either the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL. . In addition, as a special exception to the GNU GPL, the copyright holders give permission to link the code of this program with the Motif and Open Motif libraries (or with modified versions of these that use the same license), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than linking with Motif/Open Motif. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. Files: debian/* Copyright: 2008, 2009, 2013 Paul Gevers 2013 Jari Aalto 2006 Steinar H. Gunderson 2004-2006 Alexandre Pineau 2004 Andreas Barth 2002 Matthew Palmer 2002 Martin Loschwitz 2001 Branden Robinson 1996-2001 Erik Andersen License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License, version 2, can be found in "/usr/share/common-licenses/GPL-2". debian/prerm0000644000000000000000000000024212146172430010234 0ustar #!/bin/sh set -e # prerm script for nedit if [ "$1" = "remove" -a "purge" ]; then update-alternatives --remove editor /usr/bin/nedit fi #DEBHELPER# exit 0 debian/patches/0000755000000000000000000000000012150375347010624 5ustar debian/patches/fix_typo_in_help.patch0000644000000000000000000000145012150367672015206 0ustar Description: fix two typo's in help text (Thanks Lintian) Author: Paul Gevers Forwarded: no --- a/doc/help.etx +++ b/doc/help.etx @@ -1094,7 +1094,7 @@ .. respective states: RO, LO, *. .. %u user name .. -.. The format string and the component buttons are continously synchronized. +.. The format string and the component buttons are continuously synchronized. .. .. The default format is: .. --- a/source/help_data.h +++ b/source/help_data.h @@ -5532,7 +5532,7 @@ " respective states: RO, LO, *.\n", " %u user name\n", "\01I\n", -"The format string and the component buttons are continously synchronized. ", +"The format string and the component buttons are continuously synchronized. ", "\n\n", "The default format is: ", "\n\n", debian/patches/10_EOF_Parser_error.patch0000644000000000000000000000414212150334606015275 0ustar Description: fix source/tags.c to properly parse EOF Origin: upstream, http://nedit.cvs.sourceforge.net/viewvc/nedit/nedit/source/tags.c?r1=1.70&r2=1.71 Bug: https://sourceforge.net/tracker/index.php?func=detail&aid=2687525&group_id=11005&atid=111005 diff -urNad nedit-5.6~cvs20081118~/ReleaseNotes nedit-5.6~cvs20081118/ReleaseNotes --- nedit-5.6~cvs20081118~/ReleaseNotes 2008-11-18 07:10:07.000000000 +0100 +++ nedit-5.6~cvs20081118/ReleaseNotes 2009-09-03 22:47:09.000000000 +0200 @@ -1,7 +1,7 @@ Release Notes for NEdit Version 5.6, October 2008 -$Id: ReleaseNotes,v 1.63.2.3 2008/11/05 09:17:20 lebert Exp $ +$Id: ReleaseNotes,v 1.63.2.4 2009/06/23 21:28:12 lebert Exp $ This file contains last minute notes to users about the release, which are not included in the documentation or README files included with the distribution @@ -23,6 +23,8 @@ Bugs fixed in 5.6 + - Fix for SF bug #2687525: tipsfile parser error wrt to eof + - Fix for SF bug #2222159: File was not reload when type was changed externaly diff -urNad nedit-5.6~cvs20081118~/source/tags.c nedit-5.6~cvs20081118/source/tags.c --- nedit-5.6~cvs20081118~/source/tags.c 2008-03-01 23:18:06.000000000 +0100 +++ nedit-5.6~cvs20081118/source/tags.c 2009-09-03 22:45:07.000000000 +0200 @@ -1,4 +1,4 @@ -static const char CVSID[] = "$Id: tags.c,v 1.70 2008/03/01 22:18:06 lebert Exp $"; +static const char CVSID[] = "$Id: tags.c,v 1.70.2.1 2009/06/23 21:28:12 lebert Exp $"; /******************************************************************************* * * * tags.c -- Nirvana editor tag file handling * @@ -1811,9 +1811,9 @@ if (incPos < 0) return TF_ERROR; /* Figure out how long the block is */ - while((status=fgets(line, MAXLINE, fp))) { + while((status=fgets(line, MAXLINE, fp)) || feof(fp)) { ++(*currLine); - if(lineEmpty( line )) + if(feof(fp) || lineEmpty( line )) break; } incLen = ftell(fp) - incPos; debian/patches/40_Pointer_to_Integer.patch0000644000000000000000000002412212150334650015740 0ustar Description: fix warning: cast from pointer to integer of different size Origin: https://sourceforge.net/tracker/download.php?group_id=11005&atid=311005&file_id=340993&aid=2846694 Bug: https://sourceforge.net/tracker/?func=detail&atid=311005&aid=2846694&group_id=11005 Author: Jack Howarth diff -urNad nedit-5.6~cvs20081118~/Xlt/SlideC.c nedit-5.6~cvs20081118/Xlt/SlideC.c --- nedit-5.6~cvs20081118~/Xlt/SlideC.c 2009-09-15 21:27:12.000000000 +0200 +++ nedit-5.6~cvs20081118/Xlt/SlideC.c 2009-09-15 22:05:42.000000000 +0200 @@ -28,6 +28,7 @@ #endif #include +#include #include "SlideCP.h" @@ -116,14 +117,14 @@ /* notify that initialize called XtArgsProc */ NULL, /* NULL XtProc */ NULL, /* NULL XtPointer */ NULL, -/* NULL Cardinal */ (Cardinal)NULL, +/* NULL Cardinal */ (Cardinal)(uintptr_t)NULL, /* resources for subclass fields XtResourceList */ resources, /* number of entries in resources Cardinal */ XtNumber(resources), /* resource class quarkified XrmClass */ NULLQUARK, -/* NULL Boolean */ (Boolean)NULL, -/* NULL XtEnum */ (XtEnum)NULL, -/* NULL Boolean */ (Boolean)NULL, -/* NULL Boolean */ (Boolean)NULL, +/* NULL Boolean */ (Boolean)(uintptr_t)NULL, +/* NULL XtEnum */ (XtEnum)(uintptr_t)NULL, +/* NULL Boolean */ (Boolean)(uintptr_t)NULL, +/* NULL Boolean */ (Boolean)(uintptr_t)NULL, /* free data for subclass pointers XtWidgetProc */ destroy, /* NULL XtProc */ NULL, /* NULL XtProc */ NULL, diff -urNad nedit-5.6~cvs20081118~/source/file.c nedit-5.6~cvs20081118/source/file.c --- nedit-5.6~cvs20081118~/source/file.c 2009-09-15 21:27:12.000000000 +0200 +++ nedit-5.6~cvs20081118/source/file.c 2009-09-15 22:06:42.000000000 +0200 @@ -52,6 +52,7 @@ #include #include #include +#include #include #include @@ -1914,7 +1915,7 @@ if (XmToggleButtonGetState(w)) { XtPointer userData; XtVaGetValues(w, XmNuserData, &userData, NULL); - *(int*) clientData = (int) userData; + *(int*) clientData = (int) (uintptr_t) userData; } } diff -urNad nedit-5.6~cvs20081118~/source/highlight.c nedit-5.6~cvs20081118/source/highlight.c --- nedit-5.6~cvs20081118~/source/highlight.c 2009-09-15 21:27:12.000000000 +0200 +++ nedit-5.6~cvs20081118/source/highlight.c 2009-09-15 22:07:06.000000000 +0200 @@ -49,6 +49,7 @@ #include #include #include +#include #include #ifdef VMS #include "../util/VMSparam.h" @@ -512,7 +513,7 @@ if (!pattern) { return NULL; } - return (void*)pattern->userStyleIndex; + return (void*)(uintptr_t)pattern->userStyleIndex; } /* diff -urNad nedit-5.6~cvs20081118~/source/macro.c nedit-5.6~cvs20081118/source/macro.c --- nedit-5.6~cvs20081118~/source/macro.c 2009-09-15 21:27:12.000000000 +0200 +++ nedit-5.6~cvs20081118/source/macro.c 2009-09-15 22:07:27.000000000 +0200 @@ -60,6 +60,7 @@ #include #include +#include #include #include #include @@ -2924,7 +2925,7 @@ readStringArg(argList[i], &btnLabel, btnStorage, errMsg); btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog, XmNlabelString, s1=XmStringCreateSimple(btnLabel), - XmNuserData, (XtPointer)(i+1), NULL); + XmNuserData, (XtPointer)(uintptr_t)(i+1), NULL); XtAddCallback(btn, XmNactivateCallback, dialogBtnCB, window); XmStringFree(s1); } @@ -2965,7 +2966,7 @@ return; /* shouldn't happen */ if (XtClass(w) == xmPushButtonWidgetClass) { XtVaGetValues(w, XmNuserData, &userData, NULL); - retVal.val.n = (int)userData; + retVal.val.n = (int)(uintptr_t)userData; } else retVal.val.n = 1; retVal.tag = INT_TAG; @@ -3101,7 +3102,7 @@ readStringArg(argList[i], &btnLabel, btnStorage, errMsg); btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog, XmNlabelString, s1=XmStringCreateSimple(btnLabel), - XmNuserData, (XtPointer)(i+1), NULL); + XmNuserData, (XtPointer)(uintptr_t)(i+1), NULL); XtAddCallback(btn, XmNactivateCallback, stringDialogBtnCB, window); XmStringFree(s1); } @@ -3155,7 +3156,7 @@ returned in w. */ if (XtClass(w) == xmPushButtonWidgetClass) { XtVaGetValues(w, XmNuserData, &userData, NULL); - btnNum = (int)userData; + btnNum = (int)(uintptr_t)userData; } else btnNum = 1; @@ -3680,7 +3681,7 @@ readStringArg(argList[i], &btnLabel, btnStorage, errMsg); btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog, XmNlabelString, s1=XmStringCreateSimple(btnLabel), - XmNuserData, (XtPointer)(i+1), NULL); + XmNuserData, (XtPointer)(uintptr_t)(i+1), NULL); XtAddCallback(btn, XmNactivateCallback, listDialogBtnCB, window); XmStringFree(s1); } @@ -3760,7 +3761,7 @@ returned in w. */ if (XtClass(w) == xmPushButtonWidgetClass) { XtVaGetValues(w, XmNuserData, &userData, NULL); - btnNum = (int)userData; + btnNum = (int)(uintptr_t)userData; } else btnNum = 1; diff -urNad nedit-5.6~cvs20081118~/source/preferences.c nedit-5.6~cvs20081118/source/preferences.c --- nedit-5.6~cvs20081118~/source/preferences.c 2009-09-15 21:27:12.000000000 +0200 +++ nedit-5.6~cvs20081118/source/preferences.c 2009-09-15 22:07:47.000000000 +0200 @@ -58,6 +58,7 @@ #include #include #include +#include #include #include #include @@ -2296,7 +2297,7 @@ XtVaGetValues(menu, XmNchildren, &items, XmNnumChildren, &nItems, NULL); for (n=0; n<(int)nItems; n++) { XtVaGetValues(items[n], XmNuserData, &userData, NULL); - XmToggleButtonSetState(items[n], (int)userData == mode, False); + XmToggleButtonSetState(items[n], (int)(uintptr_t)userData == mode, False); } } } @@ -5148,7 +5149,7 @@ xmToggleButtonGadgetClass, menu, XmNlabelString, s1=XmStringCreateSimple(LanguageModes[i]->name), XmNmarginHeight, 0, - XmNuserData, (void *)i, + XmNuserData, (void *)(uintptr_t)i, XmNset, window->languageMode==i, NULL); XmStringFree(s1); XtAddCallback(btn, XmNvalueChangedCallback, setLangModeCB, window); @@ -5169,14 +5170,14 @@ XtVaGetValues(w, XmNuserData, &mode, NULL); /* If the mode didn't change, do nothing */ - if (window->languageMode == (int)mode) + if (window->languageMode == (int)(uintptr_t)mode) return; /* redo syntax highlighting word delimiters, etc. */ /* reapplyLanguageMode(window, (int)mode, False); */ - params[0] = (((int)mode) == PLAIN_LANGUAGE_MODE) ? "" : LanguageModes[(int)mode]->name; + params[0] = (((int)(uintptr_t)mode) == PLAIN_LANGUAGE_MODE) ? "" : LanguageModes[(int)(uintptr_t)mode]->name; XtCallActionProc(window->textArea, "set_language_mode", NULL, params, 1); } diff -urNad nedit-5.6~cvs20081118~/source/regularExp.c nedit-5.6~cvs20081118/source/regularExp.c --- nedit-5.6~cvs20081118~/source/regularExp.c 2009-09-15 21:27:12.000000000 +0200 +++ nedit-5.6~cvs20081118/source/regularExp.c 2009-09-15 22:08:16.000000000 +0200 @@ -88,6 +88,7 @@ #include #include #include +#include #include #ifdef HAVE_DEBUG_H @@ -4157,7 +4158,7 @@ table [*c] = 1; } - table [(int) NULL] = 1; /* These */ + table [(int)(uintptr_t) NULL] = 1; /* These */ table [(int) '\t'] = 1; /* characters */ table [(int) '\n'] = 1; /* are always */ table [(int) ' ' ] = 1; /* delimiters. */ diff -urNad nedit-5.6~cvs20081118~/source/userCmds.c nedit-5.6~cvs20081118/source/userCmds.c --- nedit-5.6~cvs20081118~/source/userCmds.c 2009-09-15 21:27:12.000000000 +0200 +++ nedit-5.6~cvs20081118/source/userCmds.c 2009-09-15 22:08:47.000000000 +0200 @@ -49,6 +49,7 @@ #include #include +#include #include #include #ifdef VMS @@ -1116,7 +1117,7 @@ XtVaGetValues(items[n], XmNsubMenuId, &subMenu, NULL); dimSelDepItemsInMenu(subMenu, menuList, nMenuItems, sensitive); } else { - index = (int)userData - 10; + index = (int)(uintptr_t)userData - 10; if (index <0 || index >= nMenuItems) return; if (menuList[index]->input == FROM_SELECTION) @@ -1928,7 +1929,7 @@ XmNlabelString, st1, XmNacceleratorText, st2, XmNmnemonic, f->mnemonic, - XmNuserData, (XtPointer)(index+10), NULL); + XmNuserData, (XtPointer)(uintptr_t)(index+10), NULL); XtAddCallback(btn, XmNactivateCallback, cbRtn, cbArg); XmStringFree(st1); XmStringFree(st2); diff -urNad nedit-5.6~cvs20081118~/util/prefFile.c nedit-5.6~cvs20081118/util/prefFile.c --- nedit-5.6~cvs20081118~/util/prefFile.c 2009-09-15 21:27:12.000000000 +0200 +++ nedit-5.6~cvs20081118/util/prefFile.c 2009-09-15 22:04:14.000000000 +0200 @@ -38,6 +38,7 @@ #include #include #include +#include #ifdef VMS #include "VMSparam.h" #else @@ -353,9 +354,9 @@ *(int *)rsrcDescrip->valueAddr = 0; return False; case PREF_STRING: - if ((int)strlen(string) >= (int)rsrcDescrip->arg) + if ((int)strlen(string) >= (int)(uintptr_t)rsrcDescrip->arg) return False; - strncpy(rsrcDescrip->valueAddr, string, (int)rsrcDescrip->arg); + strncpy(rsrcDescrip->valueAddr, string, (int)(uintptr_t)rsrcDescrip->arg); return True; case PREF_ALLOC_STRING: *(char **)rsrcDescrip->valueAddr = XtMalloc(strlen(string) + 1); debian/patches/30_off_by_one.patch0000644000000000000000000000324112150334635014247 0ustar Description: Fix for off-by-one error, potentially causing a crash Origin: upstream, http://nedit.cvs.sourceforge.net/viewvc/nedit/nedit/source/regularExp.c?r1=1.33&r2=1.34&view=patch Author: Evan Teran Bug: https://sourceforge.net/tracker/index.php?func=detail&aid=2858723&group_id=11005&atid=111005 diff -urNad nedit-5.6~cvs20081118~/ReleaseNotes nedit-5.6~cvs20081118/ReleaseNotes --- nedit-5.6~cvs20081118~/ReleaseNotes 2009-09-15 21:24:31.000000000 +0200 +++ nedit-5.6~cvs20081118/ReleaseNotes 2009-09-15 21:25:24.000000000 +0200 @@ -23,6 +23,8 @@ Bugs fixed in 5.6 + - Fix for SF bug #2858723: off-by-one error causing a crash + - Fix for SF bug #2687525: tipsfile parser error wrt to eof - Fix for SF bug #2222159: File was not reload when type was changed diff -urNad nedit-5.6~cvs20081118~/source/regularExp.c nedit-5.6~cvs20081118/source/regularExp.c --- nedit-5.6~cvs20081118~/source/regularExp.c 2009-09-15 21:24:31.000000000 +0200 +++ nedit-5.6~cvs20081118/source/regularExp.c 2009-09-15 21:24:31.000000000 +0200 @@ -1,4 +1,4 @@ -static const char CVSID[] = "$Id: regularExp.c,v 1.33 2008/02/29 23:12:26 lebert Exp $"; +static const char CVSID[] = "$Id: regularExp.c,v 1.34 2009/09/14 19:16:25 edg Exp $"; /*------------------------------------------------------------------------* * `CompileRE', `ExecRE', and `substituteRE' -- regular expression parsing * @@ -2656,7 +2656,7 @@ /* Default table for determining whether a character is a word delimiter. */ -static unsigned char Default_Delimiters [UCHAR_MAX] = {0}; +static unsigned char Default_Delimiters [UCHAR_MAX+1] = {0}; static unsigned char *Current_Delimiters; /* Current delimiter table */ debian/patches/series0000644000000000000000000000024512150373720012033 0ustar 10_EOF_Parser_error.patch 30_off_by_one.patch 40_Pointer_to_Integer.patch 50_ChangeNCinMan.patch 90_build_no_ask.patch 92_format_string.patch fix_typo_in_help.patch debian/patches/50_ChangeNCinMan.patch0000644000000000000000000001262612150334660014542 0ustar Description: nedit-nc is upstream called nc, adjusted the man Author: Paul Gevers Upstream: not-needed diff -urNad nedit-5.6~cvs20081118~/doc/nc.pod nedit-5.6~cvs20081118/doc/nc.pod --- nedit-5.6~cvs20081118~/doc/nc.pod 2005-03-03 08:49:37.000000000 -0600 +++ nedit-5.6~cvs20081118/doc/nc.pod 2008-11-29 21:02:42.000000000 -0600 @@ -3,27 +3,27 @@ =head1 NAME -nc - Client program for NEdit text editor +nedit-nc - Client program for NEdit text editor =head1 SYNOPSYS -nc [B<-read>] [B<-create>] [B<-line> I | B<+>I] [B<-do> I] - [B<-ask>] [B<-noask>] [B<-svrname> I] [B<-svrcmd> I] - [B<-lm> I] - [B<-geometry> I | B<-g> I] [B<-icon> | B<-iconic>] - [B<-display> I<[host]:server[.screen]>] - [B<-timeout> I] [B<-wait>] [B<-xrm> I] - [B<-tabbed>] [B<-untabbed>] [B<-group>] - [B<-V> | B<-version>] [B<-h> | B<-help>] [B<-->] [file...] +nedit-nc [B<-read>] [B<-create>] [B<-line> I | B<+>I] [B<-do> I] + [B<-ask>] [B<-noask>] [B<-svrname> I] [B<-svrcmd> I] + [B<-lm> I] + [B<-geometry> I | B<-g> I] [B<-icon> | B<-iconic>] + [B<-display> I<[host]:server[.screen]>] + [B<-timeout> I] [B<-wait>] [B<-xrm> I] + [B<-tabbed>] [B<-untabbed>] [B<-group>] + [B<-V> | B<-version>] [B<-h> | B<-help>] [B<-->] [file...] =head1 DESCRIPTION -B is the client interface to the NEdit text editor. A server can be started -explicitly by running NEdit in server mode: +B is the client interface to the NEdit text editor. A server can be +started explicitly by running NEdit in server mode: nedit -server -If no server is running, B will start one unless configured otherwise. +If no server is running, B will start one unless configured otherwise. Client/server mode is useful for integrating NEdit with software development environments, mailers, and other programs; or just as a quick way to open files from the shell command line without starting a new NEdit session. @@ -49,26 +49,26 @@ Execute an NEdit macro or action on the file following the -do argument on the command line. -If you use this command without a filename, B would randomly choose one -window to focus and execute the macro in. +If you use this command without a filename, B would randomly choose +one window to focus and execute the macro in. =item B<-ask>, B<-noask> -Instructs B whether to automatically start a server if one is not +Instructs B whether to automatically start a server if one is not available. This overrides the X resource `nc.autoStart'. =item B<-svrname> I -Explicitly instructs B which server to connect to, an instance of +Explicitly instructs B which server to connect to, an instance of L with a corresponding B<-svrname> argument. By naming servers, you can run several simultaneously, and direct files and commands specifically to any one. =item B<-svrcmd> I -The command which B uses to start an NEdit server. It is also settable via -the X resource `nc.serverCommand', by default, I<"nedit -server">. +The command which B uses to start an NEdit server. It is also settable +via the X resource `nc.serverCommand', by default, I<"nedit -server">. =item B<-lm> I @@ -107,11 +107,11 @@ =item B<-wait> -Instructs B not to return to the shell until all files given +Instructs B not to return to the shell until all files given are closed. -Normally, B returns once the files given in its command line -are opened by the server. When this option is given, nc returns +Normally, B returns once the files given in its command line +are opened by the server. When this option is given, B returns only after the last file given in this call is closed. Note that this option affects all files, not only the ones following this option in the command line. @@ -167,13 +167,13 @@ =head1 NOTES -Communication between L and L is through the X display. So as -long as X windows is set up and working properly, B will work properly -as well. B uses the `DISPLAY' environment variable, the machine name and -your user name to find the appropriate server, meaning, if you have several -machines sharing a common file system, B will not be able to find a server -that is running on a machine with a different host name, even though it may be -perfectly appropriate for editing a given file. +Communication between L and L is through the X display. +So as long as X windows is set up and working properly, B will work +properly as well. B uses the `DISPLAY' environment variable, the +machine name and your user name to find the appropriate server, meaning, if you +have several machines sharing a common file system, B will not be +able to find a server that is running on a machine with a different host name, +even though it may be perfectly appropriate for editing a given file. In typical Unix style, arguments affect the files which follow them on the command line, for example: @@ -182,11 +182,11 @@ =item incorrect: - nc file.c -line 25 + nedit-nc file.c -line 25 =item correct: - nc -line 25 file.c + nedit-nc -line 25 file.c =back debian/patches/90_build_no_ask.patch0000644000000000000000000000107612150373356014610 0ustar Author: Jari Aalto Description: Do not ask questions at build time; would interrup auto builds --- util/check_lin_tif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/util/check_lin_tif.c +++ b/util/check_lin_tif.c @@ -124,7 +124,7 @@ "Please report your success or failure with this version to:\n" "\tdevelop@nedit.org\n" "\nHIT ENTER TO CONTINUE\n"); - fgets(buf, 2, stdin); + /* fgets(buf, 2, stdin); */ return EXIT_SUCCESS; } #else debian/patches/92_format_string.patch0000644000000000000000000000137612146755223015044 0ustar Description: Fix format strings for hardedned build flags Author: Jari Aalto --- source/nc.c | 2 +- source/preferences.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/source/preferences.c +++ b/source/preferences.c @@ -1521,7 +1521,7 @@ } else { fprintf(stderr, "Could not read additional preferences file: "); - fprintf(stderr, filename); + fprintf(stderr, "%s", filename); fprintf(stderr, "\n"); } } --- a/source/nc.c +++ b/source/nc.c @@ -503,7 +503,7 @@ /* prompt user whether to start server */ if (!Preferences.autoStart) { - printf(message); + printf("%s", message); do { c = getc(stdin); } while (c == ' ' || c == '\t');