Commit 6ed942fb authored by Jari Aalto's avatar Jari Aalto

Imported Upstream version 0.8.16

parents
This diff is collapsed.
Tarot Osuji <tarot@sdf.lonestar.org>
This diff is collapsed.
2008-12-18
version 0.8.16:
* Removed "Shift+Enter" key-binding (minhsien0330).
* Updated French translation (Marc Veillet).
* Updated Italian translation (Vincenzo Campanella).
2008-09-03
version 0.8.15:
* Named main window with gtk_widget_set_name (Cory Burgett).
* Added Brazilian Portuguese translation (Leslie Harlley Watter).
* Added Indonesian translation (Andhika Padmawan).
* Added Danish translation (Joe Hansen).
* Updated Traditional Chinese translation (Wei-Lun Chao).
* Updated Lithuanian translation (Gintautas Miliauskas).
2008-02-13
version 0.8.14:
* Added Basque translation (Mikel Olasagasti).
* Updated Vietnamese translation (Clytie Siddall).
* Updated Dutch translation (Benno Schulenberg).
* Updated Irish translation (Kevin Scannell).
* Updated Simplified Chinese translation (Li Daobing).
2007-12-15
version 0.8.13:
* Changed configuration file directory to XDG base (Glib >= 2.6)
(thanks Olivier Duclos).
* Fixed drag and DROP behaviour (GTK+ >= 2.10)
(thanks Markus Torstensson).
2007-09-17
version 0.8.12:
* Added Print Preview menu (GTK+ >= 2.10).
* Fixed one-by-one replace behaviour (GTK+ >= 2.10).
* Updated Vietnamese translation (Clytie Siddall).
2007-07-07
version 0.8.11:
* Followed GNOME Goals (AppIcon, ApplicationCategory, PoLinguas).
* Added GTK+ 2.10 Printing feature.
* Added "--jump=LINENUM" command line option.
* Added temporal "Always on Top" feature invoked by Ctrl+T.
* Fixed auto indentation behaviour.
* Updated Simplified Chinese translation (Li Daobing).
2007-04-08
version 0.8.10:
* Added icons for Tango Desktop (Lapo Calamandrei).
* Added Dutch translation (Wouter Van Hemel).
* Added Finnish translation (Eero Tamminen).
* Added Irish translation (Kevin Patrick Scannell).
* Added Korean translation (Seo Sanghyeon).
* Added Ukrainian translation (Youri Bulka).
* Updated Greek translation (Stavros Giannouris).
* Updated Bulgarian translation (Yavor Doganov).
* Updated German translation (Andreas Schweitzer).
* Updated Hungarian translation (Reviczky Adam Janos).
2006-04-14
version 0.8.9:
* Find proper font if no glyph found from current font when printing.
* Fixed word wrapping of wide character string when printing.
2006-04-07
version 0.8.8:
* Changed to use libgnomeprint22 for printing.
* Changed configure.ac to use newer functions automatically.
* Fixed pointer type error under sparc64 (thanks Steven Mestdagh).
2006-01-20
version 0.8.7:
* Implemented text DnD.
2006-01-03
version 0.8.6:
* Fixed "Replace all at once" with no string (thanks Marek).
* Updated Swedish translation (Isak Savo).
2005-11-12
version 0.8.5:
* Fixed curious highlighting behaviour.
* Attached 32*32 icon for some package maintainer.
* Updated Traditional Chinese translation (OLS3).
2005-09-24
version 0.8.4:
* Implemented GOption (thanks Magnus Bergman).
* Added '--tab-width' command line option.
* Inform read-only file by less/greater than sign bracket.
* Improved Korean auto-detection.
* Added Hebrew translation (Yo'av Moshe).
* Added Turkish translation (Kaya Oguz).
* Added Greek translation (Stavros Giannouris).
* Updated Italian translation (Alessio D'Ascanio).
2005-07-22
version 0.8.3:
* Implemented replaced word highlighting.
* Modified line-number margin.
* Fixed space-separeted filename bugs (thanks Andrea Antolini).
* Added Slovak translation (Peter Chabada).
* Updated Polish translation (Michal Wrobel).
2005-07-02
version 0.8.2:
* Improved dependency caused by intltool (thanks Machismo Ulverstein).
* Modified left margin.
* Fixed Macintosh return code bug (thanks young dave).
* Fixed "response" signal of about diaglog (thanks Muthiah Annamalai).
* Updated Bulgarian translation (Yavor Doganov).
* Updated Simplified Chinese translation (Carlos Z.F. Liu).
2005-05-14
version 0.8.1:
* Implemented searched word highlighting.
* Modified Up/Down/PageUp/PageDown behaviour when scroll-outed.
* Fixed space-separated filename bug (thanks Chris Everts).
* Added Bulgarian translation (Yavor Doganov).
* Added Vietnamese translation (Quy NGUYEN DAI).
* Updated Hungarian translation (Reviczky Adam Janos).
* Updated Polish translation (Michal Wrobel).
2005-04-29
version 0.8.0:
* Implemented glib-gettext & intltool.
* Added Print feature (only invoke lpr).
* Added load stdin feature.
* Added command line options.
* Added '--enable-chooser' configure option for GtkFileChooser.
* Modified some small points (DnD, caret, shadow, sensitivity...).
* Changed shortcut keys displayed on menu.
* Fixed replace question dialog behavior (thanks Keith).
* Added Portuguese translation (thanks Alan Kelon).
2004-12-26
version 0.7.9:
* Shrinked codeset menu.
* Fixed destroy response for question dialog (thanks Richard S).
* Removed local "G_BROKEN_FILENAMES" setting.
* Removed scrollbar_spacing manipulation.
* Updated Swedish translation (by Isak Savo).
* Added Lithuanian translation (thanks Lech Jankovski).
* Added Polish translation (thanks Michal Wrobel).
2004-12-03
version 0.7.8:
* Implemented widget sesnsitivity.
* Changed scrollbar_spacing to zero.
* Changed about dialog caption.
* Fixed undo sequency for Ctrl+V overwrite.
* Added Hungarian translation (thanks Reviczky Adam Janos).
* Added Catalan translation (thanks David Rosal).
* Added Tamil translation (thanks Vijay Durairaj).
* Added Italian translation (thanks Alessio D'Ascanio).
2004-11-21
version 0.7.7.1:
* Fixed undo function for the case start from '%' character.
2004-11-19
version 0.7.7:
* Improved undo behavior (by word).
* Fixed multi-line unindent properly.
* Updated German translation (thanks Ruediger Arp).
* Added Czech translation (thanks Petr Vyslouzil).
2004-11-12
version 0.7.6:
* Improved command line recognition of filename (uri & space-separated).
* Added MimeType entry to leafpad.desktop (suggested by Carlos).
* Assigned Ctrl+G & Shift+Ctrl+G to Find Next/Previous.
* Added statements of copying permission to all source codes.
* Added French translation (thanks Luc Pionchon).
* Added Spanish translation (thanks Lucas Vieites).
2004-10-29
version 0.7.5:
* Added leafpad.desktop file.
* Fixed DnD with space-separated filename (thanks Eugenia).
* Added Russian translation (thanks Artem Vakhitov).
* Added Swedish translation (thanks Isak Savo).
* Added German translation (thanks Sebastian Stach).
2004-10-22
version 0.7.4:
* Changed application icon to HIG based.
* Changed icon directory to "GNOME 2 developer's guide" based.
* Improved drag and drop (xffm ready).
* Improved Ctrl+W interrupt.
* Fixed undo manner for overwrite mode.
* Fixed scrolling manner for paste.
* Fixed auto-indent manner when selection bound exists.
2004-10-17
version 0.7.3.1:
* Fixed seg-fault caused by search_string (thanks UTSUMI Hirosi).
2004-10-15
version 0.7.3:
* Added drag and drop func (still single file only).
* Fixed initial value of search_string.
* Fixed cancel button action of font dialog.
* Fixed capital W input using with old GTK+.
* Added Traditional Chinese translation (thanks OLS3).
2004-10-01
version 0.7.2:
* Added "display line numbers" func.
* Added "toggle tab width" func (Ctrl+Tab).
* Changed "/File/New" action (create new window).
* Changed description to "simple text editor".
* Added Simplified Chinese translation (thanks Carlos Z.F. Liu).
2004-09-24
version 0.7.1:
* Added auto-indent func.
* Added multi-line indent func.
* Bracket title if the file not exist.
* Changed error message at codeset conversion error.
2004-09-17
version 0.7.0:
* Started recording ChangeLog.
* Added undo/redo func (still not word level).
* Added printing "modified" sign func.
* Removed app name from title.
* Improved auto-detection for windows-125x.
2004-xx-xx
version 0.6.x:
* Implemented gettext.
* Implemented autoconf/automake.
* Added search/replace func.
version 0.5.x:
* Added charset handling func.
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
Foundation, Inc.
This file is free documentation; the Free Software Foundation gives
unlimited permission to copy, distribute and modify it.
Basic Installation
==================
These are generic installation instructions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
debugging `configure').
It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring. (Caching is
disabled by default to prevent problems with accidental use of stale
cache files.)
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.
The file `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'. You only need
`configure.ac' if you want to change it or regenerate `configure' using
a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. Run `./configure --help'
for details on some of the pertinent environment variables.
You can give `configure' initial values for configuration parameters
by setting variables in the command line or in the environment. Here
is an example:
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
*Note Defining Variables::, for more details.
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
If you have to use a `make' that does not support the `VPATH'
variable, you have to compile the package for one architecture at a
time in the source code directory. After you have installed the
package for one architecture, use `make distclean' before reconfiguring
for another architecture.
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=PATH' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Specifying the System Type
==========================
There may be some features `configure' cannot figure out
automatically, but needs to determine by the type of machine the package
will run on. Usually, assuming the package is built to be run on the
_same_ architectures, `configure' can figure that out, but if it prints
a message saying it cannot guess the machine type, give it the
`--build=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name which has the form:
CPU-COMPANY-SYSTEM
where SYSTEM can have one of these forms:
OS KERNEL-OS
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the machine type.
If you are _building_ compiler tools for cross-compiling, you should
use the `--target=TYPE' option to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
eventually be run) with `--host=TYPE'.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Defining Variables
==================
Variables not defined in a site shell script can be set in the
environment passed to `configure'. However, some packages may run
configure again during the build, and the customized values of these
variables may be lost. In order to avoid this problem, you should set
them in the `configure' command line, using `VAR=value'. For example:
./configure CC=/usr/local2/bin/gcc
will cause the specified gcc to be used as the C compiler (unless it is
overridden in the site shell script).
`configure' Invocation
======================
`configure' recognizes the following options to control how it
operates.
`--help'
`-h'
Print a summary of the options to `configure', and exit.
`--version'
`-V'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`--cache-file=FILE'
Enable the cache: use and save the results of the tests in FILE,
traditionally `config.cache'. FILE defaults to `/dev/null' to
disable caching.
`--config-cache'
`-C'
Alias for `--cache-file=config.cache'.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.
SUBDIRS = src data po
EXTRA_DIST = \
intltool-extract.in intltool-merge.in intltool-update.in \
ABOUT-NLS po/$(GETTEXT_PACKAGE).pot
This diff is collapsed.
No news is good news.
Leafpad - GTK+ based simple text editor
Description
===========
Leafpad is a simple GTK+ text editor that emphasizes simplicity. As development
focuses on keeping weight down to a minimum, only the most essential features
are implemented in the editor. Leafpad is simple to use, is easily compiled,
requires few libraries, and starts up quickly.
This program is released under the GNU General Public License (GPL) version 2,
see the file 'COPYING' for more information.
Features
========
* Codeset option (Some OpenI18N registered)
* Auto codeset detection (UTF-8 and some codesets)
* Unlimitted Undo/Redo
* Auto/Multi-line Indent
* Display line numbers
* Drag and Drop
* Printing
Installation
============
Leafpad requires GTK+-2.x.x libraries.
Printing feature requires libgnomeprintui-2.2 optionally.
Simple install procedure:
$ tar xzvf leafpad-x.x.x.tar.gz # unpack the sources
$ cd leafpad-x.x.x # change to the toplevel directory
$ ./configure # run the `configure' script
$ make # build Leafpad
[ Become root if necessary ]
# make install-strip # install Leafpad
See the file 'INSTALL' for more detailed information.
Keybindings
===========
Ctrl-N New
Ctrl-O Open
Ctrl-S Save
Shift-Ctrl-S Save As
Ctrl-W Close
Ctrl-P Print
Ctrl-Q Quit
Ctrl-Z Undo
Shift-Ctrl-Z (Ctrl-Y) Redo
Ctrl-X Cut
Ctrl-C Copy
Ctrl-V Paste
Ctrl-A Select All
Ctrl-F Find
Ctrl-G (F3) Find Next
Shift-Ctrl-G (Shift-F3) Find Previous
Ctrl-H (Ctrl-R) Replace
Ctrl-J Jump To
Ctrl-T Always on Top
Ctrl-Tab toggle tab width
Tab with selection bound multi-line indent
Shift-Tab with selection bound multi-line unindent
This diff is collapsed.
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
# Copyright 1999, 2000 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# 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, or (at your option)
# any later 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
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Usage:
# compile PROGRAM [ARGS]...
# `-o FOO.o' is removed from the args passed to the actual compile.
# Usage statement added by Billy Biggs <vektor@dumbterm.net>.
if [ -z $1 ]; then
echo "Wrapper for compilers which do not understand '-c -o'."
echo "usage: compile PROGRAM [ARGS]..."
echo "'-o FOO.o' is removed from the args passed to the actual compile."
exit 1
fi
prog=$1
shift
ofile=
cfile=
args=
while test $# -gt 0; do
case "$1" in
-o)
# configure might choose to run compile as `compile cc -o foo foo.c'.
# So we do something ugly here.
ofile=$2
shift
case "$ofile" in
*.o | *.obj)
;;
*)
args="$args -o $ofile"
ofile=
;;
esac
;;
*.c)
cfile=$1
args="$args $1"
;;
*)
args="$args $1"
;;
esac
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no `-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# `.c' file was seen then we are probably linking. That is also
# ok.
exec "$prog" $args
fi
# Name of file we expect compiler to create.
cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
# Create the lock directory.
# Note: use `[/.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
while true; do
if mkdir $lockdir > /dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir $lockdir; exit 1" 1 2 15
# Run the compile.
"$prog" $args
status=$?
if test -f "$cofile"; then
mv "$cofile" "$ofile"
fi
rmdir $lockdir
exit $status
This diff is collapsed.
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if GtkFileChooser is enabled. */
#undef ENABLE_CHOOSER
/* Define if Emacs key theme is enabled. */
#undef ENABLE_EMACS
/* always defined to indicate that i18n is enabled */
#undef ENABLE_NLS
/* Define if print feature is enabled. */
#undef ENABLE_PRINT
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
#undef HAVE_BIND_TEXTDOMAIN_CODESET
/* Define to 1 if you have the `dcgettext' function. */
#undef HAVE_DCGETTEXT
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define to 1 if you have the <inttypes.h> header file. */