Commit 4cd7cf8c authored by Paolo Borelli's avatar Paolo Borelli

The. Big. Merge.

parent ffa4e9ce
......@@ -41,3 +41,9 @@ intltool-update
omf.make
xmldocs.make
compile
depcomp
intltool-extract.in
intltool-merge.in
intltool-update.in
py-compile
This diff is collapsed.
This diff is collapsed.
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = gedit pixmaps po help data plugins
SUBDIRS = bindings gedit pixmaps po help data plugins
distuninstallcheck_listfiles = find . -type f -print | grep -v scrollkeeper
......
============
gedit 2.13.0
============
New features and fixes
======================
Reworked codebase based on the new_mdi cvs branch,
among other things, it features:
- improved tabbed widget, for instance tabs are reorderable
- GtkUIManager is now used for menus and toolbar instead of
libbonoboui
- A side panel and a bottom panel have been added
- A new gobject-based plugin system has been implemented
- Plugins can now be written in Python
- Reading and writing of files are now handled in an
asynchronous way (so the user interface never blocks)
- Local files are read using mmap (when possible)
- Incremental search is supported (use Ctrl+K)
- A lot of usability improvements with some new UI experiment
are featured
- Startup time and performaces have been improved
- Remote file saving is supported (for a limited configurable
set of VFS methods)
============
gedit 2.12.1
============
......@@ -262,224 +287,3 @@ New and updated translations
- Josep Puigdemont (ca)
- Ilkka Tuohela (fi)
===========
gedit 2.9.7
===========
Fixes
=====
- Fix autosave for a file that was not saved manually (Paolo Maggi)
- Specifing the line number from the command line now works (Paolo Maggi)
- Speed up search and replace (Paolo Borelli)
- Fix crash in the insert time plugin (Paolo Borelli)
- Fix small memory leak (Paolo Borelli)
- Use icon from the icon theme (Paolo Borelli)
New and updated translations
============================
- Rostislav Raykov (bg)
- Jordi Mallach (ca)
- Miloslav Trmac (cs)
- Ole Laursen (da)
- Frank Arnold (de)
- Kostas Papadimas (el)
- Adam Weinberger (en_CA)
- David Lodge (en_GB)
- Francisco Javier F. Serrador (es)
- Priit Laes (et)
- Sami Pesonen (fi)
- Ankit Patel (gu)
- Roberto Rosselli Del Turco (it)
- Takeshi AIHANA (ja)
- Young-Ho Cha (ko)
- Žygimantas Beručka (lt)
- Kjartan Maraas (nb)
- Reinout van Schouwen (nl)
- Kjartan Maraas (no)
- GNOME PL Team (pl)
- Duarte Loreto (pt)
- Leonid Kanter (ru)
- Marcel Telka (sk)
- Laurent Dhima (sq)
- Christian Rose (sv)
- Maxim V. Dziumanenko (uk)
===========
gedit 2.9.6
===========
Fixes
=====
- Fix Alt+N accelerator to switch documents (Paolo Maggi)
- Spell checker bugfixes (Paolo Maggi)
- Update the list of languages in the spell checker (Yaacov Zamir)
- Fix per display registration (Paolo Maggi)
- Fix potential crash for menus containing "/" (Paolo Borelli)
- Fix small memory leak (Paolo Borelli)
New and updated translations
============================
- Leonid Kanter (ru)
- Duarte Loreto (pt)
- Francisco Javier F. Serrador (es)
- Rhys Jones (cy)
- Frank Arnold (de)
- Kostas Papadimas (el)
- David Lodge (en_GB)
- Žygimantas Beručka (lt)
- Raphael Higino (pt_BR)
- Marcel Telka (sk)
- Rostislav Raykov (bg)
- Miloslav Trmac (cs)
- Vincent van Adrighem (nl)
- Theppitak Karoonboonyanan (th)
- Adam Weinberger (en_CA)
- Takeshi AIHANA (ja)
==============================
gedit 2.9.5 - "Paleozoic Bugs"
==============================
Fixes
=====
- Undoing to an unmodified state resets the modified flag (Paolo Maggi)
- Fix saving in UTF-16 and others encondings (Paolo Maggi)
- ESC closes the find dialog (Paolo Maggi)
- Fix crash in Recent-files (Paolo Borelli)
- Change the cursor color when changing the text color (Paolo Maggi)
- Smarter HOME/END cursor movement (Paolo Maggi)
New and updated translations
============================
- Rostislav Raykov (bg)
- Funda Wang (zh_CN)
- Francisco Javier F. Serrador (es)
- Frank Arnold (de)
- Marcel Telka (sk)
- Leonid Kanter (ru)
- Priit Laes (et)
- Rhys Jones (cy)
- Nikos Charonitakis (el)
- Adam Weinberger (en_CA)
- Kjartan Maraas (nb, no)
- Žygimantas Beručka (lt)
- Takeshi AIHANA (ja)
===========
gedit 2.9.4
===========
New Features
============
- optional current line highlighting (Paolo Maggi)
- optional bracket matching (Jurg Billeter)
- "Save a Copy" plugin, with gnome-vfs support (Paolo Borelli)
Fixes
=====
- HIG fix in the close confirmation dialog (Naveen Chandranv)
- sync to latest recent-files library (Paolo Maggi)
New and updated translations
============================
- Laurent Dhima (sq)
- Kostas Papadimas (el)
- Kjartan Maraas (nb)
- Miloslav Trmac (cs)
- Vincent van Adrighem (nl)
- Francisco Javier F. Serrador (es)
- Žygimantas Beručka (lt)
- Adam Weinberger (en_CA)
- Takeshi AIHANA (ja)
===========
gedit 2.9.3
===========
Fixes
=====
- Minor UI tweaks (Paolo Maggi)
- Listen to autosave settings changes (Paolo Maggi)
- accessibility fixes (Srirama Sharma)
- Do not create backups in autosave mode (Paolo Borelli)
- do not retrieve the mime type multiple times for each document (Paolo Borelli)
- split I/O error dialogs to a separete file (Paolo Borelli)
- delay recent view initialization (Paolo Borelli)
New and updated translations
============================
- Laurent Dhima (sq)
- Tommi Vainikainen (fi)
- Takeshi AIHANA (ja)
- Žygimantas Beručka (lt)
- Miloslav Trmac (cs)
- Adam Weinberger (en_CA)
- Francisco Javier F. Serrador (es)
===========
gedit 2.9.2
===========
Fixes
=====
- bump gtksourceview requirement to 1.1
- improve default language detection for the spell plugin (Paolo Maggi)
- plug some memory leaks (Paolo Borelli)
- fix a bug and a critical warning when adding an encoding (Loïc Minier)
- listen to max-recents changes in gconf (Paolo Borelli)
- open new files specified on the command line in the proper order. (Paolo Borelli)
- Move to the new gtk api (about dialog, alerts etc) (Paolo Borelli)
- Fix a crash loading remote files (Paolo Maggi)
- Improve file naming in the window title (Paolo Maggi)
* modified documents are prefixed with a "*"
* the title of the window now has the format "filename (directory) - gedit"
- Use Pango fonts when printing (Owen Taylor)
- Check if the metadata file exists before trying to parse it (Marco Pesenti Gritti)
- Misc code cleanups (Paolo Borelli)
New and updated translations
============================
- Kjartan Maraas (nb)
- Martin Willemoes Hansen (da)
- David Lodge (en_GB)
- Meelad Zakaria (fa)
- Vladimir Petkov (bg)
- Laurent Dhima (sq)
- Takeshi AIHANA (ja)
===========
gedit 2.9.1
===========
Fixes
=====
- Remove obsolete nautilus view (Paolo Borelli)
- Fix compile with picky compilers (Marco Pesenti Gritti)
- avoid duplicate key accel in the file chooser (Paolo Borelli)
- s/Untitled/Unsaved Document to be HIG v.2 compliant (Paolo Maggi)
- enable some of plugins by default. The way active plugins are stored in
gconf changed, you may have to re-select some of the plugins (Paolo Maggi)
- new methods and signals for the output window (Paolo Maggi)
- remove some obsolete gedit_document_* functions, external plugins may
need to be updated to use GtkTextView api (Paolo Borelli);
- misc cleanups (Paolo Borelli)
- fix linking issues (Chris Kelso)
New and updated translations
============================
- Adam Weinberger (en_CA)
- Miloslav Trmac (cs)
- Jordi Mallach (ca)
- Mohammad DAMT (id
- Christophe Merlet (fr)
General Information
===================
This is version 2.12.1 of gedit. gedit is a small and lightweight UTF-8 text
This is version 2.13.0 of gedit. gedit is a small and lightweight UTF-8 text
editor for the GNOME environment.
gedit is part of GNOME and uses the latest GTK+ and GNOME libraries.
......@@ -18,23 +18,21 @@ average text editor (plugins being the most notable of these).
Although new features are always under development, currently gedit has:
* Complete support for UTF-8 text
* File Revert
* Read files using the GNOME VFS
* Cut/Copy/Paste and Select All text
* Syntax highlighting
* GNOME VFS support for remote files
* Complete integration with the GNOME Environment
* Search and Replace
* File Revert
* A complete preferences interface
* Configurable Plugins system
* Configurable Plugins system, with optional python support
* Printing and Print Previewing Support
* Configurable levels of Undo/Redo
* Syntax highlighting
Some of the plugins, packaged and installed with gedit include, among others:
* Word count
* Spell checker
* Change case of selected text
* Save a Copy
* Sort
* Tag list
* Insert Date/Time
......@@ -63,12 +61,12 @@ Information about gedit mailing lists can be found at
Installation
============
gedit requires GTK+-2.6.x (x >= 3 recommended), GtkSourceView 1.2.0 and GNOME 2.8.x libraries.
gedit requires GTK+-2.8.x, GtkSourceView 1.2.0 and GNOME 2.12.x libraries.
Simple install procedure:
% gzip -cd gedit-2.12.1.tar.gz | tar xvf - # unpack the sources
% cd gedit-2.12.1 # change to the toplevel directory
% gzip -cd gedit-2.13.0.tar.gz | tar xvf - # unpack the sources
% cd gedit-2.13.0 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build gedit
[ Become root if necessary ]
......
......@@ -6,7 +6,7 @@ test -z "$srcdir" && srcdir=.
PKG_NAME="gedit"
(test -f $srcdir/configure.in \
(test -f $srcdir/configure.ac \
&& test -f $srcdir/README \
&& test -d $srcdir/gedit) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
......@@ -19,6 +19,4 @@ which gnome-autogen.sh || {
exit 1
}
REQUIRED_AUTOMAKE_VERSION=1.7.2
USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" REQUIRED_AUTOMAKE_VERSION=1.8 REQUIRED_MACROS=python.m4 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
Makefile
Makefile.in
SUBDIRS =
if ENABLE_PYTHON
SUBDIRS += python
endif
Makefile
Makefile.in
gedit.c
gedit.defs.new
## Process this file with automake to produce Makefile.in
noinst_LTLIBRARIES = gedit.la
nodist_gedit_la_SOURCES = gedit.c
gedit_la_LDFLAGS = \
-module -avoid-version
gedit_la_LIBADD = \
$(PYTHON_LIBS) \
$(PYTHON_EXTRA_LIBS) \
$(PYGTK_LIBS)
gedit_la_CFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/gedit \
$(GEDIT_CFLAGS) \
$(NO_STRICT_ALIASING_CFLAGS) \
$(PYGTK_CFLAGS) \
$(PYTHON_CFLAGS) \
$(AM_CFLAGS)
gedit.c: gedit.defs gedit.override
( cd $(srcdir) && $(PYGTK_CODEGEN) \
--register $(PYGTK_DEFSDIR)/pango-types.defs \
--register $(PYGTK_DEFSDIR)/gdk-types.defs \
--register $(PYGTK_DEFSDIR)/gtk-types.defs \
--register $(PYGTK_DEFSDIR)/gtksourceview.defs \
--override $*.override \
--prefix py$* $(<F) ) > $@
BINDING_HEADERS_SRCDIR_IN = \
gedit/gedit-app.h \
gedit/gedit-document.h \
gedit/gedit-encodings.h \
gedit/gedit-plugin.h \
gedit/gedit-view.h \
gedit/gedit-tab.h \
gedit/gedit-panel.h \
gedit/gedit-window.h \
gedit/gedit-help.h
BINDING_HEADERS_BUILDDIR_IN =
BINDING_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_HEADERS_SRCDIR_IN))
BINDING_HEADERS_BUILDDIR := $(addprefix $(top_builddir)/,$(BINDING_HEADERS_BUILDDIR_IN))
regenerate-python-binding:
$(PYGTK_H2DEF) $(sort $(BINDING_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > gedit.defs.new
BUILT_SOURCES = gedit.c
EXTRA_DIST = \
gedit.override \
gedit.defs
CLEANFILES = $(BUILT_SOURCES)
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
;; -*- scheme -*-
; object definitions ...
(define-object App
(in-module "Gedit")
(parent "GObject")
(c-name "GeditApp")
(gtype-id "GEDIT_TYPE_APP")
)
(define-object Document
(in-module "Gedit")
(parent "GtkSourceBuffer")
(c-name "GeditDocument")
(gtype-id "GEDIT_TYPE_DOCUMENT")
)
(define-object Panel
(in-module "Gedit")
(parent "GtkVBox")
(c-name "GeditPanel")
(gtype-id "GEDIT_TYPE_PANEL")
)
(define-object Plugin
(in-module "Gedit")
(parent "GObject")
(c-name "GeditPlugin")
(gtype-id "GEDIT_TYPE_PLUGIN")
)
(define-object Tab
(in-module "Gedit")
(parent "GtkVBox")
(c-name "GeditTab")
(gtype-id "GEDIT_TYPE_TAB")
)
(define-object View
(in-module "Gedit")
(parent "GtkSourceView")
(c-name "GeditView")
(gtype-id "GEDIT_TYPE_VIEW")
)
(define-object Window
(in-module "Gedit")
(parent "GtkWindow")
(c-name "GeditWindow")
(gtype-id "GEDIT_TYPE_WINDOW")
)
;; Enumerations and flags ...
(define-flags SearchFlags
(in-module "Gedit")
(c-name "GeditSearchFlags")
(values
'("dont-set-flags" "GEDIT_SEARCH_DONT_SET_FLAGS")
'("entire-word" "GEDIT_SEARCH_ENTIRE_WORD")
'("case-sensitive" "GEDIT_SEARCH_CASE_SENSITIVE")
)
)
(define-enum TabState
(in-module "Gedit")
(c-name "GeditTabState")
(values
'("state-normal" "GEDIT_TAB_STATE_NORMAL")
'("state-loading" "GEDIT_TAB_STATE_LOADING")
'("state-reverting" "GEDIT_TAB_STATE_REVERTING")
'("state-saving" "GEDIT_TAB_STATE_SAVING")
'("state-printing" "GEDIT_TAB_STATE_PRINTING")
'("state-print-previewing" "GEDIT_TAB_STATE_PRINT_PREVIEWING")
'("state-showing-print-preview" "GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW")
'("state-generic-not-editable" "GEDIT_TAB_STATE_GENERIC_NOT_EDITABLE")
'("state-loading-error" "GEDIT_TAB_STATE_LOADING_ERROR")
'("state-reverting-error" "GEDIT_TAB_STATE_REVERTING_ERROR")
'("state-saving-error" "GEDIT_TAB_STATE_SAVING_ERROR")
'("state-generic-error" "GEDIT_TAB_STATE_GENERIC_ERROR")
'("state-closing" "GEDIT_TAB_STATE_CLOSING")
'("num-of-states" "GEDIT_TAB_NUM_OF_STATES")
)
)
(define-flags WindowState
(in-module "Gedit")
(c-name "GeditWindowState")
(values
'("state-normal" "GEDIT_WINDOW_STATE_NORMAL")
'("state-saving" "GEDIT_WINDOW_STATE_SAVING")
'("state-printing" "GEDIT_WINDOW_STATE_PRINTING")
'("state-loading" "GEDIT_WINDOW_STATE_LOADING")
'("state-error" "GEDIT_WINDOW_STATE_ERROR")
'("state-saving-session" "GEDIT_WINDOW_STATE_SAVING_SESSION")
)
)
;; Boxed types
(define-boxed Encoding
(in-module "Gedit")
(c-name "GeditEncoding")
(gtype-id "GEDIT_TYPE_ENCODING")
(copy-func "gedit_encoding_copy")
(release-func "gedit_encoding_free")
;; (fields
;; '("gint" "index")
;; '("gchar*" "charset")
;; '("gchar*" "name")
;; )
)
;; From ../../gedit/gedit-app.h
(define-function gedit_app_get_type
(c-name "gedit_app_get_type")
(return-type "GType")
)
(define-function gedit_app_get_default
(c-name "gedit_app_get_default")
(return-type "GeditApp*")
)
(define-method create_window
(of-object "GeditApp")
(c-name "gedit_app_create_window")
(return-type "GeditWindow*")
)
(define-method get_windows
(of-object "GeditApp")
(c-name "gedit_app_get_windows")
(return-type "const-GList*")
)
(define-method get_active_window
(of-object "GeditApp")
(c-name "gedit_app_get_active_window")
(return-type "GeditWindow*")
)
(define-method get_documents
(of-object "GeditApp")
(c-name "gedit_app_get_documents")
(return-type "GList*")
)
(define-method get_views
(of-object "GeditApp")
(c-name "gedit_app_get_views")
(return-type "GList*")
)
;; From ../../gedit/gedit-document.h
(define-function gedit_document_error_quark
(c-name "gedit_document_error_quark")
(return-type "GQuark")
)
(define-function gedit_document_get_type
(c-name "gedit_document_get_type")
(return-type "GType")
)
(define-function gedit_document_new
(c-name "gedit_document_new")
(is-constructor-of "GeditDocument")
(return-type "GeditDocument*")
)
(define-method get_uri
(of-object "GeditDocument")
(c-name "gedit_document_get_uri")
(return-type "gchar*")
)
(define-method get_uri_for_display
(of-object "GeditDocument")
(c-name "gedit_document_get_uri_for_display")
(return-type "gchar*")
)
(define-method get_short_name_for_display
(of-object "GeditDocument")
(c-name "gedit_document_get_short_name_for_display")
(return-type "gchar*")
)
(define-method get_mime_type
(of-object "GeditDocument")
(c-name "gedit_document_get_mime_type")
(return-type "gchar*")
)
(define-method get_readonly
(of-object "GeditDocument")
(c-name "gedit_document_get_readonly")
(return-type "gboolean")
)
(define-method load
(of-object "GeditDocument")
(c-name "gedit_document_load")
(return-type "gboolean")
(parameters
'("const-gchar*" "uri")
'("const-GeditEncoding*" "encoding")
'("gint" "line_pos")
'("gboolean" "create")
)
)
(define-method insert_file
(of-object "GeditDocument")
(c-name "gedit_document_insert_file")
(return-type "gboolean")
(parameters
'("GtkTextIter*" "iter")
'("const-gchar*" "uri")
'("const-GeditEncoding*" "encoding")
)
)
(define-method load_cancel
(of-object "GeditDocument")
(c-name "gedit_document_load_cancel")
(return-type "gboolean")
)
(define-method save
(of-object "GeditDocument")
(c-name "gedit_document_save")
(parameters
'("GeditDocumentSaveFlags" "flags")
)
(return-type "none")
)
(define-method save_as
(of-object "GeditDocument")
(c-name "gedit_document_save_as")
(return-type "none")
(parameters
'("const-gchar*" "uri")
'("const-GeditEncoding*" "encoding")
'("GeditDocumentSaveFlags" "flags")
)
)
(define-method is_untouched
(of-object "GeditDocument")
(c-name "gedit_document_is_untouched")
(return-type "gboolean")
)
(define-method is_untitled
(of-object "GeditDocument")
(c-name "gedit_document_is_untitled")
(return-type "gboolean")
)