- 04 Mar, 2015 4 kayıt (commit)
-
-
Jiří Techet yazdı
Normal clicking the launcher icon just brings the application to the foreground so there must be a way users can create a new instance of Geany. Add an entry "New Window" to the context menu which is shown when right-clicking the Geany icon in the launcher (most applications have the "New Window" entry there). In addition, fix "Open in new window" when using app bundle. Since both of these functionalities create a new Geany instance, factor-out the instance creation code into a new utility function and use it in both cases.
-
Jiří Techet yazdı
NSApplicationBlockTermination signal is emitted when clicking the Quit menu to check whether the application permits quitting - react accordingly. --- NSApplicationOpenFile signal is emitted when * file is dragged on the application icon * application is selected from "Open with" menu after right-clicking the file * when double-clicking a file for which the application is default editor/viewer * when file is opened from command-line When the application isn't running, it is first started and then this signal is emitted. Use the signal to open files. In addition, when the opened file has the ".geany" suffix, open it (but only if the project isn't already open). The project has to be opened in idle function because blocking the signal handler for a long time by the project-close confirmation dialog causes problems.
-
Jiří Techet yazdı
We have to disable quartz accelerator handling because otherwise accelerators are performed also from other windows than the main Geany editor (e.g. Ctrl+V with find dialog open performs the keybinding Ctrl+V and inserts the text to the editor). OS X applications have an extra menu entry to the left of the File menu - an "application menu". This menu usually contains About, Preferences, Quit. Many users, however, may be used to Geany from other platforms and expect Preferences to be under the Edit menu so leave them there. Quit and About are rarely used and the application menu is the place where they are supposed to be - move these entries from other Geany menus there and hide them in the affected menus (the quit entry is inserted automatically, we just need to hide it from File). Also tell OS X the Help menu is dedicated to help (we get search in menu entries by name for free thanks to this). The global menu should refresh automatically based on user actions. Unfortunately this is not the case when gtk_menu_reorder_child() is used because it does not emit any signals so the gtk-mac-integration library doesn't see this call. Refresh the menu manually after calling this function.
-
Jiří Techet yazdı
This patch adds the gtk-mac-integration library and uses it to adjust various paths in Geany to point it inside the app bundle if Geany runs from inside the bundle. It adds the utils_resource_dir() utility function to return correct directories for various kinds of resources for all supported operating systems. Using this function the patch adjusts all Geany resource, plugin, icon, doc, and locale paths.
-
- 03 Mar, 2015 4 kayıt (commit)
-
-
Colomban Wendling yazdı
-
-
Colomban Wendling yazdı
Fix installation of data files on Windows with the Autotools build system.
-
Colomban Wendling yazdı
-
- 28 Şub, 2015 1 kayıt (commit)
-
-
Colomban Wendling yazdı
Most of our tree view tooltips were set from plain text values but parsed as markup by GTK, which sometimes lead to markup errors, when the tooltip value contained markup control characters. This also adds ui_tree_view_set_tooltip_text_column() to the plugin API so plugins can easily set plain text tooltips from tree views columns. Fixes https://sourceforge.net/p/geany/bugs/1091/
-
- 25 Şub, 2015 1 kayıt (commit)
-
-
Thomas Martitz yazdı
setup_paths() sets app->datadir to $prefix/win32. With mingw-via-autotools, it installed data to $prefix/share/geany (like on Linux). With this change data is installed to $prefix/data ($datarootdir is not changed). This fixes geany startup after make install with autotools. Linux: pkgdatadir = ${datarootdir}/geany GEANY_DATA_DIR = /path/to/prefix/share/geany Win32: pkgdatadir = ${prefix}/data GEANY_DATA_DIR = /path/to/prefix/data
-
- 24 Şub, 2015 1 kayıt (commit)
-
-
Colomban Wendling yazdı
Add JSON filetype (with tag parser)
-
- 21 Şub, 2015 3 kayıt (commit)
-
-
Colomban Wendling yazdı
This actually fixes a theoretical bug introduced when notebook pages stopped being ScintillaWidgets, but this bug had no effect because it was in a dead code path -- because no, `page_num` never is -1 nor `page` NULL.
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
The ::document-activate signal was not emitted when opening the first tab of the notebook, e.g. when the tab count changed from 0 to 1. This is because the ::document-activate signal is emitted in response to the GtkNotebook::switch-page signal, which is emitted whenever the currently displayed page changes. When there already is a current page (when there is one or more pages), adding a new page does not trigger the signal, as this new page doesn't become the current one (we will switch to it later). However, when there are none, the newly added one becomes current, and so the signal is emitted right away. This is problematic because when we add the page to the notebook, the document associated with it is not yet ready (only partly initialized), and so we can't emit the signal on a valid document, and we discard it. Not emitting this signal leads to inconsistent behavior introducing subtle bugs in plugins relying on it. To work this around, only show the page widget (the child added to the notebook) after we finished initializing everything. This is the simplest fix, because a lot of the code around document creation and opening depend on the fact the page is already added, so while delaying the page addition sounds like the more sensible fix, it has non-trivial consequences that would require a large amount of work to overcome. Note that interestingly, in addition to our problem, GtkNotebook seems to have a bug as it emits the ::switch-page right when adding the first page even if that page is not visible. However, it properly emits it again when the child becomes visible, so we just still discard the first emission like we used to.
-
- 20 Şub, 2015 2 kayıt (commit)
-
-
Colomban Wendling yazdı
Docutils tools are apparently installed with an extension suffix by default, so check for this too. Closes #424.
-
Colomban Wendling yazdı
AC_PATH_PROG supports overrides of its variable, so there is no need for manual handling.
-
- 17 Şub, 2015 2 kayıt (commit)
-
-
Frank Lanitz yazdı
-
Frank Lanitz yazdı
-
- 15 Şub, 2015 2 kayıt (commit)
-
-
Frank Lanitz yazdı
update Czech translation
-
Stanislav Horacek yazdı
-
- 13 Şub, 2015 3 kayıt (commit)
-
-
Colomban Wendling yazdı
-
Jiří Techet yazdı
-
Colomban Wendling yazdı
Revert some OS X keybinding changes for VTE
-
- 12 Şub, 2015 1 kayıt (commit)
-
-
Jiří Techet yazdı
While all normal keybindings use the Command key instead of control key on OS X, all the command-line applications and terminal emulators use the Ctrl key like on Linux. This includes Ctrl+C (SIGINT) and Ctrl+D (EOF) for which there is some special handling in the VTE support in Geany and which should use GDK_CONTROL_MASK instead of GEANY_PRIMARY_MOD_MASK.
-
- 11 Şub, 2015 4 kayıt (commit)
-
-
Colomban Wendling yazdı
Import Python changes from https://github.com/fishman/ctags/
-
Markus Heidelberg yazdı
Regression for the triple start string issue has been introduced in SVN revision 669 (fishman git a314e11158307db84c0dadb758846b2302fe69cd) on 2008-06-11. In ctags 5.7 it did work, in 5.8 not anymore. See also http://sourceforge.net/p/ctags/bugs/229/ for the original bug, which led to the old fix. The other issue with normal strings in skipEverything() is even older.
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
Anything at the module/file level: * _... is protected * rest is public Anything at the class level: * __...__ is public (magic method) * __... is private * _... is protected * rest is public Anything at the function/method level: * everything is private Closes https://github.com/fishman/ctags/issues/216.
-
- 10 Şub, 2015 5 kayıt (commit)
-
-
Frank Lanitz yazdı
-
Frank Lanitz yazdı
-
Colomban Wendling yazdı
OS X improvements
-
Jiří Techet yazdı
-
Jiří Techet yazdı
Also don't default to CR if OS is neither Windows nor Unix (including OS X). There's no other GTK backend right now so it doesn't matter much but still if something else appears, it will most probably not have CR line endings.
-
- 08 Şub, 2015 2 kayıt (commit)
-
-
Enrico Tröger yazdı
SaveActions: Set file permissions of backup copies to 0600 (SF #125)
-
Jiří Techet yazdı
The standard says: If the first operand is -n, or if any of the operands contain a backslash ( '\' ) character, the results are implementation-defined. On OS X it simply prints the "-n" string and everything which follows, including the newline. Use printf instead.
-
- 01 Şub, 2015 1 kayıt (commit)
-
-
Frank Lanitz yazdı
-
- 31 Ock, 2015 4 kayıt (commit)
-
-
Colomban Wendling yazdı
Import JSON tag parser from CTags: https://github.com/fishman/ctags/blob/master/json.c
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
When a string is not used as an object property the parser doesn't need to know its value. Not collecting it into memory lowers memory consumption and avoids high memory consumption with huge string values.
-
Colomban Wendling yazdı
-