Federico Mena Quintero
b17ffff0ff
Debug printfs for the completion feedback position
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19840
2008-03-13 00:42:38 +00:00
Federico Mena Quintero
3b5ddd8b55
Create a tooltip-like window to present completion feedback
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19839
2008-03-13 00:42:19 +00:00
Federico Mena Quintero
f47227adde
Beep if there are no matches for explicit completion
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19838
2008-03-13 00:41:58 +00:00
Federico Mena Quintero
a83799a32a
Scan the completion store again to look for complete-but-not-unique matches
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19837
2008-03-13 00:41:38 +00:00
Federico Mena Quintero
e5f8a4693e
Stubs for all cases of completion feedback
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19836
2008-03-13 00:41:17 +00:00
Federico Mena Quintero
806cca3c9c
Update comments on explicit completion
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19835
2008-03-13 00:40:57 +00:00
Federico Mena Quintero
47ddc0c86f
Stubs to give feedback when doing explicit completion
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19834
2008-03-13 00:40:37 +00:00
Federico Mena Quintero
1510b02c75
Refresh the file part when it gets requested and when activating the entry
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19833
2008-03-13 00:40:16 +00:00
Federico Mena Quintero
8482f9a7de
Clear the completion flags before appending the common prefix
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19832
2008-03-13 00:39:56 +00:00
Federico Mena Quintero
6a06c6daee
Add FIXMEs for beeping later
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19831
2008-03-13 00:39:35 +00:00
Federico Mena Quintero
d2293cc4f8
Factor out some code
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19830
2008-03-13 00:39:15 +00:00
Federico Mena Quintero
989637296b
Implement the basic code path for explicit completion
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19829
2008-03-13 00:38:53 +00:00
Federico Mena Quintero
11a9457ee1
Clear pending completions thoroughly
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19828
2008-03-13 00:38:31 +00:00
Federico Mena Quintero
e7009432b2
Remove debug printfs from populate_completion_store()
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19827
2008-03-13 00:38:11 +00:00
Federico Mena Quintero
a531c03baf
Debug printfs for finishing the folder load
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19826
2008-03-13 00:37:50 +00:00
Federico Mena Quintero
deec573420
More debug printfs for populating the completion store
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19825
2008-03-13 00:37:27 +00:00
Federico Mena Quintero
b2fe9f70d3
Debug printfs for populating the completion store
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19824
2008-03-13 00:37:05 +00:00
Federico Mena Quintero
baeaea3ca8
Turn on in_change while changing the filename in the entry
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19823
2008-03-13 00:36:42 +00:00
Federico Mena Quintero
b25ec8e40e
Update some FIXMEs
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19822
2008-03-13 00:36:18 +00:00
Federico Mena Quintero
a6bdc59213
When finding the common prefix, assert that we have the correct folder loaded
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19821
2008-03-13 00:35:54 +00:00
Federico Mena Quintero
073093bde0
Discard the completion store when we change the folder
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19820
2008-03-13 00:35:31 +00:00
Federico Mena Quintero
f5343b9037
Add some more FIXMEs
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19819
2008-03-13 00:35:08 +00:00
Federico Mena Quintero
bdebb1c7fb
Remove obsolete comments
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19818
2008-03-13 00:34:44 +00:00
Federico Mena Quintero
69f62828f4
Cancel all forms of completion at the appropriate times, not just in ::changed
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19817
2008-03-13 00:34:21 +00:00
Federico Mena Quintero
9c9b5e6034
Put some more FIXMEs
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19816
2008-03-13 00:33:55 +00:00
Federico Mena Quintero
f96770eb2f
Re-create the completion store right before populating it
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19815
2008-03-13 00:33:31 +00:00
Federico Mena Quintero
af7a4e2ecf
Populate the completion store when the folder is done loading
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19814
2008-03-13 00:32:58 +00:00
Federico Mena Quintero
756497d142
Remove files_added handler
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19813
2008-03-13 00:32:32 +00:00
Federico Mena Quintero
d254972b7a
Remove files_deleted handler
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19812
2008-03-13 00:32:05 +00:00
Federico Mena Quintero
340e9ac350
Handle the folder being completely loaded
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19811
2008-03-13 00:31:38 +00:00
Federico Mena Quintero
f1101e1169
Debug printfs for finding the common prefix
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19810
2008-03-13 00:31:13 +00:00
Federico Mena Quintero
4158110fe8
Debug printfs for the common prefix
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19809
2008-03-13 00:30:47 +00:00
Federico Mena Quintero
f027017d8b
Autocomplete by inserting/selecting the common prefix
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19808
2008-03-13 00:30:20 +00:00
Federico Mena Quintero
e7afb62172
Debugging printfs
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19807
2008-03-13 00:29:55 +00:00
Federico Mena Quintero
25b98dca7b
Start autocompletion in an idle so GtkEntry updates its cursor position
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19806
2008-03-13 00:29:30 +00:00
Federico Mena Quintero
5f32bf06e0
Rework the way autocompletion is initiated
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19805
2008-03-13 00:29:04 +00:00
Federico Mena Quintero
d64fa89eec
For autocompletion, consider only the text up to the cursor
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19804
2008-03-13 00:28:38 +00:00
Federico Mena Quintero
1394858329
Don't overwrite the suffix after the cursor when inserting the completion
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19803
2008-03-13 00:28:12 +00:00
Federico Mena Quintero
bbb847aef7
Skip the cursor past the autocompleted part when requesting explicit completion
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19802
2008-03-13 00:27:46 +00:00
Federico Mena Quintero
45c87ed009
Move the cursor to the end only if we highlight the completed match
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19801
2008-03-13 00:27:16 +00:00
Federico Mena Quintero
46d0480711
Complete even if not at the end of the text
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19800
2008-03-13 00:26:49 +00:00
Federico Mena Quintero
833e32fa08
Only auto-insert the prefix if we are at the end of the text
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19799
2008-03-13 00:26:20 +00:00
Federico Mena Quintero
795727aad4
Find the common prefix based on the cursor position
...
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19798
2008-03-13 00:25:50 +00:00
Tor Lillqvist
c8b617382d
Bug 469868 - Filenames with colon ":" are not saved correctly
...
2008-03-11 Tor Lillqvist <tml@novell.com>
Bug 469868 - Filenames with colon ":" are not saved correctly
* gtk/gtkfilechooserentry.c (insert_text_callback)
(delete_text_callback) [Win32]: New functions to make sure that
colons used otherwise than as a separator after a drive letter, or
characters that are always illegal in file names, are rejected on
input. This means that the GTK+ file chooser can't be used to
input full names of alternate data streams, but oh well. There are
still more checks that could be done on the file names, see the
bug report. But this will do for now.
(_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
svn path=/trunk/; revision=19753
2008-03-11 18:43:49 +00:00
Matthias Clasen
4118dd893f
Skip exensions when selecting filenames in the save-as dialog. ( #362516 ,
...
2008-02-12 Matthias Clasen <mclasen@redhat.com>
Skip exensions when selecting filenames in the save-as dialog.
(#362516 , Carlos Garnacho)
* gtk/gtkfilechooserentry.h:
* gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
New function to skip the extension part when selecting a filename.
(_gtk_file_chooser_entry_set_base_folder): Use it here.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
...and here.
svn path=/trunk/; revision=19540
2008-02-12 17:34:43 +00:00
Matthias Clasen
069d78ed31
Append a '/' to directory names in the completion popup. ( #431323 , Maarten
...
2007-04-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserentry.c: Append a '/' to directory names
in the completion popup. (#431323 , Maarten Maathuis)
svn path=/trunk/; revision=17658
2007-04-26 17:04:33 +00:00
Matthias Clasen
82ce59cd0f
Remove unnecessary NULL checks before g_free(). ( #369666 , Morten Welinder,
...
2007-03-09 Matthias Clasen <mclasen@redhat.com>
* Everywhere: Remove unnecessary NULL checks before
g_free(). (#369666 , Morten Welinder, Djihed Afifi)
* configure.in: Check for ftw.h
svn path=/trunk/; revision=17444
2007-03-09 21:57:37 +00:00
Matthias Clasen
07e7719441
Apply a cleanup patch by Kjartan Maraas ( #341812 )
...
2006-10-08 Matthias Clasen <mclasen@redhat.com>
* Apply a cleanup patch by Kjartan Maraas (#341812 )
2006-10-08 05:07:55 +00:00
Matthias Clasen
f45a35921a
Commit a patch by Behdad to fix typos, omissions and other errors in the
...
2006-09-10 Matthias Clasen <mclasen@redhat.com>
* Commit a patch by Behdad to fix typos, omissions and other
errors in the symbol aliasing, and add checks for local PLT
entries. (#354687 , Behdad Esfahbod)
2006-09-10 06:39:16 +00:00
Matthias Clasen
ce94b03def
Don't store GSource pointers, but ids. (gtk_file_chooser_entry_dispose):
...
2006-08-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Don't
store GSource pointers, but ids.
(gtk_file_chooser_entry_dispose): Remove idles.
(idle_add, idle_add): Factor this out.
(gtk_file_chooser_entry_maybe_update_directory):
(add_completion_idle): And use it here. (#350039 , Chris Wilson)
2006-08-15 18:11:13 +00:00