After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694048 - Add new AnjutaCompletion object
Add new AnjutaCompletion object
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: libanjuta
unspecified
Other All
: Normal normal
: ---
Assigned To: Naba Kumar
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2013-02-17 22:00 UTC by Carl-Anton Ingmarsson
Modified: 2013-02-18 19:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libanjuta: Add new AnjutaCompletion object for prefix matching (15.75 KB, patch)
2013-02-17 22:00 UTC, Carl-Anton Ingmarsson
committed Details | Review
libanjuta: Add basic tests for AnjutaCompletion (4.09 KB, patch)
2013-02-17 22:00 UTC, Carl-Anton Ingmarsson
committed Details | Review
parser-cxx: use AnjutaCompletion instead of deprecated GCompletion (7.90 KB, patch)
2013-02-17 22:00 UTC, Carl-Anton Ingmarsson
committed Details | Review
parser-cxx: remove unused ParserCxxAssistContext (1023 bytes, patch)
2013-02-17 22:00 UTC, Carl-Anton Ingmarsson
committed Details | Review
python-assist: use AnjutaCompletion instead of GCompletion (5.12 KB, patch)
2013-02-17 22:00 UTC, Carl-Anton Ingmarsson
committed Details | Review
python-assist: remove unused PythonAssistContext (1.01 KB, patch)
2013-02-17 22:00 UTC, Carl-Anton Ingmarsson
committed Details | Review
python-assist: don't use deprecated functions (1.62 KB, patch)
2013-02-17 22:00 UTC, Carl-Anton Ingmarsson
committed Details | Review

Description Carl-Anton Ingmarsson 2013-02-17 22:00:03 UTC
And use it for prefix matching instead of the deprecated GCompletion.
Comment 1 Carl-Anton Ingmarsson 2013-02-17 22:00:06 UTC
Created attachment 236493 [details] [review]
libanjuta: Add new AnjutaCompletion object for prefix matching

AnjutaCompletion is a replacement for the deprecated GCompletion.
It should potentially be faster than GCompletion since it uses two
binary searches to find the matching completions instead of doing
a linear search which GCompletion does.
Comment 2 Carl-Anton Ingmarsson 2013-02-17 22:00:09 UTC
Created attachment 236494 [details] [review]
libanjuta: Add basic tests for AnjutaCompletion
Comment 3 Carl-Anton Ingmarsson 2013-02-17 22:00:12 UTC
Created attachment 236495 [details] [review]
parser-cxx: use AnjutaCompletion instead of deprecated GCompletion
Comment 4 Carl-Anton Ingmarsson 2013-02-17 22:00:14 UTC
Created attachment 236496 [details] [review]
parser-cxx: remove unused ParserCxxAssistContext
Comment 5 Carl-Anton Ingmarsson 2013-02-17 22:00:17 UTC
Created attachment 236497 [details] [review]
python-assist: use AnjutaCompletion instead of GCompletion
Comment 6 Carl-Anton Ingmarsson 2013-02-17 22:00:20 UTC
Created attachment 236498 [details] [review]
python-assist: remove unused PythonAssistContext
Comment 7 Carl-Anton Ingmarsson 2013-02-17 22:00:23 UTC
Created attachment 236499 [details] [review]
python-assist: don't use deprecated functions
Comment 8 Sébastien Granjoux 2013-02-18 18:34:40 UTC
I have only given a quick look at all these patches but it's fine. You can commit all of them. Thanks for your work.

Note that it's the first freeze today, we need now to concentrate on bug fixing.
Comment 9 Carl-Anton Ingmarsson 2013-02-18 19:21:53 UTC
Attachment 236493 [details] pushed as 5352166 - libanjuta: Add new AnjutaCompletion object for prefix matching
Attachment 236494 [details] pushed as 9c9d4cc - libanjuta: Add basic tests for AnjutaCompletion
Attachment 236495 [details] pushed as a3e8644 - parser-cxx: use AnjutaCompletion instead of deprecated GCompletion
Attachment 236496 [details] pushed as 9f264d0 - parser-cxx: remove unused ParserCxxAssistContext
Attachment 236497 [details] pushed as a9c4a97 - python-assist: use AnjutaCompletion instead of GCompletion
Attachment 236498 [details] pushed as dfaa216 - python-assist: remove unused PythonAssistContext
Attachment 236499 [details] pushed as 7f49185 - python-assist: don't use deprecated functions