2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / ChangeLog
1 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
2
3         * doc/hildon-docs.sgml:
4         * doc/hildon.types:
5
6         Update documentation.
7
8         * examples/Makefile.am: Update renamed examples.
9
10         * examples/hildon-picker-button-multicolumn-example.c:
11         (create_touch_selector), (main): Update after the rename.
12
13         * examples/hildon-touch-picker-example.c: Removed.
14         * examples/hildon-touch-selector-example.c: (value_changed),
15         (create_selector), (get_visible_content), (main): Renamed from
16         hildon-touch-picker-example.c
17
18         * src/Makefile.am: Updated renamed files.
19
20         * src/hildon-date-button.c: (hildon_date_button_init),
21         (hildon_date_button_get_date), (hildon_date_button_set_date):
22         * src/hildon-date-selector.c: (hildon_date_selector_init),
23         (_custom_print_func), (_update_day_model),
24         (_manage_selector_change_cb),
25         (hildon_date_selector_select_current_date),
26         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
27         * src/hildon-date-selector.h:
28         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
29         (hildon_picker_button_set_property),
30         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
31         (hildon_picker_button_init), (hildon_picker_button_new_text),
32         (hildon_picker_button_append_text),
33         (hildon_picker_button_prepend_text),
34         (hildon_picker_button_insert_text),
35         (hildon_picker_button_set_selector),
36         (hildon_picker_button_get_selector):
37         * src/hildon-picker-button.h:
38         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
39         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
40         (_update_title_on_selector_changed_cb), (requires_done_button),
41         (_hildon_picker_dialog_set_selector),
42         (hildon_picker_dialog_set_selector),
43         (hildon_picker_dialog_get_selector):
44         * src/hildon-picker-dialog.h:
45         * src/hildon-time-button.c: (hildon_time_button_init),
46         (hildon_time_button_get_time), (hildon_time_button_set_time):
47         * src/hildon-time-selector.c: (hildon_time_selector_init),
48         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
49         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
50         * src/hildon-time-selector.h:
51         * src/hildon.h:
52
53         Massive code updates after the rename.
54
55         * src/hildon-touch-picker.c: Removed.
56         * src/hildon-touch-picker.h: Removed.
57
58         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
59         (hildon_touch_selector_init), (hildon_touch_selector_map),
60         (hildon_touch_selector_remove), (_default_print_func),
61         (_selection_changed_cb), (_create_new_column),
62         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
63         (hildon_touch_selector_append_text_column),
64         (hildon_touch_selector_remove_column),
65         (hildon_touch_selector_set_column_attributes),
66         (hildon_touch_selector_insert_column),
67         (hildon_touch_selector_get_num_columns),
68         (hildon_touch_selector_get_column_selection_mode),
69         (hildon_touch_selector_set_column_selection_mode),
70         (hildon_touch_selector_set_print_func),
71         (hildon_touch_selector_get_print_func),
72         (hildon_touch_selector_get_active_iter),
73         (hildon_touch_selector_set_active_iter),
74         (hildon_touch_selector_get_selected_rows),
75         (hildon_touch_selector_get_model),
76         (hildon_touch_selector_set_model),
77         (hildon_touch_selector_get_current_text),
78         (_hildon_touch_selector_center_on_selected_items):
79         * src/hildon-touch-selector.h: Renamed from
80         hildon-touch-picker.[ch]
81
82         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
83         references, code examples, and related documentation.
84
85 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
86
87         * doc/hildon-docs.sgml
88         * doc/hildon.types
89         * src/Makefile.am
90         * src/hildon-toggle-button.c
91         * src/hildon-toggle-button.h
92         * src/hildon.h: New HildonToggleButton widget.
93
94 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
95
96         * src/hildon-button.c: Add API documentation.
97         (hildon_button_set_size_groups): Check input parameters
98
99 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
100
101         * src/hildon-pannable-area.c
102         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
103         effect after reaching the movement thredshold. This way we start
104         using the distance after passing the thredshold.
105
106 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
107
108         * src/hildon-button.c: (hildon_button_set_property): Use the
109         appropriate g_value_get_flags() method.
110
111 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
112
113         * doc/hildon-docs.sgml:
114         * doc/hildon.types:
115
116          Add the touch pickers, picker dialogs, and picker button widgets
117         to the documentation.
118
119 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
120
121         * src/hildon-button.c: (hildon_button_set_property),
122         (hildon_button_class_init): Make "arrangement-flags" a proper
123         G_TYPE_FLAGS derived property.
124
125 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
126
127         * examples/Makefile.am: Add below examples.
128         * examples/hildon-date-button-example.c:
129         * examples/hildon-picker-button-example.c:
130         * examples/hildon-picker-button-multicolumn-example.c:
131         * examples/hildon-time-button-example.c:
132         * examples/hildon-touch-picker-example.c:
133
134         Add examples for the recently added touch pickers,
135         picker dialogs, and picker button widgets.
136
137 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
138
139         * src/hildon-button.c: Add some API documentation
140
141 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
142
143         * src/hildon-button.h
144         * src/hildon-button.c
145         (hildon_button_new)
146         (hildon_button_new_with_text): New constructor to create a button
147         with no text at all.
148         (hildon_button_init, hildon_button_set_arrangement)
149         (hildon_button_set_title, hildon_button_set_value)
150         (hildon_button_set_text)
151         (hildon_button_construct_child): Hide the value when it's not used
152         so the rest of the text is properly aligned.
153         Allow creating buttons with arbitrary widgets inside (not just
154         title/value labels).
155
156         * examples/hildon-button-example.c (vertical_buttons_window)
157         (horizontal_buttons_window): Update example to use new API.
158
159 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
160
161         * src/Makefile.am: Added HildonTimeButton.
162         * src/hildon-time-button.c: Added missing LGPL header.
163         * src/hildon-time-button.h: Added missing LGPL header.
164         * src/hildon.h: Add hildon-time-button.h
165
166         Copied HildonTimeButton from sandbox to trunk. Future work on this
167         widget must take place in trunk.
168
169 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
170
171         * src/Makefile.am: Added HildonDateButton.
172         * src/hildon-date-button.c: Update includes.
173         * src/hildon.h: Add hildon-date-button.h
174
175         Copied HildonDateButton from sandbox to trunk. Future work on this
176         widget must take place in trunk.
177
178 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
179
180         * src/Makefile.am: Added HildonPickerButton.
181         * src/hildon-picker-button.h: Update includes.
182         * src/hildon.h: Add hildon-picker-button.h
183
184         Copied HildonPickerButton from sandbox to trunk. Future work on
185         this widget must take place in trunk.
186
187 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
188
189         * src/Makefile.am: Added HildonPickerDialog.
190         * src/hildon-picker-dialog.c: Update includes.
191         * src/hildon.h: Add hildon-picker-dialog.h
192
193         Copied HildonPickerDialog from sandbox to trunk. Future work
194         on this widget must take place in trunk.
195
196 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
197
198         * src/Makefile.am: Added HildonTimeSelector.
199         * src/hildon.h: Add hildon-time-selector.h
200
201         Copied HildonTimeSelector widget from sandbox to trunk. Future
202         work on this widget must happen in trunk.
203
204 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
205
206         * src/Makefile.am: Added HildonDateSelector.
207         * src/hildon.h: Add hildon-date-selector.h
208
209         Copied HildonDateSelector widget from sandbox to trunk.  Future
210         work on this widget must happen in trunk.
211
212 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
213
214         * src/Makefile.am: Added HildonTouchPicker.
215         * src/hildon-touch-picker.c: Update includes.
216         * src/hildon.h: Add hildon-touch-picker.h
217
218         Copied HildonTouchPicker widget from sandbox to trunk. Future work
219         on this widget must happen in trunk.
220
221 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
222
223         * src/hildon-pannable-area.c:
224         (hildon_pannable_area_motion_notify_cb): Fix a typo.
225
226 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
227
228         * examples/hildon-app-menu-example.c (main): Let the window
229         destroy the menu.
230
231 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
232
233         * src/hildon-pannable-area.c
234         (hildon_pannable_area_class_init): Set the min value of the
235         overshoot properties to zero, which points out that not
236         overshooting allowed.
237
238 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
239
240         Modified the procedure to get the widget at a point inside the
241         pannable area when using the movement type signals. Now the user
242         has to call a function to get the child, that way we just
243         calculate the child in case the user really want to use it and not
244         all the time.
245
246         * src/hildon-marshalers.list: Modified the marshallers, now we do
247         not have the widget as a parameter.
248
249         * src/hildon-pannable-area.c
250         (hildon_pannable_area_motion_notify_cb),
251         (hildon_pannable_area_class_init),
252         (hildon_pannable_get_child_widget_at):  Removed the widget
253         parameter from the signal callback. We have also refactored the
254         emission of the signals.
255
256         * src/hildon-pannable-area.h: Added a new method to the API to
257         calculate a widget at a point inside the pannable area,
258         hildon_pannable_get_child_widget_at.
259
260         * examples/hildon-pannable-area-example-4.c
261         (horizontal_movement): Modified the example to use the new API,
262         added condition to control which widget is under the event. This
263         way we can avoid scrolling laterally over other widgets.
264
265 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
266
267         * src/hildon-pannable-area.c
268         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
269         modes, we stop getting the pointer events due to returning the
270         callback without properly calling the get pointer again. Fixed
271         also an error using the hscroll and vscroll.
272
273 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
274
275         * src/hildon-app-menu-private.h
276         * src/hildon-app-menu.c (hildon_app_menu_button_press)
277         (hildon_app_menu_button_release, hildon_app_menu_init)
278         (hildon_app_menu_class_init): Don't hide the menu on button
279         release if the user didn't press outside first.
280
281         * src/hildon-window.h
282         * src/hildon-window.c (hildon_window_toggle_menu)
283         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
284         hildon_window_toggle_menu a virtual function for the stackable
285         window to override it.
286
287         * src/hildon-stackable-window.h
288         * src/hildon-stackable-window-private.h
289         * src/hildon-stackable-window.c
290         (hildon_stackable_window_realize)
291         (hildon_stackable_window_finalize)
292         (hildon_stackable_window_class_init)
293         (hildon_stackable_window_init)
294         (hildon_stackable_window_set_main_menu): New function to set the
295         app menu of a HildonStackableWindow.
296
297         * examples/hildon-app-menu-example.c: Remove the button to show
298         the app menu, now it'll be shown when clicking on the title bar
299         instead.
300
301 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
302
303         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
304         set the widget name if the arrangement flags do not specify
305         a particular size.
306
307 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
308
309         * src/hildon-button.c: (hildon_button_set_property),
310         (hildon_button_class_init), (hildon_button_new_full),
311         (hildon_button_set_arrangement): Added "arrangement-flags"
312         property.
313
314         Make the HildonButtonFlags a construction-only property, to allow
315         subclasses to set them properly.
316
317 2008-07-21 Tim Janik  <timj@imendio.com>
318
319         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
320         insertion position after backspace, so additional digits are appended,
321         fixes Bug #85874.
322
323 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
324
325         * src/hildon-pannable-area.c,
326         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
327         TODO list, it was complete and removed the g_debug and g_print
328         lines.
329
330 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
331
332         Added the movement modes to the hildon-pannable-area, with this
333         modes the developers can control in which directions the widget
334         can scroll. They can also connect to signals in order to do
335         something when that happens, allowing applications scroll. There
336         is an example uploaded showing how to use it.
337
338         * examples/Makefile.am:
339         * examples/hildon-pannable-area-example-4.c: Added this example of
340         an application using the modes.
341
342         * src/hildon-marshalers.list: Added a new marshaller for the new
343         signals.
344
345         * src/hildon-pannable-area.h: Added new enumerations and flags in
346         order to control the movement modes and the new signals to warn
347         about the movements in the area.
348
349         * src/hildon-pannable-area.c:
350         (hildon_pannable_axis_scroll),
351         (hildon_pannable_area_scroll),
352         (hildon_pannable_area_motion_notify_cb),
353         (hildon_pannable_area_get_property),
354         (hildon_pannable_area_set_property),
355         (hildon_pannable_area_map),
356         (hildon_pannable_area_class_init),
357         (hildon_pannable_area_init),
358         (hildon_pannable_area_jump_to): Added the modes to control the
359         movement in the widget. We have added properties to control it,
360         signals to warn about the movements and refactored some code.
361
362 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
363
364         Changes required in order to allow vfast_factor set to zero to
365         work properly.
366
367         * src/hildon-pannable-area.c:
368         (hildon_pannable_area_button_press_cb): Changed the condition, it
369         is required for not allowing click when vfast_factor is zero.
370         (hildon_pannable_area_timeout): Initialized velocity variables
371         when we stop moving, it was less than 1 but not zero and we need
372         to check zero in some situations.
373         (hildon_pannable_area_class_init): Changed the default value of
374         the speed factor, now the button_press is just sent in case the
375         speed is 2 per cent of the max speed.
376         (hildon_pannable_area_init): Initialization with 0.
377
378 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
379
380         * src/hildon-pannable-area.c,
381         (hildon_pannable_area_get_topmost): replaced
382         gdk_window_get_children with gdk_window_peek_children, this way we
383         do not have to free the list because it is not a copy.
384
385         (hildon_pannable_axis_scroll),
386         (hildon_pannable_area_scroll),
387         (hildon_pannable_area_timeout),
388         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
389         two parameters that were only used inside the
390         hildon_pannable_area_scroll function.
391
392         * examples/hildon-pannable-area-example.c,
393         (get_sawtooth_label): Fixed small memory leak.
394
395 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
396
397         More checks for the case where the overshoot is bigger than the
398         size of the widget.
399
400         * src/hildon-pannable-area.c:
401         (hildon_pannable_draw_vscroll),
402         (hildon_pannable_draw_hscroll): with this new calculation we avoid
403         to draw the slider of the scrollbar under the other scrollbar.
404         (hildon_pannable_area_expose_event): added new checks to control
405         the drawing of the overshooting area rectangle, in case it is too
406         big for the area of the widget.
407         (hildon_pannable_area_size_allocate): add more checks to avoid
408         setting a position to the child widget outside the area.
409
410 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
411
412         * src/hildon-pannable-area.c
413         (hildon_pannable_area_size_allocate): Added conditions to control
414         when overshooting is bigger than the allocated space for the
415         children, this avoids negative allocations.
416
417 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
418
419         * doc/hildon-docs.sgml
420         * doc/hildon.types
421         * examples/Makefile.am
422         * examples/hildon-button-example.c
423         * src/Makefile.am
424         * src/hildon-button.c
425         * src/hildon-button.h
426         * src/hildon.h: Initial version of the new HildonButton widget,
427         with examples.
428
429 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
430
431         * src/hildon-pannable-area.c:
432         (hildon_pannable_area_button_press_cb),
433         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
434         (hildon_pannable_area_motion_notify_cb),
435         (hildon_pannable_area_button_release_cb),
436         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
437         (hildon_pannable_area_jump_to_child):
438
439         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
440
441 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
442
443         * examples/Makefile.am
444         * examples/hildon-pannable-area-touch-grid-example.c
445         * examples/hildon-pannable-area-touch-list-example.c: Examples of
446         the Hildon Touch List and Hildon Touch Grid using the
447         HildonPannableArea widget.
448
449 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
450
451         * src/hildon-pannable-area.c,
452         (hildon_pannable_area_button_press_cb),
453         (hildon_pannable_area_refresh),
454         (hildon_pannable_area_scroll),
455         (hildon_pannable_area_motion_notify_cb),
456         (hildon_pannable_area_button_release_cb),
457         (hildon_pannable_area_expose_event),
458         (hildon_pannable_area_add),
459         (hildon_pannable_area_remove),
460         (hildon_pannable_area_realize),
461         (hildon_pannable_area_size_allocate),
462         (hildon_pannable_area_class_init),
463         (hildon_pannable_area_init),
464         (hildon_pannable_area_scroll_to_child),
465         (hildon_pannable_area_jump_to_child): Fixed the problem of
466         removing the child from the GtkBin, we have rearranged the widget
467         hierarchy, now there is no GtkAlignment which was not doing
468         anything interesting but breaking some of the assumptions of
469         GtkContainer. Now developers if they want to add a GtkAlignment
470         they could, but it is not inside the area.
471
472         We had to review the whole allocation/expose process, now it is
473         improved and we save at least three signals which would be saving
474         some time when rendering the widget. The allocation of the
475         scrollbars is now made in the allocate method as usual.
476
477         We have also added some conditions in order to control when there
478         is no child of the pannable area. Maybe we will need more work
479         here.
480
481 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
482
483         * src/hildon-pannable-area.c,
484         (hildon_pannable_area_dispose): Released the fade-out timeout when
485         disposing the widget.
486
487 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
488
489         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
490         zero, we are going to use that property in order to deactivate the
491         overshooting
492         (hildon_pannable_axis_scroll),
493         (hildon_pannable_area_size_allocate): Added conditions to control
494         when overshoot_max is zero. Moved the gtk_adjustment_set_value
495         call, now it is called in all situations and we can remove calls
496         in the allocate method.
497         (hildon_pannable_area_map): Control the situation when
498         overshoot_max is zero, we do not need the timeout.
499         (hildon_pannable_area_class_init): Added documentation in order to
500         point out that setting zero to overshoot_max means deactivate
501         overshooting.
502
503         NOTE: removed trailing whitespaces from my previous comments of
504         the Changelog.
505
506 2008-06-26  Claudio Saavedra  <csaavedra@ig\alia.com>
507
508         * src/hildon-pannable-area.c
509         (hildon_pannable_area_get_property),
510         (hildon_pannable_area_set_property),
511         (hildon_pannable_area_map),
512         (hildon_pannable_area_class_init),
513         (hildon_pannable_area_init): Add a boolean "initial-hint" property
514         to cause the widget give a hint about its panning abilities upon
515         realization.
516
517 2008-06-26  Claudio Saavedra  <csaavedra@ig\alia.com>
518
519         * src/hildon-pannable-area.c: Several documentation improvements.
520
521 2008-06-26  Alberto Garcia  <agarcia@ig\alia.com>
522
523         * src/hildon-program.c
524         * src/hildon-stackable-window.c: Update documentation.
525
526 2008-06-26  Alberto Garcia  <agarcia@ig\alia.com>
527
528         * src/hildon-stackable-window.c (get_previous_window_if_last):
529         Renamed get_last_window()
530         (hildon_stackable_window_map, hildon_stackable_window_unmap)
531         (hildon_stackable_window_unset_program):
532         Simplified code.
533         (get_previous_window_if_last):
534         Detect if the window hasn't been added to a HildonProgram.
535
536 2008-06-26  Alejandro G. Castro <alex@ig\alia.com>
537
538         contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
539
540         * src/hildon-pannable-area.c
541         (hildon_pannable_area_button_press_cb),
542         (hildon_pannable_axis_scroll),
543         (hildon_pannable_area_scroll),
544         (hildon_pannable_area_timeout),
545         (hildon_pannable_calculate_vel_factor),
546         (hildon_pannable_area_get_property),
547         (hildon_pannable_area_set_property),
548         (hildon_pannable_area_class_init),
549         (hildon_pannable_area_init),
550         (hildon_pannable_area_scroll_to),
551         (hildon_pannable_area_jump_to),
552         (hildon_pannable_area_scroll_to_child),
553         (hildon_pannable_area_jump_to_child):
554         * src/hildon-pannable-area.h: Added the new API functions:
555         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
556         hildon_pannable_area_scroll_to_child,
557         hildon_pannable_area_jump_to_child
558
559
560         * examples/Makefile.am
561         * examples/hildon-pannable-area-example-2.c
562         * examples/hildon-pannable-area-example-3.c: Added these two new
563         examples in order to test and show how the new APIs work.
564
565 2008-06-25  Alberto Garcia  <agarcia@ig\alia.com>
566
567         * examples/hildon-stackable-window-example.c (new_window):
568         * src/Makefile.am (noinst_HEADERS):
569         * src/hildon-program.c (hildon_program_go_to_root_window):
570         * src/hildon-program.h:
571         * src/hildon-stackable-window-private.h:
572         * src/hildon-stackable-window.c:
573         * src/hildon-stackable-window.h:
574         Create hildon-stackable-window-private.h
575         Move hildon_stackable_window_go_to_root_window() to HildonProgram
576
577         * examples/hildon-app-menu-example.c (create_menu):
578         * examples/hildon-hvolumebar-insensitive-example.c (main):
579         * examples/hildon-hvolumebar-timer-example.c (on_idle):
580         * examples/hildon-toolbar-seekbar-example.c (main):
581         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
582         * src/hildon-banner.c (hildon_banner_set_property):
583         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
584         Fix compilation warnings
585
586         * src/hildon-window.c:
587         Fix typo in doc
588
589 2008-06-24  Alberto Garcia  <agarcia@ig\alia.com>
590
591         * src/hildon-stackable-window.c
592         (hildon_stackable_window_unset_program):
593         Calculate correctly whether to show the previous window if the
594         last one is removed from the stack.
595         (hildon_stackable_window_go_to_root_window):
596         Send delete events starting from the topmost window.
597         Stop if one of the windows is not destroyed.
598         Update doc.
599         (hildon_stackable_window_delete_event)
600         (hildon_stackable_window_class_init):
601         Ignore the delete event if the window is not the topmost one.
602
603 2008-06-24  Alejandro G. Castro <alex@ig\alia.com>
604
605         * src/hildon-pannable-area.c
606         (hildon_pannable_area_expose_event): Fixed a problem when
607         selecting the background color of the scrollbars.
608
609 2008-06-23  Alberto Garcia  <agarcia@ig\alia.com>
610
611         * examples/hildon-stackable-window-example.c
612         * src/hildon-stackable-window.c
613         * src/hildon-stackable-window.h
614         hildon_stackable_window_go_home() renamed to
615         hildon_stackable_window_go_to_root_window()
616         Send delete events to windows rather than closing them with
617         gtk_widget_destroy()
618
619 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
620
621         * src/hildon-pannable-area.c
622         (hildon_pannable_area_button_release_cb): Fix overshooting in
623         accel mode.
624
625 2008-06-19  Claudio Saavedra  <csaavedra@ig\alia.com>
626
627         * src/hildon-pannable-area.c
628         (hildon_pannable_area_init): Initially show the scroll indicators.
629         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
630
631         Add initial effect showing the widget is pannable.
632
633 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
634
635         * src/hildon-pannable-area.c
636         (hildon_pannable_area_class_init)
637         (hildon_pannable_area_set_property)
638         (hildon_pannable_area_get_property)
639         (hildon_pannable_area_button_press_cb):
640         New 'velocity_fast_factor' property to decide which velocity is
641         considered fast.
642
643 2008-06-19  Claudio Saavedra  <csaavedra@ig\alia.com>
644
645         * src/hildon-pannable-area.c
646         (hildon_pannable_draw_hscroll)
647         (hildon_pannable_draw_vscroll):
648         Use float variables to calculate the size of the scrollbars to
649         avoid error propagation and resizing during scrolling.
650
651 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
652
653         * src/hildon-pannable-area.c
654         (hildon_pannable_draw_vscroll)
655         (hildon_pannable_draw_hscroll):
656         Define a minimum size for the scroll bars
657
658         * src/hildon-stackable-window.c
659         (hildon_stackable_window_go_home): Fix compilation warning
660         (get_last_window): Minor optimizations
661         (hildon_stackable_window_class_init): Fix initialization of
662         private structure.
663
664 2008-06-18  Alberto Garcia  <agarcia@ig\alia.com>
665
666         * src/hildon-stackable-window.c: Fixed typos in doc
667
668 2008-06-18  Claudio Saavedra  <csaavedra@ig\alia.com>
669
670         * src/hildon-pannable-area.c
671         (hildon_pannable_area_scroll):
672         Calculate here whether we need to scroll instead of using the booleans
673         that tell us whether to /draw/ the scrolling bars.
674
675 2008-06-17  Claudio Saavedra  <csaavedra@ig\alia.com>
676
677         * src/hildon-app-menu.h
678         Update API.
679         * src/hildon-app-menu.c
680         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
681         multiple filter groups related code and API. Now we support only
682         one filter group.
683         * examples/hildon-app-menu-example.c:
684         (create_menu):
685         Update to reflect API changes.
686
687 2008-06-16  Claudio Saavedra  <csaavedra@ig\alia.com>
688
689         * src/hildon-stackable-window.c
690         (hildon_stackable_window_class_init):
691         Add hildon_stackable_window_realize.
692         (hildon_stackable_window_realize):
693         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
694         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
695         to apply theming and behavior specific to HildonStackableWindow
696         windows.
697
698 2008-06-12  Alberto Garcia  <agarcia@ig\alia.com>
699
700         * src/hildon-note.c (hildon_note_button_release):
701         Close information notes also when tapping on them
702
703 2008-06-12  Alejandro G. Castro <alex@ig\alia.com>
704
705         Added BOUNCE_STEPS define to control the overshoot effect. Removed
706         ELASTICITY, refactor and review, fix some issues with drawing
707         scrollbars.
708
709         * src/hildon-pannable-area.c:
710         (hildon_pannable_area_button_press_cb): removed the conditions to
711         avoid clicks when overshooting. It is not required
712
713         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
714         define. Refatored and reviewed the code, now we do not need to
715         manage velocity in motion_notify.
716
717         (hildon_pannable_area_motion_notify_cb): We have moved the code
718         that controls the area_scroll to the axis_scroll function and get
719         rid of duplicated code.
720
721         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
722
723         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
724
725         (hildon_pannable_draw_vscroll),
726         (hildon_pannable_draw_hscroll): Fixed the problems with the
727         scrollbar drawing, now we do not use two surfaces, it is easier
728         and saves resources.
729
730         (hildon_pannable_area_get_property): Style modification.
731
732         (hildon_pannable_area_class_init): Changed some default values.
733
734 2008-06-12  Claudio Saavedra  <csaavedra@ig\alia.com>
735
736         * src/hildon-stackable-window.c: Fix some typos in the
737         documentation.
738
739 2008-06-12  Alberto Garcia  <agarcia@ig\alia.com>
740
741         * src/hildon-dialog.c:
742         Change indentation style
743
744         * src/hildon-note.c
745         (hildon_note_button_release):
746         Use root coordinates to check if the release event happened
747         outside the widget.
748
749         * src/hildon-app-menu.c
750         (hildon_app_menu_button_release):
751         Remove unnecessary check
752
753         * examples/hildon-app-menu-example.c
754         (button_clicked):
755         Add cast to fix warning
756
757         * src/hildon-app-menu.c
758         (hildon_app_menu_class_init):
759         New inner-border style property.
760         Set all default spacings to 16
761         (hildon_app_menu_init):
762         Use vertical-spacing to set the space between filter buttons and
763         regular menu buttons.
764         Set the default container border using the inner-border value.
765
766         * examples/hildon-app-menu-example.c
767         (create_menu):
768         Don't set the menu border explicitly, now we have the inner-border
769         style property for that.
770
771 2008-06-11  Alberto Garcia  <agarcia@ig\alia.com>
772
773         * src/hildon-app-menu.c (hildon_app_menu_init):
774         Make the window modal
775
776         * src/hildon-note.c (hildon_note_map)
777         * src/hildon-app-menu.c (hildon_app_menu_map):
778         Destroy the grab window if we're unable to grab the pointer
779
780         * src/hildon-app-menu-private.h
781         * src/hildon-app-menu.c
782         (hildon_app_menu_init, hildon_app_menu_finalize)
783         (hildon_app_menu_map, hildon_app_menu_unmap)
784         (hildon_app_menu_button_release)
785         (grab_transfer_window_get):
786         Bring back the grab window
787         (hildon_app_menu_realize):
788         Decorate the window, set WM hint for Matchbox
789
790         * src/hildon-note.c (hildon_note_realize):
791         * src/hildon-banner.c (hildon_banner_realize):
792         Add WM hints for Matchbox
793
794 2008-06-10  Alberto Garcia  <agarcia@ig\alia.com>
795
796         * src/hildon-app-menu-private.h
797         * src/hildon-app-menu.c
798         (hildon_app_menu_init, hildon_app_menu_finalize)
799         (hildon_app_menu_map, hildon_app_menu_unmap)
800         (hildon_app_menu_button_release):
801         Remove the grab window, it's not needed anymore
802
803         * src/hildon-program.c
804         Fixed typo in documentation
805
806         * src/hildon-app-menu.h
807         * src/hildon-app-menu.c
808         * examples/hildon-app-menu-example.c
809         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
810
811 2008-06-09  Alberto Garcia  <agarcia@ig\alia.com>
812
813         * src/hildon-note.c
814         Added new transfer_window and close_if_pressed_outside private
815         attributes.
816         (hildon_note_rebuild):
817         Don't add a cancel button to the information note. It will be
818         closed when tapping outside
819         Remove the comment about the OK button in the documentation
820         (hildon_note_realize):
821         Set the notification type hint
822         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
823         Grab/ungrab pointer and keyboard if the note has to be closed when
824         tapping outside
825         (hildon_note_button_release):
826         Close the note when tapping outside (if applicable)
827
828         * src/hildon-app-menu.c
829         Grab/ungrab pointer and keyboard on map/unmap
830         (hildon_app_menu_button_release, hildon_app_menu_class_init):
831         Close the menu on button release, not button press
832
833         * src/hildon-banner.c
834         (hildon_banner_set_property)
835         (hildon_banner_check_position):
836         Make the banner use the full width of the screen
837         (hildon_banner_show_information)
838         (hildon_banner_show_information_with_markup):
839         Don't display an icon by default
840
841 2008-06-09  Alejandro G. Castro <alex@ig\alia.com>
842
843         Added fading scrollbars and adapted all the overshooting code to
844         horizontal scrolling. We have also fixed bugs with overshooting
845         and current fading implementation.
846
847         * src/hildon-pannable-area.c
848         (hildon_pannable_area_scroll_indicator_fade): Time out function
849         used to change the transparency of the scrollbars.
850
851         (hildon_pannable_area_button_press_cb): Added horizontal overshot
852         control and fixed a problem with fading, we now remove the fade
853         timeout before adding a new one.
854
855         (hildon_pannable_axis_scroll):
856         (hildon_pannable_area_scroll):
857         (hildon_pannable_area_timeout): Added this functions so we can use
858         the scroll code both for vertical and horizontal.
859
860         (hildon_pannable_area_motion_notify_cb):
861         (hildon_pannable_area_button_release_cb): Added the horizontal
862         scrolling control, fixed a problem with the overshooting timeout.
863
864         (rgb_from_gdkcolor): Added this function, it is used in the cairo
865         painting of the scrolls.
866
867         (hildon_pannable_draw_vscroll):
868         (hildon_pannable_draw_hscroll):
869         (hildon_pannable_area_expose_event):
870         Draw both scrollbars and rectangles in the overshooting area.
871
872         (hildon_pannable_area_get_property):
873         (hildon_pannable_area_set_property):
874         Modified the overshoot property to overshoot_max
875
876         (hildon_pannable_area_map):
877         Replaced the comments symbols.
878
879         (hildon_pannable_area_size_allocate):
880         (hildon_pannable_area_class_init):
881         (hildon_pannable_area_init): Added horizontal scroll, fading
882         effect properties, fixed a problem when overshooting in the bottom
883         of the widget.
884
885         * examples/hildon-pannable-area-example.c:
886         (get_sawtooth_label): Now we use smaller sawtooths, the effect
887         looks better in the example.
888
889 2008-06-03  Alberto Garcia  <agarcia@ig\alia.com>
890
891         * src/hildon-window.c
892         * src/hildon-window.h
893         (hildon_window_class_init)
894         (hildon_window_unset_program)
895         (hildon_window_unset_program_real):
896         Make unset_program a virtual function
897
898         * src/hildon-stackable-window.c
899         * src/hildon-stackable-window.h
900         Added hildon_stackable_window_go_home()
901
902         * examples/Makefile.am
903         * examples/hildon-stackable-window-example.c
904         HildonStackableWindow example
905
906 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
907
908         * hildon-pannable-area.c: Added the overshoot property and removed
909         the OVERSHOOT define. Fixed an indent style error.
910         (hildon_pannable_area_motion_notify_cb):
911         (hildon_pannable_area_get_property):
912         (hildon_pannable_area_set_property): Add overshoot property.
913
914         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
915         overshoot property.
916
917         (hildon_pannable_area_class_init): Installed the new property.
918
919         * hildon-pannable-area-example.c: Added a sawtooth function, this
920         way it is easier to check the movement in the pannable.
921         (get_sawtooth_label): Added this function.
922         (main): Now we get the labels from the new get_sawtooth_label
923         function.
924
925 2008-05-26  Alberto Garcia  <agarcia@ig\alia.com>
926
927         * src/hildon-app-menu.h
928         * src/hildon-app-menu.c
929         Renamed API variables for consistency
930
931         (hildon_app_menu_popup): Use also the default window size to
932         decide where to place the menu
933
934         (hildon_app_menu_init, hildon_app_menu_class_init): New
935         external-border style property
936
937 2008-05-26  Michael Natterer  <mitch@imendio.com>
938
939         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
940         widget_class->tap_and_hold_setup signal slot doesn't exist any
941         longer, stop overriding it.
942
943         (hildon_time_editor_init): g_signal_connect() to the
944         tap-and-hold-setup signal instead.
945
946         (hildon_time_editor_entry_keypress): add cast to fix warning.
947
948 2008-05-23  Alberto Garcia  <agarcia@ig\alia.com>
949
950         * doc/hildon-docs.sgml
951         * doc/hildon.types
952         * examples/Makefile.am
953         * examples/hildon-app-menu-example.c
954         * src/Makefile.am
955         * src/hildon-app-menu-private.h
956         * src/hildon-app-menu.c
957         * src/hildon-app-menu.h
958         * src/hildon.h
959         New HildonAppMenu widget
960
961 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
962
963         Rearranged the inheritance of the pannable area, now it inherits
964         from GtkBin. This will allow us to control the event_window and
965         the allocation process of the widget, required for some effects.
966
967         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
968         GtkBin structures.  * src/hildon-pannable-area.c: Added the
969         event_window variable.
970         (hildon_pannable_area_button_press_cb):
971         (hildon_pannable_area_button_release_cb):
972         (hildon_pannable_area_motion_notify_cb):
973         Changed the signature of the method, now we override the event
974         callback instead of connecting to the signal.
975
976         (hildon_pannable_area_realize):
977         (hildon_pannable_area_unrealize):
978         (hildon_pannable_area_map):
979         (hildon_pannable_area_unmap):
980         (hildon_pannable_area_size_allocate):
981         Added functions to control the widget construction. We add a
982         INPUT_ONLY window and we put it over the widgets inside the
983         container, this event_window handles the events.
984
985         (hildon_pannable_area_class_init):
986         Replaced the signal connections with overrides of the event
987         callbacks.
988
989 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
990
991         Bouncing effect added when touching the borders, you can change
992         the elasticity of the border changing the ELASTICITY define.
993
994         * src/hildon-pannable-area.c: Added ELASTICITY define.
995         (hildon_pannable_area_timeout): Added inverse velocity when
996         touching the border of the child widget, that causes a bounce.
997
998 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
999
1000         Improved performance, we now do not go to the X server in order to
1001         get the list of window children. Apparently the effect is the
1002         same, we have to be careful and check if this breaks something in
1003         any corner case.
1004
1005         * src/hildon-pannable-area.c:
1006         (get_ordered_children): Removed this function.
1007         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1008         the children windows function with gdk_window_get_children.
1009
1010 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1011
1012         * src/hildon-pannable-area.c:
1013         (hildon_pannable_area_dispose): Fixed a crash when closing the
1014         window and kinetics is activated.
1015
1016 2008-05-19  Alberto Garcia  <agarcia@ig\alia.com>
1017
1018         * src/hildon-pannable-area.h
1019         * src/hildon-pannable-area.c
1020         Changed indentation style to meet the one used in Hildon
1021
1022 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1023
1024         Reviewed the interaction of the AUTO mode, now we use the time
1025         attribute of the events and calculate the velocity in the motion,
1026         doing a gimp like calculation. The velocity is calculated in each
1027         motion event using the last velocity and the current one, the
1028         SMOOTH_FACTOR controls the percentage of the new velocity we use.
1029
1030         * src/hildon-pannable-area.c: Replaced the time based algorithm
1031         for the AUTO mode.
1032         (hildon_pannable_area_motion_notify_cb): now we do not launch the
1033         timeout for the AUTO mode when we are still moving the cursor. We
1034         added also the velocity calculation in this function.
1035         (hildon_pannable_area_button_release_cb): launch the timeout in
1036         case we are in AUTO mode. There are still some constants here that
1037         come from the old implementation that should be reviewed and
1038         handled properly.
1039
1040 2008-05-15  Alberto Garcia  <agarcia@ig\alia.com>
1041
1042         * doc/hildon-docs.sgml
1043         * doc/hildon.types
1044         * src/Makefile.am
1045         * src/hildon-stackable-window.c
1046         * src/hildon-stackable-window.h
1047         * src/hildon.h
1048         New HildonStackableWindow widget
1049
1050         * examples/hildon-dialog-example.c
1051         * examples/hildon-pannable-area-example.c
1052         Updated copyright
1053
1054 2008-05-14  Alberto Garcia  <agarcia@ig\alia.com>
1055
1056         * src/hildon-dialog.c
1057         (hildon_dialog_new_with_buttons): New constructor.
1058
1059         * examples/hildon-dialog-example.c
1060         (main): Update the example to use the new
1061         hildon_dialog_new_with_buttons().
1062
1063         * examples/hildon-pannable-area-example.c
1064         (main): Update example.
1065
1066 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
1067
1068         * doc/hildon-docs.sgml
1069         * doc/hildon.types
1070         Added HildonPannableArea to the documentation.
1071
1072 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
1073
1074         * doc/visual_index.xml
1075         Fix reference to HildonLoginDialog in documentation
1076
1077         * doc/hildon-docs.sgml
1078         * doc/hildon.types
1079         * examples/Makefile.am
1080         * examples/hildon-dialog-example.c
1081         * src/Makefile.am
1082         * src/hildon-dialog.c
1083         * src/hildon-dialog.h
1084         * src/hildon.h
1085         New HildonDialog widget.
1086
1087 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1088
1089         * src/hildon-pannable-area.c
1090         Merge latest changes (r4318, r4342) from libmokoui trunk
1091
1092 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1093
1094         * examples/Makefile.am
1095         * examples/hildon-pannable-area-example.c
1096         * src/Makefile.am
1097         * src/hildon-pannable-area.c
1098         * src/hildon-pannable-area.h
1099         * src/hildon.h
1100         New HildonPannableArea widget.
1101
1102 2008-04-15 18:05:19    <timj@imendio.com>
1103
1104         * src/hildon-banner.c: revert the recent change, that introduced
1105         gtk_window_present() calls. this reopens:
1106           Bug 78481 - [freetest] information banners are hidden under browser menu
1107         But resolves another variant of:
1108           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1109
1110 2008-04-15 13:21:13    <timj@imendio.com>
1111
1112         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
1113         recreated its layout, spotted by Kris. this fixes all remaining
1114         artefacts and stability issues with the banner code. in particular:
1115         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1116
1117 2008-04-14 16:52:59    <timj@imendio.com>
1118
1119         * src/hildon-banner.c: guard force_to_wrap_truncated() against
1120         operating on unrealized widgets, fixes:
1121         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1122
1123         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
1124
1125 2008-04-09  Kristian Rietveld  <kris@imendio.com>
1126
1127         Fixes: NB#77775: Media Player, Save Now playing list, too long name
1128         makes banner disappear.
1129         Fixes: NB#79182: info banner flickering with certain message lengts.
1130
1131         * src/hildon-banner.c (hildon_banner_constructor),
1132         (hildon_banner_init), (hildon_banner_set_text),
1133         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
1134         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
1135         FALSE, reset size requests of label and banner,
1136         (force_to_wrap_truncated): when the text is too wide, always enforce
1137         the maximum possible width instead of recalculating it from the
1138         layout; enforce the maximum banner height of 3 lines,
1139         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
1140         nicer wrapping and no truncated chars if space gets tight.
1141
1142         * src/hildon-banner-private.h: add has_been_wrapped and
1143         has_been_truncated fields.
1144
1145 2008-04-07  Sven Herzberg  <sven@imendio.com>
1146
1147         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
1148         local values in hildon_date_editor_size_allocate
1149
1150         * src/hildon-date-editor.c: moved the real allocation code into the
1151         if() branch
1152
1153 2008-04-07  Sven Herzberg  <sven@imendio.com>
1154
1155         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1156         local values in hildon_date_editor_size_allocate
1157
1158         * src/hildon-date-editor.c: merged the two if() branches together
1159
1160 2008-04-07  Sven Herzberg  <sven@imendio.com>
1161
1162         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1163         local values in hildon_date_editor_size_allocate
1164
1165         * src/hildon-date-editor.c: changed the arguments of the if()
1166         conditions
1167
1168 2008-04-07  Sven Herzberg  <sven@imendio.com>
1169
1170         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1171         local values in hildon_date_editor_size_allocate
1172
1173         * src/hildon-date-editor.c: split the calculation of the allocation
1174         from the real allocation
1175
1176 2008-03-27  Michael Natterer  <mitch@imendio.com>
1177
1178         Fixes: NB#81696: The passcode is not overwritten even after
1179         selecting
1180
1181         * src/hildon-code-dialog.c
1182         (hildon_code_dialog_button_clicked)
1183         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
1184         because that doesn't overwrite selected text. Instead, emit the
1185         "commit" signal on the entry's im_context so the entry's normal
1186         insert logic is triggered. Set the cursor to the end of the entry
1187         after each insert operation so that we *only* insert in the middle
1188         of the text if something was selected.
1189
1190 2008-03-27  Michael Natterer  <mitch@imendio.com>
1191
1192         Enable fixing: NB#79916 and NB#79918: The help topic for Color
1193         selector cannot be opened
1194
1195         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
1196         when the popup color selector is created. Please connect to this
1197         signal in order to set the dialog's help ID.
1198
1199 2008-03-25  Sven Herzberg  <sven@imendio.com>
1200
1201         Fixes: MB#1212: Hide info banners (infoprints) on click
1202
1203         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
1204         extracted the close event simulation into an extra function
1205         (hildon_banner_button_press_event): simulate a close event and destroy
1206         the widget if the event wasn't handled
1207         (hildon_banner_class_init): added the button_press_event handler
1208         (hildon_banner_init): added button-press events to the widget
1209
1210 2008-03-25  Sven Herzberg  <sven@imendio.com>
1211
1212         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
1213         Patch from: Mohammad Anwari  <mdamt@maemo.org>
1214
1215         * src/hildon-banner.c: let the HildonBanners pop up on the left side
1216         instead of the right in RTL mode
1217         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
1218         breadcrumb button list in RTL mode
1219         * src/hildon-caption.c: mirror the appearance of the caption widget in
1220         RTL mode
1221         * src/hildon-date-editor.c: mirror appearance of the date editor in
1222         RTL mode
1223         * src/hildon-time-editor.c: mirror appearance of the time editor in
1224         RTL mode
1225         * src/hildon-window.c: fix the position of the popup in RTL mode
1226
1227 2008-03-25  Sven Herzberg  <sven@imendio.com>
1228
1229         Amendment to the fix of NB#22072. Fix compilation.
1230
1231         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
1232
1233 2008-03-19  Sven Herzberg  <sven@imendio.com>
1234
1235         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
1236         in Info Banner" bug
1237
1238         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
1239         timeout id properly when the timeout will disappear this leaves no
1240         artifacts around in the destroy(); there will only be the timeout
1241         created by hildon_banner_ensure_timeout() and adding a new timeout
1242         will also work if the timeout gets removed because the timeout_handler
1243         returned FALSE
1244
1245 2008-03-19  Michael Natterer  <mitch@imendio.com>
1246
1247         Fixes: NB#79791: Cannot set focus to Master volume using stylus
1248
1249         * src/hildon-volumebar.c
1250         * src/hildon-vvolumebar.c
1251         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
1252         the widget becomes focussable at all.
1253
1254         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
1255         set the focus to wither the mute button or the volumebar.
1256
1257         Remove own "can-focus" property and instead listen to
1258         notify::can-focus in order to update the widget's state.
1259
1260         Implement GtkWidget::focus() and make sure we can also *leave* the
1261         widget, not only enter it, depending on volumebar orientation and
1262         requested focus direction.
1263
1264         Clean up set_mute() to cooperate nicely with all the above.
1265
1266 2008-03-04  Michael Natterer  <mitch@imendio.com>
1267
1268         Fixes: NB#78481: information banners are hidden under browser menu
1269
1270         * src/hildon-banner.c: call gtk_window_present() on the banners so
1271         they are risen if they are already visible.
1272
1273 2008-03-03  Sven Herzberg  <sven@imendio.com>
1274
1275         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
1276
1277         * examples/hildon-window-menu-example.c: (main): extended the window
1278         menu example to serve as a testcase for automatically added
1279         accelerator groups, too
1280         * src/hildon-window.c: (hildon_window_add_accel_group),
1281         (hildon_window_set_menu): added patch by Tommi Komulainen
1282
1283 2008-03-03  Sven Herzberg  <sven@imendio.com>
1284
1285         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
1286
1287         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
1288         knowledge about the border allocators used within GTK+
1289
1290 2008-02-26  Sven Herzberg  <sven@imendio.com>
1291
1292         Fixes: MB#2981: Build with asserts broken
1293
1294         * src/hildon-date-editor.c,
1295         * src/hildon-number-editor.c,
1296         * src/hildon-time-editor.c,
1297         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
1298         the proper GType instance check
1299
1300 2008-02-25  Sven Herzberg  <sven@imendio.com>
1301
1302         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
1303
1304         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
1305         * examples/hildon-window-menu-example.c: (main): explicitly show
1306         the menu item
1307         * src/hildon-window.c:
1308         (hildon_window_set_main_menu): moved most of the code from set_menu()
1309         to this place; skipped the call to gtk_widget_show_all(); also didn't
1310         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
1311         (hildon_window_set_menu): removed most of the code, just keep the
1312         questionable gtk_widget_show_all()
1313         * src/hildon-window.h: added the new function and deprecate the old
1314         one
1315
1316 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
1317
1318         [2.0.1-1 release]
1319
1320         * NEWS:
1321         * configure.ac:
1322         * debian/changelog: Updating.
1323
1324 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
1325
1326         * configure.ac:
1327         * pkgconfig/Makefile.am:
1328         * pkgconfig/hildon.pc.in:
1329         * src/Makefile.am:
1330
1331         Do not use PACKAGE_VERSION_MAJOR as the API revision,
1332         use newly created API_MAJOR_VERSION.
1333         
1334 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
1335
1336         [2.0.0-1 release]
1337
1338         * NEWS:
1339         * configure.ac:
1340         * debian/changelog: Updating.
1341
1342 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
1343
1344         * src/hildon-color-chooser.c (hildon_color_chooser_class_init): 
1345
1346         Add outer_border style property, we use it but don't define it (!).
1347
1348         Fixes NB#75310
1349
1350 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
1351
1352         * examples/hildon-bread-crumb-trail-example.c (main): 
1353
1354         Add clear button.
1355
1356         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove): 
1357
1358         Fix logic for the bread crumb trail node removal.
1359
1360         Fixes: NB#78616
1361
1362 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1363
1364         [1.99.1-1 release]
1365
1366         * NEWS:
1367         * configure.ac:
1368         * debian/changelog: Updating.
1369
1370 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1371
1372         Patch by Alejandro to get/set passwords dialogs accesibility.
1373
1374         * hildon-1/src/hildon-get-password-dialog.c:
1375         * hildon-1/src/hildon-set-password-dialog.c: 
1376         Set atk_set_name to the passwd entries in order to allow 
1377         accessibility by name on this entries.
1378         
1379 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1380
1381         [1.99.0-2 release]
1382
1383         * debian/changelog:
1384         * debian/control: Updating gtk dep.
1385
1386 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
1387
1388         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
1389         USE_MAEMO_GTK is enabled.
1390
1391 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
1392
1393         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
1394         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
1395
1396 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1397
1398         [1.99.0-1 release]
1399
1400         * NEWS:
1401         * configure.ac:
1402         * debian/changelog: Updating.
1403
1404 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1405
1406         * examples/Makefile.am:
1407         * examples/hildon-logical-color-example.c:
1408         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
1409         applied + adding a test case. Fixes: NB#71660.
1410
1411 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
1412
1413         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
1414         to be visible, fixes warning on map for windows without toolbars.
1415
1416 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
1417
1418         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
1419         2.11.0, add a check for that besides the MAEMO_GTK check.
1420
1421 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1422
1423         [1.0.17-1 release]
1424
1425         * NEWS:
1426         * configure.ac:
1427         * debian/changelog: Updating.
1428
1429 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1430
1431         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
1432         visibility. Fixes: NB#70842 and MB#615.
1433
1434 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
1435
1436         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
1437         set the separator as no-show-all so it doesn't unintentionally appear when
1438         someone does a show_all.
1439
1440 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
1441
1442         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
1443         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
1444         toplevel item. Fixes: NB#62031
1445
1446 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
1447
1448         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
1449         fix the name of the function in the docs.
1450
1451 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1452
1453         [1.0.16-1 release]
1454
1455         * NEWS:
1456         * configure.ac:
1457         * debian/changelog: Updating.
1458
1459 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1460
1461         * examples/hildon-banner-long-example.c: Adding a test-case for long
1462         hildon banner.
1463
1464         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
1465
1466 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1467
1468         * src/hildon-color-chooser-dialog.c:
1469         * src/hildon-color-chooser.c:
1470         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
1471         memory leaks in font selector and color selector. Fixes: NB#70499 and
1472         NB#70474.
1473
1474 2007-09-20  Johan Bilien  <johan.bilien@nokia.com> 
1475
1476         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
1477
1478 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1479
1480         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
1481         little bit bigger. Fixes: #NB63694.
1482
1483 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1484
1485         [1.0.15-1 release]
1486
1487         * NEWS:
1488         * configure.ac:
1489         * debian/changelog: Updating.
1490
1491 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1492
1493         * doc/Makefile.am:
1494         * doc/hildon-docs.sgml:
1495         * doc/images/bread-crumb-trail.png:
1496         * doc/images/calendar-popup.png:
1497         * doc/images/caption.png:
1498         * doc/images/code-dialog.png:
1499         * doc/images/color-button.png:
1500         * doc/images/color-chooser-dialog.png:
1501         * doc/images/color-chooser.png:
1502         * doc/images/controlbar.png:
1503         * doc/images/date-editor.png:
1504         * doc/images/font-selection-dialog.png:
1505         * doc/images/get-password-dialog.png:
1506         * doc/images/hvolumebar.png:
1507         * doc/images/login-dialog.png:
1508         * doc/images/note.png:
1509         * doc/images/number-editor.png:
1510         * doc/images/range-editor.png:
1511         * doc/images/seekbar.png:
1512         * doc/images/set-password-dialog.png:
1513         * doc/images/sort-dialog.png:
1514         * doc/images/time-editor.png:
1515         * doc/images/time-picker.png:
1516         * doc/images/vvolumebar.png:
1517         * doc/images/weekday-picker.png: Adding the new generated widget shots.
1518         Adding the bread-crumb-trial and helpers to the documentation.
1519
1520 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1521
1522         * examples/hildon-find-toolbar-example.c:
1523         * src/hildon-find-toolbar.c:
1524         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
1525         actually continue firing the other handlers if connected. Adding a new
1526         function:
1527         hildon_find_toolbar_get_last_index that gets the index of the most
1528         recently added (last) item. Fixes: NB#52301.
1529
1530 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1531
1532         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
1533         behaviour. Fixes: NB#68610. 
1534
1535 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1536
1537         * src/hildon-banner.c: Actually reverting the previous change. It somehow
1538         looks a bit worse.
1539
1540 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1541
1542         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
1543         when realizing the banner. Should make the infonbanner effect a bit more
1544         bearable.
1545
1546 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1547
1548         * src/hildon-volumebar.c:
1549         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
1550         hildon_volumebar_set_range_insensitive_message and
1551         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
1552
1553 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1554
1555         * src/hildon-window.c: Fixing the border freeing on destroy.
1556
1557 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1558
1559         * src/hildon-code-dialog-private.h:
1560         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
1561         kw keyboard support in HildonCodeDialog.
1562
1563 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1564
1565         [1.0.14-1 release]
1566
1567         * NEWS:
1568         * configure.ac:
1569         * debian/changelog: Updating.
1570
1571 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1572
1573         * src/hildon-date-editor.c:
1574         * src/hildon-number-editor.c:
1575         * src/hildon-private.c:
1576         * src/hildon-private.h:
1577         * src/hildon-time-editor.c:
1578         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
1579         handling in subclassed composite widgets. Fixes: NB#66628.
1580
1581 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1582
1583         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
1584         from destroy_ callback as it introduces problems in async dbus signal
1585         handlers. Fixes NB#66673.
1586
1587 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1588
1589         * examples/hildon-hvolumebar-example.c:
1590         * src/hildon-volumebar.c: Improving the focus handling in the
1591         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
1592         set_property accessor so that "mute" property can be actually set. I'm
1593         scared that nobody noticed it's totally broken.
1594
1595 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1596
1597         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
1598         Fixes NB#66548.
1599
1600 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1601
1602         * src/hildon-calendar.c:
1603         * src/hildon-number-editor.c:
1604         * src/hildon-time-picker.c: Changing the timeout repeat so that it
1605         matches the spec of 6 chars per second. Fixes: NB#60489.
1606
1607 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1608
1609         * src/hildon-helper.c: Really fixing NB#58352. Looks like
1610         gtk_style_lookup_color sometime returns FALSE even though color was
1611         found and values were filled properly. Weird. Removing the warning for the
1612         time being.
1613
1614 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1615
1616         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
1617         expand vertically. Adding some extra space to the find toolbar buttons to
1618         make them thumbable. Fixes NB#66060.
1619
1620 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1621
1622         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
1623         popup with "Ok" and "Cancel". Fixes NB#59299.
1624
1625 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1626
1627         * src/hildon-calendar.c: Process all window updates before executing next
1628         timeout. Fixes: NB#54146.
1629
1630 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1631
1632         [1.0.13-1 release]
1633
1634         * NEWS:
1635         * configure.ac:
1636         * debian/changelog: Updating.
1637
1638 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
1639
1640         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
1641         the client event and ignore it, since we use the delete event to close
1642         after timeouts.
1643
1644 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1645
1646         * src/hildon-helper.c: Remove the bogus warning about color not being
1647         found. Fixes NB#58352.
1648
1649 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1650
1651         * examples/Makefile.am:
1652         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
1653         HildonSeekbar widget inside a toolbar.
1654
1655 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
1656
1657         * src/hildon-banner.c (hildon_banner_init): mark the banners as
1658         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
1659         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
1660         don't want to be closed by non-temporary windows on map.
1661
1662         Also use G_DEFINE_TYPE instead of manually typed code.
1663
1664 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1665
1666         [1.0.12-1 release]
1667
1668         * NEWS:
1669         * configure.ac:
1670         * debian/changelog:
1671         * debian/rules: Updating.
1672
1673 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1674
1675         * examples/Makefile.am:
1676         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
1677         bug NB#61128. Strangely it works.
1678
1679 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1680
1681         * src/hildon-date-editor.c: When the date editor entry has been changed
1682         but the numbers of characters < max, turn off the skip validation flag.
1683         Prevents a situation when we enter first a valid year and later re-write
1684         it with an invalid one. Fixes NB#60154.
1685
1686 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1687
1688         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
1689         code dialog. Fixes NB#64355.
1690
1691 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1692
1693         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
1694         switching the page. Fixes NB#49374.
1695
1696         * examples/Makefile.am:
1697         * examples/hildon-wizard-dialog-example.c: Adding an example for
1698         HildonWizardDialog that shows how to handle manual sensitivity setting on
1699         the wizard dialog.
1700
1701 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1702
1703         * configure.ac:
1704         * src/Makefile.am:
1705         * src/hildon-version.h.in:
1706         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
1707
1708 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1709
1710         * src/hildon-volumebar.c: Updating the docs.
1711
1712 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1713
1714         [1.0.11-1 release]
1715
1716         * NEWS:
1717         * configure.ac:
1718         * debian/changelog: Updating.
1719
1720 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1721
1722         * src/hildon-find-toolbar.c:
1723         * src/hildon-find-toolbar.h: Adding a few new functions to control the
1724         selected item: hildon_find_toolbar_set_active,
1725         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active, 
1726         hildon_find_toolbar_get_active_iter . They correspond to respective
1727         GtkComboBox functions. 
1728
1729         * examples/Makefile.am:
1730         * examples/hildon-find-toolbar-example.c: Adding the example to test the
1731         new functionality.
1732
1733 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1734
1735         * examples/Makefile.am:
1736         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
1737         theming easily.
1738
1739         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
1740         when font size > 32 and we pack a focusable widget inside. Actually using
1741         the default response would work too, but since we don't show default
1742         response state in any way (no theming) it would not be visible to the
1743         user. Fixes NB#63430.
1744
1745 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1746
1747         * src/hildon-date-editor.c: Adding the missing variable setter in the
1748         set_property handler. Fixes NB#54182.
1749
1750 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1751
1752         * src/hildon-window.h: Changing the long key press time from 1500ms to
1753         800ms as requested in NB#63700. I have a bad feeling about this, let's
1754         see... Fixes NB#63700.
1755
1756 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
1757
1758         * src/hildon-time-picker.c (hildon_time_picker_class_init,
1759         hildon_time_picker_map, hildon_time_picker_realize,
1760         hildon_time_picker_style_set): Split the contents of map to more
1761         appropriate functions; set window decorations on realize and update
1762         arrows' size requisitions on style-set. Avoids unnecessary resizing.
1763
1764 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
1765
1766         [1.0.10-2 release]
1767
1768         * NEWS:
1769         * debian/changelog: Updating.
1770
1771 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
1772
1773         * src/Makefile.am: fixed installation of the header files
1774
1775 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1776
1777         [1.0.10-1 release]
1778
1779         * NEWS:
1780         * configure.ac:
1781         * debian/changelog: Updating.
1782
1783 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1784
1785         * configure.ac: Removing some remaining of --enable-xan.
1786
1787 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
1788
1789         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
1790         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
1791
1792         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
1793         2.10.12-osso6 because the move-focus signal needs to be available in
1794         GtkWidget.
1795
1796 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1797
1798         * examples/Makefile.am:
1799         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
1800         that makes a HildonVolumebar insensitive before mapping it. Seems to work
1801         fine. Prolly NB#61128 is fixed now.
1802
1803 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1804
1805         * src/hildon-volumebar.c:
1806         * src/hildon-volumebar.h: Adding the
1807         hildon_volumebar_set_range_insensitive_message and
1808         hildon_volumebar_set_range_insensitive_messagef functions to set
1809         insensitive message on the slider of the volumebar. Fixes NB#61129.
1810
1811         * examples/Makefile.am:
1812         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
1813         test the new insensitive messsage functionality on HildonVolumebar.
1814
1815 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
1816
1817         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
1818         work again.
1819
1820 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
1821
1822         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
1823         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
1824         button on after clearing the trail.
1825
1826 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1827
1828         * src/hildon-code-dialog.c: Removing the separator from the dialog.
1829
1830 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
1831
1832         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
1833         by splitting the installed headers in generated and non-generated groups. Use
1834         only the non-generated headers to create the hildon-enum-types.h file.
1835
1836         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
1837
1838 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1839
1840         * src/hildon-window.c: Hide the window before performing the destroy.
1841         Should make the app closing a little tiny bit more snappy. 
1842
1843 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
1844
1845         * src/hildon-seekbar.c: add gtkrange.h header
1846         * src/hildon-caption.c: remove unused variable
1847
1848 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
1849
1850         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
1851         Loic Minier.
1852
1853 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1854
1855         [1.0.9-1 release]
1856
1857         * NEWS:
1858         * configure.ac:
1859         * debian/changelog: Updating.
1860
1861 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
1862
1863         * src/hildon-window.c (hildon_window_window_state_event,
1864         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
1865         escape timeout on focus-out-event rather than notify::is-topmost; the
1866         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
1867
1868 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1869
1870         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
1871         correct timestamp and button to gtk_menu_popup. Fixes MB#1466. 
1872
1873 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
1874
1875         * src/hildon-window: actually, you need to use the macro always, there's
1876         no private pointer in the instance structure. We should have cleaned this up
1877         when we had the chance...
1878         
1879 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
1880
1881         * src/hildon-window.c: do not get the private date from HildonWindow before
1882         it passes the g_return_if_fail check. Once it's passed the test, there's no
1883         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
1884         if you are only going to access the data once. Whitespace cleanups.
1885
1886 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
1887
1888         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
1889         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
1890
1891 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1892
1893         [1.0.8-1 release]
1894
1895         * NEWS:
1896         * configure.ac:
1897         * debian/changelog: Updating.
1898
1899 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1900
1901         * src/hildon-window.c: When destroying the window, remove (if exists) the
1902         escape timeout handler. Fixes #NB59276.
1903
1904 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1905
1906         * src/hildon-banner.c: When realizing the widget, set the window
1907         transiency. Setting the transiency in the gobject constructor is not
1908         good, as the widget is not realized at that point. Fixes: #NB56624.
1909
1910 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
1911
1912         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
1913         Add padding for future expansions.
1914
1915 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
1916
1917         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
1918         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
1919         will fake an activation on the previous to the last item of the trail, so
1920         the effect can be overrided by the developer as usual.
1921         Also change the callback for the back button to do the same thing, so its
1922         effect can be overrided too. Fixes: NB#58982
1923
1924 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1925
1926         * src/hildon-caption.c: Implementing the proper focus grabbing in the
1927         HildonCaption. Fixes NB#52379. 
1928
1929 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
1930
1931         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
1932         the internal state of the trail after the user has had the chance of executing
1933         his handler for the signal. Specifically, it may happen that the activated button
1934         is removed and the user still lets the default handler run. This would segfault
1935         previously.
1936
1937 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1938
1939         * src/hildon-font-selection-dialog.c: When the font is really big, add the
1940         scrollbar to the preview dialog. Fixes NB#54147.
1941
1942 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1943
1944         * src/hildon-date-editor.c: Changing the default max year to 2037. The
1945         max/min year properties can be altered, so the client can modify it
1946         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
1947
1948 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1949
1950         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
1951         hildonlike by default. Fixing a problem with disappearing arrows when
1952         scrolling through months and years. Fixes NB#54127. 
1953
1954 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1955
1956         * examples/hildon-date-editor-example.c: Adding error callback to the date
1957         editor example. 
1958
1959 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1960
1961         [1.0.7-1 release]
1962
1963         * NEWS:
1964         * debian/changelog:
1965         * configure.ac: Updating.
1966
1967 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1968
1969         * configure.ac: Adding a special '--enable-xan' configure option that
1970         turns off the -Werror compilation setting. Usefull for development.
1971
1972         * src/hildon-calendar.c:
1973         * src/hildon-number-editor.c:
1974         * src/hildon-time-picker.c: Adding the 5* multiplier to
1975         gtk-timeout-update.
1976
1977 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
1978
1979         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
1980         instead of g_object_ref + gtk_object_sink.
1981
1982 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1983
1984         [1.0.6-1 release]
1985
1986         * NEWS:
1987         * configure.ac:
1988         * debian/changelog: Updating.
1989
1990 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1991
1992         * src/hildon-color-chooser-dialog.c:
1993         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
1994         straight from Tommi labs.
1995
1996 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1997
1998         * examples/hildon-finger-example.c: Correcting the header file path.
1999
2000         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for 
2001         the changed signal. Fixes a small memory leak.
2002
2003 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2004
2005         * autogen.sh:
2006         * debian/rules:
2007         * src/hildon-banner.c: Importing several usefull fixes from the
2008         ubuntu-mobile branch.
2009
2010 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2011
2012         * examples/Makefile.am:
2013         * examples/hildon-finger-example.c: Adding a finger-checking code
2014         example. 
2015
2016         * src/hildon-font-selection-dialog.c: Do not allocate the color
2017         structure using the g_new. Fixes NB#54061.
2018
2019 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2020
2021         * src/hildon-helper.c: Correcting tabs in file.
2022
2023 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
2024
2025         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2026         control the visibility of the children.
2027
2028         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2029
2030 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2031
2032         [1.0.5-1 release]
2033
2034         * NEWS:
2035         * configure.ac:
2036         * debian/changelog: Updating.
2037
2038 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
2039
2040         * src/hildon-bread-crumb-trail.c:
2041         (hildon_bread_crumb_trail_size_allocate): 
2042
2043         Make the back button always a square.
2044
2045 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
2046
2047         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2048         from the .c file as it's a private file. 
2049
2050 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2051
2052         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
2053         uses slightly bigger height.
2054
2055         * src/hildon-font-selection-dialog.c: Adding some checks before
2056         freeing memory in the font selection dialog.
2057
2058 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2059
2060         * src/hildon-font-selection-dialog.c: Adding a small check when
2061         freeing memory. 
2062
2063         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
2064         buttons sensitivity on page switching.
2065
2066 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
2067
2068         * src/hildon-bread-crumb-trail.c: make the add method handle all the
2069         internal details of adding a bread crumb to the trail.
2070
2071 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2072
2073         [1.0.4-1 release]
2074
2075         * README:
2076         * configure.ac:
2077         * debian/changelog: Updating.
2078
2079         * src/hildon-bread-crumb-trail.h:
2080         * src/hildon-bread-crumb.h: Changing the API guard to
2081         HILDON_ENABLE_UNSTABLE_API.
2082
2083 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2084
2085         [1.0.3-1 release]
2086
2087         * NEWS:
2088         * configure.ac:
2089         * debian/changelog:
2090         * debian/rules:
2091         * src/hildon-helper.h: Updating.
2092
2093 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2094
2095         [1.0.2-1 release]
2096
2097         * NEWS:
2098         * configure.ac:
2099         * debian/changelog:
2100
2101 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2102
2103         * README:
2104         * configure.ac:
2105         * src/hildon-helper.h: Small fix to make the package actually compile.
2106
2107 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
2108
2109         * src/hildon-bread-crumb-trail.h:
2110         * src/hildon-bread-crumb.h:
2111
2112         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
2113         to define ENABLE_UNSTABLE_API in the code that includes these headers.
2114         
2115 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
2116         
2117         * examples/hildon-bread-crumb-trail-example.c:
2118         * src/Makefile.am:
2119         * src/hildon-bread-crumb-trail.c:
2120         * src/hildon-bread-crumb-trail.h:
2121         * src/hildon-bread-crumb.c:
2122         * src/hildon-bread-crumb.h:
2123         * src/hildon-marshalers.list:
2124         * src/hildon-bread-crumb-widget.c:
2125         * src/hildon-bread-crumb-widget.h:
2126
2127         Slight change in the widget design. The bread crumb trail API is
2128         unchanged, but HildonBreadCrumb is now an interface. A *private*
2129         implementation, hildon-bread-crumb-widget, is provided and used
2130         internally by the trail for the push_text/push_icon functions.
2131
2132         The generic push API is still available, so anyone can implement
2133         and use its own bread crumb widget.
2134         
2135 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2136
2137         * debian/rules: Fixing the shlibs.
2138
2139 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2140
2141         * src/hildon-banner.c: Fixing a problem with timed banners having
2142         their parrent destroyed before they are.
2143
2144 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
2145
2146         * src/hildon-bread-crumb.c:
2147         * src/hildon-bread-crumb.h:
2148
2149         Make the get_natural_size function a vfunc.
2150
2151 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
2152
2153         * src/hildon-bread-crumb.c:
2154         * src/hildon-bread-crumb-trail.c:
2155
2156         Some cleanups.
2157
2158 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2159
2160         [1.0.1-1 release]
2161
2162         * AUTHORS:
2163         * NEWS:
2164         * configure.ac:
2165         * debian/changelog: Updating for release.
2166
2167 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
2168
2169         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
2170         don't leak the pango layout.
2171
2172 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
2173
2174         * src/hildon.h:
2175         * examples/hildon-bread-crumb-trail-example.c:
2176
2177         Fix example.
2178
2179 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2180
2181         * debian/changelog: Removing the bug-fixed entries that were actually
2182         resolved as WONTFIX.
2183
2184         * src/hildon-date-editor.c: Removing a redundant check. Fixes
2185         NB#54182.
2186
2187 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
2188
2189         * src/hildon-bread-crumb-trail.c:
2190         * src/hildon-bread-crumb-trail.h:
2191         * src/hildon-bread-crumb.c:
2192         * src/hildon-bread-crumb.h:
2193
2194         Untabify.
2195         
2196 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
2197
2198         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
2199         until it's passed the type check.
2200
2201 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
2202
2203         * examples/hildon-bread-crumb-trail-example.c
2204
2205         Add license.
2206         
2207 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
2208
2209         * examples/Makefile.am
2210         * examples/hildon-bread-crumb-trail-example.c
2211         * src/Makefile.am
2212         * src/hildon-bread-crumb-trail.c
2213         * src/hildon-bread-crumb-trail.h
2214         * src/hildon-bread-crumb.c
2215         * src/hildon-bread-crumb.h
2216
2217         New HildonBreadCrumbTrail widget.
2218
2219 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
2220
2221         * src/hildon-range-editor.c (hildon_range_editor_init),
2222         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
2223         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
2224         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
2225         hildon_time_editor_class_init, hildon_time_editor_init),
2226         src/hildon-get-password-dialog.c (invalid_input,
2227         hildon_get_password_set_property, hildon_get_password_get_property,
2228         create_contents, hildon_get_password_dialog_set_max_characters),
2229         src/hildon-set-password-dialog.c (create_contents),
2230         src/hildon-date-editor.c (hildon_date_editor_init),
2231         src/hildon-login-dialog.c (hildon_login_dialog_init),
2232         src/hildon-number-editor.c (hildon_number_editor_init),
2233         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
2234         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
2235         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
2236          configure option and adding the respective checks in the code.
2237         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
2238         hildon_calendar_drag_data_received): fixed some build warnings.
2239
2240 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2241
2242         * debian/changelog: A 1.0.0 release notes.
2243