Commit Graph

450 Commits

Author SHA1 Message Date
Patrick Monnerat 90fa9b31bb Flush document output data at EOF before determining the loader newline type.
Failure to do so fails determining the newline type for a single line ending
with CR.
2015-10-13 14:07:00 +02:00
Patrick Monnerat 7ec8b4d745 Adjust the document-output-stream test to the new buffering strategy.
Test was still failing because it checked the document content before closing.
This commit forces document flush before this check, making the test successful.
2015-10-13 14:07:00 +02:00
Patrick Monnerat 43903ad12b CRLF across 8k boundary inserts an empty line.
fixes issue#100

This introduces buffering of a trailing, non-leading CR for each buffer
passed to pluma_document_output_write(), for later possible recombination into
a CRLF.
Since this buffering has to be flushed at EOF, a flush method has been added to
the class. It is implicitly called at document close time.
2015-10-13 14:05:36 +02:00
Patrick Monnerat 78101257f4 tests/document-output-stream.c: change substring length from 2 to 3 in EOL tests.
CRs always appear at the same modulus 2 offset in test strings, thus bug
https://github.com/mate-desktop/pluma/issues/100 is never detected.
Setting substring lengths to 3 causes the test to detect bug #100, thus failing,
as it should yet do.
2015-10-08 16:30:59 +02:00
monsta b580b35445 Bump version to 1.11.0 2015-10-06 17:35:58 +03:00
monsta 6ee8c7a1ab bugreport script: bring back active plugins listing 2015-09-29 13:57:32 +03:00
monsta 7eff297795 configure.ac: dropped some useless stuff 2015-09-29 13:57:13 +03:00
monsta e39f5b99d1 added --enable-tests option which will be off during distcheck
as we have document-saver test failing always
2015-09-29 13:38:04 +03:00
monsta ab4da31e08 capitalize Pluma in Run command plugin dialog 2015-09-29 10:12:56 +03:00
monsta 4299e647a7 capitalize Pluma in titles of main window and prefs window 2015-09-29 09:58:51 +03:00
monsta 8c43c2cfdc capitalize Pluma in about dialog 2015-09-28 17:58:33 +03:00
infirit d27ba9e8c4 define max/min version of GLib 2015-09-08 17:19:35 +02:00
infirit ca8ca6923e Rework gsettings schema building
* Bump intltool required version for gsettings support
* Extract strings with intltool directly
* Let autoconf generate the xml files
2015-09-08 17:19:30 +02:00
infirit 3d9e640cc4 Fix up the docs
Taken from gedit,
commit: 42a6a8d8d87f32572f56b56a9c4e92f7181d339a
from: Garrett Regier <alias301@gmail.com>
2015-09-05 21:46:09 +02:00
infirit 1618c8f724 Add new plugin to POTFILES 2015-09-05 20:43:24 +02:00
Stefano Karapetsas d4828e426c Merge pull request #145 from monsta/attrs
smclient: drop unneeded 'x' attribute from source files
2015-09-04 11:07:43 +02:00
Monsta 10ab67cc2c smclient: drop unneeded 'x' attribute from source files 2015-09-04 11:50:51 +03:00
infirit ab31ab9b12 Revert "Fix issue#100: CRLF across 8k boundary inserts an empty line."
This reverts commit f6d7a422f3.
2015-09-02 11:51:13 +02:00
Alexander van der Meij 0c974a2db5 capitalize desktop entry file to match mate style 2015-09-02 11:34:01 +02:00
Daggerbot 9f166a05aa Add plugin to strip trailing spaces on save. 2015-09-02 11:34:01 +02:00
monsta b24934e186 drop support for win32/osx and checkupdate plugin
that plugin has never been built in linux anyway due to logic
in configure.ac
2015-09-02 11:34:01 +02:00
Patrick Monnerat f6d7a422f3 Fix issue#100: CRLF across 8k boundary inserts an empty line. 2015-09-02 11:34:01 +02:00
infirit bdfc07a804 Remove unused reset_im_context function
Builds now with GSEAL_ENABLE
2015-08-03 21:39:19 +02:00
infirit ee8ed9307b Fix implicit declarations 2015-08-03 21:32:35 +02:00
Monsta 743994aee9 remove excessive include 2015-08-03 18:20:08 +03:00
Monsta 79c3e28490 drop gdkkeysyms-compat usage, use modern key names 2015-08-03 18:04:03 +03:00
Monsta 121e7b4f8a Bump version to 1.10.2 2015-07-14 14:42:35 +03:00
monsta 4968f9a9de quickopen plugin: remove wrong version check inherited from gedit
this should make quickopen dialog (Ctrl-Alt-O) recognize the files
from the currently selected dir in filebrowser plugin.
2015-07-14 13:14:41 +03:00
monsta e75584f2e6 close confirmation dialog: make text unfocusable
adapted from
https://git.gnome.org/browse/gedit/commit?id=08f0c2629d0bf4f795a71826526624d96127c23e
2015-07-14 13:00:39 +03:00
Monsta 4fd8549850 window title: display full path to files on mounted drives
when opening a file on some mounted drive (local harddisk, usb flash drive, etc.),
pluma now displays full path to file in the window title. previously it displayed
only the mount name (like "100 GB Volume").

