1 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3 * configure.ac: postrelease version bump.
5 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
9 * configure.ac: Prerelease version bump.
10 * debian/changelog: update.
11 * debian/rules: make -dbg package contain useful debugging symbols.
13 2008-09-08 Alberto Garcia <agarcia@igalia.com>
17 (hildon_dialog_add_button, hildon_dialog_add_buttons):
18 New methods to add buttons with finger size.
19 (hildon_dialog_new_with_buttons):
20 Create buttons with finger size.
22 * examples/hildon-dialog-example.c (main): Use HildonDialog
23 methods to add buttons.
25 2008-09-08 Alberto Garcia <agarcia@igalia.com>
27 * src/hildon-entry.c: Updated HildonButton documentation.
29 2008-09-08 Alberto Garcia <agarcia@igalia.com>
31 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
32 button value label with (FALSE, FALSE) to prevent NB#88126 from
35 2008-09-08 Alejandro G. Castro <alex@igalia.com>
37 * examples/hildon-pannable-area-example.c,
38 (main): Removed examples panning a vbox inside a pannable
39 area. Check bug NB#87965
41 2008-09-08 Alejandro G. Castro <alex@igalia.com>
43 Patch contributed by Kris Rietveld (kris@imendio.com)
45 * src/hildon-pannable-area.c,
46 (hildon_pannable_area_get_topmost): replaced the get_geometry with
47 get_size and get_position, this saves an X server roundtrip.
49 2008-09-05 Alberto Garcia <agarcia@igalia.com>
51 * doc/hildon-docs.sgml
53 * examples/Makefile.am
54 * examples/hildon-entry-example.c
59 New HildonEntry widget, with example.
61 2008-09-05 Alberto Garcia <agarcia@igalia.com>
63 * src/hildon-button.c (hildon_button_construct_child): Pack the
64 image with expand == fill == FALSE. This is a workaround for a bug
67 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
69 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
70 labels for the text column, to make it more look more dynamic.
72 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
74 * src/hildon-time-selector.c
75 Define gettext auxiliar macro N_
76 (_create_minutes_model)
78 (_create_ampm_model): use of strftime in order to fill the model
79 * src/hildon-date-selector.c
80 (hildon_date_selector_finalize):
81 (_locales_init): remove the logic related to get the name of the months
82 using nl_langinfo, as it is not required anymore
86 (_update_day_model): use of strftime in order to fill the model properly
89 2008-09-04 Alberto Garcia <agarcia@igalia.com>
92 * src/hildon-button.c (hildon_button_get_image): New method to
95 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
97 * src/hildon-touch-selector.c:
98 (hildon_touch_selector_remove_column): Remove from the correct parent
99 and also remove the list element and free it.
102 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
104 * src/hildon-time-selector.c
105 (_create_hours_model): change the range on 12h ampm format in order to use
106 a 12-11 range instead of previous 01-12 range
107 (hildon_time_selector_set_time): change the way to select the current time
108 on 12h ampm format, due the change on the range
109 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
112 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
114 * src/hildon-touch-selector.c
115 (hildon_date_touch_selector_get_selected): fix the selection mode check,
116 in order to allow use this function on multiple row selection mode if
117 the column is different that the first one
120 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
122 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
123 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
125 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
127 * src/hildon-date-selector.h: clean some comments, now on the .c
128 * src/hildon-date-selector.c
129 (hildon_date_selector_select_month): first implementation
130 (hildon_date_selector_select_day): added documentation, reimplemented
131 using hildon_date_selector_select_current_date to avoid repeat code
134 2008-09-02 Alejandro G. Castro <alex@igalia.com>
136 Reviewed interaction logic based on device experiences, refactored
139 * src/hildon-pannable-area.c,
140 (hildon_pannable_area_class_init): Updated default vmax speed.
141 (hildon_pannable_area_calculate_velocity): Added this function, it
142 avoids duplicate valocity calculation. Adjusted calculation to
143 avoid problems with zero dist events.
145 (hildon_pannable_area_motion_notify_cb): Now we use the
146 calculate_velocity function.
148 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
150 * src/hildon-date-selector.c
151 (hildon_date_selector_select_current_date): fix the day range check
152 as it failed using the last day of the current month
155 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
157 * src/hildon-touch-selector.c
158 (hildon_touch_selector_get_num_columns): added a parameter validation
161 2008-08-29 Alberto Garcia <agarcia@igalia.com>
163 * examples/Makefile.am
164 * examples/hildon-edit-toolbar-example.c: Example of the
165 HildonEditToolbar widget.
167 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
169 * configure.ac: postrelease version bump.
171 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
175 * configure.ac: prerelease version bump.
176 * debian/changelog: update.
178 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
180 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
181 renderer to display stock icons in the touch list. Also, set the sizes
182 to the recommended in the style guide.
184 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
185 * src/hildon-touch-selector.h
186 (hildon_touch_selector_set_active_iter): renamed, now is
187 hildon_touch_selector_select_iter
188 (hildon_touch_selector_get_active_iter): renamed, now is
189 hildon_touch_selector_get_selected
190 (hildon_touch_selector_unselect_iter): added
191 * src/hildon-touch-selector.c
192 Update after API modification (methods renamed)
193 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
194 order to avoid problems selecting multiple elements on the column
195 (hildon_touch_selector_unselect_iter): added the implementation
196 * src/hildon-time-selector.c
197 * src/hildon-date-selector.c
198 * src/hildon-touch-selector-entry.c
199 Update methods calls after hildon-touch-selector.h API modification (methods
202 2008-08-29 Alberto Garcia <agarcia@igalia.com>
204 * src/hildon-stackable-window.c
205 (hildon_stackable_window_finalize): Call the parent class's finalize.
207 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
209 * examples/hildon-touch-selector-example.c: (create_selector): Use
210 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
213 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
215 * examples/hildon-touch-selector-example.c: (create_selector): Do not
216 set a cell background color, to respect theming.
218 2008-08-28 Alberto Garcia <agarcia@igalia.com>
220 * doc/hildon-docs.sgml
223 * src/hildon-edit-toolbar.c
224 * src/hildon-edit-toolbar.h
225 * src/hildon.h: New HildonEditToolbar widget.
227 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
229 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
232 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
233 * src/hildon-touch-selector.c
234 (_create_new_column): use g_object_set instead of two g_object_set_property
236 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
237 * src/hildon-touch-selector.c
238 (_create_new_column): use of hildon_gtk_tree_view_new to create
239 the treeview, instead of use directly g_object_new
240 (_create_new_column): update the property name "vindicator-mode" for the
241 new one "vscrollbar-policy"
242 * examples/hildon-date-button-example.c
243 * examples/hildon-picker-button-multicolumn-example.c
244 * examples/hildon-touch-selector-entry-example.c
245 * examples/hildon-touch-selector-example.c
246 * examples/hildon-time-button-example.c
247 * examples/hildon-picker-button-example.c
248 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
249 to all the treeviews inside a pannable area.
251 2008-08-27 Alberto Garcia <agarcia@igalia.com>
253 * src/hildon-button.h
254 * src/hildon-button.c (hildon_button_init)
255 (hildon_button_set_arrangement, hildon_button_set_alignment)
256 (hildon_button_set_title_alignment)
257 (hildon_button_set_value_alignment)
258 (hildon_button_set_image_alignment)
259 (hildon_button_construct_child): New methods to set the alignment
260 of the individual components of the button (title, value,
261 image). Also, new method to alter the xscale and yscale properties
262 of the GtkAlignment inside the button, so more complex layouts can
265 2008-08-27 Alberto Garcia <agarcia@igalia.com>
267 * src/hildon-button.c (hildon_button_style_set)
268 (hildon_button_class_init, hildon_button_set_arrangement)
269 (hildon_button_construct_child): Apply style properties
270 correctly. Use the 'image-spacing' style property too.
272 2008-08-26 Alberto Garcia <agarcia@igalia.com>
274 * src/hildon-app-menu.c (hildon_app_menu_style_set)
275 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
278 2008-08-26 Alejandro G. Castro <alex@igalia.com>
280 * src/hildon-pannable-area.c,
281 (hildon_pannable_area_size_request): Fixed problem with
282 pannable-area size_request.
284 2008-08-26 Alejandro G. Castro <alex@igalia.com>
286 Added management for the grab-focus to a child widget, like a
287 range, we need to fade out the scrollbar when releasing.
289 * src/hildon-pannable-area.c,
290 (hildon_pannable_area_init): Connected the grab-focus signal to
292 (hildon_pannable_area_grab_notify): Added this function in order
293 to manage the situation when the grab-focus ends. We have to
294 fade-out the scrollbar.
296 2008-08-25 Alberto Garcia <agarcia@igalia.com>
298 * src/hildon-app-menu.c: Minor documentation update.
300 2008-08-25 Alberto Garcia <agarcia@igalia.com>
302 * src/hildon-app-menu.c
303 * examples/hildon-app-menu-example.c (create_menu): Update
304 examples and documentation to explain how to connect callbacks.
306 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
308 * examples/hildon-button-example.c
309 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
310 hildon_stackable_window_new instead of gtk_window_new
312 2008-08-22 Alejandro G. Castro <alex@igalia.com>
314 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
315 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
316 (hildon_pannable_area_set_property),
317 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
318 (hildon_pannable_area_unrealize),
319 (hildon_pannable_area_size_request),
320 (hildon_pannable_area_size_allocate),
321 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
322 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
323 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
324 (hildon_pannable_area_initial_effect),
325 (hildon_pannable_area_redraw),
326 (hildon_pannable_area_scroll_indicator_fade),
327 (hildon_pannable_area_expose_event),
328 (hildon_pannable_area_get_topmost), (synth_crossing),
329 (hildon_pannable_area_button_press_cb),
330 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
331 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
332 (hildon_pannable_area_motion_notify_cb),
333 (hildon_pannable_area_button_release_cb),
334 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
335 (hildon_pannable_area_remove),
336 (hildon_pannable_calculate_vel_factor): Widget refactorization,
337 chage the code layout to a more GtkWidget like. Review the use of
340 2008-08-21 Alejandro G. Castro <alex@igalia.com>
342 * examples/hildon-pannable-area-example-4.c,
343 (main): Modified the name of the hindicator_mode to
346 * src/hildon-pannable-area.c,
347 (hildon_pannable_area_class_init),
348 (hildon_pannable_area_motion_notify_cb),
349 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
350 we have reduced the amount of signals and managed reviewed its
351 rationale. Changed the default decelerate value.
353 (hildon_pannable_area_add),
354 (hildon_pannable_area_redraw): Refactored functions.
356 (hildon_pannable_area_init),
357 (hildon_pannable_area_get_property),
358 (hildon_pannable_area_set_property):
359 (hildon_pannable_draw_vscroll),
360 (hildon_pannable_draw_hscroll),
361 (hildon_pannable_area_initial_effect),
362 (hildon_pannable_area_expose_event),
363 (hildon_pannable_area_scroll),
364 (hildon_pannable_area_button_press_cb),
365 (hildon_pannable_area_realize): Replaced the names hindicator_mode
366 and vindicator_mode with hscrollbar_policy and
367 vscrollbar_policy. Replaced hscroll and vscroll with
368 hscroll_visible and vscroll_visible.
370 (hildon_pannable_area_refresh): Refactor the function, remove
371 variables and check the calls to this function, added resize
372 conditions in case the children change their layout.
374 (hildon_pannable_area_size_request): Added more detailed
375 size_request calculation.
378 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
380 * src/hildon-color-chooser.c
381 (init_borders): use the correct gtk_border_free instead of g_free, to
382 avoid a crash when this widget is used (ie: the three color selection
385 2008-08-20 Alejandro G. Castro <alex@igalia.com>
387 * src/hildon-check-button.c,
388 (hildon_check_button_set_active): Fixed problem when setting the
389 active value, the widget was not redrawn.
391 2008-08-20 Alejandro G. Castro <alex@igalia.com>
393 * src/hildon-pannable-area.c,
394 (hildon_pannable_area_refresh),
395 (hildon_pannable_area_scroll),
396 (hildon_pannable_area_motion_notify_cb): Small code style change.
398 (hildon_pannable_area_class_init): Default initial_hint set to
399 FALSE, it is not in the specs.
401 (hildon_pannable_area_initial_effect),
402 (hildon_pannable_area_expose_event),
403 (hildon_pannable_area_map),
404 (hildon_pannable_area_init): Moved the launching point of the
405 initial effect, it was in map but the sizes where not correct in
406 that method so we do not know if we have the reproduce it. Now it
407 is placed in the expose_event method and uses a variable to
408 reproduce it just once.
410 2008-08-19 Alejandro G. Castro <alex@igalia.com>
412 * src/hildon-pannable-area.c,
413 (hildon_pannable_draw_vscroll),
414 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
415 position allowed for the scrollbars.
417 (hildon_pannable_area_size_allocate): Small style change.
419 2008-08-19 Alejandro G. Castro <alex@igalia.com>
421 * src/hildon-pannable-area.c,
422 (hildon_pannable_area_scroll_indicator_fade),
423 (hildon_pannable_area_button_press_cb),
424 (hildon_pannable_area_button_release_cb),
425 (hildon_pannable_area_scroll_cb),
426 (hildon_pannable_area_expose_event),
427 (hildon_pannable_area_init): Added the define parameter
428 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
429 and refactor the fade variable.
431 2008-08-19 Alejandro G. Castro <alex@igalia.com>
433 * src/hildon-pannable-area.c,
434 (hildon_pannable_area_redraw),
435 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
436 lines, we were reimplemeting the redraw code.
438 2008-08-18 Alejandro G. Castro <alex@igalia.com>
440 * src/hildon-pannable-area.c,
441 (hildon_pannable_area_scroll_cb),
442 (hildon_pannable_area_realize),
443 (hildon_pannable_area_class_init): Added scroll_event management
444 for pannable area, now we can scroll the usual desktop method.
446 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
447 initialization of the parameters should depend on idle_id.
449 (hildon_pannable_area_init),
450 (hildon_pannable_area_map): Small code style modifications
452 2008-08-18 Alejandro G. Castro <alex@igalia.com>
454 * src/hildon-pannable-area.c
455 (hildon_pannable_area_button_press_cb),
456 (hildon_pannable_area_motion_notify_cb),
457 (hildon_pannable_area_button_release_cb),
458 (hildon_pannable_area_size_allocate),
459 (hildon_pannable_area_scroll_to): Improved the timeouts
460 management, we avoid creating them each time.
462 2008-08-14 Alejandro G. Castro <alex@igalia.com>
464 * src/hildon-pannable-area.c:
465 (hildon_pannable_area_refresh),
466 (hildon_pannable_area_motion_notify_cb),
467 (hildon_pannable_area_class_init):
468 * src/hildon-pannable-area.h:
469 * src/hildon-touch-selector.c
470 (_create_new_column):
471 * examples/hildon-pannable-area-example-4.c:
472 (horizontal_movement),
475 Replaced the names of enums in the HildonPannableArea:
476 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
477 HILDON_MOVEMENT_MODE_*
478 - HILDON_PANNABLE_AREA_MOV_* ->
480 - Removed HildonPannableAreaIndicatorMode, now we
483 2008-08-14 Alberto Garcia <agarcia@igalia.com>
485 * examples/hildon-pannable-area-touch-grid-example.c
486 * examples/hildon-pannable-area-touch-list-example.c: Fix
487 compilation warnings.
489 2008-08-14 Alberto Garcia <agarcia@igalia.com>
491 * src/hildon-gtk.c (hildon_gtk_button_new)
492 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
493 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
494 images overriding the value of the "gtk-button-images" setting.
496 2008-08-14 Alberto Garcia <agarcia@igalia.com>
498 * src/hildon-check-button.c (hildon_check_button_new):
499 Instead of using a custom container, display the label and the
500 checkbox using the standard GtkButton API.
502 * examples/hildon-check-button-example.c (main): Don't use
503 hildon_check_button_set_label() anymore
505 * src/hildon-check-button.h
506 * src/hildon-check-button.c
507 (hildon_check_button_set_label, hildon_check_button_get_label):
508 Set as deprecated, now we're using gtk_button_{get,set}_label()
510 2008-08-14 Alejandro G. Castro <alex@igalia.com>
512 * src/hildon-pannable-area.c,
513 (hildon_pannable_area_get_topmost): Fixed bug with click in the
514 GtkTreeview first line we detected it after the inclusion of the
515 GtkWindowImpl in gtk+. We now check if the window is visible, not
516 just if the pointer is over the window.
517 (hildon_pannable_axis_scroll),
518 (hildon_pannable_area_expose_event): Small style changes.
520 2008-08-13 Alberto Garcia <agarcia@igalia.com>
522 * src/hildon-button.c: Update documentation.
524 2008-08-13 Alberto Garcia <agarcia@igalia.com>
526 * examples/hildon-button-example.c: Add a switch to show images in
529 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
531 * doc/hildon-docs.sgml: Some docs reorganization.
533 2008-08-12 Alberto Garcia <agarcia@igalia.com>
535 * examples/hildon-pannable-area-touch-list-example.c
537 * examples/hildon-pannable-area-touch-grid-example.c
538 (create_icon_view): Use gtk_{tree,icon}_view_new() and
539 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
540 Fix memory leak when setting the tree model.
542 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
546 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
548 * doc/hildon.types: Remove duplicated hildon_window_get_type
549 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
550 documentation comment.
552 2008-08-12 Alberto Garcia <agarcia@igalia.com>
554 * doc/Makefile.am: Complete list of private headers.
556 2008-08-12 Alberto Garcia <agarcia@igalia.com>
558 * doc/hildon-docs.sgml
559 * src/hildon-app-menu.c
560 * src/hildon-bread-crumb.c
561 * src/hildon-button.c
563 * src/hildon-program.c
564 * src/hildon-stackable-window.c
565 * src/hildon-window.c: Lots of documentation updates.
567 2008-08-12 Alberto Garcia <agarcia@igalia.com>
569 * debian/control: Depend on Gtk 2:2.12.9-0osso3
571 * configure.ac: Require Gtk+ 2.12.9 at least
573 2008-08-12 Alejandro G. Castro <alex@igalia.com>
575 * src/hildon-pannable-area.c
576 (hildon_pannable_area_scroll_indicator_fade),
577 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
578 to protect the return of this timeout callbacks, avoiding deadlocks.
580 2008-08-12 Christian Dywan <christian@imendio.com>
583 * src/hildon-*.h: Ensure a consistent include order,
584 include <gtk/gtk.h> instead of particular files and
585 only include the topmost header in the gtk stack. See NB #39857
587 2008-08-12 Christian Dywan <christian@imendio.com>
589 * src/hildon-picker-dialog.c
590 * src/hildon-touch-selector.c: Fix warnings about unused and
591 uninitialized variables.
593 2008-08-11 Alberto Garcia <agarcia@igalia.com>
595 * examples/Makefile.am
596 * examples/hildon-check-button-example.c: Example of the hildon
599 2008-08-11 Alberto Garcia <agarcia@igalia.com>
601 * src/hildon-window.h
602 * src/hildon-window.c (hildon_window_class_init)
603 (hildon_window_unset_program): Don't make
604 hildon_window_unset_program a virtual function anymore.
606 * src/hildon-stackable-window.c: Update documentation
608 2008-08-11 Alberto Garcia <agarcia@igalia.com>
611 * doc/hildon-docs.sgml
612 * doc/visual_index.xml
613 * src/hildon-defines.c
615 * src/hildon-helper.c
616 * src/hildon-range-editor.c: Lots of documentation fixes.
618 2008-08-11 Alberto Garcia <agarcia@igalia.com>
620 * examples/hildon-picker-button-multicolumn-example.c
621 (create_touch_selector): Fix compilation warning.
623 2008-08-11 Alberto Garcia <agarcia@igalia.com>
625 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
626 (hildon_pannable_area_button_release_cb)
627 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
629 2008-08-11 Alberto Garcia <agarcia@igalia.com>
631 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
634 2008-08-11 Alberto Garcia <agarcia@igalia.com>
636 * src/hildon-bread-crumb-trail.h
637 * src/hildon-date-editor.c
638 * src/hildon-date-selector.c
639 * src/hildon-pannable-area.c
640 * src/hildon-picker-dialog.c
641 * src/hildon-time-selector.c
642 * src/hildon-touch-selector-entry.c
643 * src/hildon-touch-selector.c
644 * src/hildon-touch-selector.h: Misc documentation fixes
646 2008-08-11 Alberto Garcia <agarcia@igalia.com>
648 * examples/hildon-date-editor-example.c (main): Updated date
651 * examples/hildon-note-example.c (on_confirmation_clicked):
652 Updated confirmation note example.
654 * src/hildon-date-editor.c
655 * src/hildon-note.c: Updated sample programs in documentation.
658 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
660 * src/hildon-date-button.h:
661 * src/hildon-picker-button.h:
662 * src/hildon-time-button.c:
663 * src/hildon-time-button.h:
665 Some declarations changes to allow gtk-doc to document the widgets
668 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
670 * src/hildon-date-button.c: Document the widget.
671 * src/hildon-time-button.c: Document the widget.
673 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
675 * src/hildon-picker-button.c: Document the widget.
676 * src/hildon-touch-selector-entry.c: Document the widget.
678 2008-08-08 Alberto Garcia <agarcia@igalia.com>
680 * doc/hildon-docs.sgml
683 * src/hildon-check-button.h
684 * src/hildon-check-button.c: New functions to create the Hildon
688 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
690 2008-08-08 Alberto Garcia <agarcia@igalia.com>
692 * src/hildon-button.h
693 * src/hildon-button.c
694 (hildon_button_add_title_size_group)
695 (hildon_button_add_value_size_group)
696 (hildon_button_add_image_size_group)
697 (hildon_button_add_size_groups): New functions to set size groups
698 for the button labels and image.
699 (hildon_button_new_full): Removed
701 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
703 * src/hildon-time-selector.c
704 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
705 in order to avoid a crash if gconf is not available
707 2008-08-08 Alberto Garcia <agarcia@igalia.com>
709 * src/hildon-button.c (hildon_button_set_arrangement)
710 (hildon_button_construct_child): Don't construct the button child
711 before setting the arrangement.
713 2008-08-08 Alberto Garcia <agarcia@igalia.com>
715 * src/hildon-program-private.h
716 * src/hildon-program.c
717 * src/hildon-program.h
718 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
719 (hildon_program_peek_window_stack)
720 (hildon_program_pop_window_stack)
721 (hildon_program_go_to_root_window): HildonProgram now has a
722 separate list for stackable windows. Functions are provided to
723 manage that list with a stack-like API.
725 * src/hildon-stackable-window.c: Stackable window management is
726 now much simpler with the new HildonProgram API. Windows no
727 longer need to be manually added to the program, they're
728 automatically pushed to the top of the stack when shown.
730 * examples/hildon-stackable-window-example.c: Updated example to
731 reflect the API changes.
733 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
735 * src/hildon-touch-selector.c: Comment out unimplemented
736 hildon_touch_selector_insert_column() to avoid a compile warning.
738 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
740 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
741 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
742 (hildon_touch_selector_set_column_selection_mode),
743 (_hildon_touch_selector_set_model),
744 (hildon_touch_selector_set_model):
746 Complete review of HildonTouchSelector documentation.
748 2008-08-08 Alberto Garcia <agarcia@igalia.com>
750 * doc/hildon-docs.sgml
754 * src/hildon-gtk.c: Convenience functions for standard Gtk
755 widgets, used to easily perform frequent operations.
757 * src/hildon-button-helpers.h
758 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
760 * src/hildon-helper.h
761 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
762 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
764 * src/hildon-button.h
765 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
767 2008-08-07 Alberto Garcia <agarcia@igalia.com>
769 * src/hildon-button.c (hildon_button_init)
770 (hildon_button_set_arrangement, hildon_button_construct_child):
771 Pack the image and the labels inside the same GtkAlignment so
772 gtk_button_set_alignment() can be used
774 2008-08-07 Alberto Garcia <agarcia@igalia.com>
776 * src/hildon-button.h
777 * src/hildon-button.c
778 (hildon_button_init, hildon_button_set_image)
779 (hildon_button_set_image_position)
780 (hildon_button_construct_child): New functions to add an image to
783 2008-08-07 Alberto Garcia <agarcia@igalia.com>
785 * src/hildon-date-button.c
786 * src/hildon-picker-button.c
787 * src/hildon-time-button.c
788 * src/hildon-button.c:
789 (hildon_button_class_init): "size-flags" renamed to "size"
790 (hildon_button_set_title): Hide the title label if set to NULL.
792 2008-08-07 Alberto Garcia <agarcia@igalia.com>
794 HildonButtonFlags split into HildonButtonArrangement (to set the
795 button layout) and HildonSizeType (which can be used for any
798 * src/hildon-button.h
799 * src/hildon-button.c
800 (hildon_button_class_init)
801 (hildon_button_set_arrangement)
802 (hildon_button_set_property): New "size-flags"
803 property. "arrangement-flags" renamed to "arrangement".
804 (hildon_button_new, hildon_button_new_with_text)
805 (hildon_button_new_full): Constructors updated to reflect type changes.
807 * src/hildon-helper.h
808 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
809 to set the size of a widget.
813 * src/hildon-button-helpers.c
814 * src/hildon-button-helpers.h: New hildon-button-helpers module.
816 * src/hildon-date-button.c
817 * src/hildon-date-button.h
818 * src/hildon-picker-button.c
819 * src/hildon-picker-button.h
820 * src/hildon-time-button.c
821 * src/hildon-time-button.h: Updated widgets to reflect
822 HildonButton API changes.
824 * examples/hildon-button-example.c
825 * examples/hildon-date-button-example.c
826 * examples/hildon-picker-button-example.c
827 * examples/hildon-picker-button-multicolumn-example.c
828 * examples/hildon-time-button-example.c
829 * examples/hildon-touch-selector-entry-example.c
830 * examples/hildon-touch-selector-example.c: Updated examples to
831 reflect HildonButton API changes.
833 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
835 * doc/hildon-docs.sgml:
837 * examples/Makefile.am:
838 * examples/hildon-touch-selector-entry-example.c:
840 * src/hildon-touch-selector-entry.c:
841 * src/hildon-touch-selector-entry.h:
844 Moved HildonTouchSelectorEntry from sandbox. Added its
845 documentation and examples.
847 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
849 * src/hildon-touch-selector.h:
850 * examples/hildon-picker-button-multicolumn-example.c:
851 (hildon_touch_selector_append_text_column): Add a gboolean
852 parameter to determine if text must be centered in the column.
854 * src/hildon-date-selector.c: (hildon_date_selector_init):
855 * src/hildon-time-selector.c: (hildon_time_selector_init):
856 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
857 (create_touch_selector): Update widgets and example to reflect
860 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
862 * src/hildon-touch-selector.c:
863 (hildon_touch_selector_set_active_iter): Set also the cursor in
866 2008-08-06 Alberto Garcia <agarcia@igalia.com>
868 * doc/hildon-docs.sgml
871 * src/hildon-toggle-button.c
872 * src/hildon-toggle-button.h
873 * src/hildon.h: Removed HildonToggleButton widget, a derived
874 class is not necessary for this.
876 2008-08-06 Alejandro G. Castro <alex@igalia.com>
878 * src/hildon-pannable-area.c,
879 (hildon_pannable_area_realize),
880 (hildon_pannable_area_size_allocate): Code refactoring, add tests
883 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
885 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
886 "done" button the default widget for the dialog.
888 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
890 * src/hildon-touch-selector.c:
891 (hildon_touch_selector_class_init),
892 (hildon_touch_selector_get_property),
893 (_hildon_touch_selector_set_model),
894 (_hildon_touch_selector_has_multiple_selection),
895 (hildon_touch_selector_has_multiple_selection):
896 Add a "has-multiple-selection" property with a virtual
897 has_multiple_selection() method to allow derived classes to
898 override the default value for it. See the method and property
899 documentation for details.
901 * src/hildon-touch-selector.h: Add the new API.
903 * src/hildon-picker-dialog.c: (requires_done_button): Call
904 hildon_touch_selector_has_multiple_selection() instead of
905 determining the need for a button itself.
907 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
909 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
910 (_hildon_touch_selector_set_model),
911 (hildon_touch_selector_set_model): Move working code to
912 _hildon_touch_selector_set_mode(). Call the class method instead.
914 * src/hildon-touch-selector.h: Add (*set_model) to
915 HildonTouchSelectorClass.
917 Make hildon_touch_selector_set_model() a virtual method, so that
918 derived classes can extend it and do fancy stuff with the model.
920 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
922 * configure.ac: Set back the tarname in AC_INIT to hildon.
924 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
928 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
929 instead of libesd (NB#86876). Volume handling is still an open issue.
931 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
934 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
936 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
937 (hildon_touch_selector_append_column): Make the widget a GtkVBox
938 derived class to ease placement of an entry widget in
939 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
940 end, where the selector columns are packed now.
942 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
944 * src/hildon-picker-button.c: Removed the simple _text() API.
945 * src/hildon-picker-button.h: Likewise.
947 * src/hildon-touch-selector.h:
948 * src/hildon-touch-selector.c:
949 (hildon_touch_selector_new_text),
950 (hildon_touch_selector_append_text),
951 (hildon_touch_selector_prepend_text),
952 (hildon_touch_selector_insert_text):
954 Moved the simple _text() API from HildonPickerButton to
955 HildonTouchPicker, to provide better escalability and not to tie
956 that API to HildonPickerButton.
958 * examples/hildon-picker-button-example.c: (main): Example updated.
960 2008-07-31 Alberto Garcia <agarcia@igalia.com>
962 * src/hildon-button.c: Updated documentation.
964 * examples/hildon-button-example.c: Add the posibility to create
965 the buttons using horizontal layout for title and value.
967 2008-07-31 Alberto Garcia <agarcia@igalia.com>
969 * src/hildon-app-menu-private.h
970 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
971 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
972 GtkSizeGroup for the filters, use the 'homogeneous' property of
975 2008-07-31 Alberto Garcia <agarcia@igalia.com>
977 * examples/hildon-button-example.c: Updated example.
979 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
981 * doc/hildon-docs.sgml:
984 Update documentation.
986 * examples/Makefile.am: Update renamed examples.
988 * examples/hildon-picker-button-multicolumn-example.c:
989 (create_touch_selector), (main): Update after the rename.
991 * examples/hildon-touch-picker-example.c: Removed.
992 * examples/hildon-touch-selector-example.c: (value_changed),
993 (create_selector), (get_visible_content), (main): Renamed from
994 hildon-touch-picker-example.c
996 * src/Makefile.am: Updated renamed files.
998 * src/hildon-date-button.c: (hildon_date_button_init),
999 (hildon_date_button_get_date), (hildon_date_button_set_date):
1000 * src/hildon-date-selector.c: (hildon_date_selector_init),
1001 (_custom_print_func), (_update_day_model),
1002 (_manage_selector_change_cb),
1003 (hildon_date_selector_select_current_date),
1004 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
1005 * src/hildon-date-selector.h:
1006 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1007 (hildon_picker_button_set_property),
1008 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1009 (hildon_picker_button_init), (hildon_picker_button_new_text),
1010 (hildon_picker_button_append_text),
1011 (hildon_picker_button_prepend_text),
1012 (hildon_picker_button_insert_text),
1013 (hildon_picker_button_set_selector),
1014 (hildon_picker_button_get_selector):
1015 * src/hildon-picker-button.h:
1016 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
1017 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
1018 (_update_title_on_selector_changed_cb), (requires_done_button),
1019 (_hildon_picker_dialog_set_selector),
1020 (hildon_picker_dialog_set_selector),
1021 (hildon_picker_dialog_get_selector):
1022 * src/hildon-picker-dialog.h:
1023 * src/hildon-time-button.c: (hildon_time_button_init),
1024 (hildon_time_button_get_time), (hildon_time_button_set_time):
1025 * src/hildon-time-selector.c: (hildon_time_selector_init),
1026 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
1027 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
1028 * src/hildon-time-selector.h:
1031 Massive code updates after the rename.
1033 * src/hildon-touch-picker.c: Removed.
1034 * src/hildon-touch-picker.h: Removed.
1036 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1037 (hildon_touch_selector_init), (hildon_touch_selector_map),
1038 (hildon_touch_selector_remove), (_default_print_func),
1039 (_selection_changed_cb), (_create_new_column),
1040 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
1041 (hildon_touch_selector_append_text_column),
1042 (hildon_touch_selector_remove_column),
1043 (hildon_touch_selector_set_column_attributes),
1044 (hildon_touch_selector_insert_column),
1045 (hildon_touch_selector_get_num_columns),
1046 (hildon_touch_selector_get_column_selection_mode),
1047 (hildon_touch_selector_set_column_selection_mode),
1048 (hildon_touch_selector_set_print_func),
1049 (hildon_touch_selector_get_print_func),
1050 (hildon_touch_selector_get_active_iter),
1051 (hildon_touch_selector_set_active_iter),
1052 (hildon_touch_selector_get_selected_rows),
1053 (hildon_touch_selector_get_model),
1054 (hildon_touch_selector_set_model),
1055 (hildon_touch_selector_get_current_text),
1056 (_hildon_touch_selector_center_on_selected_items):
1057 * src/hildon-touch-selector.h: Renamed from
1058 hildon-touch-picker.[ch]
1060 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
1061 references, code examples, and related documentation.
1063 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1065 * doc/hildon-docs.sgml
1068 * src/hildon-toggle-button.c
1069 * src/hildon-toggle-button.h
1070 * src/hildon.h: New HildonToggleButton widget.
1072 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1074 * src/hildon-button.c: Add API documentation.
1075 (hildon_button_set_size_groups): Check input parameters
1077 2008-07-30 Alejandro G. Castro <alex@igalia.com>
1079 * src/hildon-pannable-area.c
1080 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
1081 effect after reaching the movement thredshold. This way we start
1082 using the distance after passing the thredshold.
1084 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1086 * src/hildon-button.c: (hildon_button_set_property): Use the
1087 appropriate g_value_get_flags() method.
1089 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1091 * doc/hildon-docs.sgml:
1094 Add the touch pickers, picker dialogs, and picker button widgets
1095 to the documentation.
1097 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1099 * src/hildon-button.c: (hildon_button_set_property),
1100 (hildon_button_class_init): Make "arrangement-flags" a proper
1101 G_TYPE_FLAGS derived property.
1103 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1105 * examples/Makefile.am: Add below examples.
1106 * examples/hildon-date-button-example.c:
1107 * examples/hildon-picker-button-example.c:
1108 * examples/hildon-picker-button-multicolumn-example.c:
1109 * examples/hildon-time-button-example.c:
1110 * examples/hildon-touch-picker-example.c:
1112 Add examples for the recently added touch pickers,
1113 picker dialogs, and picker button widgets.
1115 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1117 * src/hildon-button.c: Add some API documentation
1119 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1121 * src/hildon-button.h
1122 * src/hildon-button.c
1124 (hildon_button_new_with_text): New constructor to create a button
1125 with no text at all.
1126 (hildon_button_init, hildon_button_set_arrangement)
1127 (hildon_button_set_title, hildon_button_set_value)
1128 (hildon_button_set_text)
1129 (hildon_button_construct_child): Hide the value when it's not used
1130 so the rest of the text is properly aligned.
1131 Allow creating buttons with arbitrary widgets inside (not just
1132 title/value labels).
1134 * examples/hildon-button-example.c (vertical_buttons_window)
1135 (horizontal_buttons_window): Update example to use new API.
1137 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1139 * src/Makefile.am: Added HildonTimeButton.
1140 * src/hildon-time-button.c: Added missing LGPL header.
1141 * src/hildon-time-button.h: Added missing LGPL header.
1142 * src/hildon.h: Add hildon-time-button.h
1144 Copied HildonTimeButton from sandbox to trunk. Future work on this
1145 widget must take place in trunk.
1147 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1149 * src/Makefile.am: Added HildonDateButton.
1150 * src/hildon-date-button.c: Update includes.
1151 * src/hildon.h: Add hildon-date-button.h
1153 Copied HildonDateButton from sandbox to trunk. Future work on this
1154 widget must take place in trunk.
1156 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1158 * src/Makefile.am: Added HildonPickerButton.
1159 * src/hildon-picker-button.h: Update includes.
1160 * src/hildon.h: Add hildon-picker-button.h
1162 Copied HildonPickerButton from sandbox to trunk. Future work on
1163 this widget must take place in trunk.
1165 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1167 * src/Makefile.am: Added HildonPickerDialog.
1168 * src/hildon-picker-dialog.c: Update includes.
1169 * src/hildon.h: Add hildon-picker-dialog.h
1171 Copied HildonPickerDialog from sandbox to trunk. Future work
1172 on this widget must take place in trunk.
1174 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1176 * src/Makefile.am: Added HildonTimeSelector.
1177 * src/hildon.h: Add hildon-time-selector.h
1179 Copied HildonTimeSelector widget from sandbox to trunk. Future
1180 work on this widget must happen in trunk.
1182 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1184 * src/Makefile.am: Added HildonDateSelector.
1185 * src/hildon.h: Add hildon-date-selector.h
1187 Copied HildonDateSelector widget from sandbox to trunk. Future
1188 work on this widget must happen in trunk.
1190 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1192 * src/Makefile.am: Added HildonTouchPicker.
1193 * src/hildon-touch-picker.c: Update includes.
1194 * src/hildon.h: Add hildon-touch-picker.h
1196 Copied HildonTouchPicker widget from sandbox to trunk. Future work
1197 on this widget must happen in trunk.
1199 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1201 * src/hildon-pannable-area.c:
1202 (hildon_pannable_area_motion_notify_cb): Fix a typo.
1204 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1206 * examples/hildon-app-menu-example.c (main): Let the window
1209 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1211 * src/hildon-pannable-area.c
1212 (hildon_pannable_area_class_init): Set the min value of the
1213 overshoot properties to zero, which points out that not
1214 overshooting allowed.
1216 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1218 Modified the procedure to get the widget at a point inside the
1219 pannable area when using the movement type signals. Now the user
1220 has to call a function to get the child, that way we just
1221 calculate the child in case the user really want to use it and not
1224 * src/hildon-marshalers.list: Modified the marshallers, now we do
1225 not have the widget as a parameter.
1227 * src/hildon-pannable-area.c
1228 (hildon_pannable_area_motion_notify_cb),
1229 (hildon_pannable_area_class_init),
1230 (hildon_pannable_get_child_widget_at): Removed the widget
1231 parameter from the signal callback. We have also refactored the
1232 emission of the signals.
1234 * src/hildon-pannable-area.h: Added a new method to the API to
1235 calculate a widget at a point inside the pannable area,
1236 hildon_pannable_get_child_widget_at.
1238 * examples/hildon-pannable-area-example-4.c
1239 (horizontal_movement): Modified the example to use the new API,
1240 added condition to control which widget is under the event. This
1241 way we can avoid scrolling laterally over other widgets.
1243 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1245 * src/hildon-pannable-area.c
1246 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1247 modes, we stop getting the pointer events due to returning the
1248 callback without properly calling the get pointer again. Fixed
1249 also an error using the hscroll and vscroll.
1251 2008-07-28 Alberto Garcia <agarcia@igalia.com>
1253 * src/hildon-app-menu-private.h
1254 * src/hildon-app-menu.c (hildon_app_menu_button_press)
1255 (hildon_app_menu_button_release, hildon_app_menu_init)
1256 (hildon_app_menu_class_init): Don't hide the menu on button
1257 release if the user didn't press outside first.
1259 * src/hildon-window.h
1260 * src/hildon-window.c (hildon_window_toggle_menu)
1261 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1262 hildon_window_toggle_menu a virtual function for the stackable
1263 window to override it.
1265 * src/hildon-stackable-window.h
1266 * src/hildon-stackable-window-private.h
1267 * src/hildon-stackable-window.c
1268 (hildon_stackable_window_realize)
1269 (hildon_stackable_window_finalize)
1270 (hildon_stackable_window_class_init)
1271 (hildon_stackable_window_init)
1272 (hildon_stackable_window_set_main_menu): New function to set the
1273 app menu of a HildonStackableWindow.
1275 * examples/hildon-app-menu-example.c: Remove the button to show
1276 the app menu, now it'll be shown when clicking on the title bar
1279 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1281 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1282 set the widget name if the arrangement flags do not specify
1285 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1287 * src/hildon-button.c: (hildon_button_set_property),
1288 (hildon_button_class_init), (hildon_button_new_full),
1289 (hildon_button_set_arrangement): Added "arrangement-flags"
1292 Make the HildonButtonFlags a construction-only property, to allow
1293 subclasses to set them properly.
1295 2008-07-21 Tim Janik <timj@imendio.com>
1297 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1298 insertion position after backspace, so additional digits are appended,
1301 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1303 * src/hildon-pannable-area.c,
1304 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1305 TODO list, it was complete and removed the g_debug and g_print
1308 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1310 Added the movement modes to the hildon-pannable-area, with this
1311 modes the developers can control in which directions the widget
1312 can scroll. They can also connect to signals in order to do
1313 something when that happens, allowing applications scroll. There
1314 is an example uploaded showing how to use it.
1316 * examples/Makefile.am:
1317 * examples/hildon-pannable-area-example-4.c: Added this example of
1318 an application using the modes.
1320 * src/hildon-marshalers.list: Added a new marshaller for the new
1323 * src/hildon-pannable-area.h: Added new enumerations and flags in
1324 order to control the movement modes and the new signals to warn
1325 about the movements in the area.
1327 * src/hildon-pannable-area.c:
1328 (hildon_pannable_axis_scroll),
1329 (hildon_pannable_area_scroll),
1330 (hildon_pannable_area_motion_notify_cb),
1331 (hildon_pannable_area_get_property),
1332 (hildon_pannable_area_set_property),
1333 (hildon_pannable_area_map),
1334 (hildon_pannable_area_class_init),
1335 (hildon_pannable_area_init),
1336 (hildon_pannable_area_jump_to): Added the modes to control the
1337 movement in the widget. We have added properties to control it,
1338 signals to warn about the movements and refactored some code.
1340 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1342 Changes required in order to allow vfast_factor set to zero to
1345 * src/hildon-pannable-area.c:
1346 (hildon_pannable_area_button_press_cb): Changed the condition, it
1347 is required for not allowing click when vfast_factor is zero.
1348 (hildon_pannable_area_timeout): Initialized velocity variables
1349 when we stop moving, it was less than 1 but not zero and we need
1350 to check zero in some situations.
1351 (hildon_pannable_area_class_init): Changed the default value of
1352 the speed factor, now the button_press is just sent in case the
1353 speed is 2 per cent of the max speed.
1354 (hildon_pannable_area_init): Initialization with 0.
1356 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1358 * src/hildon-pannable-area.c,
1359 (hildon_pannable_area_get_topmost): replaced
1360 gdk_window_get_children with gdk_window_peek_children, this way we
1361 do not have to free the list because it is not a copy.
1363 (hildon_pannable_axis_scroll),
1364 (hildon_pannable_area_scroll),
1365 (hildon_pannable_area_timeout),
1366 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1367 two parameters that were only used inside the
1368 hildon_pannable_area_scroll function.
1370 * examples/hildon-pannable-area-example.c,
1371 (get_sawtooth_label): Fixed small memory leak.
1373 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1375 More checks for the case where the overshoot is bigger than the
1378 * src/hildon-pannable-area.c:
1379 (hildon_pannable_draw_vscroll),
1380 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1381 to draw the slider of the scrollbar under the other scrollbar.
1382 (hildon_pannable_area_expose_event): added new checks to control
1383 the drawing of the overshooting area rectangle, in case it is too
1384 big for the area of the widget.
1385 (hildon_pannable_area_size_allocate): add more checks to avoid
1386 setting a position to the child widget outside the area.
1388 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1390 * src/hildon-pannable-area.c
1391 (hildon_pannable_area_size_allocate): Added conditions to control
1392 when overshooting is bigger than the allocated space for the
1393 children, this avoids negative allocations.
1395 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1397 * doc/hildon-docs.sgml
1399 * examples/Makefile.am
1400 * examples/hildon-button-example.c
1402 * src/hildon-button.c
1403 * src/hildon-button.h
1404 * src/hildon.h: Initial version of the new HildonButton widget,
1407 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1409 * src/hildon-pannable-area.c:
1410 (hildon_pannable_area_button_press_cb),
1411 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1412 (hildon_pannable_area_motion_notify_cb),
1413 (hildon_pannable_area_button_release_cb),
1414 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1415 (hildon_pannable_area_jump_to_child):
1417 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1419 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1421 * examples/Makefile.am
1422 * examples/hildon-pannable-area-touch-grid-example.c
1423 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1424 the Hildon Touch List and Hildon Touch Grid using the
1425 HildonPannableArea widget.
1427 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1429 * src/hildon-pannable-area.c,
1430 (hildon_pannable_area_button_press_cb),
1431 (hildon_pannable_area_refresh),
1432 (hildon_pannable_area_scroll),
1433 (hildon_pannable_area_motion_notify_cb),
1434 (hildon_pannable_area_button_release_cb),
1435 (hildon_pannable_area_expose_event),
1436 (hildon_pannable_area_add),
1437 (hildon_pannable_area_remove),
1438 (hildon_pannable_area_realize),
1439 (hildon_pannable_area_size_allocate),
1440 (hildon_pannable_area_class_init),
1441 (hildon_pannable_area_init),
1442 (hildon_pannable_area_scroll_to_child),
1443 (hildon_pannable_area_jump_to_child): Fixed the problem of
1444 removing the child from the GtkBin, we have rearranged the widget
1445 hierarchy, now there is no GtkAlignment which was not doing
1446 anything interesting but breaking some of the assumptions of
1447 GtkContainer. Now developers if they want to add a GtkAlignment
1448 they could, but it is not inside the area.
1450 We had to review the whole allocation/expose process, now it is
1451 improved and we save at least three signals which would be saving
1452 some time when rendering the widget. The allocation of the
1453 scrollbars is now made in the allocate method as usual.
1455 We have also added some conditions in order to control when there
1456 is no child of the pannable area. Maybe we will need more work
1459 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1461 * src/hildon-pannable-area.c,
1462 (hildon_pannable_area_dispose): Released the fade-out timeout when
1463 disposing the widget.
1465 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1467 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1468 zero, we are going to use that property in order to deactivate the
1470 (hildon_pannable_axis_scroll),
1471 (hildon_pannable_area_size_allocate): Added conditions to control
1472 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1473 call, now it is called in all situations and we can remove calls
1474 in the allocate method.
1475 (hildon_pannable_area_map): Control the situation when
1476 overshoot_max is zero, we do not need the timeout.
1477 (hildon_pannable_area_class_init): Added documentation in order to
1478 point out that setting zero to overshoot_max means deactivate
1481 NOTE: removed trailing whitespaces from my previous comments of
1484 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1486 * src/hildon-pannable-area.c
1487 (hildon_pannable_area_get_property),
1488 (hildon_pannable_area_set_property),
1489 (hildon_pannable_area_map),
1490 (hildon_pannable_area_class_init),
1491 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1492 to cause the widget give a hint about its panning abilities upon
1495 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1497 * src/hildon-pannable-area.c: Several documentation improvements.
1499 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1501 * src/hildon-program.c
1502 * src/hildon-stackable-window.c: Update documentation.
1504 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1506 * src/hildon-stackable-window.c (get_previous_window_if_last):
1507 Renamed get_last_window()
1508 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1509 (hildon_stackable_window_unset_program):
1511 (get_previous_window_if_last):
1512 Detect if the window hasn't been added to a HildonProgram.
1514 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
1516 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1518 * src/hildon-pannable-area.c
1519 (hildon_pannable_area_button_press_cb),
1520 (hildon_pannable_axis_scroll),
1521 (hildon_pannable_area_scroll),
1522 (hildon_pannable_area_timeout),
1523 (hildon_pannable_calculate_vel_factor),
1524 (hildon_pannable_area_get_property),
1525 (hildon_pannable_area_set_property),
1526 (hildon_pannable_area_class_init),
1527 (hildon_pannable_area_init),
1528 (hildon_pannable_area_scroll_to),
1529 (hildon_pannable_area_jump_to),
1530 (hildon_pannable_area_scroll_to_child),
1531 (hildon_pannable_area_jump_to_child):
1532 * src/hildon-pannable-area.h: Added the new API functions:
1533 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1534 hildon_pannable_area_scroll_to_child,
1535 hildon_pannable_area_jump_to_child
1538 * examples/Makefile.am
1539 * examples/hildon-pannable-area-example-2.c
1540 * examples/hildon-pannable-area-example-3.c: Added these two new
1541 examples in order to test and show how the new APIs work.
1543 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
1545 * examples/hildon-stackable-window-example.c (new_window):
1546 * src/Makefile.am (noinst_HEADERS):
1547 * src/hildon-program.c (hildon_program_go_to_root_window):
1548 * src/hildon-program.h:
1549 * src/hildon-stackable-window-private.h:
1550 * src/hildon-stackable-window.c:
1551 * src/hildon-stackable-window.h:
1552 Create hildon-stackable-window-private.h
1553 Move hildon_stackable_window_go_to_root_window() to HildonProgram
1555 * examples/hildon-app-menu-example.c (create_menu):
1556 * examples/hildon-hvolumebar-insensitive-example.c (main):
1557 * examples/hildon-hvolumebar-timer-example.c (on_idle):
1558 * examples/hildon-toolbar-seekbar-example.c (main):
1559 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1560 * src/hildon-banner.c (hildon_banner_set_property):
1561 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1562 Fix compilation warnings
1564 * src/hildon-window.c:
1567 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
1569 * src/hildon-stackable-window.c
1570 (hildon_stackable_window_unset_program):
1571 Calculate correctly whether to show the previous window if the
1572 last one is removed from the stack.
1573 (hildon_stackable_window_go_to_root_window):
1574 Send delete events starting from the topmost window.
1575 Stop if one of the windows is not destroyed.
1577 (hildon_stackable_window_delete_event)
1578 (hildon_stackable_window_class_init):
1579 Ignore the delete event if the window is not the topmost one.
1581 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
1583 * src/hildon-pannable-area.c
1584 (hildon_pannable_area_expose_event): Fixed a problem when
1585 selecting the background color of the scrollbars.
1587 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
1589 * examples/hildon-stackable-window-example.c
1590 * src/hildon-stackable-window.c
1591 * src/hildon-stackable-window.h
1592 hildon_stackable_window_go_home() renamed to
1593 hildon_stackable_window_go_to_root_window()
1594 Send delete events to windows rather than closing them with
1595 gtk_widget_destroy()
1597 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1599 * src/hildon-pannable-area.c
1600 (hildon_pannable_area_button_release_cb): Fix overshooting in
1603 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1605 * src/hildon-pannable-area.c
1606 (hildon_pannable_area_init): Initially show the scroll indicators.
1607 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1609 Add initial effect showing the widget is pannable.
1611 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1613 * src/hildon-pannable-area.c
1614 (hildon_pannable_area_class_init)
1615 (hildon_pannable_area_set_property)
1616 (hildon_pannable_area_get_property)
1617 (hildon_pannable_area_button_press_cb):
1618 New 'velocity_fast_factor' property to decide which velocity is
1621 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1623 * src/hildon-pannable-area.c
1624 (hildon_pannable_draw_hscroll)
1625 (hildon_pannable_draw_vscroll):
1626 Use float variables to calculate the size of the scrollbars to
1627 avoid error propagation and resizing during scrolling.
1629 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1631 * src/hildon-pannable-area.c
1632 (hildon_pannable_draw_vscroll)
1633 (hildon_pannable_draw_hscroll):
1634 Define a minimum size for the scroll bars
1636 * src/hildon-stackable-window.c
1637 (hildon_stackable_window_go_home): Fix compilation warning
1638 (get_last_window): Minor optimizations
1639 (hildon_stackable_window_class_init): Fix initialization of
1642 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
1644 * src/hildon-stackable-window.c: Fixed typos in doc
1646 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
1648 * src/hildon-pannable-area.c
1649 (hildon_pannable_area_scroll):
1650 Calculate here whether we need to scroll instead of using the booleans
1651 that tell us whether to /draw/ the scrolling bars.
1653 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
1655 * src/hildon-app-menu.h
1657 * src/hildon-app-menu.c
1658 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1659 multiple filter groups related code and API. Now we support only
1661 * examples/hildon-app-menu-example.c:
1663 Update to reflect API changes.
1665 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
1667 * src/hildon-stackable-window.c
1668 (hildon_stackable_window_class_init):
1669 Add hildon_stackable_window_realize.
1670 (hildon_stackable_window_realize):
1671 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1672 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1673 to apply theming and behavior specific to HildonStackableWindow
1676 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1678 * src/hildon-note.c (hildon_note_button_release):
1679 Close information notes also when tapping on them
1681 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
1683 Added BOUNCE_STEPS define to control the overshoot effect. Removed
1684 ELASTICITY, refactor and review, fix some issues with drawing
1687 * src/hildon-pannable-area.c:
1688 (hildon_pannable_area_button_press_cb): removed the conditions to
1689 avoid clicks when overshooting. It is not required
1691 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1692 define. Refatored and reviewed the code, now we do not need to
1693 manage velocity in motion_notify.
1695 (hildon_pannable_area_motion_notify_cb): We have moved the code
1696 that controls the area_scroll to the axis_scroll function and get
1697 rid of duplicated code.
1699 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1701 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1703 (hildon_pannable_draw_vscroll),
1704 (hildon_pannable_draw_hscroll): Fixed the problems with the
1705 scrollbar drawing, now we do not use two surfaces, it is easier
1706 and saves resources.
1708 (hildon_pannable_area_get_property): Style modification.
1710 (hildon_pannable_area_class_init): Changed some default values.
1712 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
1714 * src/hildon-stackable-window.c: Fix some typos in the
1717 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1719 * src/hildon-dialog.c:
1720 Change indentation style
1723 (hildon_note_button_release):
1724 Use root coordinates to check if the release event happened
1727 * src/hildon-app-menu.c
1728 (hildon_app_menu_button_release):
1729 Remove unnecessary check
1731 * examples/hildon-app-menu-example.c
1733 Add cast to fix warning
1735 * src/hildon-app-menu.c
1736 (hildon_app_menu_class_init):
1737 New inner-border style property.
1738 Set all default spacings to 16
1739 (hildon_app_menu_init):
1740 Use vertical-spacing to set the space between filter buttons and
1741 regular menu buttons.
1742 Set the default container border using the inner-border value.
1744 * examples/hildon-app-menu-example.c
1746 Don't set the menu border explicitly, now we have the inner-border
1747 style property for that.
1749 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
1751 * src/hildon-app-menu.c (hildon_app_menu_init):
1752 Make the window modal
1754 * src/hildon-note.c (hildon_note_map)
1755 * src/hildon-app-menu.c (hildon_app_menu_map):
1756 Destroy the grab window if we're unable to grab the pointer
1758 * src/hildon-app-menu-private.h
1759 * src/hildon-app-menu.c
1760 (hildon_app_menu_init, hildon_app_menu_finalize)
1761 (hildon_app_menu_map, hildon_app_menu_unmap)
1762 (hildon_app_menu_button_release)
1763 (grab_transfer_window_get):
1764 Bring back the grab window
1765 (hildon_app_menu_realize):
1766 Decorate the window, set WM hint for Matchbox
1768 * src/hildon-note.c (hildon_note_realize):
1769 * src/hildon-banner.c (hildon_banner_realize):
1770 Add WM hints for Matchbox
1772 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
1774 * src/hildon-app-menu-private.h
1775 * src/hildon-app-menu.c
1776 (hildon_app_menu_init, hildon_app_menu_finalize)
1777 (hildon_app_menu_map, hildon_app_menu_unmap)
1778 (hildon_app_menu_button_release):
1779 Remove the grab window, it's not needed anymore
1781 * src/hildon-program.c
1782 Fixed typo in documentation
1784 * src/hildon-app-menu.h
1785 * src/hildon-app-menu.c
1786 * examples/hildon-app-menu-example.c
1787 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1789 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
1792 Added new transfer_window and close_if_pressed_outside private
1794 (hildon_note_rebuild):
1795 Don't add a cancel button to the information note. It will be
1796 closed when tapping outside
1797 Remove the comment about the OK button in the documentation
1798 (hildon_note_realize):
1799 Set the notification type hint
1800 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1801 Grab/ungrab pointer and keyboard if the note has to be closed when
1803 (hildon_note_button_release):
1804 Close the note when tapping outside (if applicable)
1806 * src/hildon-app-menu.c
1807 Grab/ungrab pointer and keyboard on map/unmap
1808 (hildon_app_menu_button_release, hildon_app_menu_class_init):
1809 Close the menu on button release, not button press
1811 * src/hildon-banner.c
1812 (hildon_banner_set_property)
1813 (hildon_banner_check_position):
1814 Make the banner use the full width of the screen
1815 (hildon_banner_show_information)
1816 (hildon_banner_show_information_with_markup):
1817 Don't display an icon by default
1819 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
1821 Added fading scrollbars and adapted all the overshooting code to
1822 horizontal scrolling. We have also fixed bugs with overshooting
1823 and current fading implementation.
1825 * src/hildon-pannable-area.c
1826 (hildon_pannable_area_scroll_indicator_fade): Time out function
1827 used to change the transparency of the scrollbars.
1829 (hildon_pannable_area_button_press_cb): Added horizontal overshot
1830 control and fixed a problem with fading, we now remove the fade
1831 timeout before adding a new one.
1833 (hildon_pannable_axis_scroll):
1834 (hildon_pannable_area_scroll):
1835 (hildon_pannable_area_timeout): Added this functions so we can use
1836 the scroll code both for vertical and horizontal.
1838 (hildon_pannable_area_motion_notify_cb):
1839 (hildon_pannable_area_button_release_cb): Added the horizontal
1840 scrolling control, fixed a problem with the overshooting timeout.
1842 (rgb_from_gdkcolor): Added this function, it is used in the cairo
1843 painting of the scrolls.
1845 (hildon_pannable_draw_vscroll):
1846 (hildon_pannable_draw_hscroll):
1847 (hildon_pannable_area_expose_event):
1848 Draw both scrollbars and rectangles in the overshooting area.
1850 (hildon_pannable_area_get_property):
1851 (hildon_pannable_area_set_property):
1852 Modified the overshoot property to overshoot_max
1854 (hildon_pannable_area_map):
1855 Replaced the comments symbols.
1857 (hildon_pannable_area_size_allocate):
1858 (hildon_pannable_area_class_init):
1859 (hildon_pannable_area_init): Added horizontal scroll, fading
1860 effect properties, fixed a problem when overshooting in the bottom
1863 * examples/hildon-pannable-area-example.c:
1864 (get_sawtooth_label): Now we use smaller sawtooths, the effect
1865 looks better in the example.
1867 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
1869 * src/hildon-window.c
1870 * src/hildon-window.h
1871 (hildon_window_class_init)
1872 (hildon_window_unset_program)
1873 (hildon_window_unset_program_real):
1874 Make unset_program a virtual function
1876 * src/hildon-stackable-window.c
1877 * src/hildon-stackable-window.h
1878 Added hildon_stackable_window_go_home()
1880 * examples/Makefile.am
1881 * examples/hildon-stackable-window-example.c
1882 HildonStackableWindow example
1884 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1886 * hildon-pannable-area.c: Added the overshoot property and removed
1887 the OVERSHOOT define. Fixed an indent style error.
1888 (hildon_pannable_area_motion_notify_cb):
1889 (hildon_pannable_area_get_property):
1890 (hildon_pannable_area_set_property): Add overshoot property.
1892 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1895 (hildon_pannable_area_class_init): Installed the new property.
1897 * hildon-pannable-area-example.c: Added a sawtooth function, this
1898 way it is easier to check the movement in the pannable.
1899 (get_sawtooth_label): Added this function.
1900 (main): Now we get the labels from the new get_sawtooth_label
1903 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
1905 * src/hildon-app-menu.h
1906 * src/hildon-app-menu.c
1907 Renamed API variables for consistency
1909 (hildon_app_menu_popup): Use also the default window size to
1910 decide where to place the menu
1912 (hildon_app_menu_init, hildon_app_menu_class_init): New
1913 external-border style property
1915 2008-05-26 Michael Natterer <mitch@imendio.com>
1917 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1918 widget_class->tap_and_hold_setup signal slot doesn't exist any
1919 longer, stop overriding it.
1921 (hildon_time_editor_init): g_signal_connect() to the
1922 tap-and-hold-setup signal instead.
1924 (hildon_time_editor_entry_keypress): add cast to fix warning.
1926 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
1928 * doc/hildon-docs.sgml
1930 * examples/Makefile.am
1931 * examples/hildon-app-menu-example.c
1933 * src/hildon-app-menu-private.h
1934 * src/hildon-app-menu.c
1935 * src/hildon-app-menu.h
1937 New HildonAppMenu widget
1939 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1941 Rearranged the inheritance of the pannable area, now it inherits
1942 from GtkBin. This will allow us to control the event_window and
1943 the allocation process of the widget, required for some effects.
1945 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1946 GtkBin structures. * src/hildon-pannable-area.c: Added the
1947 event_window variable.
1948 (hildon_pannable_area_button_press_cb):
1949 (hildon_pannable_area_button_release_cb):
1950 (hildon_pannable_area_motion_notify_cb):
1951 Changed the signature of the method, now we override the event
1952 callback instead of connecting to the signal.
1954 (hildon_pannable_area_realize):
1955 (hildon_pannable_area_unrealize):
1956 (hildon_pannable_area_map):
1957 (hildon_pannable_area_unmap):
1958 (hildon_pannable_area_size_allocate):
1959 Added functions to control the widget construction. We add a
1960 INPUT_ONLY window and we put it over the widgets inside the
1961 container, this event_window handles the events.
1963 (hildon_pannable_area_class_init):
1964 Replaced the signal connections with overrides of the event
1967 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1969 Bouncing effect added when touching the borders, you can change
1970 the elasticity of the border changing the ELASTICITY define.
1972 * src/hildon-pannable-area.c: Added ELASTICITY define.
1973 (hildon_pannable_area_timeout): Added inverse velocity when
1974 touching the border of the child widget, that causes a bounce.
1976 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1978 Improved performance, we now do not go to the X server in order to
1979 get the list of window children. Apparently the effect is the
1980 same, we have to be careful and check if this breaks something in
1983 * src/hildon-pannable-area.c:
1984 (get_ordered_children): Removed this function.
1985 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1986 the children windows function with gdk_window_get_children.
1988 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1990 * src/hildon-pannable-area.c:
1991 (hildon_pannable_area_dispose): Fixed a crash when closing the
1992 window and kinetics is activated.
1994 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
1996 * src/hildon-pannable-area.h
1997 * src/hildon-pannable-area.c
1998 Changed indentation style to meet the one used in Hildon
2000 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
2002 Reviewed the interaction of the AUTO mode, now we use the time
2003 attribute of the events and calculate the velocity in the motion,
2004 doing a gimp like calculation. The velocity is calculated in each
2005 motion event using the last velocity and the current one, the
2006 SMOOTH_FACTOR controls the percentage of the new velocity we use.
2008 * src/hildon-pannable-area.c: Replaced the time based algorithm
2010 (hildon_pannable_area_motion_notify_cb): now we do not launch the
2011 timeout for the AUTO mode when we are still moving the cursor. We
2012 added also the velocity calculation in this function.
2013 (hildon_pannable_area_button_release_cb): launch the timeout in
2014 case we are in AUTO mode. There are still some constants here that
2015 come from the old implementation that should be reviewed and
2018 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
2020 * doc/hildon-docs.sgml
2023 * src/hildon-stackable-window.c
2024 * src/hildon-stackable-window.h
2026 New HildonStackableWindow widget
2028 * examples/hildon-dialog-example.c
2029 * examples/hildon-pannable-area-example.c
2032 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
2034 * src/hildon-dialog.c
2035 (hildon_dialog_new_with_buttons): New constructor.
2037 * examples/hildon-dialog-example.c
2038 (main): Update the example to use the new
2039 hildon_dialog_new_with_buttons().
2041 * examples/hildon-pannable-area-example.c
2042 (main): Update example.
2044 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
2046 * doc/hildon-docs.sgml
2048 Added HildonPannableArea to the documentation.
2050 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
2052 * doc/visual_index.xml
2053 Fix reference to HildonLoginDialog in documentation
2055 * doc/hildon-docs.sgml
2057 * examples/Makefile.am
2058 * examples/hildon-dialog-example.c
2060 * src/hildon-dialog.c
2061 * src/hildon-dialog.h
2063 New HildonDialog widget.
2065 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2067 * src/hildon-pannable-area.c
2068 Merge latest changes (r4318, r4342) from libmokoui trunk
2070 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2072 * examples/Makefile.am
2073 * examples/hildon-pannable-area-example.c
2075 * src/hildon-pannable-area.c
2076 * src/hildon-pannable-area.h
2078 New HildonPannableArea widget.
2080 2008-04-15 18:05:19 <timj@imendio.com>
2082 * src/hildon-banner.c: revert the recent change, that introduced
2083 gtk_window_present() calls. this reopens:
2084 Bug 78481 - [freetest] information banners are hidden under browser menu
2085 But resolves another variant of:
2086 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2088 2008-04-15 13:21:13 <timj@imendio.com>
2090 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
2091 recreated its layout, spotted by Kris. this fixes all remaining
2092 artefacts and stability issues with the banner code. in particular:
2093 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2095 2008-04-14 16:52:59 <timj@imendio.com>
2097 * src/hildon-banner.c: guard force_to_wrap_truncated() against
2098 operating on unrealized widgets, fixes:
2099 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2101 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
2103 2008-04-09 Kristian Rietveld <kris@imendio.com>
2105 Fixes: NB#77775: Media Player, Save Now playing list, too long name
2106 makes banner disappear.
2107 Fixes: NB#79182: info banner flickering with certain message lengts.
2109 * src/hildon-banner.c (hildon_banner_constructor),
2110 (hildon_banner_init), (hildon_banner_set_text),
2111 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
2112 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
2113 FALSE, reset size requests of label and banner,
2114 (force_to_wrap_truncated): when the text is too wide, always enforce
2115 the maximum possible width instead of recalculating it from the
2116 layout; enforce the maximum banner height of 3 lines,
2117 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
2118 nicer wrapping and no truncated chars if space gets tight.
2120 * src/hildon-banner-private.h: add has_been_wrapped and
2121 has_been_truncated fields.
2123 2008-04-07 Sven Herzberg <sven@imendio.com>
2125 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
2126 local values in hildon_date_editor_size_allocate
2128 * src/hildon-date-editor.c: moved the real allocation code into the
2131 2008-04-07 Sven Herzberg <sven@imendio.com>
2133 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2134 local values in hildon_date_editor_size_allocate
2136 * src/hildon-date-editor.c: merged the two if() branches together
2138 2008-04-07 Sven Herzberg <sven@imendio.com>
2140 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2141 local values in hildon_date_editor_size_allocate
2143 * src/hildon-date-editor.c: changed the arguments of the if()
2146 2008-04-07 Sven Herzberg <sven@imendio.com>
2148 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2149 local values in hildon_date_editor_size_allocate
2151 * src/hildon-date-editor.c: split the calculation of the allocation
2152 from the real allocation
2154 2008-03-27 Michael Natterer <mitch@imendio.com>
2156 Fixes: NB#81696: The passcode is not overwritten even after
2159 * src/hildon-code-dialog.c
2160 (hildon_code_dialog_button_clicked)
2161 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
2162 because that doesn't overwrite selected text. Instead, emit the
2163 "commit" signal on the entry's im_context so the entry's normal
2164 insert logic is triggered. Set the cursor to the end of the entry
2165 after each insert operation so that we *only* insert in the middle
2166 of the text if something was selected.
2168 2008-03-27 Michael Natterer <mitch@imendio.com>
2170 Enable fixing: NB#79916 and NB#79918: The help topic for Color
2171 selector cannot be opened
2173 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
2174 when the popup color selector is created. Please connect to this
2175 signal in order to set the dialog's help ID.
2177 2008-03-25 Sven Herzberg <sven@imendio.com>
2179 Fixes: MB#1212: Hide info banners (infoprints) on click
2181 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
2182 extracted the close event simulation into an extra function
2183 (hildon_banner_button_press_event): simulate a close event and destroy
2184 the widget if the event wasn't handled
2185 (hildon_banner_class_init): added the button_press_event handler
2186 (hildon_banner_init): added button-press events to the widget
2188 2008-03-25 Sven Herzberg <sven@imendio.com>
2190 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
2191 Patch from: Mohammad Anwari <mdamt@maemo.org>
2193 * src/hildon-banner.c: let the HildonBanners pop up on the left side
2194 instead of the right in RTL mode
2195 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
2196 breadcrumb button list in RTL mode
2197 * src/hildon-caption.c: mirror the appearance of the caption widget in
2199 * src/hildon-date-editor.c: mirror appearance of the date editor in
2201 * src/hildon-time-editor.c: mirror appearance of the time editor in
2203 * src/hildon-window.c: fix the position of the popup in RTL mode
2205 2008-03-25 Sven Herzberg <sven@imendio.com>
2207 Amendment to the fix of NB#22072. Fix compilation.
2209 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
2211 2008-03-19 Sven Herzberg <sven@imendio.com>
2213 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
2216 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
2217 timeout id properly when the timeout will disappear this leaves no
2218 artifacts around in the destroy(); there will only be the timeout
2219 created by hildon_banner_ensure_timeout() and adding a new timeout
2220 will also work if the timeout gets removed because the timeout_handler
2223 2008-03-19 Michael Natterer <mitch@imendio.com>
2225 Fixes: NB#79791: Cannot set focus to Master volume using stylus
2227 * src/hildon-volumebar.c
2228 * src/hildon-vvolumebar.c
2229 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2230 the widget becomes focussable at all.
2232 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2233 set the focus to wither the mute button or the volumebar.
2235 Remove own "can-focus" property and instead listen to
2236 notify::can-focus in order to update the widget's state.
2238 Implement GtkWidget::focus() and make sure we can also *leave* the
2239 widget, not only enter it, depending on volumebar orientation and
2240 requested focus direction.
2242 Clean up set_mute() to cooperate nicely with all the above.
2244 2008-03-04 Michael Natterer <mitch@imendio.com>
2246 Fixes: NB#78481: information banners are hidden under browser menu
2248 * src/hildon-banner.c: call gtk_window_present() on the banners so
2249 they are risen if they are already visible.
2251 2008-03-03 Sven Herzberg <sven@imendio.com>
2253 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2255 * examples/hildon-window-menu-example.c: (main): extended the window
2256 menu example to serve as a testcase for automatically added
2257 accelerator groups, too
2258 * src/hildon-window.c: (hildon_window_add_accel_group),
2259 (hildon_window_set_menu): added patch by Tommi Komulainen
2261 2008-03-03 Sven Herzberg <sven@imendio.com>
2263 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2265 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2266 knowledge about the border allocators used within GTK+
2268 2008-02-26 Sven Herzberg <sven@imendio.com>
2270 Fixes: MB#2981: Build with asserts broken
2272 * src/hildon-date-editor.c,
2273 * src/hildon-number-editor.c,
2274 * src/hildon-time-editor.c,
2275 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2276 the proper GType instance check
2278 2008-02-25 Sven Herzberg <sven@imendio.com>
2280 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2282 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2283 * examples/hildon-window-menu-example.c: (main): explicitly show
2285 * src/hildon-window.c:
2286 (hildon_window_set_main_menu): moved most of the code from set_menu()
2287 to this place; skipped the call to gtk_widget_show_all(); also didn't
2288 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2289 (hildon_window_set_menu): removed most of the code, just keep the
2290 questionable gtk_widget_show_all()
2291 * src/hildon-window.h: added the new function and deprecate the old
2294 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2300 * debian/changelog: Updating.
2302 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2305 * pkgconfig/Makefile.am:
2306 * pkgconfig/hildon.pc.in:
2309 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2310 use newly created API_MAJOR_VERSION.
2312 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2318 * debian/changelog: Updating.
2320 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2322 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2324 Add outer_border style property, we use it but don't define it (!).
2328 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2330 * examples/hildon-bread-crumb-trail-example.c (main):
2334 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2336 Fix logic for the bread crumb trail node removal.
2340 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2346 * debian/changelog: Updating.
2348 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2350 Patch by Alejandro to get/set passwords dialogs accesibility.
2352 * hildon-1/src/hildon-get-password-dialog.c:
2353 * hildon-1/src/hildon-set-password-dialog.c:
2354 Set atk_set_name to the passwd entries in order to allow
2355 accessibility by name on this entries.
2357 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2362 * debian/control: Updating gtk dep.
2364 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2366 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2367 USE_MAEMO_GTK is enabled.
2369 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2371 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2372 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2374 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2380 * debian/changelog: Updating.
2382 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2384 * examples/Makefile.am:
2385 * examples/hildon-logical-color-example.c:
2386 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2387 applied + adding a test case. Fixes: NB#71660.
2389 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2391 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2392 to be visible, fixes warning on map for windows without toolbars.
2394 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2396 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2397 2.11.0, add a check for that besides the MAEMO_GTK check.
2399 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2405 * debian/changelog: Updating.
2407 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2409 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2410 visibility. Fixes: NB#70842 and MB#615.
2412 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2414 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2415 set the separator as no-show-all so it doesn't unintentionally appear when
2416 someone does a show_all.
2418 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2420 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2421 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2422 toplevel item. Fixes: NB#62031
2424 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2426 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2427 fix the name of the function in the docs.
2429 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2435 * debian/changelog: Updating.
2437 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2439 * examples/hildon-banner-long-example.c: Adding a test-case for long
2442 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2444 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2446 * src/hildon-color-chooser-dialog.c:
2447 * src/hildon-color-chooser.c:
2448 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2449 memory leaks in font selector and color selector. Fixes: NB#70499 and
2452 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2454 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2456 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2458 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2459 little bit bigger. Fixes: #NB63694.
2461 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2467 * debian/changelog: Updating.
2469 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2472 * doc/hildon-docs.sgml:
2473 * doc/images/bread-crumb-trail.png:
2474 * doc/images/calendar-popup.png:
2475 * doc/images/caption.png:
2476 * doc/images/code-dialog.png:
2477 * doc/images/color-button.png:
2478 * doc/images/color-chooser-dialog.png:
2479 * doc/images/color-chooser.png:
2480 * doc/images/controlbar.png:
2481 * doc/images/date-editor.png:
2482 * doc/images/font-selection-dialog.png:
2483 * doc/images/get-password-dialog.png:
2484 * doc/images/hvolumebar.png:
2485 * doc/images/login-dialog.png:
2486 * doc/images/note.png:
2487 * doc/images/number-editor.png:
2488 * doc/images/range-editor.png:
2489 * doc/images/seekbar.png:
2490 * doc/images/set-password-dialog.png:
2491 * doc/images/sort-dialog.png:
2492 * doc/images/time-editor.png:
2493 * doc/images/time-picker.png:
2494 * doc/images/vvolumebar.png:
2495 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2496 Adding the bread-crumb-trial and helpers to the documentation.
2498 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2500 * examples/hildon-find-toolbar-example.c:
2501 * src/hildon-find-toolbar.c:
2502 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2503 actually continue firing the other handlers if connected. Adding a new
2505 hildon_find_toolbar_get_last_index that gets the index of the most
2506 recently added (last) item. Fixes: NB#52301.
2508 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2510 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2511 behaviour. Fixes: NB#68610.
2513 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2515 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2518 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2520 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2521 when realizing the banner. Should make the infonbanner effect a bit more
2524 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2526 * src/hildon-volumebar.c:
2527 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2528 hildon_volumebar_set_range_insensitive_message and
2529 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2531 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2533 * src/hildon-window.c: Fixing the border freeing on destroy.
2535 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2537 * src/hildon-code-dialog-private.h:
2538 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2539 kw keyboard support in HildonCodeDialog.
2541 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2547 * debian/changelog: Updating.
2549 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2551 * src/hildon-date-editor.c:
2552 * src/hildon-number-editor.c:
2553 * src/hildon-private.c:
2554 * src/hildon-private.h:
2555 * src/hildon-time-editor.c:
2556 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2557 handling in subclassed composite widgets. Fixes: NB#66628.
2559 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2561 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2562 from destroy_ callback as it introduces problems in async dbus signal
2563 handlers. Fixes NB#66673.
2565 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2567 * examples/hildon-hvolumebar-example.c:
2568 * src/hildon-volumebar.c: Improving the focus handling in the
2569 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2570 set_property accessor so that "mute" property can be actually set. I'm
2571 scared that nobody noticed it's totally broken.
2573 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2575 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2578 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2580 * src/hildon-calendar.c:
2581 * src/hildon-number-editor.c:
2582 * src/hildon-time-picker.c: Changing the timeout repeat so that it
2583 matches the spec of 6 chars per second. Fixes: NB#60489.
2585 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2587 * src/hildon-helper.c: Really fixing NB#58352. Looks like
2588 gtk_style_lookup_color sometime returns FALSE even though color was
2589 found and values were filled properly. Weird. Removing the warning for the
2592 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2594 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2595 expand vertically. Adding some extra space to the find toolbar buttons to
2596 make them thumbable. Fixes NB#66060.
2598 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2600 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2601 popup with "Ok" and "Cancel". Fixes NB#59299.
2603 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2605 * src/hildon-calendar.c: Process all window updates before executing next
2606 timeout. Fixes: NB#54146.
2608 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2614 * debian/changelog: Updating.
2616 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2618 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2619 the client event and ignore it, since we use the delete event to close
2622 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2624 * src/hildon-helper.c: Remove the bogus warning about color not being
2625 found. Fixes NB#58352.
2627 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2629 * examples/Makefile.am:
2630 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2631 HildonSeekbar widget inside a toolbar.
2633 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2635 * src/hildon-banner.c (hildon_banner_init): mark the banners as
2636 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2637 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2638 don't want to be closed by non-temporary windows on map.
2640 Also use G_DEFINE_TYPE instead of manually typed code.
2642 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2649 * debian/rules: Updating.
2651 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2653 * examples/Makefile.am:
2654 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2655 bug NB#61128. Strangely it works.
2657 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2659 * src/hildon-date-editor.c: When the date editor entry has been changed
2660 but the numbers of characters < max, turn off the skip validation flag.
2661 Prevents a situation when we enter first a valid year and later re-write
2662 it with an invalid one. Fixes NB#60154.
2664 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2666 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2667 code dialog. Fixes NB#64355.
2669 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2671 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2672 switching the page. Fixes NB#49374.
2674 * examples/Makefile.am:
2675 * examples/hildon-wizard-dialog-example.c: Adding an example for
2676 HildonWizardDialog that shows how to handle manual sensitivity setting on
2679 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2683 * src/hildon-version.h.in:
2684 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2686 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2688 * src/hildon-volumebar.c: Updating the docs.
2690 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2696 * debian/changelog: Updating.
2698 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2700 * src/hildon-find-toolbar.c:
2701 * src/hildon-find-toolbar.h: Adding a few new functions to control the
2702 selected item: hildon_find_toolbar_set_active,
2703 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2704 hildon_find_toolbar_get_active_iter . They correspond to respective
2705 GtkComboBox functions.
2707 * examples/Makefile.am:
2708 * examples/hildon-find-toolbar-example.c: Adding the example to test the
2711 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2713 * examples/Makefile.am:
2714 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2717 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2718 when font size > 32 and we pack a focusable widget inside. Actually using
2719 the default response would work too, but since we don't show default
2720 response state in any way (no theming) it would not be visible to the
2721 user. Fixes NB#63430.
2723 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2725 * src/hildon-date-editor.c: Adding the missing variable setter in the
2726 set_property handler. Fixes NB#54182.
2728 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2730 * src/hildon-window.h: Changing the long key press time from 1500ms to
2731 800ms as requested in NB#63700. I have a bad feeling about this, let's
2732 see... Fixes NB#63700.
2734 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
2736 * src/hildon-time-picker.c (hildon_time_picker_class_init,
2737 hildon_time_picker_map, hildon_time_picker_realize,
2738 hildon_time_picker_style_set): Split the contents of map to more
2739 appropriate functions; set window decorations on realize and update
2740 arrows' size requisitions on style-set. Avoids unnecessary resizing.
2742 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
2747 * debian/changelog: Updating.
2749 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
2751 * src/Makefile.am: fixed installation of the header files
2753 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2759 * debian/changelog: Updating.
2761 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2763 * configure.ac: Removing some remaining of --enable-xan.
2765 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
2767 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2768 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2770 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2771 2.10.12-osso6 because the move-focus signal needs to be available in
2774 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2776 * examples/Makefile.am:
2777 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2778 that makes a HildonVolumebar insensitive before mapping it. Seems to work
2779 fine. Prolly NB#61128 is fixed now.
2781 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2783 * src/hildon-volumebar.c:
2784 * src/hildon-volumebar.h: Adding the
2785 hildon_volumebar_set_range_insensitive_message and
2786 hildon_volumebar_set_range_insensitive_messagef functions to set
2787 insensitive message on the slider of the volumebar. Fixes NB#61129.
2789 * examples/Makefile.am:
2790 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2791 test the new insensitive messsage functionality on HildonVolumebar.
2793 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
2795 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2798 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
2800 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2801 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2802 button on after clearing the trail.
2804 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2806 * src/hildon-code-dialog.c: Removing the separator from the dialog.
2808 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2810 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2811 by splitting the installed headers in generated and non-generated groups. Use
2812 only the non-generated headers to create the hildon-enum-types.h file.
2814 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2816 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2818 * src/hildon-window.c: Hide the window before performing the destroy.
2819 Should make the app closing a little tiny bit more snappy.
2821 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2823 * src/hildon-seekbar.c: add gtkrange.h header
2824 * src/hildon-caption.c: remove unused variable
2826 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
2828 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2831 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2837 * debian/changelog: Updating.
2839 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
2841 * src/hildon-window.c (hildon_window_window_state_event,
2842 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2843 escape timeout on focus-out-event rather than notify::is-topmost; the
2844 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2846 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2848 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2849 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2851 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2853 * src/hildon-window: actually, you need to use the macro always, there's
2854 no private pointer in the instance structure. We should have cleaned this up
2855 when we had the chance...
2857 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2859 * src/hildon-window.c: do not get the private date from HildonWindow before
2860 it passes the g_return_if_fail check. Once it's passed the test, there's no
2861 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2862 if you are only going to access the data once. Whitespace cleanups.
2864 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
2866 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2867 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2869 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2875 * debian/changelog: Updating.
2877 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2879 * src/hildon-window.c: When destroying the window, remove (if exists) the
2880 escape timeout handler. Fixes #NB59276.
2882 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2884 * src/hildon-banner.c: When realizing the widget, set the window
2885 transiency. Setting the transiency in the gobject constructor is not
2886 good, as the widget is not realized at that point. Fixes: #NB56624.
2888 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2890 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2891 Add padding for future expansions.
2893 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2895 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2896 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2897 will fake an activation on the previous to the last item of the trail, so
2898 the effect can be overrided by the developer as usual.
2899 Also change the callback for the back button to do the same thing, so its
2900 effect can be overrided too. Fixes: NB#58982
2902 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2904 * src/hildon-caption.c: Implementing the proper focus grabbing in the
2905 HildonCaption. Fixes NB#52379.
2907 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2909 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2910 the internal state of the trail after the user has had the chance of executing
2911 his handler for the signal. Specifically, it may happen that the activated button
2912 is removed and the user still lets the default handler run. This would segfault
2915 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2917 * src/hildon-font-selection-dialog.c: When the font is really big, add the
2918 scrollbar to the preview dialog. Fixes NB#54147.
2920 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2922 * src/hildon-date-editor.c: Changing the default max year to 2037. The
2923 max/min year properties can be altered, so the client can modify it
2924 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2926 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2928 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2929 hildonlike by default. Fixing a problem with disappearing arrows when
2930 scrolling through months and years. Fixes NB#54127.
2932 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2934 * examples/hildon-date-editor-example.c: Adding error callback to the date
2937 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2943 * configure.ac: Updating.
2945 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2947 * configure.ac: Adding a special '--enable-xan' configure option that
2948 turns off the -Werror compilation setting. Usefull for development.
2950 * src/hildon-calendar.c:
2951 * src/hildon-number-editor.c:
2952 * src/hildon-time-picker.c: Adding the 5* multiplier to
2955 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
2957 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2958 instead of g_object_ref + gtk_object_sink.
2960 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2966 * debian/changelog: Updating.
2968 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2970 * src/hildon-color-chooser-dialog.c:
2971 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2972 straight from Tommi labs.
2974 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2976 * examples/hildon-finger-example.c: Correcting the header file path.
2978 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2979 the changed signal. Fixes a small memory leak.
2981 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2985 * src/hildon-banner.c: Importing several usefull fixes from the
2986 ubuntu-mobile branch.
2988 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2990 * examples/Makefile.am:
2991 * examples/hildon-finger-example.c: Adding a finger-checking code
2994 * src/hildon-font-selection-dialog.c: Do not allocate the color
2995 structure using the g_new. Fixes NB#54061.
2997 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2999 * src/hildon-helper.c: Correcting tabs in file.
3001 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
3003 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
3004 control the visibility of the children.
3006 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
3008 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3014 * debian/changelog: Updating.
3016 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3018 * src/hildon-bread-crumb-trail.c:
3019 (hildon_bread_crumb_trail_size_allocate):
3021 Make the back button always a square.
3023 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3025 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
3026 from the .c file as it's a private file.
3028 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3030 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
3031 uses slightly bigger height.
3033 * src/hildon-font-selection-dialog.c: Adding some checks before
3034 freeing memory in the font selection dialog.
3036 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3038 * src/hildon-font-selection-dialog.c: Adding a small check when
3041 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
3042 buttons sensitivity on page switching.
3044 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
3046 * src/hildon-bread-crumb-trail.c: make the add method handle all the
3047 internal details of adding a bread crumb to the trail.
3049 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3055 * debian/changelog: Updating.
3057 * src/hildon-bread-crumb-trail.h:
3058 * src/hildon-bread-crumb.h: Changing the API guard to
3059 HILDON_ENABLE_UNSTABLE_API.
3061 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3069 * src/hildon-helper.h: Updating.
3071 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3079 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3083 * src/hildon-helper.h: Small fix to make the package actually compile.
3085 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3087 * src/hildon-bread-crumb-trail.h:
3088 * src/hildon-bread-crumb.h:
3090 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
3091 to define ENABLE_UNSTABLE_API in the code that includes these headers.
3093 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3095 * examples/hildon-bread-crumb-trail-example.c:
3097 * src/hildon-bread-crumb-trail.c:
3098 * src/hildon-bread-crumb-trail.h:
3099 * src/hildon-bread-crumb.c:
3100 * src/hildon-bread-crumb.h:
3101 * src/hildon-marshalers.list:
3102 * src/hildon-bread-crumb-widget.c:
3103 * src/hildon-bread-crumb-widget.h:
3105 Slight change in the widget design. The bread crumb trail API is
3106 unchanged, but HildonBreadCrumb is now an interface. A *private*
3107 implementation, hildon-bread-crumb-widget, is provided and used
3108 internally by the trail for the push_text/push_icon functions.
3110 The generic push API is still available, so anyone can implement
3111 and use its own bread crumb widget.
3113 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3115 * debian/rules: Fixing the shlibs.
3117 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3119 * src/hildon-banner.c: Fixing a problem with timed banners having
3120 their parrent destroyed before they are.
3122 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
3124 * src/hildon-bread-crumb.c:
3125 * src/hildon-bread-crumb.h:
3127 Make the get_natural_size function a vfunc.
3129 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3131 * src/hildon-bread-crumb.c:
3132 * src/hildon-bread-crumb-trail.c:
3136 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3143 * debian/changelog: Updating for release.
3145 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3147 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
3148 don't leak the pango layout.
3150 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3153 * examples/hildon-bread-crumb-trail-example.c:
3157 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3159 * debian/changelog: Removing the bug-fixed entries that were actually
3160 resolved as WONTFIX.
3162 * src/hildon-date-editor.c: Removing a redundant check. Fixes
3165 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3167 * src/hildon-bread-crumb-trail.c:
3168 * src/hildon-bread-crumb-trail.h:
3169 * src/hildon-bread-crumb.c:
3170 * src/hildon-bread-crumb.h:
3174 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3176 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
3177 until it's passed the type check.
3179 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3181 * examples/hildon-bread-crumb-trail-example.c
3185 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3187 * examples/Makefile.am
3188 * examples/hildon-bread-crumb-trail-example.c
3190 * src/hildon-bread-crumb-trail.c
3191 * src/hildon-bread-crumb-trail.h
3192 * src/hildon-bread-crumb.c
3193 * src/hildon-bread-crumb.h
3195 New HildonBreadCrumbTrail widget.
3197 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
3199 * src/hildon-range-editor.c (hildon_range_editor_init),
3200 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
3201 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
3202 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
3203 hildon_time_editor_class_init, hildon_time_editor_init),
3204 src/hildon-get-password-dialog.c (invalid_input,
3205 hildon_get_password_set_property, hildon_get_password_get_property,
3206 create_contents, hildon_get_password_dialog_set_max_characters),
3207 src/hildon-set-password-dialog.c (create_contents),
3208 src/hildon-date-editor.c (hildon_date_editor_init),
3209 src/hildon-login-dialog.c (hildon_login_dialog_init),
3210 src/hildon-number-editor.c (hildon_number_editor_init),
3211 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
3212 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
3213 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
3214 configure option and adding the respective checks in the code.
3215 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
3216 hildon_calendar_drag_data_received): fixed some build warnings.
3218 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3220 * debian/changelog: A 1.0.0 release notes.