Code Log


Commit Date  
[c79c98] by Colomban Wendling Colomban Wendling

Fix build with GLib < 2.32

Second part of #1047.

2014-06-04 12:31:12 Tree
[ea6eba] by Colomban Wendling Colomban Wendling

Fix build with GTK < 2.24

Part of #1047.

2014-06-04 12:16:39 Tree
[01cf9a] by Enrico Tröger Enrico Tröger

Do not use backward slashes in geany.pc on Windows

And explicitly convert backward slashes in the global
prefix to forward slashes as tools like pkg-config or
gcc could interpret the backward slashes as escape
sequences.

2014-05-29 15:47:37 Tree
[147167] by Colomban Wendling Colomban Wendling

infobars: Use wrap labels to avoid cropped infobars

Since the infobar is backed in a GtkPaned that allows "shrink", if the
content is too wide, it's far end will just get cropped. Also, wrap
labels are nicer to display possibly long texts as it flows naturally.

2014-05-28 16:01:23 Tree
[d6e9e4] by Colomban Wendling Colomban Wendling

Fix a few missing/extra includes

2014-05-27 18:25:04 Tree
[7a4b52] by Colomban Wendling Colomban Wendling

Avoid code duplication in document_get_current()

2014-05-27 16:00:56 Tree
[46f01b] by Colomban Wendling Colomban Wendling

Properly mirror document_get_from_page() in document_get_notebook_page()

Now document_get_from_page() supports arbitrary nesting inside the
notebook page, update document_get_notebook_page() to support it also,
by searching up for the direct notebook child rather than assuming it
is the ScintillaWidget's direct parent.

2014-05-27 15:55:00 Tree
[d39995] by Colomban Wendling Colomban Wendling

Fix an inverted check

2014-05-27 14:02:59 Tree
[4adbd5] by Colomban Wendling Colomban Wendling

Remove some empty table rows and columns from the Glade file

Cleanup some useless placeholders, and replace some one-column tables
with vertical boxes.

No UI changes.

2014-05-27 13:53:32 Tree
[73a158] by Colomban Wendling Colomban Wendling

Remove empty table rows in the Glade file

This avoids glade from emitting some useless placeholders.
No UI changes.

2014-05-26 16:11:58 Tree
[e97957] by Colomban Wendling Colomban Wendling

Merge PR#113

2014-05-26 14:45:25 Tree
[2b9ecc] by Colomban Wendling Colomban Wendling

Remove unused variables and avoid variable shadowing

2014-05-26 14:24:24 Tree
[6e58ef] by Colomban Wendling Colomban Wendling

Don't use the notebook page widget for tab popup

Directly use the GeanyDocument rather than pass the notebook page
widget and get the document from that. This makes the code more future
proof and less weird.

2014-05-26 14:21:16 Tree
[54724e] by Thomas Marititz Thomas Marititz

notebook: Fix crash on tab close

Since infobars notebook_tab_close_clicked_cb() wants a GeanyDocument as userdata.
show_tab_bar_popup_menu() on the other hand wants the actual GtkNotebook child.

2014-05-26 09:43:57 Tree
[8ea549] by Matthew Brush Matthew Brush

Merge branch 'kugel/document-messages2'

This is an extension of the long-lived `document-messages` branch.

It is mostly adjusted according to the feedback on the mailing list.
There might existing some usability issues to be resolved, but this
is the first step towards non-modal document notifications.

2014-05-26 01:55:07 Tree
[19e24f] by Thomas Martitz Thomas Martitz

infobars: Dismiss the info bar when reloading via toolbar button/keybinding.

2014-05-24 17:42:46 Tree
[b96daf] by Thomas Martitz Thomas Martitz

infobars: Do not use GeanyWrapLabel for now, it has problems on gtk3.

2014-05-24 14:32:58 Tree
[100e0e] by Thomas Martitz Thomas Martitz

infobars: Intercept some keys when the info bar is shown to allow interacting with it using the keyboard only.

When the info bar is shown tab/shift+tab and escape are intercepted.
* tab/shift+tab change the focus to the info bar buttons which can then be
cycled through with more tab presses
* escape closes the info bar (same as clicking cancel)

Both keys aren't needed for the document because it's read-only. Other keys,
such arrow/page up/down, remain to the document for navigating.

2014-05-24 13:05:33 Tree
[1dc96f] by Thomas Martitz Thomas Martitz

infobars: Cancel "reload file" dialog when spawning the "resave file" one.

When the file was deleted from disk the message that the file is newer on
disk has become out of date and irrelevent.

2014-05-24 13:05:15 Tree
[b487d8] by Thomas Martitz Thomas Martitz

infobars: Do not show reload and resave messages more than once since only the
last one (respectively) is significant to the user.

2014-05-24 13:05:14 Tree
[511794] by Thomas Martitz Thomas Martitz

infobars: Make document read-only while infobar is shown.

This avoids accidental changes the file until the infobar is ackowledged. The
document can still be viewed and scrolled through but modifications and saving
are disabled. Of course ignoring the document by changing to another one is
also possible.

2014-05-24 13:05:14 Tree
[43bff9] by Matthew Brush Matthew Brush , pushed by Thomas Martitz Thomas Martitz

Make locate_sci_in_container() search recursively

Supports changes to the widget heirarchy in the future.

2014-05-24 13:05:14 Tree
[e469aa] by Matthew Brush Matthew Brush , pushed by Thomas Martitz Thomas Martitz

Use document_show_message() when a file is removed from disk

The close button is removed from the dialog also since the user can easily
choose to close the document normally.

Setting default response removed since it's not working yet.

2014-05-24 13:05:08 Tree
[667c35] by Matthew Brush Matthew Brush , pushed by Thomas Martitz Thomas Martitz

Use document_show_message() when a file is externally modified

Two other related changes are that document_set_text_changed() is used to
indicate that the buffer is different from what's on disk and also that
the 'Close' button has been removed from the dialog since the user can easily
just close the document themselves the normal way.

2014-05-24 12:47:57 Tree
[a6bbea] by Matthew Brush Matthew Brush , pushed by Thomas Martitz Thomas Martitz

Add new function document_show_message()

2014-05-24 12:47:57 Tree
Older >