Commit Graph

726 Commits

Author SHA1 Message Date
JosephMcc c27e781132 filebrowser: Fix crash on open_terminal action
0836fd05ac
2017-02-15 18:25:54 -08:00
JosephMcc fa31c65c2f filebrowser: Don't leak GFiles
e2f792359a
2017-02-15 18:25:54 -08:00
JosephMcc fe9e6ac91c file-browser-messages: Clean up formatting 2017-02-15 18:25:54 -08:00
JosephMcc 372399891d filebrowser: Unref the enumerator in the filebrowser plugin
8bb1b9555f
2017-02-15 18:25:54 -08:00
JosephMcc 4c45b083e1 Do not leak file info for . and .. dirs
fa5fa82ce0
2017-02-15 18:25:54 -08:00
JosephMcc f20b3bdcf5 filebrowser-view: Removed the unused "busy" cursor 2017-02-15 18:25:54 -08:00
JosephMcc 61bca3cc0f xed-file-browser-widget: Clean up code styling 2017-02-15 18:25:54 -08:00
JosephMcc a1e94f2777 Use slice allocator instead of g_new when appropriate
a0b15be6fd
2017-02-15 18:25:54 -08:00
JosephMcc ca9321f599 Fix g_free which should be g_object_unref in file browser
331af4bdda
2017-02-15 18:25:54 -08:00
JosephMcc e1a7919ebd Merge pull request #86 from JosephMcc/focus-1
Focus view when opening files from the filebrowser or documents panel
2017-02-15 16:05:44 -08:00
JosephMcc 5b34780cfe Merge pull request #83 from JosephMcc/docs-2
docs: Start cleaning up the docs
2017-02-15 16:05:02 -08:00
JosephMcc 5498344d82 Merge pull request #82 from JosephMcc/prefs-fix1
prefs-dialog: Fix a crash when removing style schemes
2017-02-15 16:03:25 -08:00
Clement Lefebvre fa93941933 Merge pull request #84 from JosephMcc/textsize
Convert some functionality to builtin plugins
2017-02-13 15:26:36 +00:00
JosephMcc c253d9feaa Focus view when opening files from the filebrowser or documents panel
139db33451
2017-02-13 01:56:33 -08:00
JosephMcc ad8fa295f2 Sort: Turn sort into a simpler and undoable action
Convert to a builtin plugin and remove the use of the dialog. Sort can now be
triggered from the edit menu or by the F10 hot key.
2017-02-12 15:42:32 -08:00
JosephMcc 01bada3e7e Implement font zooming in the editor
Give controls for zoom in, zoom out, and reset zoom in the menu and via hotkey.
Also add a new placeholder in the view menu to allow positioning the menuitems
properly. Still want to keep the highlighting menu item at the  bottom.

This is implemented by using a builtin libpeas python plugin. Add support for
loading these plugins at startup. They cannot be enabled or disabled through the
UI. They can still be disabled in gsettings but will be automatically reloaded
when xed is restarted.

Closes: https://github.com/linuxmint/xed/issues/45
2017-02-12 01:24:02 -08:00
JosephMcc c8c3f4696f docs: Start cleaning up the docs
The code has chaged quite a bit. Start updating the docs to match and to quiet
some warnings during build.
2017-02-11 18:28:38 -08:00
JosephMcc e4745e72b7 prefs-dialog: Fix a crash when removing style schemes
This looks like another old leftover from the move to gtk3

