| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Wrap and document pango.Context constructor, set_font_map() and
pango.FontMap.create_context() methods. Bug #550855.
|
|
|
|
| |
Also hopefully fixes bug #583658.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-25 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 548602 – C-isms in pango.FontDescription
* pango.defs (pango.FontDescription.copy_static)
(pango.FontDescription.set_family_static)
(pango.FontDescription.merge_static): Deprecate.
svn path=/trunk/; revision=3026
|
|
|
|
| |
svn path=/trunk/; revision=2843
|
|
|
|
|
|
|
| |
* atk.defs (atk_role_get_localized_name, atk_role_get_name): Define as
functions.
* pango.defs (pango_script_get_sample_language): Define as function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pango.override (*_get_type, *_ref, *_unref, *_free): ignore-glob
(pango_default_break): ignore
* pango.defs (pango_attr_shape_new_with_data, pango_default_break)
(pango_context_get_font_map, pango_context_set_matrix)
(pango_context_get_matrix, pango_itemize_with_base_dir)
(pango_coverage_new, pango_glyph_item_split, pango_glyph_item_free)
(pango_glyph_item_apply_attrs, pango_glyph_item_letter_space)
(pango_item_get_type, pango_item_new, pango_item_copy)
(pango_item_free, pango_item_split, pango_script_for_unichar)
(pango_script_iter_new, pango_script_iter_get_range)
(pango_script_iter_next, pango_script_iter_free)
(pango_script_get_sample_language, pango_script_includes_script)
(pango_matrix_get_type, pango_matrix_copy, pango_matrix_free)
(pango_matrix_translate, pango_matrix_scale, pango_matrix_rotate)
(pango_matrix_concat, pango_get_mirror_char, pango_unichar_direction)
(pango_find_base_dir): Add. Add virtuals.
(pango_font_metrics_new, pango_find_map, pango_map_get_engine)
(pango_map_get_engines, pango_module_register): Add with ifdef
PANGO_ENABLE_BACKEND
(pango_split_file_list, pango_trim_string, pango_read_line)
(pango_skip_space, pango_scan_word, pango_scan_string)
(pango_scan_int, pango_config_key_get, pango_lookup_aliases)
(pango_parse_style, pango_parse_variant, pango_parse_weight)
(pango_parse_stretch, pango_get_sysconf_subdirectory)
(pango_get_lib_subdirectory, pango_log2vis_get_embedding_levels)
(pango_get_sample_string, pango_is_zero_width): Add with ifdef
USE_PANGO_UTILS
* pango-types.defs (WrapMode): Add PANGO_WRAP_WORD_CHAR. Reorganize.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pango.override (_wrap_pango_attr_underline_color_new)
(_wrap_pango_attr_strikethrough_color_new)
(_wrap_pango_attr_size_new_absolute)
(_wrap_pango_attr_letter_spacing_new): Add.
* pango.defs (AttrSizeAbsolute, AttrUnderlineColor)
(AttrStrikethroughColor, AttrLetterSpacing)
(pango_font_description_set_absolute_size)
(pango_font_description_get_size_is_absolute)
(pango_font_get_font_map): Add.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in:
* gtk/Makefile.am:
* gtk/gdk-types.defs:
* gtk/gdk.defs:
* gtk/gdk.override:
* gtk/gtk.defs:
* pango-types.defs:
* pango.defs:
Merge new Gdk & Gtk API. pango.Renderer and functions/methods also
added. Bump required glib,gtk & pango versions.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Bump version to 2.7.0
* pango-types.defs (EllipsizeMode): Remove commas
* pango.defs (get_font_description, get_ellipsize, set_ellipsize):
Add
* ChangeLog.pre-2-6: Rename old ChangeLog
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pango-types.defs (LayoutIter): Add.
* pango.defs (pango_layout_iter_get_type): Add.
* pango.override (_wrap_pango_layout_iter_get_line_yrange)
(_wrap_pango_layout_iter_get_layout_extents)
(_wrap_pango_layout_iter_get_run_extents)
(_wrap_pango_layout_iter_get_line_extents)
(_wrap_pango_layout_iter_get_cluster_extents)
(_wrap_pango_layout_iter_get_char_extents): Implement.
|
|
|
|
|
|
|
|
|
|
|
| |
* pango.defs (pango_language_from_string) Rework as a constructor
for pango.Language.
(pango_language_matches) Rework this as a method for pango.Language.
(pango_language_to_string) Add this as a method.
* pango.override (_wrap_pango_language_from_string1)
(_wrap_pango_language_matches1) Add these to support deprecated
pango_language functions.
|
|
|
|
|
|
|
|
| |
* pango-types.defs (PangoFontsetSimple) Add class.
* pang_defs (pango_fontset_simple_new)
(pango_fontset_simple_append) (pango_fontset_simple_size)
Add methods for PangoFontsetSimple.
|
|
|
|
|
|
| |
* pango.defs (pango_fontset_foreach) Add definition.
* pango.override (_wrap_pango_fontset_foreach) Add.
|
|
|
|
|
|
|
| |
* pango.defs (pango_font_family_is_monospace) Add definition.
* pango.override (_wrap_pango_font_family_is_monospace)
Add two defines to avoid compilation warnings for this function.
|
|
|
|
| |
* pango.defs (pango_font_family_is_monospace) Add definition.
|
|
|
|
|
|
| |
* pango.defs (pango_font_face_list_sizes) Add definition.
* pango.override (_wrap_pango_font_face_list_sizes) Add.
|
|
|
|
|
|
| |
* pango.defs (pango_attr_iterator_get_attrs) Add definition.
* pango.override (pypango_attr_iterator_get_attrs) Add method.
|
|
|
|
|
|
|
|
| |
* pango.defs (pango_attr_fallback_new) Add definition for AttrFallback.
* pango.override (_wrap_pango_attr_fallback_new) Add.
(pypango_attr_tp_getattr) Add get attribute processing for
AttrFallback.
|
|
|
|
|
|
|
|
|
|
|
| |
* pango.override (_wrap_PANGO_ASCENT, _wrap_PANGO_DESCENT)
(_wrap_PANGO_LBEARING, _wrap_PANGO_RBEARING)
Add these function overrides. Fixes #116920.
* pango.defs (PIXELS, ASCENT, DESCENT, LBEARING, RBEARING)
Add defs for these. Fixes #116920.
* pangomodule.c (initpango) Add pango.SCALE constant. Fixes #116920.
|
|
|
|
|
|
|
|
| |
* pango.defs (pango_color_parse) Make this a constructor for
pango.Color. Fixes #116662.
* pango.override (_wrap_pango_color_parse) Add constructor wrapper.
Fixes #116662.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-12 Naofumi Yasufuku <naofumi@yasufuku.net>
* pango.defs (pango_context_get_metrics): Allow language parameter
to be omitted to get the metrics for the entire font.
(pango_itemize): Allow cached_iter parameter to be omitted.
(pango_font_description_better_match): Allow old_match parameter
to be omitted to determine if new_match is a match at all.
(pango_font_get_metrics): Allow language parameter to be omitted
to get the metrics for the entire font.
(pango_layout_set_font_description): Allow 'None' desc parameter
to unset the current font description.
(pango_layout_set_tabs): Allow 'None' tabs parameter to reinstate
the default tabs.
(pango_language_matches): Changed to function. Allow 'None'
language parameter which matches nothing but '*'.
Fixes #109848
|
|
|
|
|
| |
* pango.defs (pango_tab_array_new): Add, and constructor of
PangoTabArray.
|
|
|
|
|
|
|
|
|
| |
2002-11-15 James Henstridge <james@daa.com.au>
* pango.defs (PangoContext.get_metrics): caller owns return value.
* gtk/gtk.defs (GtkEntry.set_position): remove function, as it is
deprecated and shadows the recommended API.
|
|
|
|
|
|
| |
2002-06-17 Johan Dahlin <jdahlin@telia.com>
* pango.defs: added PangoLayout.set_text
|
|
|
|
|
|
|
|
| |
2002-04-15 James Henstridge <james@daa.com.au>
* pango.override: add a PangoAttribute wrapper type, constructors
for various attributes, and methods for inserting attributes in a
PangoAttrList.
|
|
|
|
|
|
| |
2002-04-15 James Henstridge <james@daa.com.au>
* pango.defs, gtk/gdk.defs: add missing definitions.
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-18 James Henstridge <james@daa.com.au>
* pango.defs: remove indic functions -- they are part of the
semi-public engine API.
Remove pango-module functions -- backend API.
(_wrap_pango_glyph_string_extents): implement.
(_wrap_pango_glyph_string_extents_range): implement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-17 James Henstridge <james@daa.com.au>
* pango.override (_wrap_pango_context_list_families): implement.
(_wrap_pango_font_get_glyph_extents): implement.
(_wrap_pango_font_family_list_faces): implement.
(_wrap_pango_font_map_list_families): implement.
(_wrap_pango_tab_array_get_tab): implement.
(_wrap_pango_tab_array_get_tabs): implement.
(_wrap_pango_layout_set_markup): implement.
(_wrap_pango_layout_set_markup_with_accel): implement.
(_wrap_pango_layout_index_to_pos): implement.
(_wrap_pango_layout_get_cursor_pos): implement.
|
|
|
|
|
|
|
| |
2001-11-19 Matt Wilson <msw@redhat.com>
* pango.defs (PangoContext.add_font_map): renamed to set_font_map
(PangoFontMap.load_font): added context argument
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-09 James Henstridge <james@daa.com.au>
* pango-types.defs: move types.
* gtk/Makefile.am: modify rules to take into account splitting out
the type definitions. --register arguments now only parse the
type defs and not the function defs, which should speed up the
build a bit.
* gtk/gdk-types.defs: same here.
* gtk/gtk.defs: and include gtk-types.defs here.
* gtk/gtk-types.defs: move
define-{object,interface,enum,flags,boxed} defs to this file.
* gtk/gtk-extrafuncs.defs (get_selection): and add it back here.
* gtk/gtk.defs: remove gtk_list_get_selection function from this
file.
* gtk/gtk-extrafuncs.defs (pygtk_generic_tree_model_new): similar
changes here.
* gtk/pygtktreemodel.c: same changes here.
* gtk/pygtktreemodel.h (pygtk_generic_tree_model_get_type): rename
to PyGtkGenericTreeModel, so that short name doesn't collide with
GtkTreeModel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-08 James Henstridge <james@daa.com.au>
* pango.defs (pango_font_metrics_new): comment out, as it is only
for use by engines.
* gtk/libglade.override: same here.
* gtk/gdk.override: same here.
* gtk/gtk.override: use import section here.
* pango.override: use the new import stuff to get the reference to
the GObject type.
* codegen/codegen.py (write_source): write out code based on the
import statements in the overrides file. Most modules have some
code like this, and this helps reduce the boilerplate code that
needs to be entered in.
* codegen/override.py (Overrides.get_imports): add handlers for
"import" sections of the overrides file, which are used to get
references to the types in other modules.
|
|
|
|
|
|
|
|
|
|
| |
2001-09-20 James Henstridge <james@daa.com.au>
* pango.defs (FontMetrics): uncomment this now it has a boxed type.
* gtk/Makefile.am (EXTRA_DIST): add gdk.override to dist.
* configure.in: update version number.
|
|
|
|
|
|
| |
2001-09-19 James Henstridge <james@daa.com.au>
* pango.defs: update for newer Pango API.
|
|
|
|
|
|
|
|
|
|
| |
2001-09-19 James Henstridge <james@daa.com.au>
* pango.defs (FontDescription): remove fields from
PangoFontDescription, as it is an opaque type now.
* configure.in (ACLOCAL): require glib 1.3.8, pango 0.19 and gtk+
1.3.8.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-08 James Henstridge <james@daa.com.au>
* gtk/gdk.defs, gtk/gtk-extrafuncs.defs, gtk/gtk.defs: update to
new format.
* pango.defs: update to new format.
* codegen/codegen.py: various fixes to make it work with the new
defs format.
* codegen/argtypes.py (ObjectArg.__init__): take the typecode as
an argument, and use it to deduce the cast macro (s/_TYPE_/_/).
(BoxedArg.__init__): take typecode as argument explicitly.
(EnumArg.__init__): take typecode as argument explicitly.
(FlagsArg.__init__): take typecode as argument explicitly.
(ArgMatcher.register_enum): pass typecode argument.
(ArgMatcher.register_flag): same here.
(ArgMatcher.register_object): same here.
(ArgMatcher.register_boxed): same here.
* codegen/definitions.py (ObjectDef): update parser for new format.
(InterfaceDef): same here.
(EnumDef): same here.
(BoxedDef): same here.
(MethodDef): same here.
(FunctionDef): same here.
* codegen/defsparser.py (DefsParser): add define- prefix to the
defs we look for.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-03 James Henstridge <james@daa.com.au>
* pango.defs: add is-constructor-of arguments to some defs, and
add fields to some object and boxed defs.
* pango.override: add more overrides.
* pango.defs: add more boxed type defs.
* gtk/gtk.defs (dequeue_resize_handler): remove removed function.
* codegen/override.py (Overrides.__parse_override): fix bug here.
string.find returns negative value on error -- not zero.
* codegen/argtypes.py (GTypeArg.write_param): fix up arg handler.
|
|
2001-07-02 James Henstridge <james@daa.com.au>
* Makefile.am (pangomodule_la_SOURCES): add rules to build pango
module.
* pango.defs:
* pango.override:
* pangomodule.c: new files for the pango wrapper module.
|