]> Pileus Git - ~andy/gtk/blob - ChangeLog
just check the first shift-level of keyboard layout for RTL and LTR
[~andy/gtk] / ChangeLog
1 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
2         * gdk/x11/gdkkeys-x11.c:
3           (get_direction): just check the first shift-level of keyboard
4         layout for RTL and LTR keysyms() (compliment to #116626)
5
6 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
7
8         * gtk/gtkviewport.c: always update the bin_window position and size
9         in size_allocate, even if we don't have a visible child. this fixes
10         expose artefacts as described in #313508.
11
12         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
13         have no visible child explicit.
14
15 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
16
17         * docs/reference/gdk/gdk-sections.txt:
18         * gdk/gdk.symbols:
19         * gdk/gdkpango.h:
20         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
21           (gdk_pango_layout_get_clip_region): Remove an unused variable.
22           (gdk_pango_attr_embossed_new): Fix documentation.
23
24 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
25
26         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
27         control the arrow/border ratio within the allocation.
28
29         * tests/testgtk.c: added a GtkArrow to handle box test.
30
31         * tests/testgtkrc: test ::arrow-scaling property.
32
33 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
34
35         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
36         Display an error when we come to the root.  
37
38 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
39
40         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
41         the combobox. 
42
43         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
44         bookmarks to the model in local-only mode, to avoid 
45         authentication dialogs pop up for invisible bookmarks, and
46         to fix issues with separators not being hidden when
47         they should.  (#354887, Dennis Cranston)
48
49 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
50
51         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
52         treeview use in list mode.  (#355732, Richard Hult)
53
54         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
55         change notification for the right property.  (#355308,
56         Torsten Schoenfeld)
57
58 2006-09-15  Michael Natterer  <mitch@imendio.com>
59
60         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
61         header navigation/resizing/reordering to be more readable and lose
62         one level of nesting.
63
64 2006-09-15  Kristian Rietveld  <kris@imendio.com>
65
66         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
67         return after handling column button focus; we disable wrap around
68         with this (which actually happened via a really weird code path).
69         (Michael Natterer)
70
71 2006-09-15  Kristian Rietveld  <kris@imendio.com>
72
73         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
74         code RTL aware, also break from the loops after we have seen the
75         focussed column button (Michael Natterer).
76
77 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
78
79         * tests/testrichtext.c (main): intialize random number generator state
80         upon program start, to enable truely random testing.
81
82 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
83
84         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
85         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
86         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
87                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
88         * gdk/quartz/Makefile.am same change as directfb Makefile
89         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
90
91 2006-09-13 Matthias Clasen <mclasen@redhat.com>
92
93         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
94         for the grab widget, to make the color picker work with window
95         groups.  
96
97 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
98
99         signed off by: Dom Lachowicz
100         
101         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
102         a large number of improvements to the Microsoft Windows theme engine
103         which are fully described in the bug report.
104         
105 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
106
107         * tests/testgtk.c: fixed compiler warnings.
108
109 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
110
111         * gtk/gtkfilechooserbutton.c (model_add_special): Request
112         the display name too, otherwise "Desktop" does not appear
113         in the file chooser button. 
114
115 2006-09-10  Tor Lillqvist  <tml@novell.com>
116
117         * gdk/win32/gdkprivate-win32.h
118         * gdk/win32/gdkmain-win32.c
119         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
120         0x0500 in gdkprivate-win32.h instead of doing it in two source
121         files. (#355212, Mike Edenfield)
122
123         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
124         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
125
126 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
127
128         * Commit a patch by Behdad to fix typos, omissions and other
129         errors in the symbol aliasing, and add checks for local PLT
130         entries.  (#354687, Behdad Esfahbod)
131
132         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
133         the flush timeout.  (#354043, Nelson Benitez)
134         
135         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
136         Improve wording. String change!  (#355126, David Lodge)
137
138         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
139         David Lodge)
140
141         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
142         David Lodge)
143
144 2006-09-09  Matthias Clasen <mclasen@redhat.com>
145
146         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
147         (#353916, Chris Wilson)
148
149         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
150         Don't leak the to_reset list.  (#353914, Chris Wilson)
151
152         * gtk/gtkwidget.c: Add docs for the parent-set signal.
153         (#353772, Mariano Suárez-Alvarez)
154
155 2006-09-08  Matthias Clasen <mclasen@redhat.com>
156
157         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
158         Don't clear clipboards here, since we are called from finalize
159         and can't emit signals.
160
161         * configure.in: Set version to 2.11.0
162
163 2006-09-06  Richard Hult  <richard@imendio.com>
164
165         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
166         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
167
168 2006-09-04  Kristian Rietveld  <kris@imendio.com>
169
170         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
171         if setting the given folder failed, try setting the parent folder
172         until we succeed; display an error box at the end.
173
174 2006-09-04  Kristian Rietveld  <kris@imendio.com>
175
176         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
177         operations spawned by buttons here,
178         (set_button_image_get_info_cb): bail out if button is NULL, but
179         do free button_data,
180         (button_data_free): only free the data if non NULL (since this
181         function can be called multiple times for the same data), cancel
182         handle if pending but don't free button_data in this case (will
183         happen in the callback).
184
185 2006-09-04  Michael Natterer  <mitch@imendio.com>
186
187         * gtk/gtkrc.c (rc_parse_token_or_compound)
188         (gtk_rc_parse_assignment): serialize floating point values using
189         locale-independent functions. (#346751, Frederic Crozat)
190
191 2006-09-04  Tor Lillqvist  <tml@novell.com>
192
193         * gdk/win32/gdkevents-win32.c
194         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
195         window handling (PeekMessage, PostMessage, SendMessage,
196         DispatchMessage, DefWindowProc, RegisterClassEx,
197         CreateWindowEx). (#321597)
198
199 2006-09-03  Kristian Rietveld  <kris@imendio.com>
200
201         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
202         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
203         change file_exists_and_is_not_folder checks to get the file info
204         for the path directly instead of querying the current file folder
205         of the save entry.
206
207         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
208         new field.
209
210         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
211         (test_reload_sequence), (test_button_folder_states_for_action): wait
212         for idle after setting a folder to ensure the async operations to load
213         the folder are finished,
214         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
215         factor out test_confirm_overwrite code so we can add tests for more
216         paths more easily.
217
218 2006-09-03  Richard Hult  <richard@imendio.com>
219
220         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
221         exposure isn't in the event mask, plug a leak, and check that the
222         window isn't destroyed.
223         (isOpaque): Check that the window isn't destroyed, fixes bug 
224         #353028.
225
226 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
227
228         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
229         (#354035, Mariano Suárez-Alvarez)
230
231         * gtk/gtkmain.c (post_parse_hook): 
232         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
233         (#354004, Chris Wilson)
234
235 2006-09-03  Tor Lillqvist  <tml@novell.com>
236
237         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
238         GDK_WINDOW_DISPLAY in the Win32 backend.
239
240         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
241         gtkfilesystemunix.c
242
243 2006-09-02  Kristian Rietveld  <kris@imendio.com>
244
245         First part of file chooser fixes.
246
247         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
248         handle in the model for the desktopdir case.
249
250         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
251         volume in case we retrieved it but don't pass it on to insert_path,
252         (shortcuts_model_create): change the column type for the handles
253         to pointer instead of GObject so our handle ref counting is not
254         disturbed,
255         (show_and_select_paths_finished_loading): don't forget to unref
256         the dialog.
257
258         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
259         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
260         remove pending execute_callbacks_idle during dispose, also
261         execute all callbacks waiting to be run in the next idle,
262         (queue_*callback), (execute_callbacks_idle): refactor to maintain
263         a list of callbacks to call per file system instead of globally,
264         guard the file system during callback invocation,
265         (gtk_file_system_unix_get_folder): only add load folder idle if
266         none has been added yet.
267
268 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
269
270         * gtk/gtkentry.c: Don't unnecessarily reset the im context
271         when deleting the selection.  (#353803, Alex Larsson)
272
273 2006-09-01  Abel Cheung  <abel@oaka.org>
274
275         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
276
277 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
278
279         Stop cursor blinking after a configurable timeout.
280         (#353670, #352442, Arjan van de Ven, Manu Cornet)
281         
282         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
283         gtk-cursor-blink-timeout setting, which specifies the number
284         of seconds that the cursor should blink after a user interaction.
285         The default value is G_MAXINT to preserve the current behaviour.
286
287         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
288         seconds.
289
290         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
291         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
292         blink timer.
293
294         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
295         seconds. 
296
297         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
298         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
299         Reset the blink timer.
300         
301 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
302
303         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
304         explicit format capabilities.  (#346505, Christian Persch)
305
306         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
307
308 2006-08-31  Michael Natterer  <mitch@imendio.com>
309
310         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
311
312 2006-08-30  Richard Hult  <richard@imendio.com>
313
314         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
315
316 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
317
318         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
319         for beeping if we are using XKB.  
320
321 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
322
323         * gdk/gdkwindow.h: 
324         * gdk/gdk.symbols: 
325         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
326         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
327         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
328         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
329         to beep on a window. For X11, implement this with
330         XkbBell.  (#353455, Mariano Suárez-Alvarez)
331         
332 2006-08-29  Tor Lillqvist  <tml@novell.com>
333
334         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
335         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
336         it isn't being maintained anyway. If somebody is interested, it
337         can always be found in older GTK+ versions, and in CVS.
338
339         * configure.in
340         * acconfig.h
341         * gdk/Makefile.am
342         * gdk/win32/Makefile.am
343         * gdk/win32/libie55uid.la
344         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
345         switch and associated stuff. Active IMM and the <dimm.h> header
346         was used for IM support on NT4 and Win9x. Win2k and later have IM
347         support built-in.
348
349         * gdk/win32/gdkcursor-win32.c
350         * gdk/win32/gdkdnd-win32.c
351         * gdk/win32/gdkdrawable-win32.c
352         * gdk/win32/gdkevents-win32.c
353         * gdk/win32/gdkgc-win32.c
354         * gdk/win32/gdkglobals-win32.c
355         * gdk/win32/gdkkeys-win32.c
356         * gdk/win32/gdkmain-win32.c
357         * gdk/win32/gdkproperty-win32.c
358         * gdk/win32/gdkselection-win32.c
359         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
360         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
361         branches, and any variables or static functions used only by the
362         Win9x branches.
363
364         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
365         constants that aren't missing from current mingw and MSVC6
366         headers.
367
368         * gdk/win32/gdkmain-win32.c
369         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
370         function. On NT-based Windows GetLastError() returns error codes
371         also for failed GDI calls, so we can use _gdk_win32_api_failed()
372         always.
373
374 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
375
376         * gtk/gtkrecentchoosermenu.c
377         (gtk_recent_chooser_menu_set_current_uri): Break when an item
378         is found and activated. (#353449, based on a patch by Jan Arne
379         Petersen)
380
381 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
382
383         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
384         properties which make all hardcoded padding and spacing values
385         configurable. properly swap ::text-xalign treatment for RTL widgets.
386
387         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
388         proeprty more consistent with GtkMisc alignment blurbs. mention
389         RTL treatment for text-xalign.
390
391 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
392
393         * tests/testgtk.c: allow (most) windows to be resizable.
394         added ellipsization settings to progress bars. 
395
396 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
397
398         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
399         resonable timeout of 3 seconds when polling for printer
400         list updates, instead of 300000 seconds...
401
402 2006-08-28  Michael Natterer  <mitch@imendio.com>
403
404         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
405         </apply_tag> for tags that have already been closed by the logic
406         which turns overlapping spans into XML-able trees. Fixes broken
407         XML when there are overlapping tags in the buffer. Also free two
408         leaked GLists and did some cleanup.
409
410         * tests/Makefile.am
411         * tests/testrichtext.c: new test which creates randomly tagged
412         GtkTextBuffers and serializes/deserializes them.
413
414 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
415
416         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
417         Don't leak pixbufs.  (#352264, Ross Burton)
418
419         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
420         PangoAttributes.  (#352391, Paolo Borelli)
421
422 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
423
424         * demos/gtk-demo/Makefile.am:
425         * demos/gtk-demo/textscroll.c: Add an example of automatic
426         scrolling, thanks to Yevgen Muntyan.  (#351206)
427         
428         * gtk/gtkmodules.c (find_module): Use local binding when
429         loading modules.  (#351868)
430
431 2006-08-24  Michael Natterer  <mitch@imendio.com>
432
433         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
434         the hostname instead of NULL.
435
436 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
437
438         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
439         names and values in comboboxes, and clean up some
440         coding style issues.
441
442 2006-08-23  Tor Lillqvist  <tml@novell.com>
443
444         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
445         Revert unintended translatable string addition. Use same string
446         in GError as in gtkfilesystemunix.c.
447
448         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
449         Fix logic at the end of strings. 
450
451         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
452         handles and check that we have no outstanding handles at
453         finalization time. (Copying what Matthias did for
454         gtkfilesystemunix.c)
455
456 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
457
458         * gtk/gtkfilesystemunix.c: Maintain a hash table
459         of live handles and check that we have no outstanding
460         handles at finalization time. (Copying what
461         Federico did for gtkfilesystemgnomevfs.c)
462
463 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
464
465         * Branch for 2.10
466