summaryrefslogtreecommitdiff
path: root/pango.defs
Commit message (Collapse)AuthorAgeFilesLines
* Drop the PangoFont find_shaper virtual methodHEADmasterJordan Petridis2019-11-271-9/+0
| | | | | | | | | | | | This API has been removed from Pango 1.44.6, because it was completely unused by anything. However, PyGTK tries to bind everything, even unused API. Removing this from PyGTK means we can build it against the latest Pango again. https://gitlab.gnome.org/GNOME/pango/issues/417
* Allow pango.Context creationPaul Pogonyshev2009-06-181-0/+7
| | | | | Wrap and document pango.Context constructor, set_font_map() and pango.FontMap.create_context() methods. Bug #550855.
* Plug huge number of memory leaks in Pango wrappersPaul Pogonyshev2009-06-181-0/+27
| | | | Also hopefully fixes bug #583658.
* Bug 548602 – C-isms in pango.FontDescriptionPaul Pogonyshev2008-08-251-0/+3
| | | | | | | | | | | | 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
* wrap new API for a 2.11.0 releaseGian Mario Tagliaretti2007-07-101-0/+248
| | | | svn path=/trunk/; revision=2843
* Define as functions.John Finlay2006-07-251-2/+4
| | | | | | | * atk.defs (atk_role_get_localized_name, atk_role_get_name): Define as functions. * pango.defs (pango_script_get_sample_language): Define as function.
* ignore-glob (pango_default_break): ignoreJohn Finlay2006-07-241-77/+997
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add.John Finlay2006-07-061-0/+57
| | | | | | | | | | | | | * 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.
* Merge new Gdk & Gtk API. pango.Renderer and functions/methods also added.Johan Dahlin2005-07-081-0/+149
| | | | | | | | | | | | | * 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.
* some more pango apisGustavo J. A. M. Carneiro2005-05-291-10/+10
|
* add few pango methodsGustavo J. A. M. Carneiro2005-05-291-0/+24
|
* Bump version to 2.7.0Johan Dahlin2005-05-171-0/+21
| | | | | | | | | | | * 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
* Add.John Finlay2004-12-041-0/+5
| | | | | | | | | | | | | * 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 forJohn Finlay2004-04-251-1/+42
| | | | | | | | | | | * 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.John Finlay2004-04-251-0/+24
| | | | | | | | * 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.John Finlay2004-04-251-0/+10
| | | | | | * pango.defs (pango_fontset_foreach) Add definition. * pango.override (_wrap_pango_fontset_foreach) Add.
* pango.defs (pango_font_family_is_monospace) Add definition.John Finlay2004-04-251-0/+6
| | | | | | | * 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.John Finlay2004-04-241-0/+6
| | | | * pango.defs (pango_font_family_is_monospace) Add definition.
* pango.defs (pango_font_face_list_sizes) Add definition.John Finlay2004-04-241-0/+20
| | | | | | * 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.John Finlay2004-04-241-0/+6
| | | | | | * 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.John Finlay2004-04-241-0/+8
| | | | | | | | * 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)John Finlay2003-07-121-0/+38
| | | | | | | | | | | * 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.John Finlay2003-07-121-2/+2
| | | | | | | | * 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.
* Allow language parameter to be omitted to get the metrics for the entireNaofumi Yasufuku2003-06-061-8/+8
| | | | | | | | | | | | | | | | | | | 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
* Add, and constructor of PangoTabArray.Johan Dahlin2002-12-101-0/+10
| | | | | * pango.defs (pango_tab_array_new): Add, and constructor of PangoTabArray.
* caller owns return value.James Henstridge2002-11-151-0/+1
| | | | | | | | | 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.
* added PangoLayout.set_textJohan Dahlin2002-06-171-0/+6
| | | | | | 2002-06-17 Johan Dahlin <jdahlin@telia.com> * pango.defs: added PangoLayout.set_text
* add a PangoAttribute wrapper type, constructors for various attributes,James Henstridge2002-04-151-15/+15
| | | | | | | | 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.
* add missing definitions.James Henstridge2002-04-151-0/+33
| | | | | | 2002-04-15 James Henstridge <james@daa.com.au> * pango.defs, gtk/gdk.defs: add missing definitions.
* remove indic functions -- they are part of the semi-public engine API.James Henstridge2002-03-181-102/+0
| | | | | | | | | | | 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.
* implement. (_wrap_pango_font_get_glyph_extents): implement.James Henstridge2002-03-171-1/+31
| | | | | | | | | | | | | | | 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.
* renamed to set_font_map (PangoFontMap.load_font): added context argumentMatt Wilson2001-11-191-1/+2
| | | | | | | 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
* move types.James Henstridge2001-10-091-269/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* comment out, as it is only for use by engines.James Henstridge2001-10-081-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* uncomment this now it has a boxed type.python22-branch-anchorJames Henstridge2001-09-201-7/+7
| | | | | | | | | | 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.
* update for newer Pango API.James Henstridge2001-09-191-53/+371
| | | | | | 2001-09-19 James Henstridge <james@daa.com.au> * pango.defs: update for newer Pango API.
* remove fields from PangoFontDescription, as it is an opaque type now.James Henstridge2001-09-191-8/+0
| | | | | | | | | | 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.
* update to new format.James Henstridge2001-07-081-1123/+1384
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* add is-constructor-of arguments to some defs, and add fields to someJames Henstridge2001-07-021-279/+64
| | | | | | | | | | | | | | | | | | 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.
* add rules to build pango module.James Henstridge2001-07-011-0/+1649
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.