gtksourceviewmm r50 - in trunk: . gtksourceview gtksourceview/gtksourceviewmm gtksourceview/gtksourceviewmm/private gtksourceview/src tests tools/extra_defs_gen tools/m4



Author: murrayc
Date: 2007-09-12 12:14:09 +0100 (Wed, 12 Sep 2007)
New Revision: 50
ViewCVS link: http://svn.gnome.org/viewcvs/gtksourceviewmm?rev=50&view=rev

Added:
   trunk/gtksourceview/gtksourceviewmm-2.0.pc.in
   trunk/gtksourceview/src/gtksourceview_enums.defs
   trunk/gtksourceview/src/gtksourceview_others.defs
   trunk/gtksourceview/src/sourcelanguagemanager.ccg
   trunk/gtksourceview/src/sourcelanguagemanager.hg
   trunk/gtksourceview/src/sourcestyle.ccg
   trunk/gtksourceview/src/sourcestyle.hg
Removed:
   trunk/gtksourceview/libgtksourceviewmm-1.0.pc.in
   trunk/gtksourceview/src/sourcelanguagesmanager.ccg
   trunk/gtksourceview/src/sourcelanguagesmanager.hg
   trunk/gtksourceview/src/sourcetag.ccg
   trunk/gtksourceview/src/sourcetag.hg
   trunk/gtksourceview/src/sourcetagstyle.ccg
   trunk/gtksourceview/src/sourcetagstyle.hg
   trunk/gtksourceview/src/sourcetagtable.ccg
   trunk/gtksourceview/src/sourcetagtable.hg
Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/gtksourceview/Makefile.am
   trunk/gtksourceview/gtksourceviewmm.h
   trunk/gtksourceview/gtksourceviewmm/Makefile.am
   trunk/gtksourceview/gtksourceviewmm/private/Makefile.am
   trunk/gtksourceview/src/Makefile.am
   trunk/gtksourceview/src/Makefile_list_of_hg.am_fragment
   trunk/gtksourceview/src/gtksourceview.defs
   trunk/gtksourceview/src/gtksourceview_methods.defs
   trunk/gtksourceview/src/gtksourceview_signals.defs
   trunk/gtksourceview/src/sourcebuffer.ccg
   trunk/gtksourceview/src/sourcebuffer.hg
   trunk/gtksourceview/src/sourcelanguage.hg
   trunk/gtksourceview/src/sourcestylescheme.ccg
   trunk/gtksourceview/src/sourcestylescheme.hg
   trunk/gtksourceview/src/sourceview.ccg
   trunk/gtksourceview/src/sourceview.hg
   trunk/tests/Makefile.am
   trunk/tests/test-basic.cpp
   trunk/tests/test-get-buffer.cpp
   trunk/tests/test-langs.cpp
   trunk/tests/test-mime-types.cpp
   trunk/tools/extra_defs_gen/generate_defs_gtk.cc
   trunk/tools/m4/convert_gtksourceview.m4
   trunk/tools/m4/convert_gtksourceviewmm.m4
Log:
2007-09-12  Murray Cumming  <murrayc murrayc com>

* configure.ac:
* gtksourceview/Makefile.am:
* gtksourceview/libgtksourceviewmm-1.0.pc.in: Renamed to
* gtksourceview/gtksourceviewmm-2.0.pc.in:
* gtksourceview/gtksourceviewmm/Makefile.am:
* gtksourceview/gtksourceviewmm/private/Makefile.am:
* gtksourceview/src/Makefile.am:
Rename the library, headers install location, and 
pkg-config name to use 2-0 in the name, so we can wrap 
the new gtksourceview 2.0 API but keep the old versions of 
gtksourceviewmm parallel installable.
 
* gtksourceview/src/gtksourceview.defs:
* gtksourceview/src/gtksourceview_enums.defs:
* gtksourceview/src/gtksourceview_methods.defs:
* gtksourceview/src/gtksourceview_others.defs:
* gtksourceview/src/gtksourceview_signals.defs: Regenerated.
* tools/m4/convert_gtksourceview.m4:
* tools/m4/convert_gtksourceviewmm.m4:
* gtksourceview/gtksourceviewmm.h:
* gtksourceview/src/Makefile_list_of_hg.am_fragment:
* gtksourceview/src/sourcebuffer.ccg:
* gtksourceview/src/sourcebuffer.hg: The constructor now 
takes a TextTagTable instead of a SourceTagTable.
Removed set_bracket_match_style().
* gtksourceview/src/sourcelanguage.hg: Removed get_tags(), 
get_escape_char(), set_mime_types(), get_style_scheme(), 
set_style_scheme(), get_tag_style(), set_tag_style(), 
get_tag_default_style().
Added get_hidden() and get_style_name().
* gtksourceview/src/sourcelanguagemanager.ccg:
* gtksourceview/src/sourcelanguagemanager.hg: 
Renamed SourceLanguagesManager to SourceLanguageManager.
Removed get_language_from_mime_type() - there is no replacement 
yet. Removed get_available_languages(), get_lang_files_dirs().
Added get_default(), get_search_path(), get_language_ids(), and 
get_language().
* gtksourceview/src/sourcestyle.ccg:
* gtksourceview/src/sourcestyle.hg: Added.
* gtksourceview/src/sourcestylescheme.ccg:
* gtksourceview/src/sourcestylescheme.hg: Removed get_tag_style(), 
get_style_names(), get_default().
Added get_id(), get_name(), get_description(), get_authors(), 
get_filename(), get_style().
* gtksourceview/src/sourceview.ccg:
* gtksourceview/src/sourceview.hg: Added the 
SourceSmartHomeEndType enum, and used it in 
set_smart_home_end() and get_smart_home_end().
Renamed set_tabs_width() to set_tab_width(), and 
get_tabs_width() to get_tab_width().
Renamed set_show_margin() to set_show_right_margin(), and 
get_show_margin() to get_show_right_margin().
Renamed set_margin() to set_right_margin_position(), and 
get_margin() to get_right_margin_position().

* gtksourceview/src/sourcetag.ccg:
* gtksourceview/src/sourcetag.hg:
* gtksourceview/src/sourcetagstyle.ccg:
* gtksourceview/src/sourcetagstyle.hg:
* gtksourceview/src/sourcetagtable.hg:
Removed. I think that regular Gtk::TextTags should now 
be used instead.

Also pass RefPtr parameters by const reference.

* tests/Makefile.am:
* tests/test-basic.cpp:
* tests/test-get-buffer.cpp:
* tests/test-langs.cpp:
* tests/test-mime-types.cpp:
* tools/extra_defs_gen/generate_defs_gtk.cc:
Updated for the new API, though I removed 
test-mime-types from the build because there that 
API is no longer in gtksourceview, for now.




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