]>
Pileus Git - ~andy/gtk/log
Kalev Lember [Fri, 29 Apr 2011 08:42:20 +0000 (11:42 +0300)]
perf: Use different marshaller prefix than in gtk
Avoids multiple symbol definitions in gtk/gtkmarshalers.c
and perf/marshalers.c when both objects are linked in.
https://bugzilla.gnome.org/show_bug.cgi?id=648926
Benjamin Otte [Fri, 29 Apr 2011 09:04:01 +0000 (11:04 +0200)]
notebook: Match horizontal and vertical code paths
I have no idea what this code does, but it looks better now. :o
Benjamin Otte [Fri, 29 Apr 2011 07:38:56 +0000 (09:38 +0200)]
notebook: Respect left border when allocating tab widgets
This mirrors the code for the other tab locations.
Benjamin Otte [Fri, 29 Apr 2011 07:38:23 +0000 (09:38 +0200)]
notebook: Respect padding when computing tabs for left/right
This mirrors the top/bottom code
Benjamin Otte [Fri, 29 Apr 2011 06:59:55 +0000 (08:59 +0200)]
Don't adjust for values that we have previously adjusted for
The padding had been taken into account by the computation of
priv->allocation, so don't compute it twice.
Benjamin Otte [Fri, 29 Apr 2011 06:48:36 +0000 (08:48 +0200)]
notebook: Use the right padding for inactive tabs
Benjamin Otte [Fri, 29 Apr 2011 01:27:02 +0000 (03:27 +0200)]
window: Invert check that was wrong
Benjamin Otte [Thu, 28 Apr 2011 20:11:55 +0000 (22:11 +0200)]
arrow: Make minimum size 5px, as opposed to the 15 it was before
Number chosen by staring out the window and counting visible stars.
This is necessary so that path bars don't underallocate the arrow widget
they use.
Benjamin Otte [Thu, 28 Apr 2011 20:04:31 +0000 (22:04 +0200)]
widget: Allow underallocation for scrollables
Also document this fact.
Benjamin Otte [Thu, 28 Apr 2011 20:04:02 +0000 (22:04 +0200)]
docs: Fix liststore docs
gtk-doc was very unhappy. It's not anymore
Benjamin Otte [Thu, 28 Apr 2011 19:25:29 +0000 (21:25 +0200)]
widget: Update underallocation warning
Also print the parent widget. As the parent's size_allocate
implementation is usually the culprit for this warning happening, it
makes sense to print it.
Benjamin Otte [Thu, 28 Apr 2011 18:27:40 +0000 (20:27 +0200)]
paned: Move showing of the handle from realize() to map()
Also only show the paned if it's actually supposed to be visible.
Benjamin Otte [Thu, 28 Apr 2011 12:53:45 +0000 (14:53 +0200)]
paned: Remove needless check
Kizito Birabwa [Thu, 28 Apr 2011 19:29:03 +0000 (20:29 +0100)]
Updated Luganda translation
Benjamin Otte [Thu, 28 Apr 2011 03:12:00 +0000 (05:12 +0200)]
widget: Warn when allocation for gtk_widget_size_allocate() is too small
Widgets may not be underallocated, it is the responsibility of the
caller to ensure this never happens.
Benjamin Otte [Wed, 27 Apr 2011 22:51:37 +0000 (00:51 +0200)]
notebook: Warn if builder file defines multiple tab widgets per page
Glade causes such files when a notebook page has no content. And it's
especially bad because the last tab widget wins, so the label displayed
in Glade will not be what you see when you run the app.
Giorgos Stephanakis [Wed, 27 Apr 2011 20:20:24 +0000 (23:20 +0300)]
l10n: Updated Greek translation for gtk+
Benjamin Otte [Wed, 27 Apr 2011 17:59:02 +0000 (19:59 +0200)]
recentchooser: Fix default size setting
Set the min content size on the scrolled window instead of using
gtk_widget_set_size_request() on a widget where it's not recognized.
Benjamin Otte [Tue, 26 Apr 2011 22:49:00 +0000 (00:49 +0200)]
window: Make comparison be the right direction
Messed something up there...
Benjamin Otte [Sun, 24 Apr 2011 23:34:27 +0000 (01:34 +0200)]
label: Don't crash when a builder file contains unknown attributes
Benjamin Otte [Wed, 20 Apr 2011 14:56:03 +0000 (16:56 +0200)]
grid: Fix homogeneuous properties being flipped
Benjamin Otte [Tue, 12 Apr 2011 11:35:10 +0000 (13:35 +0200)]
cssprovider: #include gio
We reference GFile...
Benjamin Otte [Tue, 26 Apr 2011 22:25:48 +0000 (00:25 +0200)]
tooltip: Use the actual size of the window we're going to show
It's easy by realizing the window first.
Don't try to guess the alorithm used by gtkwindow.c for sizing the
window, it might not be what we expect.
Benjamin Otte [Tue, 26 Apr 2011 22:05:01 +0000 (00:05 +0200)]
window: Be smarter about computing the default size
See the code comments for the reasoning behind this. After we don't
force a "guessed" minimum size for labels anymore, a lot of issues
started to surface that this patch attempts to fix. In particular:
1) Tooltips where wrapped as much as possible.
2) The recentchooser submenu displayed only ellipsize dots.
Benjamin Otte [Tue, 26 Apr 2011 16:42:54 +0000 (18:42 +0200)]
window: Split out size guessing function
This doesn't do anything special yet, but I'm about to change that.
Benjamin Otte [Tue, 26 Apr 2011 20:40:37 +0000 (22:40 +0200)]
window: Use int instead of uint consistently
Chun-wei Fan [Tue, 26 Apr 2011 17:02:07 +0000 (01:02 +0800)]
VS2010 support-update property sheet
Update the Gdk-Pixbuf 2.0 include path to be consistent with
autotools-based builds
Chun-wei Fan [Tue, 26 Apr 2011 16:53:16 +0000 (00:53 +0800)]
VS2008/2010 support: Update README.txt
-Make the GDK-Pixbuf requirements more clear
-Tell people about the usage of ATK-2.x
Chun-wei Fan [Tue, 26 Apr 2011 16:46:52 +0000 (00:46 +0800)]
Bug 643270: VS2010 Project Files (autotools)
-Update to distribute the VS2010 files.
-Added rules in Makefile.am's of GDK and GTK to fill in the
project/filter files templates with up-to-date source file
listings to simplify maintenace.
Any comments on the usage of the VS2010 files are welcome!
Chun-wei Fan [Tue, 26 Apr 2011 16:44:30 +0000 (00:44 +0800)]
Bug 643270: VS 2010 Project Files
These are the VS2010 Project files to compile GDK and GTK+, using
the Win32 backend, along with a brief README.txt explaining the
process.
The GDK and GTK project/filter files are templates that are filled
in during "make dist" with up-to-date source file listings as far
as possible, to simplify maintenance.
Comments on their usage are most welcome.
Benjamin Otte [Tue, 26 Apr 2011 12:07:27 +0000 (14:07 +0200)]
widget: Add hack to make label mnemonics work again
Mnemonics for characters that go beyond the baseline (q, y, g) were not
being shown, because they are drawn outside of the label's allocated
size.
This patch just disables the clip-to-size for labels, so that the label
can draw outsize of its allocation. In most cases, that works around
this bug.
https://bugzilla.gnome.org/show_bug.cgi?id=648570
Matthew Barnes [Tue, 26 Apr 2011 11:59:53 +0000 (07:59 -0400)]
GtkComboBox: Improve gtk_combo_box_set_active_id
- Passing a NULL ID string should be equivalent to
gtk_combo_box_set_active (combo_box, -1).
- Use g_strcmp0() instead of strcmp() when comparing
ID strings to avoid a crash when an ID is NULL.
- Return a boolean indicating if the ID was found or not.
https://bugzilla.gnome.org/show_bug.cgi?id=647806
Matthew Barnes [Tue, 26 Apr 2011 11:56:09 +0000 (07:56 -0400)]
Desensitize "Select All" when GtkEntry is empty
This avoids possible confusion in some situations, and
selecting an empty string is not very useful.
https://bugzilla.gnome.org/show_bug.cgi?id=647962
Matthias Clasen [Tue, 26 Apr 2011 11:48:27 +0000 (07:48 -0400)]
GtkEntry: Explicitly disconnect keymap signals
Might fix https://bugzilla.gnome.org/show_bug.cgi?id=648419
Chun-wei Fan [Mon, 25 Apr 2011 07:03:01 +0000 (15:03 +0800)]
VS2008 support: Process filechooser gsettings xml
This will copy the xml file and compile it so that the GTK+3 filechooser
can be used on Windows, especially the MSVC-compiled versions.
Abduxukur Abdurixit [Sun, 24 Apr 2011 19:36:40 +0000 (21:36 +0200)]
Added UG translation
Abduxukur Abdurixit [Sun, 24 Apr 2011 19:28:59 +0000 (21:28 +0200)]
Added UG translation
Javier Jardón [Fri, 22 Apr 2011 13:38:40 +0000 (14:38 +0100)]
tests: Use gtk_box_new() instead v/h subclasses
Benjamin Otte [Fri, 22 Apr 2011 00:51:52 +0000 (02:51 +0200)]
label: Fix an invariant leading to required > minimum
Michael Natterer [Thu, 21 Apr 2011 21:54:52 +0000 (23:54 +0200)]
gdk: add precondition checks to all GdkKeymap functions
so it warns instead of simply crashing. Also fix some whitespace
stuff.
Alberto Ruiz [Wed, 20 Apr 2011 19:11:11 +0000 (20:11 +0100)]
Adding allow-none introspection annotation for GtkInitFunc parameters
Alberto Ruiz [Wed, 20 Apr 2011 19:06:14 +0000 (20:06 +0100)]
Adding introspection annotation to GtkModuleIinitFunc to specify array and length parameters
Javier Jardón [Tue, 19 Apr 2011 11:50:20 +0000 (12:50 +0100)]
docs: Do not generate the template files anymore
All the documentation is now in inline comments
Benjamin Otte [Tue, 19 Apr 2011 19:28:21 +0000 (21:28 +0200)]
entry: Translate progress region properly when drawing text
Benjamin Otte [Tue, 19 Apr 2011 18:07:00 +0000 (20:07 +0200)]
entry: No need to queue a redraw on state changes
GtkWidget already does that.
Benjamin Otte [Tue, 19 Apr 2011 18:06:36 +0000 (20:06 +0200)]
entry: Also update cached style values when the state changes
Benjamin Otte [Tue, 19 Apr 2011 17:56:46 +0000 (19:56 +0200)]
entry: Initialize cached values
Benjamin Otte [Tue, 19 Apr 2011 17:54:08 +0000 (19:54 +0200)]
entry: g_object_notify*( when we change the invisible char
Benjamin Otte [Tue, 19 Apr 2011 17:53:10 +0000 (19:53 +0200)]
entry: Split out style-updating things into their own function
Benjamin Otte [Mon, 18 Apr 2011 23:13:57 +0000 (01:13 +0200)]
entry: Move cairo_save() call for clarity
We want save, clip, draw1, restore, save, clip, draw2, restore
and not save, save, clip, draw1, restore, clip, draw2, restore
Functionally the same thing, but not as obvious
Benjamin Otte [Mon, 18 Apr 2011 23:13:19 +0000 (01:13 +0200)]
entry: Omit useless clip
We do the same clip further above, so no need to repeat it
Benjamin Otte [Mon, 18 Apr 2011 23:10:23 +0000 (01:10 +0200)]
entry: Guard clipping with a save/restore
Just t be sure, so people don't get bugs later when they refactor code.
Benjamin Otte [Mon, 18 Apr 2011 22:56:16 +0000 (00:56 +0200)]
entry: Remove needless check
The only window we're ever called to draw is our own window. D'oh.
Benjamin Otte [Mon, 18 Apr 2011 22:55:03 +0000 (00:55 +0200)]
docs: Strictify the docs for gtk_cairo_should_draw_window()
We don't actually enforce the docs, but we will in the future. (in fact,
I only added this because widgets were doing stupid things.)
Benjamin Otte [Mon, 18 Apr 2011 02:25:53 +0000 (04:25 +0200)]
label: No need to special case single-line mode
It's already taken care of by the layout.
Benjamin Otte [Mon, 18 Apr 2011 02:24:12 +0000 (04:24 +0200)]
label: Request more natural size for ellipsizing wrapping labels
Benjamin Otte [Mon, 18 Apr 2011 01:30:35 +0000 (03:30 +0200)]
label: Pass the desired height to measuring layout
We always pass -1 for now.
Benjamin Otte [Mon, 18 Apr 2011 00:40:40 +0000 (02:40 +0200)]
label: Remove wrap width leftovers
They're not used anymore, so we can just delete all of this code.
Benjamin Otte [Sun, 17 Apr 2011 23:19:11 +0000 (01:19 +0200)]
label: Set the height of the label when ellipsized or wrapped
Obviously, we want to set it to the label's allocated height.
Also simplifies the size allocation code.
Benjamin Otte [Sun, 17 Apr 2011 22:53:24 +0000 (00:53 +0200)]
label: Don't use a rectangle variable if we don't use a rectangle
Benjamin Otte [Sun, 17 Apr 2011 22:30:17 +0000 (00:30 +0200)]
label: Redo size computation
This gets use closer to the label sizing discussed on the mailing lists.
Benjamin Otte [Sun, 17 Apr 2011 22:29:16 +0000 (00:29 +0200)]
label: Set wrap on the layout unconditionally
Benjamin Otte [Sun, 17 Apr 2011 18:54:35 +0000 (20:54 +0200)]
label: Remove duplicated comment
Benjamin Otte [Sun, 17 Apr 2011 18:35:29 +0000 (20:35 +0200)]
label: Don't try to guess a label's size
People should use window default sizes or label
width-chars/max-width-chars to find the idea layout for a label inside
of relying on magic.
Benjamin Otte [Sun, 17 Apr 2011 18:30:41 +0000 (20:30 +0200)]
widget: Make gtk_widget_get_aux_info() private
Benjamin Otte [Sun, 17 Apr 2011 18:21:33 +0000 (20:21 +0200)]
label: Don't care about aux info
aux info is something that GtkWidget should do, not any of its
subclasses.
Benjamin Otte [Sun, 17 Apr 2011 23:50:52 +0000 (01:50 +0200)]
paned: Use hfw queries during allocation
Benjamin Otte [Sun, 17 Apr 2011 23:44:40 +0000 (01:44 +0200)]
paned: Cleanup size_allocate()
Don't keep the allocation in 2 variables, just keep the first one.
Benjamin Otte [Sun, 17 Apr 2011 23:41:35 +0000 (01:41 +0200)]
paned: Implement get_width_for_height() and get_height_for_width()
Benjamin Otte [Sun, 17 Apr 2011 23:37:34 +0000 (01:37 +0200)]
paned: Generalize code
No semantic changes, just splitting out a common function and passing a
-1 around.
Gintautas Miliauskas [Tue, 19 Apr 2011 11:59:58 +0000 (13:59 +0200)]
Updated Lithuanian translation.
Javier Jardón [Tue, 19 Apr 2011 00:22:24 +0000 (01:22 +0100)]
Move documentation to inline comments: GtkRc
The last one!
Lapo Calamandrei [Tue, 19 Apr 2011 06:30:21 +0000 (08:30 +0200)]
[broadway] New adwaita based css for "wm"
Created by Lapo Calamandrei.
Alexander Larsson [Mon, 18 Apr 2011 18:40:06 +0000 (20:40 +0200)]
[broadway] Remove debug spew
Alexander Larsson [Mon, 18 Apr 2011 18:23:19 +0000 (20:23 +0200)]
[broadway] Use cairo to generate png uris
Alexander Larsson [Mon, 18 Apr 2011 17:52:05 +0000 (19:52 +0200)]
[broadway] Stream data over websocket
The zlib compressed xmlhttprequest thing was a nice hack, but it doesn't
really work in production. Its not portable, doesn't have enought API
(missing notification for closed sockets) and having to synchronize
between two different connections in a reliable way is a pain.
So, we're going everything over the websocket. This is a pure switch,
but after this we want to modify the protocol to work better over
the uncompressed utf8 transport of websockets.
Alexander Larsson [Mon, 18 Apr 2011 17:51:50 +0000 (19:51 +0200)]
[broadway] Remove old demo code
Javier Jardón [Mon, 18 Apr 2011 17:53:30 +0000 (18:53 +0100)]
Move documentation to inline comments: GtkUIManager
Alexander Larsson [Mon, 18 Apr 2011 09:50:29 +0000 (11:50 +0200)]
[broadway] Implement wm close in browser
Alexander Larsson [Mon, 18 Apr 2011 08:49:47 +0000 (10:49 +0200)]
[broadway] Report most special keys in keypressed
Some special key keycode values as seen in keydown actually match
normal keys (like "." has a keyCode 46 on keyPress, which is the same
as Delete, but 190 for KeyDown). So we must match the special keys on
keypress. However, some things must be checked on keydown as they are not
generating keypress events.
David King [Sun, 17 Apr 2011 15:37:11 +0000 (17:37 +0200)]
widget: add Since tags for margin accessors
Matthias Clasen [Mon, 18 Apr 2011 03:15:06 +0000 (23:15 -0400)]
Fix commit
5f55c420471db9a05d145e140b3a7cdfc5bdba9f
Make gtk_menu_shell_activate static and don't use it
outside gtkmenushell.c
Chun-wei Fan [Mon, 18 Apr 2011 02:16:01 +0000 (10:16 +0800)]
Update build/win32/vs9/README.txt
Update again due to the usage of ATK-2.x to avoid confusion
about its usage in compilation...
Javier Jardón [Mon, 18 Apr 2011 00:37:40 +0000 (01:37 +0100)]
docs: Remove no longer needed template files
Javier Jardón [Mon, 18 Apr 2011 00:35:36 +0000 (01:35 +0100)]
Move documentation to inline comments: GtkMenuItem
Javier Jardón [Mon, 18 Apr 2011 00:25:26 +0000 (01:25 +0100)]
Move documentation to inline comments: GtkFontSelectionDialog
Javier Jardón [Mon, 18 Apr 2011 00:21:21 +0000 (01:21 +0100)]
Move documentation to inline comments: GtkWindowGroup
Javier Jardón [Mon, 18 Apr 2011 00:10:14 +0000 (01:10 +0100)]
Move documentation to inline comments: GtkDnd
Javier Jardón [Sun, 17 Apr 2011 23:34:07 +0000 (00:34 +0100)]
Move documentation to inline comments: GtkTreeModelSort
Javier Jardón [Sun, 17 Apr 2011 23:24:56 +0000 (00:24 +0100)]
Move documentation to inline comments: GtkToggleButton
Javier Jardón [Sun, 17 Apr 2011 23:16:25 +0000 (00:16 +0100)]
Move documentation to inline comments: GtkSizeGroup
Javier Jardón [Sun, 17 Apr 2011 23:12:49 +0000 (00:12 +0100)]
Move documentation to inline comments: GtkTextBuffer
Javier Jardón [Sun, 17 Apr 2011 23:07:41 +0000 (00:07 +0100)]
Move documentation to inline comments: GtkPrintUnixDialog
Javier Jardón [Sun, 17 Apr 2011 23:00:27 +0000 (00:00 +0100)]
Move documentation to inline comments: GtkPrintSettings
Javier Jardón [Sun, 17 Apr 2011 22:54:00 +0000 (23:54 +0100)]
Move documentation to inline comments: GtkPrintContext
Javier Jardón [Sun, 17 Apr 2011 22:42:17 +0000 (23:42 +0100)]
Move documentation to inline comments: GtkRadioMenuItem
Javier Jardón [Sun, 17 Apr 2011 22:34:41 +0000 (23:34 +0100)]
Move documentation to inline comments: GtkTextMark
Javier Jardón [Fri, 15 Apr 2011 16:26:46 +0000 (17:26 +0100)]
Move documentation to inline comments: GtkRadioToolButton
Chun-wei Fan [Sun, 17 Apr 2011 17:57:37 +0000 (01:57 +0800)]
Update VS 2008 support to use ATK-2.0
-Update GTK+ project and property sheet to use ATK-2.0.
-Tell people about this in the README.txt file
Chun-wei Fan [Sun, 17 Apr 2011 16:17:51 +0000 (00:17 +0800)]
Update build/win32/vs9/README.txt
Make the VS 2008 build instructions and information
more up-to-date and clearer to people.
Please let me know if I have missed any needed details...
Thanks