adapted from:
https://git.gnome.org/browse/gedit/commit?id=c59e67e27ea11c6756c7291236338fcf44f24c73

credits to @jsenin for https://github.com/mate-desktop/pluma/pull/108
2015-07-14 11:01:41 +03:00
raveit65 9d5f3b2535 help: fix legal page 2015-07-10 10:17:05 +02:00
Monsta cf4fc2b923 help: fixed broken links to m-u-g 2015-07-10 10:55:04 +03:00
infirit 80a8a579f9 Fix my stupid mistake in previous commit. 2015-07-09 16:34:54 +02:00
raveit65 bf21739379 UI GTK3: use a size request for time plugin dialog window 2015-07-09 15:15:56 +02:00
raveit65 1fed4bcbe1 help: fix broken images 2015-07-08 13:44:42 +02:00
Monsta bdb0ef751e show correct help pages for prefs and plugins dialogs 2015-07-08 12:42:59 +03:00
Martin Wimpress a5c13501b6 Bump version to 1.10.1 2015-06-18 08:58:08 +01:00
Martin Wimpress d730f97f82 Update NEWS. 2015-06-18 08:40:57 +01:00
Martin Wimpress c09738b74d Merge pull request #123 from NiceandGently/dev-translations
fix html syntax in help translations
2015-06-17 18:10:28 +01:00
Martin Wimpress d0af046579 Merge pull request #122 from monsta/man-fix
removed erroneous line from manpage
2015-06-17 18:04:55 +01:00
Monsta 718496d172 removed erroneous line from manpage
taken from Debian patch 2001_fix-man-page-errors.patch
2015-06-17 12:54:18 +03:00
Martin Wimpress 6b14b69dc0 Merge pull request #121 from monsta/patch-1
taglist plugin: don't use timestamps when using gzip
2015-06-16 22:32:51 +01:00
Martin Wimpress f6addc421a Merge pull request #120 from NiceandGently/master
fixes for gschema translation
2015-06-16 22:31:52 +01:00
raveit65 d91a7ae190 fix html syntax in help translations 2015-06-16 20:15:59 +02:00
monsta 1557235206 taglist plugin: don't use timestamps when using gzip 2015-06-16 15:59:07 +03:00
raveit65 b9133a18f8 fixes for gschema translation
taken from:
https://github.com/mate-desktop/eom/commit/a2055e1
- bumped required intltool version to 0.50.1
- renamed and corrected gschema xml for proper intltool usage
- removed obsolete lines from po/POTFILES.skip
2015-06-16 00:56:55 +02:00
Stefano Karapetsas 0f093c69c0 Inlcude autogen.sh in tarball 2015-06-12 12:01:52 +02:00
Martin Wimpress 8af62ff580 Merge pull request #117 from NiceandGently/master
reduce the size of the statusbar
2015-05-20 22:41:12 +01:00
raveit65 627201d5a0 GTK3: remove the top and bottom margin from GTKToggleButton in statusbar
- this makes the statusbar smaller and follows GTK2 style
2015-05-16 22:09:32 +02:00
raveit65 e1b2a4e298 switch to GtklLabel for statusbar buttons + remove non nedded resize-grip code
- fixes the large statusbar with GTK3
- remove extra resize-grip code, which is handle by gtk+ itself
GTK2 builds displays the resize-grip without the extra code.
Since GTK+-3.14 the rezise-grip widget is removed.
- the size of the statusbar is now themable
2015-05-16 22:05:55 +02:00