Anjuta Snippets Manager - weekly report #8



Hello,

    My source code can be viewed on github [1], and this time I also
posted some git logs (just noticed we should post them ... kind of
late, I know). Won't talk too much this week, mostly because I'm not
feeling that good when writing this report :).


   * What have I done this week?

   > Finished the snippets editor. Still had some details to implement
and I finished those.
   > Changed the backend to now the snippets are saved in one big file
(actually, before this, they weren't even saved at all, so had to do
that bit also)
   > Implemented the auto-complete based insertion (which is more of a
search feature), though it's still kind of buggy. The results seem
good (I have a relevance formula when searching the database), but I
have a problem with the IAnjutaProvider interface. It seems to work,
but I get warnings/criticals. Need to solve it these days.


   * What will I do next week?

   > At the start of the week I should fix that bug for the
auto-completion. Lost a lot of time trying to solve it, but even after
looking up the source code for the methods I use, I still can't figure
it out.
   > Make the snippets dynamic. Don't know how much it will take,
considering I can't use GtkTextMark (just the methods that are
provided by the IAnjutaEditor interface) and I need to do a lot of
things manually.
   > If these will take me less than I initially thought, I will start
to work on an Import/Export feature, which shouldn't take me too long
and should be the last step before I start writing the actual snippets
which will come with the plugin. Though, I still have some ideas that
I would like to implement if there is time.


   * Git log

commit 67306a0f18a29863d362c5cfd2eefdcac4222047
Author: Dragos Dena <dragos dena gmail com>
Date:   Sun Jul 18 18:37:26 2010 +0300

    Implemented indicator for the search string

 snippets-provider.c |   36 ++++++++++++++++++++++++++++++++----
 1 files changed, 32 insertions(+), 4 deletions(-)


commit 2693788af7e3458e99c91cd2a84eb8ed687e8e22
Author: Dragos Dena <dragos dena gmail com>
Date:   Sun Jul 18 16:59:06 2010 +0300

    Auto-complete insertion works

 snippets-provider.c |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)


commit 736efd5570e41a6955fa9548300d54dc446a76a4
Author: Dragos Dena <dragos dena gmail com>
Date:   Sun Jul 18 15:34:45 2010 +0300

    Implemented auto-completion searching. Still buggy

 plugin.c            |    9 +
 snippets-provider.c |  524 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 snippets-provider.h |    4 +
 3 files changed, 528 insertions(+), 9 deletions(-)


commit 6fa0a6b364a83b664c447771a3345b012b48fe7a
Author: Dragos Dena <dragos dena gmail com>
Date:   Fri Jul 16 17:02:48 2010 +0300

    Added the snippets-provider.c/h files

 snippets-provider.c |  179 +++++++++++++++++++++++++++++++++++++++++++++++++++
 snippets-provider.h |   66 +++++++++++++++++++
 2 files changed, 245 insertions(+), 0 deletions(-)


commit 06da28c2b39a8df575112af406c4d42c824ba98e
Author: Dragos Dena <dragos dena gmail com>
Date:   Fri Jul 16 17:02:02 2010 +0300

    Defined SnippetsProvider (for auto-completion)

 Makefile.am             |    4 +-
 plugin.c                |  101 +++++++++++++++-----
 plugin.h                |    3 +
 snippets-db.c           |  249 +----------------------------------------------
 snippets-db.h           |   17 +---
 snippets-manager-ui.xml |    6 +-
 6 files changed, 93 insertions(+), 287 deletions(-)


commit 26f8aaefb3cab7aebd502c43845a1ba2c2fff0cf
Author: Dragos Dena <dragos dena gmail com>
Date:   Thu Jul 15 14:57:48 2010 +0300

    Saving works for global variables.

 plugin.c              |   16 ++++++++
 snippets-db.c         |   42 +++++++++++++++++++++
 snippets-xml-parser.c |   99 +++++++++++++++++++++++++++++++++++++++++++------
 snippets-xml-parser.h |    6 +-
 4 files changed, 148 insertions(+), 15 deletions(-)


commit e6e89a30ce0fa98e47b294e9e9550cb5e92c7cb8
Author: Dragos Dena <dragos dena gmail com>
Date:   Thu Jul 15 11:41:43 2010 +0300

    Added the new snippets file.

 snippets.xml |  405 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 405 insertions(+), 0 deletions(-)


commit dac1705a0a7db03c2445f22c306b7b75f3f4ad95
Author: Dragos Dena <dragos dena gmail com>
Date:   Thu Jul 15 11:41:15 2010 +0300

    Saving now works. Backend changed a bit for this.

 Makefile.am                        |    3 +-
 comments-and-licenses-snippets.xml |    4 +-
 general-purpose-snippets.xml       |    4 +-
 plugin.c                           |    2 +-
 snippet.c                          |    2 +-
 snippets-browser.c                 |   26 ++--
 snippets-db.c                      |  279 ++++++++------------------
 snippets-db.h                      |   14 +-
 snippets-editor.c                  |    7 +-
 snippets-group.c                   |   33 ++--
 snippets-group.h                   |    5 +-
 snippets-xml-parser.c              |  400 +++++++++++++++++++++++++++++-------
 snippets-xml-parser.h              |   23 +-
 13 files changed, 465 insertions(+), 337 deletions(-)


commit b8ecc0ac94c8c75942fc969f182c4fda6d477b14
Author: Dragos Dena <dragos dena gmail com>
Date:   Tue Jul 13 16:20:21 2010 +0300

    Finished the editor.

 snippet-variables-store.c |    2 +-
 snippets-browser.c        |   13 ++-
 snippets-db.c             |   28 ++----
 snippets-editor.c         |  247 +++++++++++++++++++++++++++++++++++++++++---
 snippets-editor.ui        |   14 +++-
 5 files changed, 266 insertions(+), 38 deletions(-)


commit 8fe01f778f37c8a44dd649b7504350a00d63831f
Author: Dragos Dena <dragos dena gmail com>
Date:   Mon Jul 12 20:34:00 2010 +0300

    Some changes in the editor.

 comments-and-licenses-snippets.xml |   60 ++--
 general-purpose-snippets.xml       |    7 +-
 snippet-variables-store.c          |    9 +-
 snippet.c                          |   26 +-
 snippets-browser.c                 |   24 +-
 snippets-db.c                      |   50 ++-
 snippets-editor.c                  |  734 ++++++++++++++++++++++++++++++++++--
 snippets-editor.h                  |    4 +-
 snippets-editor.ui                 |   43 ++-
 snippets-group.c                   |    1 -
 snippets-xml-parser.c              |    2 +-
 11 files changed, 820 insertions(+), 140 deletions(-)



     Best regards,
         Dragoș


[1] http://github.com/dragos-dena/Anjuta-Snippets-Plugin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]