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