Fix changelog comment
[hildon] / ChangeLog
1 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
2
3         Reverting following commit:
4
5         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
6
7           * src/hildon-app-menu-private.h
8           * src/hildon-app-menu.[ch]
9           * src/hildon-button.[ch]
10           * src/hildon-check-button.[ch]
11           * src/hildon-entry.[ch]
12           * src/hildon-pannable-area.[ch]
13           * src/hildon-text-view.[ch]:
14           Added private field to the object's structure.
15
16         because it causes an ABI breakage. We will need to introduce these
17         changes later at some point. See NB#91636 for an extensive
18         explanation and status.
19
20 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
21
22         Patch contributed by Daniel Borgmann (danielb@openismus.com)
23
24         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
25         remove special cases that are no longer necessary.
26
27         Fixes: NB#91016 (Change toolbar sizes, simplification)
28
29 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
30
31         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
32         is shown in the cancel note.
33
34 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
35
36         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
37         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
38         (hildon_seekbar_init): Remove steppers, remove expose event.
39         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
40
41         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
42
43 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
44
45         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
46         label font to "SmallSystemFont" for vertically arranged buttons.
47
48         Fixes: NB#90662 (HildonButton "value" and "detail" text is
49         unformatted)
50
51 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
52
53         * src/hildon-check-button.c
54         (hildon_check_button_set_active, hildon_check_button_clicked):
55         Don't access private parts directly, use getters instead.
56
57 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
58
59         * src/hildon-check-button.c (hildon_check_button_new):
60         Align the contents of the check button to the left.
61
62 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
63
64         * src/hildon-pannable-area.c,
65         (hildon_pannable_area_scroll_to),
66         (hildon_pannable_area_jump_to),
67         (hildon_pannable_area_scroll_to_child),
68         (hildon_pannable_area_jump_to_child): Replace the mapped
69         precondition of these functions with the realized, it is the
70         correct state of the widget in this case. Changed the
71         documentation according to this modification.
72
73 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
74
75         Added a new EXTRA_CFLAGS option to add the deprecated define to
76         the compilation command. This way we can avoid using the define in
77         the documentation compilation.
78
79         * configure.ac: Defined EXTRA_CFLAGS.
80
81         * examples/Makefile.am:
82         * src/Makefile.am:
83         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
84
85 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
86
87         * src/hildon-picker-dialog.c:
88         Defined a utility macro with the desired touch selector height
89         Removed currently unused separator, and title_label variables from
90         private structure.
91         (hildon_picker_dialog_init): Removed code related to the creation
92         of unused private variables title_label and separator.
93         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
94         to ensure correct visualization of the touch selector inside the dialog.
95         * src/hildon-touch-selector.c
96         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
97         ensure a concrete height of the widget.
98
99 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
100
101         * src/Makefile.am:
102         * tests/Makefile.am:
103
104         Remove spurious whitespaces.
105
106 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
107
108         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
109         compilation warning after the cancel button removal.
110
111 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
112
113         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
114
115         * configure.ac: Added an AM_CONDITIONAL in order to use in the
116         Makefile.am, that way we can choose not to compile some examples
117         and tests of the deprecated widgets.
118
119         * examples/Makefile.am: Divided the sources in deprecated and
120         non-deprecated.
121
122         * src/Makefile.am: Added undef statement of the deprecated
123         symbol to the enums file generation process.
124
125         * src/hildon-color-chooser-dialog.c
126         * src/hildon-color-chooser-dialog.h
127         * src/hildon-color-button.c
128         * src/hildon-color-button.h
129         * src/hildon-color-chooser.c
130         * src/hildon-color-chooser.h
131         * src/hildon-controlbar.c
132         * src/hildon-controlbar.h
133         * src/hildon-date-editor.c
134         * src/hildon-date-editor.h
135         * src/hildon-hvolumebar.c
136         * src/hildon-hvolumebar.h
137         * src/hildon-private.c
138         * src/hildon-private.h
139         * src/hildon-range-editor.c
140         * src/hildon-range-editor.h
141         * src/hildon-seekbar.c
142         * src/hildon-seekbar.h
143         * src/hildon-time-editor.c
144         * src/hildon-time-editor.h
145         * src/hildon-time-picker.c
146         * src/hildon-time-picker.h
147         * src/hildon-volumebar.c
148         * src/hildon-volumebar.h
149         * src/hildon-vvolumebar.c
150         * src/hildon-vvolumebar.h
151         * src/hildon-bread-crumb-trail.h
152         * src/hildon-bread-crumb-trail.c
153         * src/hildon-calendar-popup.c
154         * src/hildon-calendar-popup.h
155         * src/hildon-weekday-picker.c:
156         * src/hildon-weekday-picker.h:
157         * src/hildon-bread-crumb-widget.c:
158         * src/hildon-bread-crumb-widget.h:
159         * src/hildon-bread-crumb.c:
160         * src/hildon-bread-crumb.h:
161         * src/hildon-calendar.c:
162         * src/hildon-calendar.h:
163         * src/hildon-caption.c:
164         * src/hildon-code-dialog.c:
165         * src/hildon-code-dialog.h:
166         * src/hildon-font-selection-dialog.c:
167         * src/hildon-font-selection-dialog.h:
168         * src/hildon-get-password-dialog.c:
169         * src/hildon-get-password-dialog.h:
170         * src/hildon-login-dialog.c:
171         * src/hildon-login-dialog.h:
172         * src/hildon-number-editor.c:
173         * src/hildon-number-editor.h:
174         * src/hildon-set-password-dialog.c:
175         * src/hildon-set-password-dialog.h:
176         * src/hildon-sort-dialog.c:
177         * src/hildon-sort-dialog.h: This is the list of deprecated
178         widgets.
179
180         * src/hildon-touch-selector.c:
181         * src/hildon-window.c: Added undef statement to avoid compilation
182         warnings
183
184         * tests/Makefile.am: Divided the sources in deprecated and
185         non-deprecated.
186
187         * tests/check_test.c,
188         (configure_tests): Marked the deprecated code that was adding
189         suites with deprecated tests.
190
191         Fixes: NB#91135 (Deprecate legacy hildon widgets)
192
193 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
194
195         * src/hildon-touch-selector.c: (_default_print_func): Do not
196         duplicate a string returned by gtk_tree_model_get(), it is already
197         allocated for us.
198
199         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
200         function)
201
202 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
203
204         * src/hildon-pannable-area.c
205         (hildon_pannable_area_add_with_viewport): Reviewed the complete
206         method, it had problems when adding a widget with viewport the
207         second time. Now checks if it already has a viewport and uses it.
208
209         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
210         on child)
211
212 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
213
214         * src/hildon-pannable-area.c,
215         (hildon_pannable_area_scroll_to),
216         (hildon_pannable_area_jump_to),
217         (hildon_pannable_area_scroll_to_child),
218         (hildon_pannable_area_jump_to_child): Added a precondition to the
219         scroll and jump to functions: the widget must be mapped before we
220         can safely call these functions. We have also added documentation
221         to the functions to explain how to use them in this situation.
222
223
224 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
225
226         Reviewed the threading handling of the pannable widget, we have
227         used the gdk_threads_add_timeout function instead of the usual
228         glib handlers. This avoids some problems with the threads.
229
230         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
231         (hildon_pannable_area_initial_effect),
232         (hildon_pannable_area_scroll_indicator_fade),
233         (hildon_pannable_area_button_press_cb),
234         (hildon_pannable_area_timeout),
235         (hildon_pannable_area_motion_notify_cb),
236         (hildon_pannable_area_button_release_cb),
237         (hildon_pannable_area_scroll_cb),
238         (hildon_pannable_area_scroll_to): Removed the
239         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
240         gdk_threads_add_timeout.
241
242         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
243
244 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
245
246         [Release 2.1.18]
247
248         * NEWS: updates
249         * configure.ac: bump version
250         * debian/changelog: updates
251
252 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
253
254         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
255         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
256         * src/hildon-color-chooser-dialog.c:
257         (hildon_color_chooser_dialog_init):
258         * src/hildon-font-selection-dialog.c:
259         (hildon_font_selection_dialog_init):
260         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
261
262         Remove all cancel/close-like dialogs, as these are not going to be
263         displayed at all.
264
265 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
266
267         * src/hildon-note.c: (hildon_note_rebuild),
268         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
269         when needed.
270
271         Fixes: NB#90661 (Delete dialog is displayed without NO button)
272
273 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
274
275         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
276         sure all buttons are shown, even the Cancel/Close-like ones.
277
278         Fixes: NB#90861 (Custom Confirmation dialogs should be
279         protected from cancel button removal)
280
281 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
282
283         * debian/control: Change libhildon1-examples dependency from libhildon1
284         to libhildon1-dev
285         * debian/libhildon1-examples.install
286         * debian/rules
287         * Makefile.am: Modified the final install directory for the examples on
288         package libhildon1-examples
289         * Makefile.static: Update clean target in order to remove all the binary
290         examples
291
292         Changes suggested by Claudio after review new libhildon1-examples package
293
294 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
295
296         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
297         * src/hildon-touch-selector.c: Ditto.
298
299 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
300
301         * debian/control: Added new package libhildon1-examples, in order to pack
302         the current hildon examples as documentation
303         * debian/rules: Not to compress .c files, modify some includes on the
304         examples (as normally are compiled locally, but when installed it will
305         require to include the installed libhildon1 library), and rename
306         Makefile.static
307         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
308         install all the example files on the new example package
309         * examples/Makefile.static: Added static makefile that can be used to
310         compile the examples, once installed the new example package
311         * examples: Most of the examples were modified in order to grant that
312         all use only '#include "hildon.h"', in order to be easy to prepare
313         it on the example package
314
315 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
316
317         * debian/control
318         * debian/libhildon1-dev.install
319         * debian/libhildon1-doc.install:
320         Move all gtk-doc files to a separate libhildon1-doc package.
321
322 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
323
324         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
325
326         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
327
328 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
329
330         * debian/rules: Fixed a error in order to avoid unnecessary calls
331         to autogen.sh on package building
332
333 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
334
335         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
336
337 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
338
339         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
340         header include.
341
342 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
343
344         * src/hildon-picker-button.c
345         (hildon_picker_button_finalize):
346         Free priv->done_button_text
347
348         * src/hildon-time-button.c
349         (hildon_time_button_set_time)
350         * src/hildon-picker-button.c
351         (hildon_picker_button_clicked)
352         (hildon_picker_button_selector_selection_changed)
353         (hildon_picker_button_set_selector)
354         * src/hildon-date-button.c
355         (hildon_date_button_set_date):
356         Free strings returned by hildon_touch_selector_get_current_text()
357
358         * src/hildon-button.c (hildon_button_construct_child):
359         Fix leaks in priv->image and priv->label_box
360
361         Fixes: NB#90535 (Memory leak in picker button)
362
363 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
364
365         * src/hildon-button.c: (hildon_button_get_property): Do not access
366         private elements directly, use getters instead.
367
368 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
369
370         * src/hildon-app-menu-private.h
371         * src/hildon-app-menu.c
372         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
373         Store the menu's parent window.
374
375         * src/hildon-stackable-window.c
376         (hildon_stackable_window_toggle_menu)
377         (hildon_stackable_window_finalize):
378         Set the menu's parent window when the menu is shown, unset it when
379         it is destroyed.
380
381         * src/hildon-app-menu.c
382         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
383         (hildon_app_menu_class_init):
384         Send unhandled keyboard accelerators to the parent window.
385
386 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
387
388         * src/hildon-stackable-window.c
389         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
390
391 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
392
393         * configure.ac: post release version bump
394
395 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
396
397         * NEWS: Updates
398         * configure.ac: Bump version
399         * debian/changelog: Updates
400         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
401         gtk-doc 1.10.
402
403 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
404
405         Patch contributed by Daniel Borgmann (danielb@openismus.com)
406
407         * src/hildon-gtk.h
408         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
409         GtkMenu with Hildon style.
410
411 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
412
413         * src/hildon-picker-button.c:
414         (hildon_picker_button_set_done_button_text): Set the dialog's
415         done button text here as well.
416
417         Fixes: NB#90232 (Picker button does not set the label on done button
418         for the second time)
419
420 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
421
422         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
423         warning message.
424
425 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
426
427         * src/hildon-app-menu.c (hildon_app_menu_insert)
428         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
429         the HildonAppMenu to be activatable using keyboard accelerators
430         when the menu is not being shown.
431
432         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
433
434 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
435
436         * src/hildon-stackable-window.c
437         (hildon_stackable_window_show):
438         Don't hide old windows automatically when new windows are shown:
439         this is now a task for the window manager.
440         (hildon_stackable_window_class_init)
441         (hildon_stackable_window_hide):
442         Remove windows from the stack everytime they're hidden.
443         (hildon_stackable_window_realize):
444         Don't change the _NET_WM_WINDOW_TYPE property. Use
445         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
446         it as a stackable window.
447
448         * src/hildon-program.c
449         (hildon_program_pop_window_stack):
450         Just hide the window to remove it from the stack.
451         (hildon_program_go_to_root_window):
452         Don't call gtk_widget_show(), this is now a task for the window
453         manager.
454
455         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
456
457 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
458
459         * src/hildon-button.c
460         (hildon_button_construct_child):
461         Don't pack anything in the button until text or image are
462         set. This allows adding a custom child after creating the button
463         with hildon_button_new().
464         (hildon_button_finalize, hildon_button_class_init)
465         (hildon_button_init, hildon_button_set_arrangement): Destroy the
466         alignment and the label box even when they're not packed in the
467         button.
468
469 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
470
471         * src/hildon-touch-selector.h:
472         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
473         currently the type definition was using GTK_TYPE_VBOX
474         * src/hildon-touch-selector.c:
475         Added some implementation notes in order to clarify that any other widget
476         added without the column related API will not be included on the
477         selection logic, and how the widget is freed, as some people ask about
478         it.
479         (hildon_touch_selector_remove): Reimplemented in order to free properly
480         the column related data when you remove the private hbox.
481         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
482         to get a proper HildonTouchSelectorColumn documentation
483
484 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
485
486         * src/hildon-touch-selector-entry.c:
487         (hildon_touch_selector_entry_print_func): Return NULL if there is no
488         text in the GtkEntry and there is no item selected. Fixes a
489         potential crasher.
490
491 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
492
493         * src/hildon-app-menu-private.h
494         * src/hildon-app-menu.[ch]
495         * src/hildon-button.[ch]
496         * src/hildon-check-button.[ch]
497         * src/hildon-entry.[ch]
498         * src/hildon-pannable-area.[ch]
499         * src/hildon-text-view.[ch]:
500         Added private field to the object's structure.
501
502 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
503
504         * configure.ac: post-release version bump
505
506 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
507
508         [Release 2.1.14]
509
510         * configure.ac: pre-release version bump
511         * NEWS: updates.
512         * debian/changelog: updates.
513
514 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
515
516         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
517         Disconnect the handler for HildonTouchSelector::changed.
518
519         (hildon_picker_button_selector_selection_changed): Update the button
520         value if the selection change was not triggered by the
521         HildonPickerDialog.
522
523         (hildon_picker_button_set_selector): connect to
524         HildonTouchSelector::changed.
525
526         Fixes: NB#89650 (Picker button is not updated, when selection in
527         selector has changed)
528
529 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
530
531         * src/hildon-picker-dialog.c
532         (hildon_picker_dialog_realize): Removed as not required
533         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
534         * src/hildon-picker-button.c
535         (_current_selector_empty): New function, checks if the selector is empty
536         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
537         if the current selector is empty, in order to avoid to show the dialog
538         close the dialog in this case (and shows a g_warning).
539
540         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
541
542 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
543
544         * src/hildon-pannable-area.c,
545         (hildon_pannable_area_scroll): Added clause to stop movement when
546         the child of pannable is smaller than one page.
547         (hildon_pannable_area_scroll_to): Added conditions to avoid
548         starting the scrolling movement if the child is smaller than one
549         page, the complete child is in the screen, we do not have to move.
550
551         Fixes: NB#89632 (Picker button selection doesn't change on first click)
552
553 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
554
555         * src/hildon-app-menu.c: Removed the 'columns' property, as now
556         this is managed automatically by the widget when the size of the
557         screen changes.
558
559 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
560
561         * src/hildon-picker-button.c
562         (hildon_picker_button_set_done_button_text): Make a copy of the
563         text, and free the previous value.
564
565 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
566
567         * src/hildon-touch-selector-entry.c:
568         (hildon_touch_selector_entry_print_func): Return the selected row's
569         text if the entry is empty.
570
571         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
572         entry is empty)
573
574 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
575
576         * src/hildon-touch-selector-entry.c: Minor docs fixes.
577
578 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
579
580         * doc/hildon.types
581         * src/hildon-check-button.h
582         * src/hildon-check-button.c
583         * examples/hildon-check-button-example.c:
584         HildonCheckButton is now a new widget. 'toggled' signal added.
585
586 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
587
588         * src/hildon-program-private.h
589         * src/hildon-program.c (hildon_program_init)
590         (hildon_program_finalize): Removed unused variables group_leader
591         and name from HildonProgramPrivate.
592
593 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
594
595         * src/hildon-check-button.c (hildon_check_button_set_active)
596         (hildon_check_button_get_active, hildon_check_button_new): Use
597         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
598
599 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
600
601         * src/hildon-touch-selector.h
602         (hildon_touch_selector_set_column_attributes): added deprecation
603         guard HILDON_DISABLE_DEPRECATED
604         * src/hildon-time-selector.c
605         (hildon_time_selector_set_time)
606         (hildon_time_selector_get_time): Fixed a typo on documentation
607         * src/hildon-touch-selector.c: update HildonTouchSelector and
608         HildonTouchSelectorColumn documentation
609         * src/hildon-touch-selector-entry.c: update "text-column" property
610         documentation
611         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
612         to be added to the general documentation.
613
614 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
615
616         * examples/hildon-pannable-area-example-4.c,
617         (main),
618         * examples/hildon-pannable-area-example.c,
619         (main): Modified the code in order to use the container add, with
620         viewport treeviews could have problems if they are really big.
621
622 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
623
624         * src/hildon-weekday-picker.c,
625         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
626         the agreement regarding deprecation in the library.
627
628 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
629
630         * examples/hildon-picker-button-multicolumn-example.c:
631         (main): Use custom "done" button text.
632
633         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
634         (hildon_picker_button_set_property),
635         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
636         (hildon_picker_button_init),
637         (+hildon_picker_button_get_done_button_text),
638         (+hildon_picker_button_set_done_button_text): New methods to customize
639         the "done" button label in the launched HildonPickerDialog. Also,
640         make it a property.
641
642         * src/hildon-picker-button.h: add the public API.
643
644 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
645
646         * src/hildon-date-selector.h:
647         * src/hildon-picker-dialog.h:
648         * src/hildon-time-selector.h:
649         * src/hildon-touch-selector-column.h:
650         * src/hildon-touch-selector.h:
651
652         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
653         declarations. Fixes gtk-doc warnings.
654
655 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
656
657         * src/hildon-picker-dialog.h
658         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
659         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
660
661         Fixes: NB#89329 (selectors in picker dialog are not visible when a
662         long text is set as label for done button)
663
664 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
665
666         * src/hildon-dialog.c (hildon_dialog_add_button):
667         Set fixed width to all buttons in the HildonDialog.
668
669 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
670
671         Patch contributed by Daniel Borgmann (danielb@openismus.com)
672
673         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
674         Set widget name using class name plus "-finger" or "-thumb".
675
676 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
677
678         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
679         'clicked' when the state of the button is manually changed.
680
681 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
682
683         * src/hildon-app-menu.c (hildon_app_menu_realize)
684         (hildon_app_menu_unrealize, hildon_app_menu_init)
685         (hildon_app_menu_class_init, item_visibility_changed):
686         Change the menu layout when the size of the screen changes.
687         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
688         Show warning only when changing the number of colums using the
689         property.
690
691 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
692
693         * debian/compat: Set to 5
694         * debian/control: Update dependencies.
695         * debian/libhildon1-dbg.install: Remove.
696         * debian/libhildon1-dev.install: Update according to cdbs paths.
697         * debian/libhildon1.install: Update according to cdbs paths.
698         * debian/rules: Switch to cdbs.
699
700 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
701
702         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
703         'item' variable renamed to 'filter'
704
705 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
706
707         * src/hildon-app-menu.c (hildon_app_menu_insert)
708         (hildon_app_menu_add_filter, remove_item_from_list)
709         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
710         Don't leak hidden items when the menu is destroyed.
711
712 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
713
714         * src/hildon-app-menu.c (hildon_app_menu_insert)
715         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
716         (hildon_app_menu_set_columns, item_visibility_changed)
717         (filter_visibility_changed, hildon_app_menu_repack_filters)
718         (hildon_app_menu_repack_items):
719         Repack items and filters separately.
720
721         Don't repack all items, change only the ones that are needed to
722         update the layout.
723
724 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
725
726         * src/Makefile.am: added hildon-touch-selector-column.h
727
728 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
729
730         * src/hildon-touch-selector.c: added the property "text-column" to the
731         class HildonTouchSelectorColumn, and related get/set functions
732         (_default_printf_func): updated to use "text-column" property
733         * src/hildon-touch-selector-entry.c: mark as deprecated the property
734         "text-column" in his documentation, as this is now included on
735         HildonTouchSelectorColumn. The get/set_property can still be used,
736         working as a wrapper to the concrete column "text-column" property
737         (_text_column_modified): callback added in order to handle the signal
738         "notify::text-column" of the concrete HildonTouchSelectorColumn
739         (hildon_touch_selector_entry_get_text_column)
740         (hildon_touch_selector_entry_set_text_column): Added documentation, and
741         modified in order to use the HildonTouchSelectorColumn "text-column"
742         property
743         * src/hildon-time-selector.c:
744         * src/hildon-date-selector.c:
745         * examples/hildon-touch-selector-example.c
746         * examples/hildon-touch-selector-multi-cells-example.c
747         * examples/hildon-picker-button-multicolumn-example.c
748         Set the right value to "text-column" property on the creation of a new
749         column using hildon_touch_selector_append_column()
750
751         Fixes: NB#88644 (Hardcoded first column of the model as text column)
752
753 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
754
755         * src/hildon-app-menu.c
756         (hildon_app_menu_construct_child, hildon_app_menu_init): When
757         updating the layout of the menu, don't create all widgets again,
758         just repack the items in their new places.
759
760 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
761
762         * src/hildon-time-selector.c
763         (hildon_time_selector_get_time)
764         (hildon_time_selector_set_time)
765         Added documentation of these public methods
766
767         * src/hildon-date-button.h
768         * src/hildon-touch-selector-column.h
769         * src/hildon-time-button.h
770         * src/hildon-picker-dialog.h
771         * src/hildon-time-selector.h
772         * src/hildon-picker-button.h
773         * src/hildon-touch-selector.h
774         * src/hildon-time-picker.h
775         * src/hildon-date-selector.h
776         * src/hildon-touch-selector-entry.h
777         Modified in order to use hildon-widgets code style
778
779 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
780
781         Added deprecated support to the compilation process using
782         HILDON_DISABLE_DEPRECATED
783
784         * configure.ac: Added the --disable-deprecated to the configure
785         script
786
787         * src/hildon-weekday-picker.c:
788         * src/hildon-weekday-picker.h: Deprecated widget, example of how
789         to use the deprecated support. We will update the other deprecated
790         widgets status in a new patch.
791
792 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
793
794         * configure.ac: Fixed typo with fatal warnings support, the
795         variable name was not correct
796
797 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
798
799         * src/hildon-app-menu.c
800         * src/hildon-program.c: Update documentation.
801
802 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
803
804         * configure.ac: Post-release version bump.
805
806 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
807
808         [Release 2.1.12]
809
810         * NEWS: Update.
811         * configure.ac: Pre-release version bump.
812         * debian/changelog: Updates.
813
814 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
815
816         * NEWS: Update news for previous releases.
817
818 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
819
820         * examples/hildon-touch-selector-multi-cells-example.c:
821         (create_selector): Update the example to use
822         hildon_touch_selector_append_column() with a NULL renderer and set
823         the renderers later.
824         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
825         passed a NULL renderer. This is documented behavior now.
826
827         Allow passing a NULL renderer to hildon_touch_selector_append_column().
828         This must be used if the developer wants full control on the layout of
829         the renderers to be added to the column.
830
831         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
832
833 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
834
835         * src/hildon-touch-selector.c: Documentation fixes.
836
837 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
838
839         * src/hildon-wizard-dialog-private.h: Remove image and box.
840         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
841         (hildon_wizard_dialog_set_property), (response): Completely remove
842         image/icon support, and the containers required for the layout.
843
844         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
845
846 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
847
848         * src/hildon-app-menu.c: Updated documentation.
849
850         * src/hildon-stackable-window.c
851         (hildon_stackable_window_set_main_menu): Unref the old menu after
852         ref'ing the new one.
853
854 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
855
856         * src/hildon-stackable-window.c
857         (hildon_stackable_window_set_main_menu): Unref the previous menu
858         instead of destroying it.
859
860         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
861         floating reference and set has_user_ref_count to FALSE to make
862         HildonAppMenu act like a normal ref-counted widget and not a
863         toplevel widget.
864
865         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
866         changed)
867
868 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
869
870         * src/hildon-touch-selector-column.h: new file
871         * src/hildon-touch-selector.h
872         * src/hildon-touch-selector.c
873         Implemented GtkCellLayout interface, in order to allow to configure
874         the cell layout on each individual selector column
875         (hildon_touch_selector_set_column_attributes): marked as deprecated
876         * examples/hildon-touch-selector-multi-cells-example.c
877         Example of how to use the GtkCellLayout interface on the selector
878
879         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
880
881 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
882
883         * src/hildon-app-menu.h
884         * src/hildon-app-menu.c
885         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
886         (hildon_app_menu_append, hildon_app_menu_prepend):
887         New methods to prepend, insert and move items in the menu.
888
889 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
890
891         * src/hildon-wizard-dialog.c:
892
893         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
894         button.
895         (create_title): Update logical IDs and related code.
896         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
897
898         * src/hildon-wizard-dialog.h: Note that
899         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
900         point, as it is not used anymore.
901
902         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
903
904 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
905
906         * src/hildon-note.c:
907         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
908         shown.  Do not display an icon in confirmation notes nor information
909         notes.
910         (hildon_note_set_button_text): Update logical ID for cancel button.
911
912         Fixes: NB#88850 (Update HildonNote button strings + signals)
913
914 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
915
916         * src/hildon-stackable-window.c
917         (hildon_stackable_window_set_main_menu): Fix compilation warning.
918
919 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
920
921         * src/hildon-app-menu-private.h
922         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
923         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
924         (hildon_app_menu_init, hildon_app_menu_class_init): Added
925         temporary property 'columns' to change the number of columns.
926
927 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
928
929         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
930
931         * examples/hildon-note-example.c: (on_information_clicked),
932         (on_confirmation_clicked), (on_progress_clicked), (main): Add
933         debugging information.
934         * src/hildon-note-private.h: Remove close_if_pressed_outside,
935         not needed anymore.
936         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
937         (hildon_note_rebuild): Remove special handling of tapping outside/inside
938         in order to close: this will be handled by the WM from now on.
939
940         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
941
942 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
943
944         * src/hildon-app-menu-private.h
945         * src/hildon-app-menu.c
946         (hildon_app_menu_append, hildon_app_menu_add_filter)
947         (button_visibility_changed, hildon_app_menu_apply_style)
948         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
949         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
950         layout everytime a button (item or filter) is shown or hidden.
951
952         * src/hildon-stackable-window.c
953         (hildon_stackable_window_set_main_menu): Destroy the old menu when
954         setting a new one.
955
956 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
957
958         * src/hildon-touch-selector.c:
959         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
960         that the treeview inside the touch selector is in fremantle hildon mode
961         * examples/hildon-date-button-example.c
962         * examples/hildon-picker-button-multicolumn-example.c
963         * examples/hildon-touch-selector-entry-example.c
964         * examples/hildon-touch-selector-example.c
965         * examples/hildon-time-button-example.c
966         * examples/hildon-picker-button-example.c:
967         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
968
969 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
970
971         * examples/hildon-text-view-example.c: (main): Remove the
972         gtkrc bits, now handled by the theme.
973
974 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
975
976         * src/hildon-picker-button.c (hildon_picker_button_set_active):
977         Fix memory leak
978
979 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
980
981         * po/Makefile.am: Install properly the mo files.
982         * po/en_GB.po: Update translation, to ease testing purposes.
983
984 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
985
986         * examples/hildon-picker-button-example.c: (main): Select an item
987         in the selector before setting it to the button.
988
989 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
990
991         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
992         Update button's value if the selector has an item active.
993
994         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
995         'value' with the selector)
996
997 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
998
999         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1000         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1001         (hildon_picker_button_class_init): Plug the finalize method.
1002         (hildon_picker_button_set_selector): If there's a previously set
1003         selector, unref'it before setting a new one.
1004
1005         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1006         HildonTouchSelector)
1007
1008 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
1009
1010         * src/hildon-touch-selector-entry.c:
1011         (hildon_touch_selector_entry_changed): Check if there is no text
1012         selected before setting the entry text.
1013         Fixes: NB#88576
1014
1015 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1016
1017         * src/hildon-touch-selector.h
1018         * src/hildon-touch-selector.c
1019         (hildon_touch_selector_get_active)
1020         (hildon_touch_selector_set_active): New methods to set/get the
1021         index of the selected item.
1022
1023         * src/hildon-picker-button.h
1024         * src/hildon-picker-button.c
1025         (hildon_picker_button_get_active)
1026         (hildon_picker_button_set_active): New methods to set/get the
1027         index of the selected item.
1028
1029 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
1030
1031         * configure.ac: post-release version bump.
1032
1033 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
1034
1035         Release 2.1.10-1.
1036
1037         * configure.ac: Pre-release version bump.
1038         * debian/changelog: Updates.
1039         * debian/control: Add myself as maintainer and depend on l10n
1040         packages.
1041
1042 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1043
1044         * src/hildon-window.c
1045         (hildon_window_set_main_menu)
1046         * src/hildon-stackable-window.c
1047         (hildon_stackable_window_set_main_menu):
1048         Updated documentation.
1049
1050 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1051
1052         * src/hildon-date-selector.c (hildon_date_selector_finalize):
1053         Don't free selector->priv manually.
1054         Fixes: NB#88414
1055
1056 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
1057
1058         * src/hildon-gtk.c,
1059         (hildon_gtk_window_set_progress_indicator):
1060         * src/hildon-gtk.h: Added the new API
1061         hildon_gtk_window_set_progress_indicator, it changes the state of
1062         the window progress hint.
1063
1064 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
1065
1066         * src/hildon-button.c
1067         * src/hildon-stackable-window.c: Minor documentation updates.
1068
1069 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
1070
1071         * src/hildon-stackable-window.c: Updated documentation.
1072
1073 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
1074
1075         * src/hildon-defines.h: Update margins definitions
1076         to the Fremantle sizes.
1077         Fixes: NB#88364
1078
1079 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
1080
1081         * src/hildon-touch-selector.c,
1082         (_hildon_touch_selector_set_model): Cleaning the code after
1083         review, removed g_print and #if 0 from the code.
1084
1085 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1086
1087         * src/hildon-edit-toolbar.c: Update documentation.
1088
1089 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1090
1091         * src/hildon-check-button.h
1092         * src/hildon-check-button.c
1093         (hildon_check_button_set_label, hildon_check_button_get_label)
1094         * examples/hildon-check-button-example.c
1095         (button_clicked_cb):
1096         Removed deprecated methods.
1097
1098 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1099
1100         * src/hildon-text-view.c:
1101         Add sample code to the documentation.
1102
1103         * src/hildon-entry.h
1104         * src/hildon-text-view.h:
1105         Minor cosmetic changes.
1106
1107         * src/hildon-entry.c:
1108         Add sample code to the documentation.
1109         (hildon_entry_init, hildon_entry_refresh_contents):
1110         Don't allow NULL values in the placeholder.
1111
1112 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
1113
1114         * doc/hildon-docs.sgml
1115         * doc/hildon.types
1116         * examples/Makefile.am
1117         * examples/hildon-text-view-example.c
1118         * src/Makefile.am
1119         * src/hildon-text-view.c
1120         * src/hildon-text-view.h
1121         * src/hildon.h:
1122         New HildonTextView widget, with example.
1123
1124 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1125
1126         * po/POTFILES.in: Add missing files with translatable strings.
1127         Partially fixes NB#88287.
1128
1129 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1130
1131         * examples/hildon-pannable-area-example-2.c: (main): No need to
1132         set the cellrenderer height inside hildon touch lists, the theme does
1133         that for us.
1134
1135 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1136
1137         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1138         they are integrated in the theme.
1139
1140 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
1141
1142         * examples/hildon-entry-example.c: Update the example adding
1143         widgets to modify the text and the placeholder of the HildonEntry.
1144
1145         * src/hildon-entry.c: Show the placeholder everytime the widget
1146         is empty and loses the focus.
1147
1148 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
1149
1150         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1151
1152         * src/hildon-pannable-area.c,
1153         (hildon_pannable_area_size_request): Fixed bug in height
1154         requisition, avoid increasing size and add border twice.
1155
1156 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
1157
1158         * configure.ac: postrelease version bump.
1159
1160 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
1161
1162         Release 2.1.8-1.
1163
1164         * configure.ac: Prerelease version bump.
1165         * debian/changelog: update.
1166         * debian/rules: make -dbg package contain useful debugging symbols.
1167
1168 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1169
1170         * src/hildon-dialog.h
1171         * src/hildon-dialog.c
1172         (hildon_dialog_add_button, hildon_dialog_add_buttons):
1173         New methods to add buttons with finger size.
1174         (hildon_dialog_new_with_buttons):
1175         Create buttons with finger size.
1176
1177         * examples/hildon-dialog-example.c (main): Use HildonDialog
1178         methods to add buttons.
1179
1180 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1181
1182         * src/hildon-entry.c: Updated HildonButton documentation.
1183
1184 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1185
1186         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1187         button value label with (FALSE, FALSE) to prevent NB#88126 from
1188         being triggered.
1189
1190 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
1191
1192         * examples/hildon-pannable-area-example.c,
1193         (main): Removed examples panning a vbox inside a pannable
1194         area. Check bug NB#87965
1195
1196 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
1197
1198         Patch contributed by Kris Rietveld (kris@imendio.com)
1199
1200         * src/hildon-pannable-area.c,
1201         (hildon_pannable_area_get_topmost): replaced the get_geometry with
1202         get_size and get_position, this saves an X server roundtrip.
1203
1204 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
1205
1206         * doc/hildon-docs.sgml
1207         * doc/hildon.types
1208         * examples/Makefile.am
1209         * examples/hildon-entry-example.c
1210         * src/Makefile.am
1211         * src/hildon-entry.c
1212         * src/hildon-entry.h
1213         * src/hildon.h:
1214         New HildonEntry widget, with example.
1215
1216 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
1217
1218         * src/hildon-button.c (hildon_button_construct_child): Pack the
1219         image with expand == fill == FALSE. This is a workaround for a bug
1220         in GtkBox.
1221
1222 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
1223
1224         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1225         labels for the text column, to make it more look more dynamic.
1226
1227 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
1228
1229         * src/hildon-time-selector.c
1230         Define gettext auxiliar macro N_
1231         (_create_minutes_model)
1232         (_create_hours_model)
1233         (_create_ampm_model): use of strftime in order to fill the model
1234         * src/hildon-date-selector.c
1235         (hildon_date_selector_finalize):
1236         (_locales_init): remove the logic related to get the name of the months
1237         using nl_langinfo, as it is not required anymore
1238         (_create_day_model)
1239         (_create_year_model)
1240         (_create_month_model)
1241         (_update_day_model): use of strftime in order to fill the model properly
1242
1243
1244 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
1245
1246         * src/hildon-button.h
1247         * src/hildon-button.c (hildon_button_get_image): New method to
1248         retrieve the image.
1249
1250 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
1251
1252         * src/hildon-touch-selector.c:
1253         (hildon_touch_selector_remove_column): Remove from the correct parent
1254         and also remove the list element and free it.
1255         Fixes: NB#88049
1256
1257 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
1258
1259         * src/hildon-time-selector.c
1260         (_create_hours_model): change the range on 12h ampm format in order to use
1261         a 12-11 range instead of previous 01-12 range
1262         (hildon_time_selector_set_time): change the way to select the current time
1263         on 12h ampm format, due the change on the range
1264         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1265         Fixes: NB#88036
1266
1267 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
1268
1269         * src/hildon-touch-selector.c
1270         (hildon_date_touch_selector_get_selected): fix the selection mode check,
1271         in order to allow use this function on multiple row selection mode if
1272         the column is different that the first one
1273         Fixes: NB#88047
1274
1275 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
1276
1277         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1278         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1279
1280 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1281
1282         * src/hildon-date-selector.h: clean some comments, now on the .c
1283         * src/hildon-date-selector.c
1284         (hildon_date_selector_select_month): first implementation
1285         (hildon_date_selector_select_day): added documentation, reimplemented
1286         using hildon_date_selector_select_current_date to avoid repeat code
1287         Fixes: NB#88027
1288
1289 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
1290
1291         Reviewed interaction logic based on device experiences, refactored
1292         code.
1293
1294         * src/hildon-pannable-area.c,
1295         (hildon_pannable_area_class_init): Updated default vmax speed.
1296         (hildon_pannable_area_calculate_velocity): Added this function, it
1297         avoids duplicate valocity calculation. Adjusted calculation to
1298         avoid problems with zero dist events.
1299
1300         (hildon_pannable_area_motion_notify_cb): Now we use the
1301         calculate_velocity function.
1302
1303 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1304
1305         * src/hildon-date-selector.c
1306         (hildon_date_selector_select_current_date): fix the day range check
1307         as it failed using the last day of the current month
1308         Fixes NB#88023
1309
1310 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1311
1312         * src/hildon-touch-selector.c
1313         (hildon_touch_selector_get_num_columns): added a parameter validation
1314         Fixes: NB#88022
1315
1316 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
1317
1318         * examples/Makefile.am
1319         * examples/hildon-edit-toolbar-example.c: Example of the
1320         HildonEditToolbar widget.
1321
1322 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1323
1324         * configure.ac: postrelease version bump.
1325
1326 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1327
1328         Release 2.1.6-1.
1329
1330         * configure.ac: prerelease version bump.
1331         * debian/changelog: update.
1332
1333 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1334
1335         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1336         renderer to display stock icons in the touch list. Also, set the sizes
1337         to the recommended in the style guide.
1338
1339 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1340         * src/hildon-touch-selector.h
1341         (hildon_touch_selector_set_active_iter): renamed, now is
1342         hildon_touch_selector_select_iter
1343         (hildon_touch_selector_get_active_iter): renamed, now is
1344         hildon_touch_selector_get_selected
1345         (hildon_touch_selector_unselect_iter): added
1346         * src/hildon-touch-selector.c
1347         Update after API modification (methods renamed)
1348         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1349         order to avoid problems selecting multiple elements on the column
1350         (hildon_touch_selector_unselect_iter): added the implementation
1351         * src/hildon-time-selector.c
1352         * src/hildon-date-selector.c
1353         * src/hildon-touch-selector-entry.c
1354         Update methods calls after hildon-touch-selector.h API modification (methods
1355         renamed)
1356
1357 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
1358
1359         * src/hildon-stackable-window.c
1360         (hildon_stackable_window_finalize): Call the parent class's finalize.
1361
1362 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1363
1364         * examples/hildon-touch-selector-example.c: (create_selector): Use
1365         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1366         cell height.
1367
1368 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1369
1370         * examples/hildon-touch-selector-example.c: (create_selector): Do not
1371         set a cell background color, to respect theming.
1372
1373 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
1374
1375         * doc/hildon-docs.sgml
1376         * doc/hildon.types
1377         * src/Makefile.am
1378         * src/hildon-edit-toolbar.c
1379         * src/hildon-edit-toolbar.h
1380         * src/hildon.h: New HildonEditToolbar widget.
1381
1382 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
1383
1384         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1385         extra GtkVBox.
1386
1387 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1388         * src/hildon-touch-selector.c
1389         (_create_new_column): use g_object_set instead of two g_object_set_property
1390
1391 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1392         * src/hildon-touch-selector.c
1393         (_create_new_column): use of hildon_gtk_tree_view_new to create
1394         the treeview, instead of use directly g_object_new
1395         (_create_new_column): update the property name "vindicator-mode" for the
1396         new one "vscrollbar-policy"
1397         * examples/hildon-date-button-example.c
1398         * examples/hildon-picker-button-multicolumn-example.c
1399         * examples/hildon-touch-selector-entry-example.c
1400         * examples/hildon-touch-selector-example.c
1401         * examples/hildon-time-button-example.c
1402         * examples/hildon-picker-button-example.c
1403         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1404         to all the treeviews inside a pannable area.
1405
1406 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
1407
1408         * src/hildon-button.h
1409         * src/hildon-button.c (hildon_button_init)
1410         (hildon_button_set_arrangement, hildon_button_set_alignment)
1411         (hildon_button_set_title_alignment)
1412         (hildon_button_set_value_alignment)
1413         (hildon_button_set_image_alignment)
1414         (hildon_button_construct_child): New methods to set the alignment
1415         of the individual components of the button (title, value,
1416         image). Also, new method to alter the xscale and yscale properties
1417         of the GtkAlignment inside the button, so more complex layouts can
1418         be created.
1419
1420 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
1421
1422         * src/hildon-button.c (hildon_button_style_set)
1423         (hildon_button_class_init, hildon_button_set_arrangement)
1424         (hildon_button_construct_child): Apply style properties
1425         correctly. Use the 'image-spacing' style property too.
1426
1427 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
1428
1429         * src/hildon-app-menu.c (hildon_app_menu_style_set)
1430         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1431         correctly.
1432
1433 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
1434
1435         * src/hildon-pannable-area.c,
1436         (hildon_pannable_area_size_request): Fixed problem with
1437         pannable-area size_request.
1438
1439 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
1440
1441         Added management for the grab-focus to a child widget, like a
1442         range, we need to fade out the scrollbar when releasing.
1443
1444         * src/hildon-pannable-area.c,
1445         (hildon_pannable_area_init): Connected the grab-focus signal to
1446         the callback.
1447         (hildon_pannable_area_grab_notify): Added this function in order
1448         to manage the situation when the grab-focus ends. We have to
1449         fade-out the scrollbar.
1450
1451 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
1452
1453         * src/hildon-app-menu.c: Minor documentation update.
1454
1455 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
1456
1457         * src/hildon-app-menu.c
1458         * examples/hildon-app-menu-example.c (create_menu): Update
1459         examples and documentation to explain how to connect callbacks.
1460
1461 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
1462
1463         * examples/hildon-button-example.c
1464         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1465         hildon_stackable_window_new instead of gtk_window_new
1466
1467 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
1468
1469         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1470         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1471         (hildon_pannable_area_set_property),
1472         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1473         (hildon_pannable_area_unrealize),
1474         (hildon_pannable_area_size_request),
1475         (hildon_pannable_area_size_allocate),
1476         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1477         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1478         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1479         (hildon_pannable_area_initial_effect),
1480         (hildon_pannable_area_redraw),
1481         (hildon_pannable_area_scroll_indicator_fade),
1482         (hildon_pannable_area_expose_event),
1483         (hildon_pannable_area_get_topmost), (synth_crossing),
1484         (hildon_pannable_area_button_press_cb),
1485         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1486         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1487         (hildon_pannable_area_motion_notify_cb),
1488         (hildon_pannable_area_button_release_cb),
1489         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1490         (hildon_pannable_area_remove),
1491         (hildon_pannable_calculate_vel_factor): Widget refactorization,
1492         chage the code layout to a more GtkWidget like. Review the use of
1493         variables.
1494
1495 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
1496
1497         * examples/hildon-pannable-area-example-4.c,
1498         (main): Modified the name of the hindicator_mode to
1499         hscrollbar_visible
1500
1501         * src/hildon-pannable-area.c,
1502         (hildon_pannable_area_class_init),
1503         (hildon_pannable_area_motion_notify_cb),
1504         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1505         we have reduced the amount of signals and managed reviewed its
1506         rationale. Changed the default decelerate value.
1507
1508         (hildon_pannable_area_add),
1509         (hildon_pannable_area_redraw): Refactored functions.
1510
1511         (hildon_pannable_area_init),
1512         (hildon_pannable_area_get_property),
1513         (hildon_pannable_area_set_property):
1514         (hildon_pannable_draw_vscroll),
1515         (hildon_pannable_draw_hscroll),
1516         (hildon_pannable_area_initial_effect),
1517         (hildon_pannable_area_expose_event),
1518         (hildon_pannable_area_scroll),
1519         (hildon_pannable_area_button_press_cb),
1520         (hildon_pannable_area_realize): Replaced the names hindicator_mode
1521         and vindicator_mode with hscrollbar_policy and
1522         vscrollbar_policy. Replaced hscroll and vscroll with
1523         hscroll_visible and vscroll_visible.
1524
1525         (hildon_pannable_area_refresh): Refactor the function, remove
1526         variables and check the calls to this function, added resize
1527         conditions in case the children change their layout.
1528
1529         (hildon_pannable_area_size_request): Added more detailed
1530         size_request calculation.
1531
1532
1533 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
1534
1535         * src/hildon-color-chooser.c
1536         (init_borders): use the correct gtk_border_free instead of g_free, to
1537         avoid a crash when this widget is used (ie: the three color selection
1538         examples)
1539
1540 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
1541
1542         * src/hildon-check-button.c,
1543         (hildon_check_button_set_active): Fixed problem when setting the
1544         active value, the widget was not redrawn.
1545
1546 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
1547
1548         * src/hildon-pannable-area.c,
1549         (hildon_pannable_area_refresh),
1550         (hildon_pannable_area_scroll),
1551         (hildon_pannable_area_motion_notify_cb): Small code style change.
1552
1553         (hildon_pannable_area_class_init): Default initial_hint set to
1554         FALSE, it is not in the specs.
1555
1556         (hildon_pannable_area_initial_effect),
1557         (hildon_pannable_area_expose_event),
1558         (hildon_pannable_area_map),
1559         (hildon_pannable_area_init): Moved the launching point of the
1560         initial effect, it was in map but the sizes where not correct in
1561         that method so we do not know if we have the reproduce it. Now it
1562         is placed in the expose_event method and uses a variable to
1563         reproduce it just once.
1564
1565 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
1566
1567         * src/hildon-pannable-area.c,
1568         (hildon_pannable_draw_vscroll),
1569         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1570         position allowed for the scrollbars.
1571
1572         (hildon_pannable_area_size_allocate): Small style change.
1573
1574 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
1575
1576         * src/hildon-pannable-area.c,
1577         (hildon_pannable_area_scroll_indicator_fade),
1578         (hildon_pannable_area_button_press_cb),
1579         (hildon_pannable_area_button_release_cb),
1580         (hildon_pannable_area_scroll_cb),
1581         (hildon_pannable_area_expose_event),
1582         (hildon_pannable_area_init): Added the define parameter
1583         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1584         and refactor the fade variable.
1585
1586 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
1587
1588         * src/hildon-pannable-area.c,
1589         (hildon_pannable_area_redraw),
1590         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1591         lines, we were reimplemeting the redraw code.
1592
1593 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
1594
1595         * src/hildon-pannable-area.c,
1596         (hildon_pannable_area_scroll_cb),
1597         (hildon_pannable_area_realize),
1598         (hildon_pannable_area_class_init): Added scroll_event management
1599         for pannable area, now we can scroll the usual desktop method.
1600
1601         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1602         initialization of the parameters should depend on idle_id.
1603
1604         (hildon_pannable_area_init),
1605         (hildon_pannable_area_map): Small code style modifications
1606
1607 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
1608
1609         * src/hildon-pannable-area.c
1610         (hildon_pannable_area_button_press_cb),
1611         (hildon_pannable_area_motion_notify_cb),
1612         (hildon_pannable_area_button_release_cb),
1613         (hildon_pannable_area_size_allocate),
1614         (hildon_pannable_area_scroll_to): Improved the timeouts
1615         management, we avoid creating them each time.
1616
1617 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
1618
1619         * src/hildon-pannable-area.c:
1620         (hildon_pannable_area_refresh),
1621         (hildon_pannable_area_motion_notify_cb),
1622         (hildon_pannable_area_class_init):
1623         * src/hildon-pannable-area.h:
1624         * src/hildon-touch-selector.c
1625         (_create_new_column):
1626         * examples/hildon-pannable-area-example-4.c:
1627         (horizontal_movement),
1628         (vertical_movement),
1629         (main):
1630         Replaced the names of enums in the HildonPannableArea:
1631            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
1632               HILDON_MOVEMENT_MODE_*
1633            -  HILDON_PANNABLE_AREA_MOV_* ->
1634               HILDON_MOVEMENT_*
1635            - Removed HildonPannableAreaIndicatorMode, now we
1636              use GtkPolicyType
1637
1638 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
1639
1640         * examples/hildon-pannable-area-touch-grid-example.c
1641         * examples/hildon-pannable-area-touch-list-example.c: Fix
1642         compilation warnings.
1643
1644 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
1645
1646         * src/hildon-gtk.c (hildon_gtk_button_new)
1647         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1648         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1649         images overriding the value of the "gtk-button-images" setting.
1650
1651 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
1652
1653         * src/hildon-check-button.c (hildon_check_button_new):
1654         Instead of using a custom container, display the label and the
1655         checkbox using the standard GtkButton API.
1656
1657         * examples/hildon-check-button-example.c (main): Don't use
1658         hildon_check_button_set_label() anymore
1659
1660         * src/hildon-check-button.h
1661         * src/hildon-check-button.c
1662         (hildon_check_button_set_label, hildon_check_button_get_label):
1663         Set as deprecated, now we're using gtk_button_{get,set}_label()
1664
1665 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
1666
1667         * src/hildon-pannable-area.c,
1668         (hildon_pannable_area_get_topmost): Fixed bug with click in the
1669         GtkTreeview first line we detected it after the inclusion of the
1670         GtkWindowImpl in gtk+. We now check if the window is visible, not
1671         just if the pointer is over the window.
1672         (hildon_pannable_axis_scroll),
1673         (hildon_pannable_area_expose_event): Small style changes.
1674
1675 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
1676
1677         * src/hildon-button.c: Update documentation.
1678
1679 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
1680
1681         * examples/hildon-button-example.c: Add a switch to show images in
1682         the buttons.
1683
1684 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
1685
1686         * doc/hildon-docs.sgml: Some docs reorganization.
1687
1688 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1689
1690         * examples/hildon-pannable-area-touch-list-example.c
1691         (create_tree_view)
1692         * examples/hildon-pannable-area-touch-grid-example.c
1693         (create_icon_view): Use gtk_{tree,icon}_view_new() and
1694         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1695         Fix memory leak when setting the tree model.
1696
1697 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1698
1699         Released 2.1.4
1700
1701 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
1702
1703         * doc/hildon.types: Remove duplicated hildon_window_get_type
1704         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1705         documentation comment.
1706
1707 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1708
1709         * doc/Makefile.am: Complete list of private headers.
1710
1711 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1712
1713         * doc/hildon-docs.sgml
1714         * src/hildon-app-menu.c
1715         * src/hildon-bread-crumb.c
1716         * src/hildon-button.c
1717         * src/hildon-gtk.c
1718         * src/hildon-program.c
1719         * src/hildon-stackable-window.c
1720         * src/hildon-window.c: Lots of documentation updates.
1721
1722 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1723
1724         * debian/control: Depend on Gtk 2:2.12.9-0osso3
1725
1726         * configure.ac: Require Gtk+ 2.12.9 at least
1727
1728 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
1729
1730         * src/hildon-pannable-area.c
1731         (hildon_pannable_area_scroll_indicator_fade),
1732         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1733         to protect the return of this timeout callbacks, avoiding deadlocks.
1734
1735 2008-08-12  Christian Dywan  <christian@imendio.com>
1736
1737         * src/hildon-*.c
1738         * src/hildon-*.h: Ensure a consistent include order,
1739         include <gtk/gtk.h> instead of particular files and
1740         only include the topmost header in the gtk stack. See NB #39857
1741
1742 2008-08-12  Christian Dywan  <christian@imendio.com>
1743
1744         * src/hildon-picker-dialog.c
1745         * src/hildon-touch-selector.c: Fix warnings about unused and
1746         uninitialized variables.
1747
1748 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1749
1750         * examples/Makefile.am
1751         * examples/hildon-check-button-example.c: Example of the hildon
1752         check button.
1753
1754 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1755
1756         * src/hildon-window.h
1757         * src/hildon-window.c (hildon_window_class_init)
1758         (hildon_window_unset_program): Don't make
1759         hildon_window_unset_program a virtual function anymore.
1760
1761         * src/hildon-stackable-window.c: Update documentation
1762
1763 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1764
1765         * doc/Makefile.am
1766         * doc/hildon-docs.sgml
1767         * doc/visual_index.xml
1768         * src/hildon-defines.c
1769         * src/hildon-gtk.c
1770         * src/hildon-helper.c
1771         * src/hildon-range-editor.c: Lots of documentation fixes.
1772
1773 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1774
1775         * examples/hildon-picker-button-multicolumn-example.c
1776         (create_touch_selector): Fix compilation warning.
1777
1778 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1779
1780         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1781         (hildon_pannable_area_button_release_cb)
1782         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1783
1784 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1785
1786         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1787         assertion.
1788
1789 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1790
1791         * src/hildon-bread-crumb-trail.h
1792         * src/hildon-date-editor.c
1793         * src/hildon-date-selector.c
1794         * src/hildon-pannable-area.c
1795         * src/hildon-picker-dialog.c
1796         * src/hildon-time-selector.c
1797         * src/hildon-touch-selector-entry.c
1798         * src/hildon-touch-selector.c
1799         * src/hildon-touch-selector.h: Misc documentation fixes
1800
1801 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1802
1803         * examples/hildon-date-editor-example.c (main): Updated date
1804         editor example.
1805
1806         * examples/hildon-note-example.c (on_confirmation_clicked):
1807         Updated confirmation note example.
1808
1809         * src/hildon-date-editor.c
1810         * src/hildon-note.c: Updated sample programs in documentation.
1811         Fixes: NB#87437
1812
1813 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
1814
1815         * src/hildon-date-button.h:
1816         * src/hildon-picker-button.h:
1817         * src/hildon-time-button.c:
1818         * src/hildon-time-button.h:
1819
1820         Some declarations changes to allow gtk-doc to document the widgets
1821         properly.
1822
1823 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
1824
1825         * src/hildon-date-button.c: Document the widget.
1826         * src/hildon-time-button.c: Document the widget.
1827
1828 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
1829
1830         * src/hildon-picker-button.c: Document the widget.
1831         * src/hildon-touch-selector-entry.c: Document the widget.
1832
1833 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
1834
1835         * doc/hildon-docs.sgml
1836         * src/Makefile.am
1837         * src/hildon.h
1838         * src/hildon-check-button.h
1839         * src/hildon-check-button.c: New functions to create the Hildon
1840         Touch Checkbox.
1841
1842         * src/hildon-gtk.h
1843         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1844
1845 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
1846
1847         * src/hildon-button.h
1848         * src/hildon-button.c
1849         (hildon_button_add_title_size_group)
1850         (hildon_button_add_value_size_group)
1851         (hildon_button_add_image_size_group)
1852         (hildon_button_add_size_groups): New functions to set size groups
1853         for the button labels and image.
1854         (hildon_button_new_full): Removed
1855
1856 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
1857
1858         * src/hildon-time-selector.c
1859         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1860         in order to avoid a crash if gconf is not available
1861
1862 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
1863
1864         * src/hildon-button.c (hildon_button_set_arrangement)
1865         (hildon_button_construct_child): Don't construct the button child
1866         before setting the arrangement.
1867
1868 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
1869
1870         * src/hildon-program-private.h
1871         * src/hildon-program.c
1872         * src/hildon-program.h
1873         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1874         (hildon_program_peek_window_stack)
1875         (hildon_program_pop_window_stack)
1876         (hildon_program_go_to_root_window): HildonProgram now has a
1877         separate list for stackable windows. Functions are provided to
1878         manage that list with a stack-like API.
1879
1880         * src/hildon-stackable-window.c: Stackable window management is
1881         now much simpler with the new HildonProgram API. Windows no
1882         longer need to be manually added to the program, they're
1883         automatically pushed to the top of the stack when shown.
1884
1885         * examples/hildon-stackable-window-example.c: Updated example to
1886         reflect the API changes.
1887
1888 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
1889
1890         * src/hildon-touch-selector.c: Comment out unimplemented
1891         hildon_touch_selector_insert_column() to avoid a compile warning.
1892
1893 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
1894
1895         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1896         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1897         (hildon_touch_selector_set_column_selection_mode),
1898         (_hildon_touch_selector_set_model),
1899         (hildon_touch_selector_set_model):
1900
1901         Complete review of HildonTouchSelector documentation.
1902
1903 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
1904
1905         * doc/hildon-docs.sgml
1906         * src/Makefile.am
1907         * src/hildon.h
1908         * src/hildon-gtk.h
1909         * src/hildon-gtk.c: Convenience functions for standard Gtk
1910         widgets, used to easily perform frequent operations.
1911
1912         * src/hildon-button-helpers.h
1913         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1914
1915         * src/hildon-helper.h
1916         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1917         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1918
1919         * src/hildon-button.h
1920         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1921
1922 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
1923
1924         * src/hildon-button.c (hildon_button_init)
1925         (hildon_button_set_arrangement, hildon_button_construct_child):
1926         Pack the image and the labels inside the same GtkAlignment so
1927         gtk_button_set_alignment() can be used
1928
1929 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
1930
1931         * src/hildon-button.h
1932         * src/hildon-button.c
1933         (hildon_button_init, hildon_button_set_image)
1934         (hildon_button_set_image_position)
1935         (hildon_button_construct_child): New functions to add an image to
1936         the HildonButton.
1937
1938 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
1939
1940         * src/hildon-date-button.c
1941         * src/hildon-picker-button.c
1942         * src/hildon-time-button.c
1943         * src/hildon-button.c:
1944         (hildon_button_class_init): "size-flags" renamed to "size"
1945         (hildon_button_set_title): Hide the title label if set to NULL.
1946
1947 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
1948
1949         HildonButtonFlags split into HildonButtonArrangement (to set the
1950         button layout) and HildonSizeType (which can be used for any
1951         widget).
1952
1953         * src/hildon-button.h
1954         * src/hildon-button.c
1955         (hildon_button_class_init)
1956         (hildon_button_set_arrangement)
1957         (hildon_button_set_property): New "size-flags"
1958         property. "arrangement-flags" renamed to "arrangement".
1959         (hildon_button_new, hildon_button_new_with_text)
1960         (hildon_button_new_full): Constructors updated to reflect type changes.
1961
1962         * src/hildon-helper.h
1963         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1964         to set the size of a widget.
1965
1966         * src/Makefile.am
1967         * src/hildon.h
1968         * src/hildon-button-helpers.c
1969         * src/hildon-button-helpers.h: New hildon-button-helpers module.
1970
1971         * src/hildon-date-button.c
1972         * src/hildon-date-button.h
1973         * src/hildon-picker-button.c
1974         * src/hildon-picker-button.h
1975         * src/hildon-time-button.c
1976         * src/hildon-time-button.h: Updated widgets to reflect
1977         HildonButton API changes.
1978
1979         * examples/hildon-button-example.c
1980         * examples/hildon-date-button-example.c
1981         * examples/hildon-picker-button-example.c
1982         * examples/hildon-picker-button-multicolumn-example.c
1983         * examples/hildon-time-button-example.c
1984         * examples/hildon-touch-selector-entry-example.c
1985         * examples/hildon-touch-selector-example.c: Updated examples to
1986         reflect HildonButton API changes.
1987
1988 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
1989
1990         * doc/hildon-docs.sgml:
1991         * doc/hildon.types:
1992         * examples/Makefile.am:
1993         * examples/hildon-touch-selector-entry-example.c:
1994         * src/Makefile.am:
1995         * src/hildon-touch-selector-entry.c:
1996         * src/hildon-touch-selector-entry.h:
1997         * src/hildon.h:
1998
1999         Moved HildonTouchSelectorEntry from sandbox. Added its
2000         documentation and examples.
2001
2002 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
2003
2004         * src/hildon-touch-selector.h:
2005         * examples/hildon-picker-button-multicolumn-example.c:
2006         (hildon_touch_selector_append_text_column): Add a gboolean
2007         parameter to determine if text must be centered in the column.
2008
2009         * src/hildon-date-selector.c: (hildon_date_selector_init):
2010         * src/hildon-time-selector.c: (hildon_time_selector_init):
2011         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2012         (create_touch_selector): Update widgets and example to reflect
2013         the API change.
2014
2015 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
2016
2017         * src/hildon-touch-selector.c:
2018         (hildon_touch_selector_set_active_iter): Set also the cursor in
2019         the active row.
2020
2021 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
2022
2023         * doc/hildon-docs.sgml
2024         * doc/hildon.types
2025         * src/Makefile.am
2026         * src/hildon-toggle-button.c
2027         * src/hildon-toggle-button.h
2028         * src/hildon.h: Removed HildonToggleButton widget, a derived
2029         class is not necessary for this.
2030
2031 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
2032
2033         * src/hildon-pannable-area.c,
2034         (hildon_pannable_area_realize),
2035         (hildon_pannable_area_size_allocate): Code refactoring, add tests
2036         for negative sizes.
2037
2038 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
2039
2040         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2041         "done" button the default widget for the dialog.
2042
2043 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2044
2045         * src/hildon-touch-selector.c:
2046         (hildon_touch_selector_class_init),
2047         (hildon_touch_selector_get_property),
2048         (_hildon_touch_selector_set_model),
2049         (_hildon_touch_selector_has_multiple_selection),
2050         (hildon_touch_selector_has_multiple_selection):
2051         Add a "has-multiple-selection" property with a virtual
2052         has_multiple_selection() method to allow derived classes to
2053         override the default value for it. See the method and property
2054         documentation for details.
2055
2056         * src/hildon-touch-selector.h: Add the new API.
2057
2058         * src/hildon-picker-dialog.c: (requires_done_button): Call
2059         hildon_touch_selector_has_multiple_selection() instead of
2060         determining the need for a button itself.
2061
2062 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2063
2064         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2065         (_hildon_touch_selector_set_model),
2066         (hildon_touch_selector_set_model): Move working code to
2067         _hildon_touch_selector_set_mode(). Call the class method instead.
2068
2069         * src/hildon-touch-selector.h: Add (*set_model) to
2070         HildonTouchSelectorClass.
2071
2072         Make hildon_touch_selector_set_model() a virtual method, so that
2073         derived classes can extend it and do fancy stuff with the model.
2074
2075 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2076
2077         * configure.ac: Set back the tarname in AC_INIT to hildon.
2078
2079 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2080
2081         Release 2.1.3
2082
2083         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2084         instead of libesd (NB#86876). Volume handling is still an open issue.
2085
2086         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2087         cleanups.
2088
2089 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
2090
2091         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2092         (hildon_touch_selector_append_column): Make the widget a GtkVBox
2093         derived class to ease placement of an entry widget in
2094         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2095         end, where the selector columns are packed now.
2096
2097 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
2098
2099         * src/hildon-picker-button.c: Removed the simple _text() API.
2100         * src/hildon-picker-button.h: Likewise.
2101
2102         * src/hildon-touch-selector.h:
2103         * src/hildon-touch-selector.c:
2104         (hildon_touch_selector_new_text),
2105         (hildon_touch_selector_append_text),
2106         (hildon_touch_selector_prepend_text),
2107         (hildon_touch_selector_insert_text):
2108
2109         Moved the simple _text() API from HildonPickerButton to
2110         HildonTouchPicker, to provide better escalability and not to tie
2111         that API to HildonPickerButton.
2112
2113         * examples/hildon-picker-button-example.c: (main): Example updated.
2114
2115 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2116
2117         * src/hildon-button.c: Updated documentation.
2118
2119         * examples/hildon-button-example.c: Add the posibility to create
2120         the buttons using horizontal layout for title and value.
2121
2122 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2123
2124         * src/hildon-app-menu-private.h
2125         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2126         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2127         GtkSizeGroup for the filters, use the 'homogeneous' property of
2128         the box instead.
2129
2130 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2131
2132         * examples/hildon-button-example.c: Updated example.
2133
2134 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
2135
2136         * doc/hildon-docs.sgml:
2137         * doc/hildon.types:
2138
2139         Update documentation.
2140
2141         * examples/Makefile.am: Update renamed examples.
2142
2143         * examples/hildon-picker-button-multicolumn-example.c:
2144         (create_touch_selector), (main): Update after the rename.
2145
2146         * examples/hildon-touch-picker-example.c: Removed.
2147         * examples/hildon-touch-selector-example.c: (value_changed),
2148         (create_selector), (get_visible_content), (main): Renamed from
2149         hildon-touch-picker-example.c
2150
2151         * src/Makefile.am: Updated renamed files.
2152
2153         * src/hildon-date-button.c: (hildon_date_button_init),
2154         (hildon_date_button_get_date), (hildon_date_button_set_date):
2155         * src/hildon-date-selector.c: (hildon_date_selector_init),
2156         (_custom_print_func), (_update_day_model),
2157         (_manage_selector_change_cb),
2158         (hildon_date_selector_select_current_date),
2159         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2160         * src/hildon-date-selector.h:
2161         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2162         (hildon_picker_button_set_property),
2163         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2164         (hildon_picker_button_init), (hildon_picker_button_new_text),
2165         (hildon_picker_button_append_text),
2166         (hildon_picker_button_prepend_text),
2167         (hildon_picker_button_insert_text),
2168         (hildon_picker_button_set_selector),
2169         (hildon_picker_button_get_selector):
2170         * src/hildon-picker-button.h:
2171         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2172         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2173         (_update_title_on_selector_changed_cb), (requires_done_button),
2174         (_hildon_picker_dialog_set_selector),
2175         (hildon_picker_dialog_set_selector),
2176         (hildon_picker_dialog_get_selector):
2177         * src/hildon-picker-dialog.h:
2178         * src/hildon-time-button.c: (hildon_time_button_init),
2179         (hildon_time_button_get_time), (hildon_time_button_set_time):
2180         * src/hildon-time-selector.c: (hildon_time_selector_init),
2181         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2182         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2183         * src/hildon-time-selector.h:
2184         * src/hildon.h:
2185
2186         Massive code updates after the rename.
2187
2188         * src/hildon-touch-picker.c: Removed.
2189         * src/hildon-touch-picker.h: Removed.
2190
2191         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2192         (hildon_touch_selector_init), (hildon_touch_selector_map),
2193         (hildon_touch_selector_remove), (_default_print_func),
2194         (_selection_changed_cb), (_create_new_column),
2195         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2196         (hildon_touch_selector_append_text_column),
2197         (hildon_touch_selector_remove_column),
2198         (hildon_touch_selector_set_column_attributes),
2199         (hildon_touch_selector_insert_column),
2200         (hildon_touch_selector_get_num_columns),
2201         (hildon_touch_selector_get_column_selection_mode),
2202         (hildon_touch_selector_set_column_selection_mode),
2203         (hildon_touch_selector_set_print_func),
2204         (hildon_touch_selector_get_print_func),
2205         (hildon_touch_selector_get_active_iter),
2206         (hildon_touch_selector_set_active_iter),
2207         (hildon_touch_selector_get_selected_rows),
2208         (hildon_touch_selector_get_model),
2209         (hildon_touch_selector_set_model),
2210         (hildon_touch_selector_get_current_text),
2211         (_hildon_touch_selector_center_on_selected_items):
2212         * src/hildon-touch-selector.h: Renamed from
2213         hildon-touch-picker.[ch]
2214
2215         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2216         references, code examples, and related documentation.
2217
2218 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
2219
2220         * doc/hildon-docs.sgml
2221         * doc/hildon.types
2222         * src/Makefile.am
2223         * src/hildon-toggle-button.c
2224         * src/hildon-toggle-button.h
2225         * src/hildon.h: New HildonToggleButton widget.
2226
2227 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
2228
2229         * src/hildon-button.c: Add API documentation.
2230         (hildon_button_set_size_groups): Check input parameters
2231
2232 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
2233
2234         * src/hildon-pannable-area.c
2235         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2236         effect after reaching the movement thredshold. This way we start
2237         using the distance after passing the thredshold.
2238
2239 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2240
2241         * src/hildon-button.c: (hildon_button_set_property): Use the
2242         appropriate g_value_get_flags() method.
2243
2244 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2245
2246         * doc/hildon-docs.sgml:
2247         * doc/hildon.types:
2248
2249          Add the touch pickers, picker dialogs, and picker button widgets
2250         to the documentation.
2251
2252 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2253
2254         * src/hildon-button.c: (hildon_button_set_property),
2255         (hildon_button_class_init): Make "arrangement-flags" a proper
2256         G_TYPE_FLAGS derived property.
2257
2258 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2259
2260         * examples/Makefile.am: Add below examples.
2261         * examples/hildon-date-button-example.c:
2262         * examples/hildon-picker-button-example.c:
2263         * examples/hildon-picker-button-multicolumn-example.c:
2264         * examples/hildon-time-button-example.c:
2265         * examples/hildon-touch-picker-example.c:
2266
2267         Add examples for the recently added touch pickers,
2268         picker dialogs, and picker button widgets.
2269
2270 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2271
2272         * src/hildon-button.c: Add some API documentation
2273
2274 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2275
2276         * src/hildon-button.h
2277         * src/hildon-button.c
2278         (hildon_button_new)
2279         (hildon_button_new_with_text): New constructor to create a button
2280         with no text at all.
2281         (hildon_button_init, hildon_button_set_arrangement)
2282         (hildon_button_set_title, hildon_button_set_value)
2283         (hildon_button_set_text)
2284         (hildon_button_construct_child): Hide the value when it's not used
2285         so the rest of the text is properly aligned.
2286         Allow creating buttons with arbitrary widgets inside (not just
2287         title/value labels).
2288
2289         * examples/hildon-button-example.c (vertical_buttons_window)
2290         (horizontal_buttons_window): Update example to use new API.
2291
2292 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2293
2294         * src/Makefile.am: Added HildonTimeButton.
2295         * src/hildon-time-button.c: Added missing LGPL header.
2296         * src/hildon-time-button.h: Added missing LGPL header.
2297         * src/hildon.h: Add hildon-time-button.h
2298
2299         Copied HildonTimeButton from sandbox to trunk. Future work on this
2300         widget must take place in trunk.
2301
2302 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2303
2304         * src/Makefile.am: Added HildonDateButton.
2305         * src/hildon-date-button.c: Update includes.
2306         * src/hildon.h: Add hildon-date-button.h
2307
2308         Copied HildonDateButton from sandbox to trunk. Future work on this
2309         widget must take place in trunk.
2310
2311 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2312
2313         * src/Makefile.am: Added HildonPickerButton.
2314         * src/hildon-picker-button.h: Update includes.
2315         * src/hildon.h: Add hildon-picker-button.h
2316
2317         Copied HildonPickerButton from sandbox to trunk. Future work on
2318         this widget must take place in trunk.
2319
2320 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2321
2322         * src/Makefile.am: Added HildonPickerDialog.
2323         * src/hildon-picker-dialog.c: Update includes.
2324         * src/hildon.h: Add hildon-picker-dialog.h
2325
2326         Copied HildonPickerDialog from sandbox to trunk. Future work
2327         on this widget must take place in trunk.
2328
2329 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2330
2331         * src/Makefile.am: Added HildonTimeSelector.
2332         * src/hildon.h: Add hildon-time-selector.h
2333
2334         Copied HildonTimeSelector widget from sandbox to trunk. Future
2335         work on this widget must happen in trunk.
2336
2337 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2338
2339         * src/Makefile.am: Added HildonDateSelector.
2340         * src/hildon.h: Add hildon-date-selector.h
2341
2342         Copied HildonDateSelector widget from sandbox to trunk.  Future
2343         work on this widget must happen in trunk.
2344
2345 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2346
2347         * src/Makefile.am: Added HildonTouchPicker.
2348         * src/hildon-touch-picker.c: Update includes.
2349         * src/hildon.h: Add hildon-touch-picker.h
2350
2351         Copied HildonTouchPicker widget from sandbox to trunk. Future work
2352         on this widget must happen in trunk.
2353
2354 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2355
2356         * src/hildon-pannable-area.c:
2357         (hildon_pannable_area_motion_notify_cb): Fix a typo.
2358
2359 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2360
2361         * examples/hildon-app-menu-example.c (main): Let the window
2362         destroy the menu.
2363
2364 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2365
2366         * src/hildon-pannable-area.c
2367         (hildon_pannable_area_class_init): Set the min value of the
2368         overshoot properties to zero, which points out that not
2369         overshooting allowed.
2370
2371 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2372
2373         Modified the procedure to get the widget at a point inside the
2374         pannable area when using the movement type signals. Now the user
2375         has to call a function to get the child, that way we just
2376         calculate the child in case the user really want to use it and not
2377         all the time.
2378
2379         * src/hildon-marshalers.list: Modified the marshallers, now we do
2380         not have the widget as a parameter.
2381
2382         * src/hildon-pannable-area.c
2383         (hildon_pannable_area_motion_notify_cb),
2384         (hildon_pannable_area_class_init),
2385         (hildon_pannable_get_child_widget_at):  Removed the widget
2386         parameter from the signal callback. We have also refactored the
2387         emission of the signals.
2388
2389         * src/hildon-pannable-area.h: Added a new method to the API to
2390         calculate a widget at a point inside the pannable area,
2391         hildon_pannable_get_child_widget_at.
2392
2393         * examples/hildon-pannable-area-example-4.c
2394         (horizontal_movement): Modified the example to use the new API,
2395         added condition to control which widget is under the event. This
2396         way we can avoid scrolling laterally over other widgets.
2397
2398 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2399
2400         * src/hildon-pannable-area.c
2401         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2402         modes, we stop getting the pointer events due to returning the
2403         callback without properly calling the get pointer again. Fixed
2404         also an error using the hscroll and vscroll.
2405
2406 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
2407
2408         * src/hildon-app-menu-private.h
2409         * src/hildon-app-menu.c (hildon_app_menu_button_press)
2410         (hildon_app_menu_button_release, hildon_app_menu_init)
2411         (hildon_app_menu_class_init): Don't hide the menu on button
2412         release if the user didn't press outside first.
2413
2414         * src/hildon-window.h
2415         * src/hildon-window.c (hildon_window_toggle_menu)
2416         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2417         hildon_window_toggle_menu a virtual function for the stackable
2418         window to override it.
2419
2420         * src/hildon-stackable-window.h
2421         * src/hildon-stackable-window-private.h
2422         * src/hildon-stackable-window.c
2423         (hildon_stackable_window_realize)
2424         (hildon_stackable_window_finalize)
2425         (hildon_stackable_window_class_init)
2426         (hildon_stackable_window_init)
2427         (hildon_stackable_window_set_main_menu): New function to set the
2428         app menu of a HildonStackableWindow.
2429
2430         * examples/hildon-app-menu-example.c: Remove the button to show
2431         the app menu, now it'll be shown when clicking on the title bar
2432         instead.
2433
2434 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
2435
2436         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2437         set the widget name if the arrangement flags do not specify
2438         a particular size.
2439
2440 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
2441
2442         * src/hildon-button.c: (hildon_button_set_property),
2443         (hildon_button_class_init), (hildon_button_new_full),
2444         (hildon_button_set_arrangement): Added "arrangement-flags"
2445         property.
2446
2447         Make the HildonButtonFlags a construction-only property, to allow
2448         subclasses to set them properly.
2449
2450 2008-07-21 Tim Janik  <timj@imendio.com>
2451
2452         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2453         insertion position after backspace, so additional digits are appended,
2454         fixes Bug #85874.
2455
2456 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
2457
2458         * src/hildon-pannable-area.c,
2459         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2460         TODO list, it was complete and removed the g_debug and g_print
2461         lines.
2462
2463 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
2464
2465         Added the movement modes to the hildon-pannable-area, with this
2466         modes the developers can control in which directions the widget
2467         can scroll. They can also connect to signals in order to do
2468         something when that happens, allowing applications scroll. There
2469         is an example uploaded showing how to use it.
2470
2471         * examples/Makefile.am:
2472         * examples/hildon-pannable-area-example-4.c: Added this example of
2473         an application using the modes.
2474
2475         * src/hildon-marshalers.list: Added a new marshaller for the new
2476         signals.
2477
2478         * src/hildon-pannable-area.h: Added new enumerations and flags in
2479         order to control the movement modes and the new signals to warn
2480         about the movements in the area.
2481
2482         * src/hildon-pannable-area.c:
2483         (hildon_pannable_axis_scroll),
2484         (hildon_pannable_area_scroll),
2485         (hildon_pannable_area_motion_notify_cb),
2486         (hildon_pannable_area_get_property),
2487         (hildon_pannable_area_set_property),
2488         (hildon_pannable_area_map),
2489         (hildon_pannable_area_class_init),
2490         (hildon_pannable_area_init),
2491         (hildon_pannable_area_jump_to): Added the modes to control the
2492         movement in the widget. We have added properties to control it,
2493         signals to warn about the movements and refactored some code.
2494
2495 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
2496
2497         Changes required in order to allow vfast_factor set to zero to
2498         work properly.
2499
2500         * src/hildon-pannable-area.c:
2501         (hildon_pannable_area_button_press_cb): Changed the condition, it
2502         is required for not allowing click when vfast_factor is zero.
2503         (hildon_pannable_area_timeout): Initialized velocity variables
2504         when we stop moving, it was less than 1 but not zero and we need
2505         to check zero in some situations.
2506         (hildon_pannable_area_class_init): Changed the default value of
2507         the speed factor, now the button_press is just sent in case the
2508         speed is 2 per cent of the max speed.
2509         (hildon_pannable_area_init): Initialization with 0.
2510
2511 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
2512
2513         * src/hildon-pannable-area.c,
2514         (hildon_pannable_area_get_topmost): replaced
2515         gdk_window_get_children with gdk_window_peek_children, this way we
2516         do not have to free the list because it is not a copy.
2517
2518         (hildon_pannable_axis_scroll),
2519         (hildon_pannable_area_scroll),
2520         (hildon_pannable_area_timeout),
2521         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2522         two parameters that were only used inside the
2523         hildon_pannable_area_scroll function.
2524
2525         * examples/hildon-pannable-area-example.c,
2526         (get_sawtooth_label): Fixed small memory leak.
2527
2528 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
2529
2530         More checks for the case where the overshoot is bigger than the
2531         size of the widget.
2532
2533         * src/hildon-pannable-area.c:
2534         (hildon_pannable_draw_vscroll),
2535         (hildon_pannable_draw_hscroll): with this new calculation we avoid
2536         to draw the slider of the scrollbar under the other scrollbar.
2537         (hildon_pannable_area_expose_event): added new checks to control
2538         the drawing of the overshooting area rectangle, in case it is too
2539         big for the area of the widget.
2540         (hildon_pannable_area_size_allocate): add more checks to avoid
2541         setting a position to the child widget outside the area.
2542
2543 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
2544
2545         * src/hildon-pannable-area.c
2546         (hildon_pannable_area_size_allocate): Added conditions to control
2547         when overshooting is bigger than the allocated space for the
2548         children, this avoids negative allocations.
2549
2550 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
2551
2552         * doc/hildon-docs.sgml
2553         * doc/hildon.types
2554         * examples/Makefile.am
2555         * examples/hildon-button-example.c
2556         * src/Makefile.am
2557         * src/hildon-button.c
2558         * src/hildon-button.h
2559         * src/hildon.h: Initial version of the new HildonButton widget,
2560         with examples.
2561
2562 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
2563
2564         * src/hildon-pannable-area.c:
2565         (hildon_pannable_area_button_press_cb),
2566         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2567         (hildon_pannable_area_motion_notify_cb),
2568         (hildon_pannable_area_button_release_cb),
2569         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2570         (hildon_pannable_area_jump_to_child):
2571
2572         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2573
2574 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
2575
2576         * examples/Makefile.am
2577         * examples/hildon-pannable-area-touch-grid-example.c
2578         * examples/hildon-pannable-area-touch-list-example.c: Examples of
2579         the Hildon Touch List and Hildon Touch Grid using the
2580         HildonPannableArea widget.
2581
2582 2008-06-27  Alejandro G. Castro <alex@igalia.com>
2583
2584         * src/hildon-pannable-area.c,
2585         (hildon_pannable_area_button_press_cb),
2586         (hildon_pannable_area_refresh),
2587         (hildon_pannable_area_scroll),
2588         (hildon_pannable_area_motion_notify_cb),
2589         (hildon_pannable_area_button_release_cb),
2590         (hildon_pannable_area_expose_event),
2591         (hildon_pannable_area_add),
2592         (hildon_pannable_area_remove),
2593         (hildon_pannable_area_realize),
2594         (hildon_pannable_area_size_allocate),
2595         (hildon_pannable_area_class_init),
2596         (hildon_pannable_area_init),
2597         (hildon_pannable_area_scroll_to_child),
2598         (hildon_pannable_area_jump_to_child): Fixed the problem of
2599         removing the child from the GtkBin, we have rearranged the widget
2600         hierarchy, now there is no GtkAlignment which was not doing
2601         anything interesting but breaking some of the assumptions of
2602         GtkContainer. Now developers if they want to add a GtkAlignment
2603         they could, but it is not inside the area.
2604
2605         We had to review the whole allocation/expose process, now it is
2606         improved and we save at least three signals which would be saving
2607         some time when rendering the widget. The allocation of the
2608         scrollbars is now made in the allocate method as usual.
2609
2610         We have also added some conditions in order to control when there
2611         is no child of the pannable area. Maybe we will need more work
2612         here.
2613
2614 2008-06-27  Alejandro G. Castro <alex@igalia.com>
2615
2616         * src/hildon-pannable-area.c,
2617         (hildon_pannable_area_dispose): Released the fade-out timeout when
2618         disposing the widget.
2619
2620 2008-06-27  Alejandro G. Castro <alex@igalia.com>
2621
2622         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2623         zero, we are going to use that property in order to deactivate the
2624         overshooting
2625         (hildon_pannable_axis_scroll),
2626         (hildon_pannable_area_size_allocate): Added conditions to control
2627         when overshoot_max is zero. Moved the gtk_adjustment_set_value
2628         call, now it is called in all situations and we can remove calls
2629         in the allocate method.
2630         (hildon_pannable_area_map): Control the situation when
2631         overshoot_max is zero, we do not need the timeout.
2632         (hildon_pannable_area_class_init): Added documentation in order to
2633         point out that setting zero to overshoot_max means deactivate
2634         overshooting.
2635
2636         NOTE: removed trailing whitespaces from my previous comments of
2637         the Changelog.
2638
2639 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
2640
2641         * src/hildon-pannable-area.c
2642         (hildon_pannable_area_get_property),
2643         (hildon_pannable_area_set_property),
2644         (hildon_pannable_area_map),
2645         (hildon_pannable_area_class_init),
2646         (hildon_pannable_area_init): Add a boolean "initial-hint" property
2647         to cause the widget give a hint about its panning abilities upon
2648         realization.
2649
2650 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
2651
2652         * src/hildon-pannable-area.c: Several documentation improvements.
2653
2654 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
2655
2656         * src/hildon-program.c
2657         * src/hildon-stackable-window.c: Update documentation.
2658
2659 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
2660
2661         * src/hildon-stackable-window.c (get_previous_window_if_last):
2662         Renamed get_last_window()
2663         (hildon_stackable_window_map, hildon_stackable_window_unmap)
2664         (hildon_stackable_window_unset_program):
2665         Simplified code.
2666         (get_previous_window_if_last):
2667         Detect if the window hasn't been added to a HildonProgram.
2668
2669 2008-06-26  Alejandro G. Castro <alex@igalia.com>
2670
2671         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2672
2673         * src/hildon-pannable-area.c
2674         (hildon_pannable_area_button_press_cb),
2675         (hildon_pannable_axis_scroll),
2676         (hildon_pannable_area_scroll),
2677         (hildon_pannable_area_timeout),
2678         (hildon_pannable_calculate_vel_factor),
2679         (hildon_pannable_area_get_property),
2680         (hildon_pannable_area_set_property),
2681         (hildon_pannable_area_class_init),
2682         (hildon_pannable_area_init),
2683         (hildon_pannable_area_scroll_to),
2684         (hildon_pannable_area_jump_to),
2685         (hildon_pannable_area_scroll_to_child),
2686         (hildon_pannable_area_jump_to_child):
2687         * src/hildon-pannable-area.h: Added the new API functions:
2688         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2689         hildon_pannable_area_scroll_to_child,
2690         hildon_pannable_area_jump_to_child
2691
2692
2693         * examples/Makefile.am
2694         * examples/hildon-pannable-area-example-2.c
2695         * examples/hildon-pannable-area-example-3.c: Added these two new
2696         examples in order to test and show how the new APIs work.
2697
2698 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
2699
2700         * examples/hildon-stackable-window-example.c (new_window):
2701         * src/Makefile.am (noinst_HEADERS):
2702         * src/hildon-program.c (hildon_program_go_to_root_window):
2703         * src/hildon-program.h:
2704         * src/hildon-stackable-window-private.h:
2705         * src/hildon-stackable-window.c:
2706         * src/hildon-stackable-window.h:
2707         Create hildon-stackable-window-private.h
2708         Move hildon_stackable_window_go_to_root_window() to HildonProgram
2709
2710         * examples/hildon-app-menu-example.c (create_menu):
2711         * examples/hildon-hvolumebar-insensitive-example.c (main):
2712         * examples/hildon-hvolumebar-timer-example.c (on_idle):
2713         * examples/hildon-toolbar-seekbar-example.c (main):
2714         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2715         * src/hildon-banner.c (hildon_banner_set_property):
2716         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2717         Fix compilation warnings
2718
2719         * src/hildon-window.c:
2720         Fix typo in doc
2721
2722 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
2723
2724         * src/hildon-stackable-window.c
2725         (hildon_stackable_window_unset_program):
2726         Calculate correctly whether to show the previous window if the
2727         last one is removed from the stack.
2728         (hildon_stackable_window_go_to_root_window):
2729         Send delete events starting from the topmost window.
2730         Stop if one of the windows is not destroyed.
2731         Update doc.
2732         (hildon_stackable_window_delete_event)
2733         (hildon_stackable_window_class_init):
2734         Ignore the delete event if the window is not the topmost one.
2735
2736 2008-06-24  Alejandro G. Castro <alex@igalia.com>
2737
2738         * src/hildon-pannable-area.c
2739         (hildon_pannable_area_expose_event): Fixed a problem when
2740         selecting the background color of the scrollbars.
2741
2742 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
2743
2744         * examples/hildon-stackable-window-example.c
2745         * src/hildon-stackable-window.c
2746         * src/hildon-stackable-window.h
2747         hildon_stackable_window_go_home() renamed to
2748         hildon_stackable_window_go_to_root_window()
2749         Send delete events to windows rather than closing them with
2750         gtk_widget_destroy()
2751
2752 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
2753
2754         * src/hildon-pannable-area.c
2755         (hildon_pannable_area_button_release_cb): Fix overshooting in
2756         accel mode.
2757
2758 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
2759
2760         * src/hildon-pannable-area.c
2761         (hildon_pannable_area_init): Initially show the scroll indicators.
2762         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2763
2764         Add initial effect showing the widget is pannable.
2765
2766 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
2767
2768         * src/hildon-pannable-area.c
2769         (hildon_pannable_area_class_init)
2770         (hildon_pannable_area_set_property)
2771         (hildon_pannable_area_get_property)
2772         (hildon_pannable_area_button_press_cb):
2773         New 'velocity_fast_factor' property to decide which velocity is
2774         considered fast.
2775
2776 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
2777
2778         * src/hildon-pannable-area.c
2779         (hildon_pannable_draw_hscroll)
2780         (hildon_pannable_draw_vscroll):
2781         Use float variables to calculate the size of the scrollbars to
2782         avoid error propagation and resizing during scrolling.
2783
2784 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
2785
2786         * src/hildon-pannable-area.c
2787         (hildon_pannable_draw_vscroll)
2788         (hildon_pannable_draw_hscroll):
2789         Define a minimum size for the scroll bars
2790
2791         * src/hildon-stackable-window.c
2792         (hildon_stackable_window_go_home): Fix compilation warning
2793         (get_last_window): Minor optimizations
2794         (hildon_stackable_window_class_init): Fix initialization of
2795         private structure.
2796
2797 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
2798
2799         * src/hildon-stackable-window.c: Fixed typos in doc
2800
2801 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
2802
2803         * src/hildon-pannable-area.c
2804         (hildon_pannable_area_scroll):
2805         Calculate here whether we need to scroll instead of using the booleans
2806         that tell us whether to /draw/ the scrolling bars.
2807
2808 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
2809
2810         * src/hildon-app-menu.h
2811         Update API.
2812         * src/hildon-app-menu.c
2813         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2814         multiple filter groups related code and API. Now we support only
2815         one filter group.
2816         * examples/hildon-app-menu-example.c:
2817         (create_menu):
2818         Update to reflect API changes.
2819
2820 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
2821
2822         * src/hildon-stackable-window.c
2823         (hildon_stackable_window_class_init):
2824         Add hildon_stackable_window_realize.
2825         (hildon_stackable_window_realize):
2826         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2827         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2828         to apply theming and behavior specific to HildonStackableWindow
2829         windows.
2830
2831 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
2832
2833         * src/hildon-note.c (hildon_note_button_release):
2834         Close information notes also when tapping on them
2835
2836 2008-06-12  Alejandro G. Castro <alex@igalia.com>
2837
2838         Added BOUNCE_STEPS define to control the overshoot effect. Removed
2839         ELASTICITY, refactor and review, fix some issues with drawing
2840         scrollbars.
2841
2842         * src/hildon-pannable-area.c:
2843         (hildon_pannable_area_button_press_cb): removed the conditions to
2844         avoid clicks when overshooting. It is not required
2845
2846         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2847         define. Refatored and reviewed the code, now we do not need to
2848         manage velocity in motion_notify.
2849
2850         (hildon_pannable_area_motion_notify_cb): We have moved the code
2851         that controls the area_scroll to the axis_scroll function and get
2852         rid of duplicated code.
2853
2854         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2855
2856         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2857
2858         (hildon_pannable_draw_vscroll),
2859         (hildon_pannable_draw_hscroll): Fixed the problems with the
2860         scrollbar drawing, now we do not use two surfaces, it is easier
2861         and saves resources.
2862
2863         (hildon_pannable_area_get_property): Style modification.
2864
2865         (hildon_pannable_area_class_init): Changed some default values.
2866
2867 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
2868
2869         * src/hildon-stackable-window.c: Fix some typos in the
2870         documentation.
2871
2872 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
2873
2874         * src/hildon-dialog.c:
2875         Change indentation style
2876
2877         * src/hildon-note.c
2878         (hildon_note_button_release):
2879         Use root coordinates to check if the release event happened
2880         outside the widget.
2881
2882         * src/hildon-app-menu.c
2883         (hildon_app_menu_button_release):
2884         Remove unnecessary check
2885
2886         * examples/hildon-app-menu-example.c
2887         (button_clicked):
2888         Add cast to fix warning
2889
2890         * src/hildon-app-menu.c
2891         (hildon_app_menu_class_init):
2892         New inner-border style property.
2893         Set all default spacings to 16
2894         (hildon_app_menu_init):
2895         Use vertical-spacing to set the space between filter buttons and
2896         regular menu buttons.
2897         Set the default container border using the inner-border value.
2898
2899         * examples/hildon-app-menu-example.c
2900         (create_menu):
2901         Don't set the menu border explicitly, now we have the inner-border
2902         style property for that.
2903
2904 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
2905
2906         * src/hildon-app-menu.c (hildon_app_menu_init):
2907         Make the window modal
2908
2909         * src/hildon-note.c (hildon_note_map)
2910         * src/hildon-app-menu.c (hildon_app_menu_map):
2911         Destroy the grab window if we're unable to grab the pointer
2912
2913         * src/hildon-app-menu-private.h
2914         * src/hildon-app-menu.c
2915         (hildon_app_menu_init, hildon_app_menu_finalize)
2916         (hildon_app_menu_map, hildon_app_menu_unmap)
2917         (hildon_app_menu_button_release)
2918         (grab_transfer_window_get):
2919         Bring back the grab window
2920         (hildon_app_menu_realize):
2921         Decorate the window, set WM hint for Matchbox
2922
2923         * src/hildon-note.c (hildon_note_realize):
2924         * src/hildon-banner.c (hildon_banner_realize):
2925         Add WM hints for Matchbox
2926
2927 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
2928
2929         * src/hildon-app-menu-private.h
2930         * src/hildon-app-menu.c
2931         (hildon_app_menu_init, hildon_app_menu_finalize)
2932         (hildon_app_menu_map, hildon_app_menu_unmap)
2933         (hildon_app_menu_button_release):
2934         Remove the grab window, it's not needed anymore
2935
2936         * src/hildon-program.c
2937         Fixed typo in documentation
2938
2939         * src/hildon-app-menu.h
2940         * src/hildon-app-menu.c
2941         * examples/hildon-app-menu-example.c
2942         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2943
2944 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
2945
2946         * src/hildon-note.c
2947         Added new transfer_window and close_if_pressed_outside private
2948         attributes.
2949         (hildon_note_rebuild):
2950         Don't add a cancel button to the information note. It will be
2951         closed when tapping outside
2952         Remove the comment about the OK button in the documentation
2953         (hildon_note_realize):
2954         Set the notification type hint
2955         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2956         Grab/ungrab pointer and keyboard if the note has to be closed when
2957         tapping outside
2958         (hildon_note_button_release):
2959         Close the note when tapping outside (if applicable)
2960
2961         * src/hildon-app-menu.c
2962         Grab/ungrab pointer and keyboard on map/unmap
2963         (hildon_app_menu_button_release, hildon_app_menu_class_init):
2964         Close the menu on button release, not button press
2965
2966         * src/hildon-banner.c
2967         (hildon_banner_set_property)
2968         (hildon_banner_check_position):
2969         Make the banner use the full width of the screen
2970         (hildon_banner_show_information)
2971         (hildon_banner_show_information_with_markup):
2972         Don't display an icon by default
2973
2974 2008-06-09  Alejandro G. Castro <alex@igalia.com>
2975
2976         Added fading scrollbars and adapted all the overshooting code to
2977         horizontal scrolling. We have also fixed bugs with overshooting
2978         and current fading implementation.
2979
2980         * src/hildon-pannable-area.c
2981         (hildon_pannable_area_scroll_indicator_fade): Time out function
2982         used to change the transparency of the scrollbars.
2983
2984         (hildon_pannable_area_button_press_cb): Added horizontal overshot
2985         control and fixed a problem with fading, we now remove the fade
2986         timeout before adding a new one.
2987
2988         (hildon_pannable_axis_scroll):
2989         (hildon_pannable_area_scroll):
2990         (hildon_pannable_area_timeout): Added this functions so we can use
2991         the scroll code both for vertical and horizontal.
2992
2993         (hildon_pannable_area_motion_notify_cb):
2994         (hildon_pannable_area_button_release_cb): Added the horizontal
2995         scrolling control, fixed a problem with the overshooting timeout.
2996
2997         (rgb_from_gdkcolor): Added this function, it is used in the cairo
2998         painting of the scrolls.
2999
3000         (hildon_pannable_draw_vscroll):
3001         (hildon_pannable_draw_hscroll):
3002         (hildon_pannable_area_expose_event):
3003         Draw both scrollbars and rectangles in the overshooting area.
3004
3005         (hildon_pannable_area_get_property):
3006         (hildon_pannable_area_set_property):
3007         Modified the overshoot property to overshoot_max
3008
3009         (hildon_pannable_area_map):
3010         Replaced the comments symbols.
3011
3012         (hildon_pannable_area_size_allocate):
3013         (hildon_pannable_area_class_init):
3014         (hildon_pannable_area_init): Added horizontal scroll, fading
3015         effect properties, fixed a problem when overshooting in the bottom
3016         of the widget.
3017
3018         * examples/hildon-pannable-area-example.c:
3019         (get_sawtooth_label): Now we use smaller sawtooths, the effect
3020         looks better in the example.
3021
3022 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
3023
3024         * src/hildon-window.c
3025         * src/hildon-window.h
3026         (hildon_window_class_init)
3027         (hildon_window_unset_program)
3028         (hildon_window_unset_program_real):
3029         Make unset_program a virtual function
3030
3031         * src/hildon-stackable-window.c
3032         * src/hildon-stackable-window.h
3033         Added hildon_stackable_window_go_home()
3034
3035         * examples/Makefile.am
3036         * examples/hildon-stackable-window-example.c
3037         HildonStackableWindow example
3038
3039 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3040
3041         * hildon-pannable-area.c: Added the overshoot property and removed
3042         the OVERSHOOT define. Fixed an indent style error.
3043         (hildon_pannable_area_motion_notify_cb):
3044         (hildon_pannable_area_get_property):
3045         (hildon_pannable_area_set_property): Add overshoot property.
3046
3047         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3048         overshoot property.
3049
3050         (hildon_pannable_area_class_init): Installed the new property.
3051
3052         * hildon-pannable-area-example.c: Added a sawtooth function, this
3053         way it is easier to check the movement in the pannable.
3054         (get_sawtooth_label): Added this function.
3055         (main): Now we get the labels from the new get_sawtooth_label
3056         function.
3057
3058 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
3059
3060         * src/hildon-app-menu.h
3061         * src/hildon-app-menu.c
3062         Renamed API variables for consistency
3063
3064         (hildon_app_menu_popup): Use also the default window size to
3065         decide where to place the menu
3066
3067         (hildon_app_menu_init, hildon_app_menu_class_init): New
3068         external-border style property
3069
3070 2008-05-26  Michael Natterer  <mitch@imendio.com>
3071
3072         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3073         widget_class->tap_and_hold_setup signal slot doesn't exist any
3074         longer, stop overriding it.
3075
3076         (hildon_time_editor_init): g_signal_connect() to the
3077         tap-and-hold-setup signal instead.
3078
3079         (hildon_time_editor_entry_keypress): add cast to fix warning.
3080
3081 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
3082
3083         * doc/hildon-docs.sgml
3084         * doc/hildon.types
3085         * examples/Makefile.am
3086         * examples/hildon-app-menu-example.c
3087         * src/Makefile.am
3088         * src/hildon-app-menu-private.h
3089         * src/hildon-app-menu.c
3090         * src/hildon-app-menu.h
3091         * src/hildon.h
3092         New HildonAppMenu widget
3093
3094 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3095
3096         Rearranged the inheritance of the pannable area, now it inherits
3097         from GtkBin. This will allow us to control the event_window and
3098         the allocation process of the widget, required for some effects.
3099
3100         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3101         GtkBin structures.  * src/hildon-pannable-area.c: Added the
3102         event_window variable.
3103         (hildon_pannable_area_button_press_cb):
3104         (hildon_pannable_area_button_release_cb):
3105         (hildon_pannable_area_motion_notify_cb):
3106         Changed the signature of the method, now we override the event
3107         callback instead of connecting to the signal.
3108
3109         (hildon_pannable_area_realize):
3110         (hildon_pannable_area_unrealize):
3111         (hildon_pannable_area_map):
3112         (hildon_pannable_area_unmap):
3113         (hildon_pannable_area_size_allocate):
3114         Added functions to control the widget construction. We add a
3115         INPUT_ONLY window and we put it over the widgets inside the
3116         container, this event_window handles the events.
3117
3118         (hildon_pannable_area_class_init):
3119         Replaced the signal connections with overrides of the event
3120         callbacks.
3121
3122 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3123
3124         Bouncing effect added when touching the borders, you can change
3125         the elasticity of the border changing the ELASTICITY define.
3126
3127         * src/hildon-pannable-area.c: Added ELASTICITY define.
3128         (hildon_pannable_area_timeout): Added inverse velocity when
3129         touching the border of the child widget, that causes a bounce.
3130
3131 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3132
3133         Improved performance, we now do not go to the X server in order to
3134         get the list of window children. Apparently the effect is the
3135         same, we have to be careful and check if this breaks something in
3136         any corner case.
3137
3138         * src/hildon-pannable-area.c:
3139         (get_ordered_children): Removed this function.
3140         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3141         the children windows function with gdk_window_get_children.
3142
3143 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3144
3145         * src/hildon-pannable-area.c:
3146         (hildon_pannable_area_dispose): Fixed a crash when closing the
3147         window and kinetics is activated.
3148
3149 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
3150
3151         * src/hildon-pannable-area.h
3152         * src/hildon-pannable-area.c
3153         Changed indentation style to meet the one used in Hildon
3154
3155 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3156
3157         Reviewed the interaction of the AUTO mode, now we use the time
3158         attribute of the events and calculate the velocity in the motion,
3159         doing a gimp like calculation. The velocity is calculated in each
3160         motion event using the last velocity and the current one, the
3161         SMOOTH_FACTOR controls the percentage of the new velocity we use.
3162
3163         * src/hildon-pannable-area.c: Replaced the time based algorithm
3164         for the AUTO mode.
3165         (hildon_pannable_area_motion_notify_cb): now we do not launch the
3166         timeout for the AUTO mode when we are still moving the cursor. We
3167         added also the velocity calculation in this function.
3168         (hildon_pannable_area_button_release_cb): launch the timeout in
3169         case we are in AUTO mode. There are still some constants here that
3170         come from the old implementation that should be reviewed and
3171         handled properly.
3172
3173 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
3174
3175         * doc/hildon-docs.sgml
3176         * doc/hildon.types
3177         * src/Makefile.am
3178         * src/hildon-stackable-window.c
3179         * src/hildon-stackable-window.h
3180         * src/hildon.h
3181         New HildonStackableWindow widget
3182
3183         * examples/hildon-dialog-example.c
3184         * examples/hildon-pannable-area-example.c
3185         Updated copyright
3186
3187 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
3188
3189         * src/hildon-dialog.c
3190         (hildon_dialog_new_with_buttons): New constructor.
3191
3192         * examples/hildon-dialog-example.c
3193         (main): Update the example to use the new
3194         hildon_dialog_new_with_buttons().
3195
3196         * examples/hildon-pannable-area-example.c
3197         (main): Update example.
3198
3199 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3200
3201         * doc/hildon-docs.sgml
3202         * doc/hildon.types
3203         Added HildonPannableArea to the documentation.
3204
3205 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3206
3207         * doc/visual_index.xml
3208         Fix reference to HildonLoginDialog in documentation
3209
3210         * doc/hildon-docs.sgml
3211         * doc/hildon.types
3212         * examples/Makefile.am
3213         * examples/hildon-dialog-example.c
3214         * src/Makefile.am
3215         * src/hildon-dialog.c
3216         * src/hildon-dialog.h
3217         * src/hildon.h
3218         New HildonDialog widget.
3219
3220 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3221
3222         * src/hildon-pannable-area.c
3223         Merge latest changes (r4318, r4342) from libmokoui trunk
3224
3225 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3226
3227         * examples/Makefile.am
3228         * examples/hildon-pannable-area-example.c
3229         * src/Makefile.am
3230         * src/hildon-pannable-area.c
3231         * src/hildon-pannable-area.h
3232         * src/hildon.h
3233         New HildonPannableArea widget.
3234
3235 2008-04-15 18:05:19    <timj@imendio.com>
3236
3237         * src/hildon-banner.c: revert the recent change, that introduced
3238         gtk_window_present() calls. this reopens:
3239           Bug 78481 - [freetest] information banners are hidden under browser menu
3240         But resolves another variant of:
3241           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3242
3243 2008-04-15 13:21:13    <timj@imendio.com>
3244
3245         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3246         recreated its layout, spotted by Kris. this fixes all remaining
3247         artefacts and stability issues with the banner code. in particular:
3248         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3249
3250 2008-04-14 16:52:59    <timj@imendio.com>
3251
3252         * src/hildon-banner.c: guard force_to_wrap_truncated() against
3253         operating on unrealized widgets, fixes:
3254         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3255
3256         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3257
3258 2008-04-09  Kristian Rietveld  <kris@imendio.com>
3259
3260         Fixes: NB#77775: Media Player, Save Now playing list, too long name
3261         makes banner disappear.
3262         Fixes: NB#79182: info banner flickering with certain message lengts.
3263
3264         * src/hildon-banner.c (hildon_banner_constructor),
3265         (hildon_banner_init), (hildon_banner_set_text),
3266         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3267         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3268         FALSE, reset size requests of label and banner,
3269         (force_to_wrap_truncated): when the text is too wide, always enforce
3270         the maximum possible width instead of recalculating it from the
3271         layout; enforce the maximum banner height of 3 lines,
3272         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3273         nicer wrapping and no truncated chars if space gets tight.
3274
3275         * src/hildon-banner-private.h: add has_been_wrapped and
3276         has_been_truncated fields.
3277
3278 2008-04-07  Sven Herzberg  <sven@imendio.com>
3279
3280         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3281         local values in hildon_date_editor_size_allocate
3282
3283         * src/hildon-date-editor.c: moved the real allocation code into the
3284         if() branch
3285
3286 2008-04-07  Sven Herzberg  <sven@imendio.com>
3287
3288         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3289         local values in hildon_date_editor_size_allocate
3290
3291         * src/hildon-date-editor.c: merged the two if() branches together
3292
3293 2008-04-07  Sven Herzberg  <sven@imendio.com>
3294
3295         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3296         local values in hildon_date_editor_size_allocate
3297
3298         * src/hildon-date-editor.c: changed the arguments of the if()
3299         conditions
3300
3301 2008-04-07  Sven Herzberg  <sven@imendio.com>
3302
3303         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3304         local values in hildon_date_editor_size_allocate
3305
3306         * src/hildon-date-editor.c: split the calculation of the allocation
3307         from the real allocation
3308
3309 2008-03-27  Michael Natterer  <mitch@imendio.com>
3310
3311         Fixes: NB#81696: The passcode is not overwritten even after
3312         selecting
3313
3314         * src/hildon-code-dialog.c
3315         (hildon_code_dialog_button_clicked)
3316         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3317         because that doesn't overwrite selected text. Instead, emit the
3318         "commit" signal on the entry's im_context so the entry's normal
3319         insert logic is triggered. Set the cursor to the end of the entry
3320         after each insert operation so that we *only* insert in the middle
3321         of the text if something was selected.
3322
3323 2008-03-27  Michael Natterer  <mitch@imendio.com>
3324
3325         Enable fixing: NB#79916 and NB#79918: The help topic for Color
3326         selector cannot be opened
3327
3328         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3329         when the popup color selector is created. Please connect to this
3330         signal in order to set the dialog's help ID.
3331
3332 2008-03-25  Sven Herzberg  <sven@imendio.com>
3333
3334         Fixes: MB#1212: Hide info banners (infoprints) on click
3335
3336         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3337         extracted the close event simulation into an extra function
3338         (hildon_banner_button_press_event): simulate a close event and destroy
3339         the widget if the event wasn't handled
3340         (hildon_banner_class_init): added the button_press_event handler
3341         (hildon_banner_init): added button-press events to the widget
3342
3343 2008-03-25  Sven Herzberg  <sven@imendio.com>
3344
3345         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3346         Patch from: Mohammad Anwari  <mdamt@maemo.org>
3347
3348         * src/hildon-banner.c: let the HildonBanners pop up on the left side
3349         instead of the right in RTL mode
3350         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3351         breadcrumb button list in RTL mode
3352         * src/hildon-caption.c: mirror the appearance of the caption widget in
3353         RTL mode
3354         * src/hildon-date-editor.c: mirror appearance of the date editor in
3355         RTL mode
3356         * src/hildon-time-editor.c: mirror appearance of the time editor in
3357         RTL mode
3358         * src/hildon-window.c: fix the position of the popup in RTL mode
3359
3360 2008-03-25  Sven Herzberg  <sven@imendio.com>
3361
3362         Amendment to the fix of NB#22072. Fix compilation.
3363
3364         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3365
3366 2008-03-19  Sven Herzberg  <sven@imendio.com>
3367
3368         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3369         in Info Banner" bug
3370
3371         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3372         timeout id properly when the timeout will disappear this leaves no
3373         artifacts around in the destroy(); there will only be the timeout
3374         created by hildon_banner_ensure_timeout() and adding a new timeout
3375         will also work if the timeout gets removed because the timeout_handler
3376         returned FALSE
3377
3378 2008-03-19  Michael Natterer  <mitch@imendio.com>
3379
3380         Fixes: NB#79791: Cannot set focus to Master volume using stylus
3381
3382         * src/hildon-volumebar.c
3383         * src/hildon-vvolumebar.c
3384         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3385         the widget becomes focussable at all.
3386
3387         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3388         set the focus to wither the mute button or the volumebar.
3389
3390         Remove own "can-focus" property and instead listen to
3391         notify::can-focus in order to update the widget's state.
3392
3393         Implement GtkWidget::focus() and make sure we can also *leave* the
3394         widget, not only enter it, depending on volumebar orientation and
3395         requested focus direction.
3396
3397         Clean up set_mute() to cooperate nicely with all the above.
3398
3399 2008-03-04  Michael Natterer  <mitch@imendio.com>
3400
3401         Fixes: NB#78481: information banners are hidden under browser menu
3402
3403         * src/hildon-banner.c: call gtk_window_present() on the banners so
3404         they are risen if they are already visible.
3405
3406 2008-03-03  Sven Herzberg  <sven@imendio.com>
3407
3408         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3409
3410         * examples/hildon-window-menu-example.c: (main): extended the window
3411         menu example to serve as a testcase for automatically added
3412         accelerator groups, too
3413         * src/hildon-window.c: (hildon_window_add_accel_group),
3414         (hildon_window_set_menu): added patch by Tommi Komulainen
3415
3416 2008-03-03  Sven Herzberg  <sven@imendio.com>
3417
3418         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3419
3420         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3421         knowledge about the border allocators used within GTK+
3422
3423 2008-02-26  Sven Herzberg  <sven@imendio.com>
3424
3425         Fixes: MB#2981: Build with asserts broken
3426
3427         * src/hildon-date-editor.c,
3428         * src/hildon-number-editor.c,
3429         * src/hildon-time-editor.c,
3430         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3431         the proper GType instance check
3432
3433 2008-02-25  Sven Herzberg  <sven@imendio.com>
3434
3435         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3436
3437         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3438         * examples/hildon-window-menu-example.c: (main): explicitly show
3439         the menu item
3440         * src/hildon-window.c:
3441         (hildon_window_set_main_menu): moved most of the code from set_menu()
3442         to this place; skipped the call to gtk_widget_show_all(); also didn't
3443         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3444         (hildon_window_set_menu): removed most of the code, just keep the
3445         questionable gtk_widget_show_all()
3446         * src/hildon-window.h: added the new function and deprecate the old
3447         one
3448
3449 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
3450
3451         [2.0.1-1 release]
3452
3453         * NEWS:
3454         * configure.ac:
3455         * debian/changelog: Updating.
3456
3457 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
3458
3459         * configure.ac:
3460         * pkgconfig/Makefile.am:
3461         * pkgconfig/hildon.pc.in:
3462         * src/Makefile.am:
3463
3464         Do not use PACKAGE_VERSION_MAJOR as the API revision,
3465         use newly created API_MAJOR_VERSION.
3466
3467 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
3468
3469         [2.0.0-1 release]
3470
3471         * NEWS:
3472         * configure.ac:
3473         * debian/changelog: Updating.
3474
3475 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
3476
3477         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3478
3479         Add outer_border style property, we use it but don't define it (!).
3480
3481         Fixes NB#75310
3482
3483 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
3484
3485         * examples/hildon-bread-crumb-trail-example.c (main):
3486
3487         Add clear button.
3488
3489         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3490
3491         Fix logic for the bread crumb trail node removal.
3492
3493         Fixes: NB#78616
3494
3495 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3496
3497         [1.99.1-1 release]
3498
3499         * NEWS:
3500         * configure.ac:
3501         * debian/changelog: Updating.
3502
3503 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3504
3505         Patch by Alejandro to get/set passwords dialogs accesibility.
3506
3507         * hildon-1/src/hildon-get-password-dialog.c:
3508         * hildon-1/src/hildon-set-password-dialog.c:
3509         Set atk_set_name to the passwd entries in order to allow
3510         accessibility by name on this entries.
3511
3512 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3513
3514         [1.99.0-2 release]
3515
3516         * debian/changelog:
3517         * debian/control: Updating gtk dep.
3518
3519 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
3520
3521         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3522         USE_MAEMO_GTK is enabled.
3523
3524 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
3525
3526         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3527         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3528
3529 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3530
3531         [1.99.0-1 release]
3532
3533         * NEWS:
3534         * configure.ac:
3535         * debian/changelog: Updating.
3536
3537 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3538
3539         * examples/Makefile.am:
3540         * examples/hildon-logical-color-example.c:
3541         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3542         applied + adding a test case. Fixes: NB#71660.
3543
3544 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
3545
3546         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3547         to be visible, fixes warning on map for windows without toolbars.
3548
3549 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
3550
3551         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3552         2.11.0, add a check for that besides the MAEMO_GTK check.
3553
3554 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3555
3556         [1.0.17-1 release]
3557
3558         * NEWS:
3559         * configure.ac:
3560         * debian/changelog: Updating.
3561
3562 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3563
3564         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3565         visibility. Fixes: NB#70842 and MB#615.
3566
3567 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
3568
3569         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3570         set the separator as no-show-all so it doesn't unintentionally appear when
3571         someone does a show_all.
3572
3573 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
3574
3575         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3576         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3577         toplevel item. Fixes: NB#62031
3578
3579 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
3580
3581         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3582         fix the name of the function in the docs.
3583
3584 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3585
3586         [1.0.16-1 release]
3587
3588         * NEWS:
3589         * configure.ac:
3590         * debian/changelog: Updating.
3591
3592 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3593
3594         * examples/hildon-banner-long-example.c: Adding a test-case for long
3595         hildon banner.
3596
3597         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3598
3599 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3600
3601         * src/hildon-color-chooser-dialog.c:
3602         * src/hildon-color-chooser.c:
3603         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3604         memory leaks in font selector and color selector. Fixes: NB#70499 and
3605         NB#70474.
3606
3607 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
3608
3609         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3610
3611 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3612
3613         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3614         little bit bigger. Fixes: #NB63694.
3615
3616 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3617
3618         [1.0.15-1 release]
3619
3620         * NEWS:
3621         * configure.ac:
3622         * debian/changelog: Updating.
3623
3624 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3625
3626         * doc/Makefile.am:
3627         * doc/hildon-docs.sgml:
3628         * doc/images/bread-crumb-trail.png:
3629         * doc/images/calendar-popup.png:
3630         * doc/images/caption.png:
3631         * doc/images/code-dialog.png:
3632         * doc/images/color-button.png:
3633         * doc/images/color-chooser-dialog.png:
3634         * doc/images/color-chooser.png:
3635         * doc/images/controlbar.png:
3636         * doc/images/date-editor.png:
3637         * doc/images/font-selection-dialog.png:
3638         * doc/images/get-password-dialog.png:
3639         * doc/images/hvolumebar.png:
3640         * doc/images/login-dialog.png:
3641         * doc/images/note.png:
3642         * doc/images/number-editor.png:
3643         * doc/images/range-editor.png:
3644         * doc/images/seekbar.png:
3645         * doc/images/set-password-dialog.png:
3646         * doc/images/sort-dialog.png:
3647         * doc/images/time-editor.png:
3648         * doc/images/time-picker.png:
3649         * doc/images/vvolumebar.png:
3650         * doc/images/weekday-picker.png: Adding the new generated widget shots.
3651         Adding the bread-crumb-trial and helpers to the documentation.
3652
3653 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3654
3655         * examples/hildon-find-toolbar-example.c:
3656         * src/hildon-find-toolbar.c:
3657         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3658         actually continue firing the other handlers if connected. Adding a new
3659         function:
3660         hildon_find_toolbar_get_last_index that gets the index of the most
3661         recently added (last) item. Fixes: NB#52301.
3662
3663 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3664
3665         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3666         behaviour. Fixes: NB#68610.
3667
3668 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3669
3670         * src/hildon-banner.c: Actually reverting the previous change. It somehow
3671         looks a bit worse.
3672
3673 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3674
3675         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3676         when realizing the banner. Should make the infonbanner effect a bit more
3677         bearable.
3678
3679 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3680
3681         * src/hildon-volumebar.c:
3682         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3683         hildon_volumebar_set_range_insensitive_message and
3684         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3685
3686 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3687
3688         * src/hildon-window.c: Fixing the border freeing on destroy.
3689
3690 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3691
3692         * src/hildon-code-dialog-private.h:
3693         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3694         kw keyboard support in HildonCodeDialog.
3695
3696 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3697
3698         [1.0.14-1 release]
3699
3700         * NEWS:
3701         * configure.ac:
3702         * debian/changelog: Updating.
3703
3704 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3705
3706         * src/hildon-date-editor.c:
3707         * src/hildon-number-editor.c:
3708         * src/hildon-private.c:
3709         * src/hildon-private.h:
3710         * src/hildon-time-editor.c:
3711         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3712         handling in subclassed composite widgets. Fixes: NB#66628.
3713
3714 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3715
3716         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3717         from destroy_ callback as it introduces problems in async dbus signal
3718         handlers. Fixes NB#66673.
3719
3720 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3721
3722         * examples/hildon-hvolumebar-example.c:
3723         * src/hildon-volumebar.c: Improving the focus handling in the
3724         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3725         set_property accessor so that "mute" property can be actually set. I'm
3726         scared that nobody noticed it's totally broken.
3727
3728 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3729
3730         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3731         Fixes NB#66548.
3732
3733 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3734
3735         * src/hildon-calendar.c:
3736         * src/hildon-number-editor.c:
3737         * src/hildon-time-picker.c: Changing the timeout repeat so that it
3738         matches the spec of 6 chars per second. Fixes: NB#60489.
3739
3740 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3741
3742         * src/hildon-helper.c: Really fixing NB#58352. Looks like
3743         gtk_style_lookup_color sometime returns FALSE even though color was
3744         found and values were filled properly. Weird. Removing the warning for the
3745         time being.
3746
3747 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3748
3749         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3750         expand vertically. Adding some extra space to the find toolbar buttons to
3751         make them thumbable. Fixes NB#66060.
3752
3753 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3754
3755         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3756         popup with "Ok" and "Cancel". Fixes NB#59299.
3757
3758 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3759
3760         * src/hildon-calendar.c: Process all window updates before executing next
3761         timeout. Fixes: NB#54146.
3762
3763 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3764
3765         [1.0.13-1 release]
3766
3767         * NEWS:
3768         * configure.ac:
3769         * debian/changelog: Updating.
3770
3771 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
3772
3773         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3774         the client event and ignore it, since we use the delete event to close
3775         after timeouts.
3776
3777 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3778
3779         * src/hildon-helper.c: Remove the bogus warning about color not being
3780         found. Fixes NB#58352.
3781
3782 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3783
3784         * examples/Makefile.am:
3785         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3786         HildonSeekbar widget inside a toolbar.
3787
3788 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
3789
3790         * src/hildon-banner.c (hildon_banner_init): mark the banners as
3791         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3792         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3793         don't want to be closed by non-temporary windows on map.
3794
3795         Also use G_DEFINE_TYPE instead of manually typed code.
3796
3797 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3798
3799         [1.0.12-1 release]
3800
3801         * NEWS:
3802         * configure.ac:
3803         * debian/changelog:
3804         * debian/rules: Updating.
3805
3806 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3807
3808         * examples/Makefile.am:
3809         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3810         bug NB#61128. Strangely it works.
3811
3812 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3813
3814         * src/hildon-date-editor.c: When the date editor entry has been changed
3815         but the numbers of characters < max, turn off the skip validation flag.
3816         Prevents a situation when we enter first a valid year and later re-write
3817         it with an invalid one. Fixes NB#60154.
3818
3819 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3820
3821         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3822         code dialog. Fixes NB#64355.
3823
3824 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3825
3826         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3827         switching the page. Fixes NB#49374.
3828
3829         * examples/Makefile.am:
3830         * examples/hildon-wizard-dialog-example.c: Adding an example for
3831         HildonWizardDialog that shows how to handle manual sensitivity setting on
3832         the wizard dialog.
3833
3834 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3835
3836         * configure.ac:
3837         * src/Makefile.am:
3838         * src/hildon-version.h.in:
3839         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3840
3841 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3842
3843         * src/hildon-volumebar.c: Updating the docs.
3844
3845 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3846
3847         [1.0.11-1 release]
3848
3849         * NEWS:
3850         * configure.ac:
3851         * debian/changelog: Updating.
3852
3853 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3854
3855         * src/hildon-find-toolbar.c:
3856         * src/hildon-find-toolbar.h: Adding a few new functions to control the
3857         selected item: hildon_find_toolbar_set_active,
3858         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3859         hildon_find_toolbar_get_active_iter . They correspond to respective
3860         GtkComboBox functions.
3861
3862         * examples/Makefile.am:
3863         * examples/hildon-find-toolbar-example.c: Adding the example to test the
3864         new functionality.
3865
3866 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3867
3868         * examples/Makefile.am:
3869         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3870         theming easily.
3871
3872         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3873         when font size > 32 and we pack a focusable widget inside. Actually using
3874         the default response would work too, but since we don't show default
3875         response state in any way (no theming) it would not be visible to the
3876         user. Fixes NB#63430.
3877
3878 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3879
3880         * src/hildon-date-editor.c: Adding the missing variable setter in the
3881         set_property handler. Fixes NB#54182.
3882
3883 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3884
3885         * src/hildon-window.h: Changing the long key press time from 1500ms to
3886         800ms as requested in NB#63700. I have a bad feeling about this, let's
3887         see... Fixes NB#63700.
3888
3889 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
3890
3891         * src/hildon-time-picker.c (hildon_time_picker_class_init,
3892         hildon_time_picker_map, hildon_time_picker_realize,
3893         hildon_time_picker_style_set): Split the contents of map to more
3894         appropriate functions; set window decorations on realize and update
3895         arrows' size requisitions on style-set. Avoids unnecessary resizing.
3896
3897 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
3898
3899         [1.0.10-2 release]
3900
3901         * NEWS:
3902         * debian/changelog: Updating.
3903
3904 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
3905
3906         * src/Makefile.am: fixed installation of the header files
3907
3908 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3909
3910         [1.0.10-1 release]
3911
3912         * NEWS:
3913         * configure.ac:
3914         * debian/changelog: Updating.
3915
3916 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3917
3918         * configure.ac: Removing some remaining of --enable-xan.
3919
3920 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
3921
3922         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3923         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3924
3925         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3926         2.10.12-osso6 because the move-focus signal needs to be available in
3927         GtkWidget.
3928
3929 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3930
3931         * examples/Makefile.am:
3932         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3933         that makes a HildonVolumebar insensitive before mapping it. Seems to work
3934         fine. Prolly NB#61128 is fixed now.
3935
3936 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3937
3938         * src/hildon-volumebar.c:
3939         * src/hildon-volumebar.h: Adding the
3940         hildon_volumebar_set_range_insensitive_message and
3941         hildon_volumebar_set_range_insensitive_messagef functions to set
3942         insensitive message on the slider of the volumebar. Fixes NB#61129.
3943
3944         * examples/Makefile.am:
3945         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3946         test the new insensitive messsage functionality on HildonVolumebar.
3947
3948 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
3949
3950         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3951         work again.
3952
3953 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
3954
3955         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3956         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3957         button on after clearing the trail.
3958
3959 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3960
3961         * src/hildon-code-dialog.c: Removing the separator from the dialog.
3962
3963 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
3964
3965         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3966         by splitting the installed headers in generated and non-generated groups. Use
3967         only the non-generated headers to create the hildon-enum-types.h file.
3968
3969         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3970
3971 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3972
3973         * src/hildon-window.c: Hide the window before performing the destroy.
3974         Should make the app closing a little tiny bit more snappy.
3975
3976 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
3977
3978         * src/hildon-seekbar.c: add gtkrange.h header
3979         * src/hildon-caption.c: remove unused variable
3980
3981 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
3982
3983         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3984         Loic Minier.
3985
3986 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3987
3988         [1.0.9-1 release]
3989
3990         * NEWS:
3991         * configure.ac:
3992         * debian/changelog: Updating.
3993
3994 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
3995
3996         * src/hildon-window.c (hildon_window_window_state_event,
3997         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3998         escape timeout on focus-out-event rather than notify::is-topmost; the
3999         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4000
4001 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4002
4003         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4004         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4005
4006 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
4007
4008         * src/hildon-window: actually, you need to use the macro always, there's
4009         no private pointer in the instance structure. We should have cleaned this up
4010         when we had the chance...
4011
4012 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
4013
4014         * src/hildon-window.c: do not get the private date from HildonWindow before
4015         it passes the g_return_if_fail check. Once it's passed the test, there's no
4016         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4017         if you are only going to access the data once. Whitespace cleanups.
4018
4019 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
4020
4021         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4022         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4023
4024 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4025
4026         [1.0.8-1 release]
4027
4028         * NEWS:
4029         * configure.ac:
4030         * debian/changelog: Updating.
4031
4032 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4033
4034         * src/hildon-window.c: When destroying the window, remove (if exists) the
4035         escape timeout handler. Fixes #NB59276.
4036
4037 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4038
4039         * src/hildon-banner.c: When realizing the widget, set the window
4040         transiency. Setting the transiency in the gobject constructor is not
4041         good, as the widget is not realized at that point. Fixes: #NB56624.
4042
4043 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4044
4045         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4046         Add padding for future expansions.
4047
4048 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4049
4050         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4051         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4052         will fake an activation on the previous to the last item of the trail, so
4053         the effect can be overrided by the developer as usual.
4054         Also change the callback for the back button to do the same thing, so its
4055         effect can be overrided too. Fixes: NB#58982
4056
4057 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4058
4059         * src/hildon-caption.c: Implementing the proper focus grabbing in the
4060         HildonCaption. Fixes NB#52379.
4061
4062 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4063
4064         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4065         the internal state of the trail after the user has had the chance of executing
4066         his handler for the signal. Specifically, it may happen that the activated button
4067         is removed and the user still lets the default handler run. This would segfault
4068         previously.
4069
4070 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4071
4072         * src/hildon-font-selection-dialog.c: When the font is really big, add the
4073         scrollbar to the preview dialog. Fixes NB#54147.
4074
4075 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4076
4077         * src/hildon-date-editor.c: Changing the default max year to 2037. The
4078         max/min year properties can be altered, so the client can modify it
4079         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4080
4081 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4082
4083         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4084         hildonlike by default. Fixing a problem with disappearing arrows when
4085         scrolling through months and years. Fixes NB#54127.
4086
4087 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4088
4089         * examples/hildon-date-editor-example.c: Adding error callback to the date
4090         editor example.
4091
4092 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4093
4094         [1.0.7-1 release]
4095
4096         * NEWS:
4097         * debian/changelog:
4098         * configure.ac: Updating.
4099
4100 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4101
4102         * configure.ac: Adding a special '--enable-xan' configure option that
4103         turns off the -Werror compilation setting. Usefull for development.
4104
4105         * src/hildon-calendar.c:
4106         * src/hildon-number-editor.c:
4107         * src/hildon-time-picker.c: Adding the 5* multiplier to
4108         gtk-timeout-update.
4109
4110 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
4111
4112         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4113         instead of g_object_ref + gtk_object_sink.
4114
4115 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4116
4117         [1.0.6-1 release]
4118
4119         * NEWS:
4120         * configure.ac:
4121         * debian/changelog: Updating.
4122
4123 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4124
4125         * src/hildon-color-chooser-dialog.c:
4126         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4127         straight from Tommi labs.
4128
4129 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4130
4131         * examples/hildon-finger-example.c: Correcting the header file path.
4132
4133         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4134         the changed signal. Fixes a small memory leak.
4135
4136 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4137
4138         * autogen.sh:
4139         * debian/rules:
4140         * src/hildon-banner.c: Importing several usefull fixes from the
4141         ubuntu-mobile branch.
4142
4143 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4144
4145         * examples/Makefile.am:
4146         * examples/hildon-finger-example.c: Adding a finger-checking code
4147         example.
4148
4149         * src/hildon-font-selection-dialog.c: Do not allocate the color
4150         structure using the g_new. Fixes NB#54061.
4151
4152 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4153
4154         * src/hildon-helper.c: Correcting tabs in file.
4155
4156 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
4157
4158         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4159         control the visibility of the children.
4160
4161         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4162
4163 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4164
4165         [1.0.5-1 release]
4166
4167         * NEWS:
4168         * configure.ac:
4169         * debian/changelog: Updating.
4170
4171 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
4172
4173         * src/hildon-bread-crumb-trail.c:
4174         (hildon_bread_crumb_trail_size_allocate):
4175
4176         Make the back button always a square.
4177
4178 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
4179
4180         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4181         from the .c file as it's a private file.
4182
4183 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4184
4185         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4186         uses slightly bigger height.
4187
4188         * src/hildon-font-selection-dialog.c: Adding some checks before
4189         freeing memory in the font selection dialog.
4190
4191 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4192
4193         * src/hildon-font-selection-dialog.c: Adding a small check when
4194         freeing memory.
4195
4196         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4197         buttons sensitivity on page switching.
4198
4199 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
4200
4201         * src/hildon-bread-crumb-trail.c: make the add method handle all the
4202         internal details of adding a bread crumb to the trail.
4203
4204 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4205
4206         [1.0.4-1 release]
4207
4208         * README:
4209         * configure.ac:
4210         * debian/changelog: Updating.
4211
4212         * src/hildon-bread-crumb-trail.h:
4213         * src/hildon-bread-crumb.h: Changing the API guard to
4214         HILDON_ENABLE_UNSTABLE_API.
4215
4216 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4217
4218         [1.0.3-1 release]
4219
4220         * NEWS:
4221         * configure.ac:
4222         * debian/changelog:
4223         * debian/rules:
4224         * src/hildon-helper.h: Updating.
4225
4226 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4227
4228         [1.0.2-1 release]
4229
4230         * NEWS:
4231         * configure.ac:
4232         * debian/changelog:
4233
4234 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4235
4236         * README:
4237         * configure.ac:
4238         * src/hildon-helper.h: Small fix to make the package actually compile.
4239
4240 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
4241
4242         * src/hildon-bread-crumb-trail.h:
4243         * src/hildon-bread-crumb.h:
4244
4245         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4246         to define ENABLE_UNSTABLE_API in the code that includes these headers.
4247
4248 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
4249
4250         * examples/hildon-bread-crumb-trail-example.c:
4251         * src/Makefile.am:
4252         * src/hildon-bread-crumb-trail.c:
4253         * src/hildon-bread-crumb-trail.h:
4254         * src/hildon-bread-crumb.c:
4255         * src/hildon-bread-crumb.h:
4256         * src/hildon-marshalers.list:
4257         * src/hildon-bread-crumb-widget.c:
4258         * src/hildon-bread-crumb-widget.h:
4259
4260         Slight change in the widget design. The bread crumb trail API is
4261         unchanged, but HildonBreadCrumb is now an interface. A *private*
4262         implementation, hildon-bread-crumb-widget, is provided and used
4263         internally by the trail for the push_text/push_icon functions.
4264
4265         The generic push API is still available, so anyone can implement
4266         and use its own bread crumb widget.
4267
4268 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4269
4270         * debian/rules: Fixing the shlibs.
4271
4272 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4273
4274         * src/hildon-banner.c: Fixing a problem with timed banners having
4275         their parrent destroyed before they are.
4276
4277 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
4278
4279         * src/hildon-bread-crumb.c:
4280         * src/hildon-bread-crumb.h:
4281
4282         Make the get_natural_size function a vfunc.
4283
4284 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4285
4286         * src/hildon-bread-crumb.c:
4287         * src/hildon-bread-crumb-trail.c:
4288
4289         Some cleanups.
4290
4291 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4292
4293         [1.0.1-1 release]
4294
4295         * AUTHORS:
4296         * NEWS:
4297         * configure.ac:
4298         * debian/changelog: Updating for release.
4299
4300 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4301
4302         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4303         don't leak the pango layout.
4304
4305 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4306
4307         * src/hildon.h:
4308         * examples/hildon-bread-crumb-trail-example.c:
4309
4310         Fix example.
4311
4312 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4313
4314         * debian/changelog: Removing the bug-fixed entries that were actually
4315         resolved as WONTFIX.
4316
4317         * src/hildon-date-editor.c: Removing a redundant check. Fixes
4318         NB#54182.
4319
4320 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
4321
4322         * src/hildon-bread-crumb-trail.c:
4323         * src/hildon-bread-crumb-trail.h:
4324         * src/hildon-bread-crumb.c:
4325         * src/hildon-bread-crumb.h:
4326
4327         Untabify.
4328
4329 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
4330
4331         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4332         until it's passed the type check.
4333
4334 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
4335
4336         * examples/hildon-bread-crumb-trail-example.c
4337
4338         Add license.
4339
4340 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
4341
4342         * examples/Makefile.am
4343         * examples/hildon-bread-crumb-trail-example.c
4344         * src/Makefile.am
4345         * src/hildon-bread-crumb-trail.c
4346         * src/hildon-bread-crumb-trail.h
4347         * src/hildon-bread-crumb.c
4348         * src/hildon-bread-crumb.h
4349
4350         New HildonBreadCrumbTrail widget.
4351
4352 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
4353
4354         * src/hildon-range-editor.c (hildon_range_editor_init),
4355         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4356         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4357         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4358         hildon_time_editor_class_init, hildon_time_editor_init),
4359         src/hildon-get-password-dialog.c (invalid_input,
4360         hildon_get_password_set_property, hildon_get_password_get_property,
4361         create_contents, hildon_get_password_dialog_set_max_characters),
4362         src/hildon-set-password-dialog.c (create_contents),
4363         src/hildon-date-editor.c (hildon_date_editor_init),
4364         src/hildon-login-dialog.c (hildon_login_dialog_init),
4365         src/hildon-number-editor.c (hildon_number_editor_init),
4366         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4367         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4368         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4369          configure option and adding the respective checks in the code.
4370         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4371         hildon_calendar_drag_data_received): fixed some build warnings.
4372
4373 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4374
4375         * debian/changelog: A 1.0.0 release notes.
4376