Based on: 11fbe0fe14
Closes: https://github.com/linuxmint/xed/issues/25
2017-02-10 17:11:47 -08:00
JosephMcc a7382db60e debian: Add a dependency on xapps-common
We need this for some of the icons being used in the search and status bar.
2017-02-10 15:56:26 -08:00
JosephMcc 98c983f144 Merge pull request #80 from JosephMcc/makefile-fix1
Makefile: Forgot to git add changes
2017-02-10 04:09:44 -08:00
JosephMcc 090ba0dc92 Makefile: Forgot to git add changes 2017-02-10 04:07:39 -08:00
JosephMcc 8cece49ab6 Merge pull request #68 from JosephMcc/1.4-dev-1
1.4 dev
2017-02-10 02:33:38 -08:00
JosephMcc c620e48c96 xed-view: Add some margin to the top and left of the text view 2017-02-10 00:18:17 -08:00
JosephMcc ad31cd9e36 Debian: Bring back the xed-doc package 2017-02-09 14:15:21 -08:00
JosephMcc 3a83594498 Add a preference to allow using the dark variant of a theme if available 2017-02-09 13:58:08 -08:00
JosephMcc 69f71de2de xed-window: Fix getting the wrong window size when cloning a window
This was mostly caused by a missing set of parens resulting in the wrong logic
being used. Go ahead a clean things up just a bit while I'm here.
2017-02-09 10:30:52 -08:00
JosephMcc 399fc81a41 xed-app: Fix a typo 2017-02-09 04:04:03 -08:00
JosephMcc 17837139ac xed-app: Shutdown metadata-manager after GTK+ 2017-02-09 03:47:08 -08:00
JosephMcc 3567a8e4c9 xed-app: Handle also application::open 2017-02-09 03:34:02 -08:00
JosephMcc 3b9d03837b Don't use global vars for command line parsing 2017-02-09 03:30:01 -08:00
JosephMcc 42f78a6980 Set textdomain as soon as possible 2017-02-09 03:04:04 -08:00
JosephMcc e3e316ea8a Start using GResource
This converts our existing ui files for the main programs to resources and adds
a template for xed-view-frame
2017-02-09 02:37:10 -08:00
JosephMcc 3cfd0f3d5f Remove the dialog utility library 2017-02-06 17:56:51 -08:00
JosephMcc bf69e64718 Don't use deprecated gtk_widget_set margin_left/right 2017-02-05 03:54:09 -08:00
JosephMcc ab8bf81cc3 xed-progress-info-bar: Properly expand the progress bar 2017-02-05 03:20:35 -08:00
JosephMcc 3496c88947 info-bar: Don't use icons in buttons 2017-02-05 02:20:27 -08:00
JosephMcc 30e996eaea info-bars: Don't use deprecated GtkStock 2017-02-05 02:10:26 -08:00
JosephMcc 9a4f7e55fe info-bars: Don't use deprecated gtk_misc 2017-02-05 02:04:14 -08:00
JosephMcc 42bb35d41f message-area: Rename message area to info bar
Lets call it what it is
2017-02-05 01:41:46 -08:00
JosephMcc 2aa009cb76 Port xed to dbus and GtkApplication
This further improves on the port to GtkSource API's and cleans up a ton of
legacy code in xed based on upstream changes in Gedit.
2017-02-04 22:17:58 -08:00
JosephMcc f05ddd7b63 Port to GtkSource* API
There are still bugs but this gets it started
2017-01-30 14:52:12 -08:00
JosephMcc 6888501019 xed-document: Do some cleanup
This is a bit more work in preparation for porting to more of the GtkSource*
API's
2017-01-29 12:59:13 -08:00
JosephMcc 32200f4b7e Plugins: Remove the changecase plugin
Change case is provided by part of the GtkSourceView context menu. If we want
this available in the main application menu we can bring it back as built in
functionality. There is no real reason to keep a plugin around just for that
2017-01-29 04:19:04 -08:00
JosephMcc 5071bfe065 Add _xed_document_needs_saving
Based on acbf4d4f0c
2017-01-29 03:36:27 -08:00
JosephMcc 511fc3dfec Port to the GtkSourceView search functionality
This also gives us support for regex search
2017-01-28 19:12:36 -08:00
JosephMcc 0a9588ef63 Clean up our GSettings use a bit more 2017-01-21 18:44:15 -08:00
JosephMcc f546598d83 Remove xed_utils_location_has_file_scheme 2017-01-21 14:44:55 -08:00
JosephMcc ed03c490d1 xed-document: Rework externally modified/deleted check
7c5e872ad6
2017-01-21 14:08:11 -08:00
JosephMcc 6b8c07d90e Kill xed-language-manager and use gtksourcelanguagemanager directly 2017-01-21 13:51:08 -08:00
JosephMcc 4a6f1d02b8 xed-document: Fix a couple of possible memory leaks 2017-01-21 01:36:15 -08:00