]>
Pileus Git - ~andy/gtk/log
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
Paolo Borelli [Sun, 17 Apr 2011 15:23:26 +0000 (17:23 +0200)]
Small cleanup in label sizing code.
Move ellipsized_chars calculation in the scope where it is used.
https://bugzilla.gnome.org/show_bug.cgi?id=647284
Paolo Borelli [Sat, 9 Apr 2011 20:19:51 +0000 (22:19 +0200)]
Factor out a get_char_pixels method for clarity.
https://bugzilla.gnome.org/show_bug.cgi?id=647284
Ignacio Casal Quinteiro [Sun, 17 Apr 2011 14:08:55 +0000 (16:08 +0200)]
[textview] remove idles when unmapping
This avoids the textview taking the whole cpu when it is hidden.
Benjamin Otte [Sun, 17 Apr 2011 10:49:58 +0000 (12:49 +0200)]
docs fix typo
Was accidentally introduced in
1351d40cfe0df7e1d12017af4323fb3ab73b19d2
Thanks Paolo for noticing.
Kristian Rietveld [Tue, 5 Apr 2011 19:13:43 +0000 (21:13 +0200)]
treeview: Do not unconditionally set width_changed to TRUE, which redraws
Patches by Benjamin Otte.
The "invalidate last column" hack is removed. It is now of no use since
the entire widget will be redrawn when a single column changes.
Kristian Rietveld [Tue, 5 Apr 2011 19:09:10 +0000 (21:09 +0200)]
treeview: if we are below rows that changed height: redraw
We have to redraw if we are below a couple of rows that changed height
in do_validate_rows(). This will still require a redraw for a large
amount of cases, can we do better? You would expect that a redraw of
the tree view is not required when the dy changes with the same delta
as the delta of the height accrued when validating the nodes. This
further optimization will likely require changes to the top_row/dy
synchronization code.
Kristian Rietveld [Tue, 5 Apr 2011 19:06:02 +0000 (21:06 +0200)]
treeview: Avoid queueing a redraw in do_validate_rows()
If the changed rows are not visible, we likely do not have to redraw
in conjunction to resize. Spotted by Benjamin Otte.
Benjamin Otte [Wed, 6 Apr 2011 14:10:25 +0000 (16:10 +0200)]
cssprovider: Move private struct definition to header
consistency, improved debugging, etc
Benjamin Otte [Sat, 16 Apr 2011 19:59:36 +0000 (21:59 +0200)]
entry: Fix gtk_entry_get_icon_at_pos()
The passed in coordinates are widget-relative, not window-relative.
Benjamin Otte [Sat, 16 Apr 2011 19:51:41 +0000 (21:51 +0200)]
entry: Use the new get_frame_size() argument in gtk_entry_draw_frame()
Benjamin Otte [Sat, 16 Apr 2011 19:49:01 +0000 (21:49 +0200)]
entry: Add the ability to query frame size in two ways
TRUE: relative to widget->window
FALSE: relative to widget
For now, no caller has beeen changed.
Benjamin Otte [Sat, 16 Apr 2011 19:48:05 +0000 (21:48 +0200)]
window: Only draw the resize grip if it is actually visible
This issue can only be seen if someone calls gtk_widget_draw() on the
window as otherwise gtk_cairo_should_draw_window() would return FALSE.
Benjamin Otte [Sat, 16 Apr 2011 20:01:18 +0000 (22:01 +0200)]
docs: Fix wrong description for query-tooltip
Coordinates are not relative to widget->window
Benjamin Otte [Thu, 14 Apr 2011 13:28:40 +0000 (15:28 +0200)]
menushell: Include a function in the private header
Don't copy over the implementation. This avoids a copy of the function.
Reverts
0098344f84cedb6347fc99691f6e3d358ec112e7 .
Benjamin Otte [Thu, 14 Apr 2011 13:28:21 +0000 (15:28 +0200)]
window: cast value so gcc shuts up
Kristian Rietveld [Sat, 16 Apr 2011 18:16:03 +0000 (20:16 +0200)]
Merge two if-blocks with same condition
Xavier Claessens [Sat, 16 Apr 2011 18:12:39 +0000 (20:12 +0200)]
Do not call invalidate_empty_focus() when not realized
Fixes bug 626503
Stéphane Maniaci [Thu, 14 Apr 2011 19:14:26 +0000 (14:14 -0500)]
Make GtkFileChoser remember the last directory opened
Introduces a 'last-folder-uri' GSettings key, where we remember the last-opened
folder from the previous instance of the file chooser.
The idea is that this works globally, across all applications, so it will be
easy to do things like
1. Save an attachment from a mail (or some other file)
2. Open another program
3. Do File/Open and automatically get sent to the folder where (1) happened.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=644426
Alexander Larsson [Fri, 15 Apr 2011 18:34:04 +0000 (20:34 +0200)]
[broadway] Make close button text unselectable
Alexander Larsson [Fri, 15 Apr 2011 14:31:56 +0000 (16:31 +0200)]
[broadway] Implement gdk_window_begin_resize_drag
This makes the resize grip work.
Alexander Larsson [Fri, 15 Apr 2011 14:18:11 +0000 (16:18 +0200)]
[broadway] Remove window from hashtable when destroyed
Alexander Larsson [Fri, 15 Apr 2011 14:17:27 +0000 (16:17 +0200)]
[broadway] Ungrab if grabbed window is destroyed
Alexander Larsson [Fri, 15 Apr 2011 14:13:01 +0000 (16:13 +0200)]
[broadway] Correctly handle ungrabs in the browser side
Always call doUngrab to get the right event, and always do this
if the grabbed window is hidden or destroyed.
Chun-wei Fan [Fri, 15 Apr 2011 16:42:08 +0000 (00:42 +0800)]
Update gtk/gtkmenuitem.c...
Copy over the implementation of _gtk_menu_shell_activate
so that C4013 warning/error (aka gcc's "implicit
declaration of ...") can be avoided when compiling with MSVC
This is in response of the changes for bug 554057 in commit
5f55c420471db9a05d145e140b3a7cdfc5bdba9f
Paolo Borelli [Wed, 6 Apr 2011 02:43:09 +0000 (04:43 +0200)]
Free MenuPopulateData struct in all the cases.
For clarity factor out create/free functions.
https://bugzilla.gnome.org/show_bug.cgi?id=646876
Javier Jardón [Thu, 14 Apr 2011 23:18:06 +0000 (00:18 +0100)]
Move documentation to inline comments: GtkHSV
Javier Jardón [Thu, 14 Apr 2011 23:08:33 +0000 (00:08 +0100)]
Move documentation to inline comments: GtkMenuToolButton
Javier Jardón [Thu, 14 Apr 2011 23:04:49 +0000 (00:04 +0100)]
Move documentation to inline comments: GtkToolButton
Javier Jardón [Thu, 14 Apr 2011 21:50:45 +0000 (22:50 +0100)]
Move documentation to inline comments: GtkLabel
Javier Jardón [Thu, 14 Apr 2011 21:25:08 +0000 (22:25 +0100)]
Move documentation to inline comments: GtkListStore
Javier Jardón [Thu, 14 Apr 2011 21:07:29 +0000 (22:07 +0100)]
Move documentation to inline comments: GtkIconTheme
Matthias Clasen [Fri, 15 Apr 2011 00:22:18 +0000 (20:22 -0400)]
Don't leak a list when activating keybindings
Patch by Rui Matos,
https://bugzilla.gnome.org/show_bug.cgi?id=647790
Alexander Larsson [Thu, 14 Apr 2011 19:35:48 +0000 (21:35 +0200)]
[broadway] Handle keyboard modifiers in state
Alexander Larsson [Thu, 14 Apr 2011 19:13:28 +0000 (21:13 +0200)]
[broadway] Emulate hardware keycodes in keyboard events
We can't really know the client side keymaps, so we use the keysym
as the hardware keycode (essentially claiming to have a keyboard with
one key for all possible keysyms). This is not ideal, but its hard to
do better with no knowledge of the client side keyboard mappings.
(And html keyboard events suck badly...)
Alexander Larsson [Thu, 14 Apr 2011 19:11:30 +0000 (21:11 +0200)]
[broadway] Implement keyboard event better
We're using the noVNC keyboard even handling model (and some of the
code with permissions). This means we combine data from keydown and
keypress to figure out the translated keysyms according to the keyboard
layout at the users machine.
Chun-wei Fan [Thu, 14 Apr 2011 15:48:49 +0000 (23:48 +0800)]
Add gdk_win32_window_get_type into gdk.symbols
This symbol needs to be exported for GDK (Win32) so that the
runtime checks for Win32 backend usage can be done on
MSVC-compiled versions of GTK+ too.
I did not add the corresponding symbols for the other backend
though-they are probably exported automatically by GCC AFAIK.
This is done to make commit
9db4accf9c30e29979e3e012f0a8b3ef624bb690
work on MSVC
Benjamin Otte [Sun, 3 Apr 2011 13:03:19 +0000 (15:03 +0200)]
label: we can't ignore sizes on ellipsized labels
So don't use this optimization when a label is ellipsized.
https://bugzilla.gnome.org/show_bug.cgi?id=646517
Benjamin Otte [Fri, 1 Apr 2011 22:03:18 +0000 (00:03 +0200)]
cssprovider: Use g_type_depth() instead of computing the depth manually
Benjamin Otte [Thu, 31 Mar 2011 22:21:04 +0000 (00:21 +0200)]
sizerequest: return CONSTANT_SIZE in return_if_fail()
Benjamin Otte [Thu, 31 Mar 2011 13:09:07 +0000 (15:09 +0200)]
testgtk: Make it possible to stop the progressbar from updating
This way, I can check that my invalidation fixes actually work.
Matthias Clasen [Thu, 14 Apr 2011 12:56:07 +0000 (08:56 -0400)]
GtkTimeline: don't look when animations are disabled
Otherwise, we end up doing maximal work with minimal effect, and
bring the X server to 100% CPU. Note that this makes spinner widgets
look really unclear, but they really have to be changed to adapt
to enable-animations == FALSE at the widget level.
Javier Jardón [Wed, 13 Apr 2011 21:46:18 +0000 (22:46 +0100)]
Move documentation to inline comments: GtkIconFactory
Javier Jardón [Wed, 13 Apr 2011 21:36:00 +0000 (22:36 +0100)]
Move documentation to inline comments: GtkHandleBox
Javier Jardón [Wed, 13 Apr 2011 21:23:44 +0000 (22:23 +0100)]
Move documentation to inline comments: GtkFontSelection
Javier Jardón [Wed, 13 Apr 2011 21:17:51 +0000 (22:17 +0100)]
Move documentation to inline comments: GtkFileChooserDialog
Javier Jardón [Wed, 13 Apr 2011 19:46:31 +0000 (20:46 +0100)]
Move documentation to inline comments: GtkFileChooserButton
Javier Jardón [Wed, 13 Apr 2011 19:37:21 +0000 (20:37 +0100)]
Move documentation to inline comments: GtkToggleToolButton
Matthias Clasen [Wed, 13 Apr 2011 22:15:43 +0000 (18:15 -0400)]
Bump version
Matthias Clasen [Wed, 13 Apr 2011 21:48:48 +0000 (17:48 -0400)]
Fix make dist in gdk/broadway
Kristian Høgsberg [Wed, 13 Apr 2011 18:33:22 +0000 (14:33 -0400)]
wayland: Remove non-existing gdkscreen-wayland.h from SOURCES
Matthias Clasen [Wed, 13 Apr 2011 18:24:18 +0000 (14:24 -0400)]
Add new symbols
Matthias Clasen [Wed, 13 Apr 2011 18:09:39 +0000 (14:09 -0400)]
Add new symbols to the docs
And add a 'Since 3.2' index too.
Matthias Clasen [Wed, 13 Apr 2011 17:35:36 +0000 (13:35 -0400)]
Add a bug ref
Matthias Clasen [Wed, 13 Apr 2011 17:28:46 +0000 (13:28 -0400)]
GtkMenuShell: always 'activate' menu shells
Failing to do so can leave us with a stuck grab in some cases.
https://bugzilla.gnome.org/show_bug.cgi?id=554057
Matthias Clasen [Wed, 13 Apr 2011 15:42:34 +0000 (11:42 -0400)]
Updated NEWS
Matthias Clasen [Wed, 13 Apr 2011 04:24:21 +0000 (00:24 -0400)]
Fix a link in README
Patch by Thomas Andersen
https://bugzilla.gnome.org/show_bug.cgi?id=647594
Javier Jardón [Wed, 13 Apr 2011 13:36:28 +0000 (14:36 +0100)]
Move documentation to inline comments: GtkColorSelectionDialog
Javier Jardón [Wed, 13 Apr 2011 12:53:41 +0000 (13:53 +0100)]
docs: Fix a typo: gtk_style_get_context -> gtk_style_has_context
Javier Jardón [Wed, 13 Apr 2011 11:48:47 +0000 (12:48 +0100)]
Move documentation to inline comments: GtkClipboard
Javier Jardón [Wed, 13 Apr 2011 11:32:47 +0000 (12:32 +0100)]
Move documentation to inline comments: GtkCheckMenuItem
Javier Jardón [Wed, 13 Apr 2011 11:25:06 +0000 (12:25 +0100)]
Move documentation to inline comments: GtkCheckButton
Javier Jardón [Wed, 13 Apr 2011 00:45:33 +0000 (01:45 +0100)]
Move documentation to inline comments: GtkTable
Javier Jardón [Wed, 13 Apr 2011 00:07:48 +0000 (01:07 +0100)]
Move documentation to inline comments: GtkStatusIcon
Javier Jardón [Tue, 12 Apr 2011 23:55:22 +0000 (00:55 +0100)]
Move documentation to inline comments: GtkHButtonBox