aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-01Add and use new iconv based matching methodsClaudio Saavedra
These methods allow for more complete matching rules, including for example the polish Ł. Use them now in the HildonTouchSelector live search. Fixes: MB#9948 (Contact quick search entering L does not recognize Polish "Ł") Fixes: NB#165083 (Contact quick search entering L does not recognize Polish "Ł")
2010-05-21Use gdk_threads_add_idle for the idle live search refilteringClaudio Saavedra
2010-05-14Documentation fixesClaudio Saavedra
2010-05-10Make filtering in HildonLiveSearch asynchronousClaudio Saavedra
There is no need to do a blocking call to refilter(), so simply connect an idle callback. This improves responsiveness in huge lists.
2010-05-10Call g_list_free() once instead of multiple times g_list_delete_link()Claudio Saavedra
2010-05-07Fix a critical warningClaudio Saavedra
Need to remove a row reference from the hash table when it's no longer in the model.
2010-05-06Mark reference_row_has_path() as staticClaudio Saavedra
2010-05-05Use a GtkTreeRowReference in HildonLiveSearch instead of GtkTreePathAlban Crequy
This fixes a bug when the underlying model changes and the selection becomes corrupt. Also, this patch uses a more efficient approach when creating and using the mapping, avoiding iterating the whole model but the selected items only instead. Fixes: NB#165952 (HildonLiveSearch selection is not consistent when the model changes) Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-05-05Fix another critical warningClaudio Saavedra
Fixes: NB#162288 (Changing the presence continously will lead to multiple GLIB Criticals in syslog)
2010-04-29Fix critical warnings in HildonLiveSearchClaudio Saavedra
These happen when convert_child_path_to_path() returns a NULL pointer.
2010-04-29[HildonLiveSearch] Use selection map only when not in GTK_SELECTION_NONEClaudio Saavedra
It is not necessary to maintain a selection mapping when the GtkTreeView's selection mode is GTK_SELECTION_NONE, so don't waste time on it.
2010-04-27[HildonLiveSearch] Initialize priv->selection_mapClaudio Saavedra
2010-04-26Fix hildon_helper_utf8_strstrcasedecomp_needle_stripped()Claudio Saavedra
This method not returning the location of the matched string when the string is found after a sequence of non alphanumeric strings. To fix this, it was necessary to extend get_next() to return as well the location of the next valid character.
2010-04-26Remove unneeded variableClaudio Saavedra
2010-04-21Fix compilation warningAlberto Garcia
2010-04-14Fix an issue with strstrcasedecomp_needle_stripped()Alban Crequy
Previous patch by Alban introduces a read-after-end error in get_next(). This is a more robust attempt at skipping but not aborting on control characters. Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-04-13Pass ctrl+space to the GtkEntry in HildonLiveSearchClaudio Saavedra
This allows IM to do its work and switch the keyboard layout. Fixes: NB#155362 (Cannot change language in Contacts from keyboard)
2010-04-12Don't give up search when there is a '\n' in the haystackAlban Crequy
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-04-12Make strip_string() and strstrcasedecomp_needle_stripped() publicClaudio Saavedra
So that other implementations of the live search can take advantage of them.
2010-04-12Revert "[HildonLiveSearch] Unset the filter visible func. during dispose"Claudio Saavedra
This reverts commit fc750821842df60096068c9c9e4b33085a1eecbf. That commit is broken since the filter is set to NULL. Also, it is not really possible to change or unset the visible function, so we are doomed.
2010-04-06Fix size request of HildonBanner labelAlberto Garcia
Use the desired size (taken from the Pango layout) directly in the GtkWidget::"size-request" callback instead of calling gtk_widget_set_size_request() to set it. Fixes: NB#156165 (multi-line portrait info banners misalignment)
2010-03-22[HildonLiveSearch] Unset the filter visible func. during disposeClaudio Saavedra
This prevents a crasher when the model changes after the live search is disposed.
2010-03-22[HildonPannableArea] Explicitly unmap during unrealizationClaudio Saavedra
Since GtkWidget won't necessarily emit GtkWidget::unmap during unrealization, we need to explicitly unmap if necessary to avoid leaving our resources and handlers lying around. See bgo#613302. Fixes: NB#160879 (crash in pannable area with glib 2.23.5)
2010-03-16Compute the HildonPickerDialog size request correctly in portrait modeAlberto Garcia
Fixes: NB#158695 (HildonTouchSelector looks bad in portrait mode) Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-03-08Fixed compilation warning in HildonLiveSearch regarding TreeModelSortXabier Rodriguez Calvar
2010-03-03Fix consistency of selection map in HildonLiveSearchXavier Claessens
Fixes NB#158744 (1st selected contact from the list is replaced with the next one instead of appending both to the list) Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-02-26Remove spare g_debug()Adam Endrodi
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-02-25Fix critical warningsClaudio Saavedra
Create the selection map when the filter is set and there is already a prefix text in the live search.
2010-02-25Filter after visible func. or filter are setClaudio Saavedra
This enables HildonLiveSearch:text to be set before the filter or visible function, and make it work accordingly.
2010-02-25Fix a critical warningClaudio Saavedra
There is a critical warning when HildonLiveSearch:text is set right after creation.
2010-02-25Documentation additions and minor fixesClaudio Saavedra
2010-02-25Indentation fixesClaudio Saavedra
2010-02-25Use the setter in hildon_live_search_set_property for "text"Claudio Saavedra
2010-02-25Emit GObject::notify on HildonLiveSearch:text changesClaudio Saavedra
Since HildonLiveSearch:text is a proxy for GtkEntry:text, it makes sense to do it in the handler for GtkEntry::changed.
2010-02-25Factor out HildonLiveSearch codeClaudio Saavedra
2010-02-25Fix critical warnings in HildonLiveSearchClaudio Saavedra
These were introduced by the virtual-root work.
2010-02-25Implement hildon_live_search_set_textAlban Crequy
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-02-25Add read-write "text" property on HildonLiveSearchAlban Crequy
Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-02-24HildonSortDialog: don't complain if the sort key is set to 0Alberto Garcia
Fixes: NB#134052
2010-02-24Fix HildonLiveSearch with multiple models in the viewAlban Crequy
Don't assume that the GtkTreeModel given to HildonLiveSearch is the one used by the GtkTreeView. hildon-fm uses a GtkTreeModelSort after the GtkTreeModelFilter, so it makes the necessary conversions of iterators if the application has a GtkTreeModelSort. Don't assume that items in the view have a deepness of 0. In selection_map_update_selection_from_map and selection_map_update_map_from_selection, it makes the conversions of GtkTreePath. Fixes: NB#140251, Livesearch for File Manager Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
2010-02-23Remove main item and repack label for progress and information bannersXabier Rodriguez Calvar
Doing it in _set_text was causing a problem with information banner, which ended up not having the animation widget. Fixes: NB#156325
2010-02-22Update HildonPickerDialog documentationAlberto Garcia
Explain that the dialog emits GtkDialog::response when a selection is completed
2010-02-22Fix hildon_pannable_area_scroll_to() exampleAlberto Garcia
Fixes: MB#9194
2010-02-22Support silent build rules with automake 1.11Javier Jardón
Support silent build rules, requires at least automake-1.11. Disable by either passing --disable-silent-rules to configure or passing V=1 to make. Fixes https://bugs.maemo.org/show_bug.cgi?id=5147
2010-02-15Disable focus on treeview only for HildonTouchSelectorEntry.Xabier Rodriguez Calvar
Fixes: NB#113741 (Ctrl+A shortcut not working in Delete fields dialog)
2010-02-15Added internal api to disable treeview focus in touch selector column.Xabier Rodriguez Calvar
2010-02-15Avoid reinjecting control keys presses to the live search entry.Xabier Rodriguez Calvar
2010-02-12Don't crash HildonDateSelector if a locale is not availableAlberto Garcia
Fixes: NB#156737
2010-02-10Make HildonPickerButton support portrait modeAlberto Garcia
Fixes: NB#155502 (HildonPickerDialog doesn't support portrait mode)
2010-02-01Fix memory leak in HildonAnimationActorAlberto Garcia
Fixes: MB#8731 (Memory leaks in widget HildonAnimationActor)