diff --git a/.bzrignore b/.bzrignore old mode 100644 new mode 100755 diff --git a/config/nimdoc.cfg b/config/nimdoc.cfg old mode 100644 new mode 100755 diff --git a/config/nimdoc.tex.cfg b/config/nimdoc.tex.cfg old mode 100644 new mode 100755 diff --git a/config/nimrod.cfg b/config/nimrod.cfg old mode 100644 new mode 100755 diff --git a/contributors.txt b/contributors.txt old mode 100644 new mode 100755 diff --git a/copying.txt b/copying.txt old mode 100644 new mode 100755 diff --git a/data/advopt.txt b/data/advopt.txt old mode 100644 new mode 100755 diff --git a/data/ast.yml b/data/ast.yml old mode 100644 new mode 100755 diff --git a/data/basicopt.txt b/data/basicopt.txt old mode 100644 new mode 100755 diff --git a/data/keywords.txt b/data/keywords.txt old mode 100644 new mode 100755 diff --git a/data/magic.yml b/data/magic.yml old mode 100644 new mode 100755 diff --git a/data/messages.yml b/data/messages.yml old mode 100644 new mode 100755 diff --git a/data/pas_keyw.yml b/data/pas_keyw.yml old mode 100644 new mode 100755 diff --git a/data/readme.txt b/data/readme.txt old mode 100644 new mode 100755 diff --git a/diff/empty.txt b/diff/empty.txt old mode 100644 new mode 100755 diff --git a/doc/abstypes.txt b/doc/abstypes.txt old mode 100644 new mode 100755 diff --git a/doc/apis.txt b/doc/apis.txt old mode 100644 new mode 100755 diff --git a/doc/astspec.txt b/doc/astspec.txt old mode 100644 new mode 100755 diff --git a/doc/docs.txt b/doc/docs.txt old mode 100644 new mode 100755 diff --git a/doc/effects.txt b/doc/effects.txt old mode 100644 new mode 100755 diff --git a/doc/endb.txt b/doc/endb.txt old mode 100644 new mode 100755 diff --git a/doc/filelist.txt b/doc/filelist.txt old mode 100644 new mode 100755 diff --git a/doc/filters.txt b/doc/filters.txt old mode 100644 new mode 100755 diff --git a/doc/gramcurl.txt b/doc/gramcurl.txt old mode 100644 new mode 100755 diff --git a/doc/grammar.txt b/doc/grammar.txt old mode 100644 new mode 100755 diff --git a/doc/intern.txt b/doc/intern.txt old mode 100644 new mode 100755 diff --git a/doc/lib.txt b/doc/lib.txt old mode 100644 new mode 100755 diff --git a/doc/manual.txt b/doc/manual.txt old mode 100644 new mode 100755 diff --git a/doc/mytest.cfg b/doc/mytest.cfg old mode 100644 new mode 100755 diff --git a/doc/nimdoc.css b/doc/nimdoc.css old mode 100644 new mode 100755 diff --git a/doc/nimrodc.txt b/doc/nimrodc.txt old mode 100644 new mode 100755 diff --git a/doc/overview.txt b/doc/overview.txt old mode 100644 new mode 100755 diff --git a/doc/pegdocs.txt b/doc/pegdocs.txt old mode 100644 new mode 100755 index 8e21b12cdc..27eb197477 --- a/doc/pegdocs.txt +++ b/doc/pegdocs.txt @@ -26,7 +26,8 @@ notation meaning operator priority. ``{E}`` Capture: Apply expression `E` and store the substring that matched `E` into a *capture* that can be accessed - after the matching process. + after the matching process. +``$i`` back reference to the ``i``th capture. ``i`` counts from 1. ``&E`` And predicate: Indicate success if expression `E` matches the text ahead; otherwise indicate failure. Do not consume any text. @@ -54,6 +55,9 @@ notation meaning ``y's'`` String match ignoring style. ``v's'`` Verbatim string match: Use this to override a global ``\i`` or ``\y`` modifier. +``i$j`` String match ignoring case for back reference. +``y$j`` String match ignoring style for back reference. +``v$j`` Verbatim string match for back reference. ``.`` Any character: If there is a character ahead, consume it and indicate success. Otherwise (that is, at the end of input) indicate failure. @@ -125,11 +129,17 @@ The PEG parser implements this grammar (written in PEG syntax):: rule <- identifier \s* "<-" expr ig identNoArrow <- identifier !(\s* "<-") - primary <- (ig '&' / ig '!' / ig '@')* - ((ig identNoArrow / ig charset / ig stringlit - / ig builtin / ig '.' / ig '_' - / (ig "(" expr ig ")")) - (ig '?' / ig '*' / ig '+')*) + prefixOpr <- ig '&' / ig '!' / ig '@' + literal <- ig identifier? '$' [0-9]+ + ig identNoArrow / + ig charset / + ig stringlit / + ig builtin / + ig '.' / + ig '_' / + (ig "(" expr ig ")") + postfixOpr <- ig '?' / ig '*' / ig '+' + primary <- prefixOpr* (literal postfixOpr*) # Concatenation has higher priority than choice: # ``a b / c`` means ``(a b) / c`` diff --git a/doc/readme.txt b/doc/readme.txt old mode 100644 new mode 100755 diff --git a/doc/regexprs.txt b/doc/regexprs.txt old mode 100644 new mode 100755 diff --git a/doc/rst.txt b/doc/rst.txt old mode 100644 new mode 100755 diff --git a/doc/theindex.txt b/doc/theindex.txt old mode 100644 new mode 100755 diff --git a/doc/tut1.txt b/doc/tut1.txt old mode 100644 new mode 100755 diff --git a/doc/tut2.txt b/doc/tut2.txt old mode 100644 new mode 100755 diff --git a/examples/allany.nim b/examples/allany.nim old mode 100644 new mode 100755 diff --git a/examples/cairoex.nim b/examples/cairoex.nim old mode 100644 new mode 100755 diff --git a/examples/cgiex.nim b/examples/cgiex.nim old mode 100644 new mode 100755 diff --git a/examples/curlex.nim b/examples/curlex.nim old mode 100644 new mode 100755 diff --git a/examples/filterex.nim b/examples/filterex.nim old mode 100644 new mode 100755 diff --git a/examples/gtk/ex1.nim b/examples/gtk/ex1.nim old mode 100644 new mode 100755 diff --git a/examples/gtk/ex2.nim b/examples/gtk/ex2.nim old mode 100644 new mode 100755 diff --git a/examples/gtk/ex3.nim b/examples/gtk/ex3.nim old mode 100644 new mode 100755 diff --git a/examples/gtk/ex4.nim b/examples/gtk/ex4.nim old mode 100644 new mode 100755 diff --git a/examples/gtk/ex5.nim b/examples/gtk/ex5.nim old mode 100644 new mode 100755 diff --git a/examples/gtk/ex6.nim b/examples/gtk/ex6.nim old mode 100644 new mode 100755 diff --git a/examples/gtk/ex7.nim b/examples/gtk/ex7.nim old mode 100644 new mode 100755 diff --git a/examples/gtk/ex8.nim b/examples/gtk/ex8.nim old mode 100644 new mode 100755 diff --git a/examples/gtk/ex9.nim b/examples/gtk/ex9.nim old mode 100644 new mode 100755 diff --git a/examples/hallo.nim b/examples/hallo.nim old mode 100644 new mode 100755 diff --git a/examples/htmlrefs.nim b/examples/htmlrefs.nim old mode 100644 new mode 100755 diff --git a/examples/htmltitle.nim b/examples/htmltitle.nim old mode 100644 new mode 100755 diff --git a/examples/iupex1.nim b/examples/iupex1.nim old mode 100644 new mode 100755 diff --git a/examples/keyval.nim b/examples/keyval.nim old mode 100644 new mode 100755 diff --git a/examples/keyval2.nim b/examples/keyval2.nim old mode 100644 new mode 100755 diff --git a/examples/luaex.nim b/examples/luaex.nim old mode 100644 new mode 100755 diff --git a/examples/maximum.nim b/examples/maximum.nim old mode 100644 new mode 100755 diff --git a/examples/myfile.txt b/examples/myfile.txt old mode 100644 new mode 100755 diff --git a/examples/pythonex.nim b/examples/pythonex.nim old mode 100644 new mode 100755 diff --git a/examples/readme.txt b/examples/readme.txt old mode 100644 new mode 100755 diff --git a/examples/sdlex.nim b/examples/sdlex.nim old mode 100644 new mode 100755 diff --git a/examples/statcsv.nim b/examples/statcsv.nim old mode 100644 new mode 100755 diff --git a/examples/tclex.nim b/examples/tclex.nim old mode 100644 new mode 100755 diff --git a/examples/transff.nim b/examples/transff.nim old mode 100644 new mode 100755 diff --git a/examples/wingui.nim b/examples/wingui.nim old mode 100644 new mode 100755 diff --git a/examples/x11ex.nim b/examples/x11ex.nim old mode 100644 new mode 100755 diff --git a/gpl.html b/gpl.html old mode 100644 new mode 100755 diff --git a/ide/config.nim b/ide/config.nim old mode 100644 new mode 100755 diff --git a/ide/main.nim b/ide/main.nim old mode 100644 new mode 100755 diff --git a/ide/nimide.glade b/ide/nimide.glade old mode 100644 new mode 100755 diff --git a/ide/nimide.gladep b/ide/nimide.gladep old mode 100644 new mode 100755 diff --git a/ide/nimide.nim b/ide/nimide.nim old mode 100644 new mode 100755 diff --git a/install.txt b/install.txt old mode 100644 new mode 100755 diff --git a/koch.nim b/koch.nim old mode 100644 new mode 100755 diff --git a/lib/copying.txt b/lib/copying.txt old mode 100644 new mode 100755 diff --git a/lib/cycle.h b/lib/cycle.h old mode 100644 new mode 100755 diff --git a/lib/devel/urls.nim b/lib/devel/urls.nim old mode 100644 new mode 100755 diff --git a/lib/ecmas/dom.nim b/lib/ecmas/dom.nim old mode 100644 new mode 100755 diff --git a/lib/impure/db_mysql.nim b/lib/impure/db_mysql.nim old mode 100644 new mode 100755 diff --git a/lib/impure/db_postgres.nim b/lib/impure/db_postgres.nim old mode 100644 new mode 100755 diff --git a/lib/impure/db_sqlite.nim b/lib/impure/db_sqlite.nim old mode 100644 new mode 100755 diff --git a/lib/impure/dialogs.nim b/lib/impure/dialogs.nim old mode 100644 new mode 100755 diff --git a/lib/impure/graphics.nim b/lib/impure/graphics.nim old mode 100644 new mode 100755 diff --git a/lib/impure/web.nim b/lib/impure/web.nim old mode 100644 new mode 100755 diff --git a/lib/impure/zipfiles.nim b/lib/impure/zipfiles.nim old mode 100644 new mode 100755 diff --git a/lib/lgpl.txt b/lib/lgpl.txt old mode 100644 new mode 100755 diff --git a/lib/newwrap/cairo/cairo.nim b/lib/newwrap/cairo/cairo.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/cairo/cairoft.nim b/lib/newwrap/cairo/cairoft.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/cairo/cairowin32.nim b/lib/newwrap/cairo/cairowin32.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/cairo/cairoxlib.nim b/lib/newwrap/cairo/cairoxlib.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/gtk/atk.nim b/lib/newwrap/gtk/atk.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/gtk/gdk2.nim b/lib/newwrap/gtk/gdk2.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/gtk/gdk2pixbuf.nim b/lib/newwrap/gtk/gdk2pixbuf.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/gtk/gdkglext.nim b/lib/newwrap/gtk/gdkglext.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/gtk/glib2.nim b/lib/newwrap/gtk/glib2.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/gtk/gtk2.nim b/lib/newwrap/gtk/gtk2.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/gtk/gtkglext.nim b/lib/newwrap/gtk/gtkglext.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/gtk/gtkhtml.nim b/lib/newwrap/gtk/gtkhtml.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/gtk/libglade2.nim b/lib/newwrap/gtk/libglade2.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/gtk/pango.nim b/lib/newwrap/gtk/pango.nim old mode 100644 new mode 100755 index 1443aba1dd..eb2333a2e4 --- a/lib/newwrap/gtk/pango.nim +++ b/lib/newwrap/gtk/pango.nim @@ -4,10 +4,10 @@ import when defined(win32): const - pangolib* = "libpango-1.0-0.dll" + lib* = "libpango-1.0-0.dll" else: const - pangolib* = "libpango-1.0.so.0" + lib* = "libpango-1.0.so.0" type PFont* = pointer PFontFamily* = pointer @@ -56,8 +56,7 @@ type PDirection* = ptr TDirection TDirection* = enum - PANGO_DIRECTION_LTR, PANGO_DIRECTION_RTL, PANGO_DIRECTION_TTB_LTR, - PANGO_DIRECTION_TTB_RTL + DIRECTION_LTR, DIRECTION_RTL, DIRECTION_TTB_LTR, DIRECTION_TTB_RTL PColor* = ptr TColor TColor*{.final, pure.} = object red*: guint16 @@ -123,8 +122,7 @@ type PCoverageLevel* = ptr TCoverageLevel TCoverageLevel* = enum - PANGO_COVERAGE_NONE, PANGO_COVERAGE_FALLBACK, PANGO_COVERAGE_APPROXIMATE, - PANGO_COVERAGE_EXACT + COVERAGE_NONE, COVERAGE_FALLBACK, COVERAGE_APPROXIMATE, COVERAGE_EXACT PBlockInfo* = ptr TBlockInfo TBlockInfo*{.final, pure.} = object data*: Pguchar @@ -225,10 +223,10 @@ type PAlignment* = ptr TAlignment TAlignment* = enum - PANGO_ALIGN_LEFT, PANGO_ALIGN_CENTER, PANGO_ALIGN_RIGHT + ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT PWrapMode* = ptr TWrapMode TWrapMode* = enum - PANGO_WRAP_WORD, PANGO_WRAP_CHAR + WRAP_WORD, WRAP_CHAR PLayoutLine* = ptr TLayoutLine TLayoutLine*{.final, pure.} = object layout*: PLayout @@ -243,135 +241,130 @@ type PTabAlign* = ptr TTabAlign TTabAlign* = enum - PANGO_TAB_LEFT + TAB_LEFT const - PANGO_SCALE* = 1024 + SCALE* = 1024 -proc PANGO_PIXELS*(d: int): int -proc PANGO_ASCENT*(rect: TRectangle): int32 -proc PANGO_DESCENT*(rect: TRectangle): int32 -proc PANGO_LBEARING*(rect: TRectangle): int32 -proc PANGO_RBEARING*(rect: TRectangle): int32 -proc PANGO_TYPE_LANGUAGE*(): GType -proc pango_language_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_language_get_type".} -proc pango_language_from_string*(language: cstring): PLanguage{.cdecl, - dynlib: pangolib, importc: "pango_language_from_string".} -proc pango_language_to_string*(language: PLanguage): cstring -proc pango_language_matches*(language: PLanguage, range_list: cstring): gboolean{. - cdecl, dynlib: pangolib, importc: "pango_language_matches".} +proc PIXELS*(d: int): int +proc ASCENT*(rect: TRectangle): int32 +proc DESCENT*(rect: TRectangle): int32 +proc LBEARING*(rect: TRectangle): int32 +proc RBEARING*(rect: TRectangle): int32 +proc TYPE_LANGUAGE*(): GType +proc language_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_language_get_type".} +proc language_from_string*(language: cstring): PLanguage{.cdecl, dynlib: lib, + importc: "pango_language_from_string".} +proc language_to_string*(language: PLanguage): cstring +proc language_matches*(language: PLanguage, range_list: cstring): gboolean{. + cdecl, dynlib: lib, importc: "pango_language_matches".} const - PANGO_ATTR_INVALID* = 0 - PANGO_ATTR_LANGUAGE* = 1 - PANGO_ATTR_FAMILY* = 2 - PANGO_ATTR_STYLE* = 3 - PANGO_ATTR_WEIGHT* = 4 - PANGO_ATTR_VARIANT* = 5 - PANGO_ATTR_STRETCH* = 6 - PANGO_ATTR_SIZE* = 7 - PANGO_ATTR_FONT_DESC* = 8 - PANGO_ATTR_FOREGROUND* = 9 - PANGO_ATTR_BACKGROUND* = 10 - PANGO_ATTR_UNDERLINE* = 11 - PANGO_ATTR_STRIKETHROUGH* = 12 - PANGO_ATTR_RISE* = 13 - PANGO_ATTR_SHAPE* = 14 - PANGO_ATTR_SCALE* = 15 - PANGO_UNDERLINE_NONE* = 0 - PANGO_UNDERLINE_SINGLE* = 1 - PANGO_UNDERLINE_DOUBLE* = 2 - PANGO_UNDERLINE_LOW* = 3 + ATTR_INVALID* = 0 + ATTR_LANGUAGE* = 1 + ATTR_FAMILY* = 2 + ATTR_STYLE* = 3 + ATTR_WEIGHT* = 4 + ATTR_VARIANT* = 5 + ATTR_STRETCH* = 6 + ATTR_SIZE* = 7 + ATTR_FONT_DESC* = 8 + ATTR_FOREGROUND* = 9 + ATTR_BACKGROUND* = 10 + ATTR_UNDERLINE* = 11 + ATTR_STRIKETHROUGH* = 12 + ATTR_RISE* = 13 + ATTR_SHAPE* = 14 + ATTR_SCALE* = 15 + UNDERLINE_NONE* = 0 + UNDERLINE_SINGLE* = 1 + UNDERLINE_DOUBLE* = 2 + UNDERLINE_LOW* = 3 -proc PANGO_TYPE_COLOR*(): GType -proc pango_color_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_color_get_type".} -proc pango_color_copy*(src: PColor): PColor{.cdecl, dynlib: pangolib, - importc: "pango_color_copy".} -proc pango_color_free*(color: PColor){.cdecl, dynlib: pangolib, - importc: "pango_color_free".} -proc pango_color_parse*(color: PColor, spec: cstring): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_color_parse".} -proc PANGO_TYPE_ATTR_LIST*(): GType -proc pango_attr_type_register*(name: cstring): TAttrType{.cdecl, - dynlib: pangolib, importc: "pango_attr_type_register".} -proc pango_attribute_copy*(attr: PAttribute): PAttribute{.cdecl, - dynlib: pangolib, importc: "pango_attribute_copy".} -proc pango_attribute_destroy*(attr: PAttribute){.cdecl, dynlib: pangolib, +proc TYPE_COLOR*(): GType +proc color_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_color_get_type".} +proc color_copy*(src: PColor): PColor{.cdecl, dynlib: lib, + importc: "pango_color_copy".} +proc color_free*(color: PColor){.cdecl, dynlib: lib, importc: "pango_color_free".} +proc color_parse*(color: PColor, spec: cstring): gboolean{.cdecl, dynlib: lib, + importc: "pango_color_parse".} +proc TYPE_ATTR_LIST*(): GType +proc attr_type_register*(name: cstring): TAttrType{.cdecl, dynlib: lib, + importc: "pango_attr_type_register".} +proc attribute_copy*(attr: PAttribute): PAttribute{.cdecl, dynlib: lib, + importc: "pango_attribute_copy".} +proc attribute_destroy*(attr: PAttribute){.cdecl, dynlib: lib, importc: "pango_attribute_destroy".} -proc pango_attribute_equal*(attr1: PAttribute, attr2: PAttribute): gboolean{. - cdecl, dynlib: pangolib, importc: "pango_attribute_equal".} -proc pango_attr_language_new*(language: PLanguage): PAttribute{.cdecl, - dynlib: pangolib, importc: "pango_attr_language_new".} -proc pango_attr_family_new*(family: cstring): PAttribute{.cdecl, - dynlib: pangolib, importc: "pango_attr_family_new".} -proc pango_attr_foreground_new*(red: guint16, green: guint16, blue: guint16): PAttribute{. - cdecl, dynlib: pangolib, importc: "pango_attr_foreground_new".} -proc pango_attr_background_new*(red: guint16, green: guint16, blue: guint16): PAttribute{. - cdecl, dynlib: pangolib, importc: "pango_attr_background_new".} -proc pango_attr_size_new*(size: int32): PAttribute{.cdecl, dynlib: pangolib, +proc attribute_equal*(attr1: PAttribute, attr2: PAttribute): gboolean{.cdecl, + dynlib: lib, importc: "pango_attribute_equal".} +proc attr_language_new*(language: PLanguage): PAttribute{.cdecl, dynlib: lib, + importc: "pango_attr_language_new".} +proc attr_family_new*(family: cstring): PAttribute{.cdecl, dynlib: lib, + importc: "pango_attr_family_new".} +proc attr_foreground_new*(red: guint16, green: guint16, blue: guint16): PAttribute{. + cdecl, dynlib: lib, importc: "pango_attr_foreground_new".} +proc attr_background_new*(red: guint16, green: guint16, blue: guint16): PAttribute{. + cdecl, dynlib: lib, importc: "pango_attr_background_new".} +proc attr_size_new*(size: int32): PAttribute{.cdecl, dynlib: lib, importc: "pango_attr_size_new".} -proc pango_attr_style_new*(style: TStyle): PAttribute{.cdecl, dynlib: pangolib, +proc attr_style_new*(style: TStyle): PAttribute{.cdecl, dynlib: lib, importc: "pango_attr_style_new".} -proc pango_attr_weight_new*(weight: TWeight): PAttribute{.cdecl, - dynlib: pangolib, importc: "pango_attr_weight_new".} -proc pango_attr_variant_new*(variant: TVariant): PAttribute{.cdecl, - dynlib: pangolib, importc: "pango_attr_variant_new".} -proc pango_attr_stretch_new*(stretch: TStretch): PAttribute{.cdecl, - dynlib: pangolib, importc: "pango_attr_stretch_new".} -proc pango_attr_font_desc_new*(desc: PFontDescription): PAttribute{.cdecl, - dynlib: pangolib, importc: "pango_attr_font_desc_new".} -proc pango_attr_underline_new*(underline: TUnderline): PAttribute{.cdecl, - dynlib: pangolib, importc: "pango_attr_underline_new".} -proc pango_attr_strikethrough_new*(strikethrough: gboolean): PAttribute{.cdecl, - dynlib: pangolib, importc: "pango_attr_strikethrough_new".} -proc pango_attr_rise_new*(rise: int32): PAttribute{.cdecl, dynlib: pangolib, +proc attr_weight_new*(weight: TWeight): PAttribute{.cdecl, dynlib: lib, + importc: "pango_attr_weight_new".} +proc attr_variant_new*(variant: TVariant): PAttribute{.cdecl, dynlib: lib, + importc: "pango_attr_variant_new".} +proc attr_stretch_new*(stretch: TStretch): PAttribute{.cdecl, dynlib: lib, + importc: "pango_attr_stretch_new".} +proc attr_font_desc_new*(desc: PFontDescription): PAttribute{.cdecl, + dynlib: lib, importc: "pango_attr_font_desc_new".} +proc attr_underline_new*(underline: TUnderline): PAttribute{.cdecl, dynlib: lib, + importc: "pango_attr_underline_new".} +proc attr_strikethrough_new*(strikethrough: gboolean): PAttribute{.cdecl, + dynlib: lib, importc: "pango_attr_strikethrough_new".} +proc attr_rise_new*(rise: int32): PAttribute{.cdecl, dynlib: lib, importc: "pango_attr_rise_new".} -proc pango_attr_shape_new*(ink_rect: PRectangle, logical_rect: PRectangle): PAttribute{. - cdecl, dynlib: pangolib, importc: "pango_attr_shape_new".} -proc pango_attr_scale_new*(scale_factor: gdouble): PAttribute{.cdecl, - dynlib: pangolib, importc: "pango_attr_scale_new".} -proc pango_attr_list_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_attr_list_get_type".} -proc pango_attr_list_new*(): PAttrList{.cdecl, dynlib: pangolib, - importc: "pango_attr_list_new".} -proc pango_attr_list_ref*(list: PAttrList){.cdecl, dynlib: pangolib, - importc: "pango_attr_list_ref".} -proc pango_attr_list_unref*(list: PAttrList){.cdecl, dynlib: pangolib, - importc: "pango_attr_list_unref".} -proc pango_attr_list_copy*(list: PAttrList): PAttrList{.cdecl, dynlib: pangolib, +proc attr_shape_new*(ink_rect: PRectangle, logical_rect: PRectangle): PAttribute{. + cdecl, dynlib: lib, importc: "pango_attr_shape_new".} +proc attr_scale_new*(scale_factor: gdouble): PAttribute{.cdecl, dynlib: lib, + importc: "pango_attr_scale_new".} +proc attr_list_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_attr_list_get_type".} +proc attr_list_new*(): PAttrList{.cdecl, dynlib: lib, + importc: "pango_attr_list_new".} +proc attr_list_ref*(list: PAttrList){.cdecl, dynlib: lib, + importc: "pango_attr_list_ref".} +proc attr_list_unref*(list: PAttrList){.cdecl, dynlib: lib, + importc: "pango_attr_list_unref".} +proc attr_list_copy*(list: PAttrList): PAttrList{.cdecl, dynlib: lib, importc: "pango_attr_list_copy".} -proc pango_attr_list_insert*(list: PAttrList, attr: PAttribute){.cdecl, - dynlib: pangolib, importc: "pango_attr_list_insert".} -proc pango_attr_list_insert_before*(list: PAttrList, attr: PAttribute){.cdecl, - dynlib: pangolib, importc: "pango_attr_list_insert_before".} -proc pango_attr_list_change*(list: PAttrList, attr: PAttribute){.cdecl, - dynlib: pangolib, importc: "pango_attr_list_change".} -proc pango_attr_list_splice*(list: PAttrList, other: PAttrList, pos: gint, - len: gint){.cdecl, dynlib: pangolib, - importc: "pango_attr_list_splice".} -proc pango_attr_list_get_iterator*(list: PAttrList): PAttrIterator{.cdecl, - dynlib: pangolib, importc: "pango_attr_list_get_iterator".} -proc pango_attr_iterator_range*(`iterator`: PAttrIterator, start: Pgint, - theEnd: Pgint){.cdecl, dynlib: pangolib, - importc: "pango_attr_iterator_range".} -proc pango_attr_iterator_next*(`iterator`: PAttrIterator): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_attr_iterator_next".} -proc pango_attr_iterator_copy*(`iterator`: PAttrIterator): PAttrIterator{.cdecl, - dynlib: pangolib, importc: "pango_attr_iterator_copy".} -proc pango_attr_iterator_destroy*(`iterator`: PAttrIterator){.cdecl, - dynlib: pangolib, importc: "pango_attr_iterator_destroy".} -proc pango_attr_iterator_get*(`iterator`: PAttrIterator, `type`: TAttrType): PAttribute{. - cdecl, dynlib: pangolib, importc: "pango_attr_iterator_get".} -proc pango_attr_iterator_get_font*(`iterator`: PAttrIterator, - desc: PFontDescription, - language: var PLanguage, - extra_attrs: PPGSList){.cdecl, - dynlib: pangolib, importc: "pango_attr_iterator_get_font".} -proc pango_parse_markup*(markup_text: cstring, length: int32, - accel_marker: gunichar, attr_list: var PAttrList, - text: PPchar, accel_char: Pgunichar, error: pointer): gboolean{. - cdecl, dynlib: pangolib, importc: "pango_parse_markup".} +proc attr_list_insert*(list: PAttrList, attr: PAttribute){.cdecl, dynlib: lib, + importc: "pango_attr_list_insert".} +proc attr_list_insert_before*(list: PAttrList, attr: PAttribute){.cdecl, + dynlib: lib, importc: "pango_attr_list_insert_before".} +proc attr_list_change*(list: PAttrList, attr: PAttribute){.cdecl, dynlib: lib, + importc: "pango_attr_list_change".} +proc attr_list_splice*(list: PAttrList, other: PAttrList, pos: gint, len: gint){. + cdecl, dynlib: lib, importc: "pango_attr_list_splice".} +proc attr_list_get_iterator*(list: PAttrList): PAttrIterator{.cdecl, + dynlib: lib, importc: "pango_attr_list_get_iterator".} +proc attr_iterator_range*(`iterator`: PAttrIterator, start: Pgint, theEnd: Pgint){. + cdecl, dynlib: lib, importc: "pango_attr_iterator_range".} +proc attr_iterator_next*(`iterator`: PAttrIterator): gboolean{.cdecl, + dynlib: lib, importc: "pango_attr_iterator_next".} +proc attr_iterator_copy*(`iterator`: PAttrIterator): PAttrIterator{.cdecl, + dynlib: lib, importc: "pango_attr_iterator_copy".} +proc attr_iterator_destroy*(`iterator`: PAttrIterator){.cdecl, dynlib: lib, + importc: "pango_attr_iterator_destroy".} +proc attr_iterator_get*(`iterator`: PAttrIterator, `type`: TAttrType): PAttribute{. + cdecl, dynlib: lib, importc: "pango_attr_iterator_get".} +proc attr_iterator_get_font*(`iterator`: PAttrIterator, desc: PFontDescription, + language: var PLanguage, extra_attrs: PPGSList){. + cdecl, dynlib: lib, importc: "pango_attr_iterator_get_font".} +proc parse_markup*(markup_text: cstring, length: int32, accel_marker: gunichar, + attr_list: var PAttrList, text: PPchar, + accel_char: Pgunichar, error: pointer): gboolean{.cdecl, + dynlib: lib, importc: "pango_parse_markup".} const bm_TPangoLogAttr_is_line_break* = 0x0001'i16 bp_TPangoLogAttr_is_line_break* = 0'i16 @@ -414,508 +407,491 @@ proc is_sentence_start*(a: var TLogAttr): guint proc set_is_sentence_start*(a: var TLogAttr, `is_sentence_start`: guint) proc is_sentence_end*(a: var TLogAttr): guint proc set_is_sentence_end*(a: var TLogAttr, `is_sentence_end`: guint) -proc pango_break*(text: cstring, length: int32, analysis: PAnalysis, - attrs: PLogAttr, attrs_len: int32){.cdecl, dynlib: pangolib, - importc: "pango_break".} -proc pango_find_paragraph_boundary*(text: cstring, length: gint, - paragraph_delimiter_index: Pgint, - next_paragraph_start: Pgint){.cdecl, - dynlib: pangolib, importc: "pango_find_paragraph_boundary".} -proc pango_get_log_attrs*(text: cstring, length: int32, level: int32, - language: PLanguage, log_attrs: PLogAttr, - attrs_len: int32){.cdecl, dynlib: pangolib, - importc: "pango_get_log_attrs".} -proc PANGO_TYPE_CONTEXT*(): GType -proc PANGO_CONTEXT*(anObject: pointer): PContext -proc PANGO_CONTEXT_CLASS*(klass: pointer): PContextClass -proc PANGO_IS_CONTEXT*(anObject: pointer): bool -proc PANGO_IS_CONTEXT_CLASS*(klass: pointer): bool -proc PANGO_CONTEXT_GET_CLASS*(obj: PContext): PContextClass -proc pango_context_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_context_get_type".} -proc pango_context_list_families*(context: PContext, - families: openarray[ptr PFontFamily]){.cdecl, - dynlib: pangolib, importc: "pango_context_list_families".} -proc pango_context_load_font*(context: PContext, desc: PFontDescription): PFont{. - cdecl, dynlib: pangolib, importc: "pango_context_load_font".} -proc pango_context_load_fontset*(context: PContext, desc: PFontDescription, - language: PLanguage): PFontset{.cdecl, - dynlib: pangolib, importc: "pango_context_load_fontset".} -proc pango_context_get_metrics*(context: PContext, desc: PFontDescription, - language: PLanguage): PFontMetrics{.cdecl, - dynlib: pangolib, importc: "pango_context_get_metrics".} -proc pango_context_set_font_description*(context: PContext, - desc: PFontDescription){.cdecl, dynlib: pangolib, - importc: "pango_context_set_font_description".} -proc pango_context_get_font_description*(context: PContext): PFontDescription{. - cdecl, dynlib: pangolib, importc: "pango_context_get_font_description".} -proc pango_context_get_language*(context: PContext): PLanguage{.cdecl, - dynlib: pangolib, importc: "pango_context_get_language".} -proc pango_context_set_language*(context: PContext, language: PLanguage){.cdecl, - dynlib: pangolib, importc: "pango_context_set_language".} -proc pango_context_set_base_dir*(context: PContext, direction: TDirection){. - cdecl, dynlib: pangolib, importc: "pango_context_set_base_dir".} -proc pango_context_get_base_dir*(context: PContext): TDirection{.cdecl, - dynlib: pangolib, importc: "pango_context_get_base_dir".} -proc pango_itemize*(context: PContext, text: cstring, start_index: int32, - length: int32, attrs: PAttrList, cached_iter: PAttrIterator): PGList{. - cdecl, dynlib: pangolib, importc: "pango_itemize".} -proc pango_coverage_new*(): PCoverage{.cdecl, dynlib: pangolib, - importc: "pango_coverage_new".} -proc pango_coverage_ref*(coverage: PCoverage): PCoverage{.cdecl, - dynlib: pangolib, importc: "pango_coverage_ref".} -proc pango_coverage_unref*(coverage: PCoverage){.cdecl, dynlib: pangolib, +proc `break`*(text: cstring, length: int32, analysis: PAnalysis, attrs: PLogAttr, + attrs_len: int32){.cdecl, dynlib: lib, importc: "pango_break".} +proc find_paragraph_boundary*(text: cstring, length: gint, + paragraph_delimiter_index: Pgint, + next_paragraph_start: Pgint){.cdecl, dynlib: lib, + importc: "pango_find_paragraph_boundary".} +proc get_log_attrs*(text: cstring, length: int32, level: int32, + language: PLanguage, log_attrs: PLogAttr, attrs_len: int32){. + cdecl, dynlib: lib, importc: "pango_get_log_attrs".} +proc TYPE_CONTEXT*(): GType +proc CONTEXT*(anObject: pointer): PContext +proc CONTEXT_CLASS*(klass: pointer): PContextClass +proc IS_CONTEXT*(anObject: pointer): bool +proc IS_CONTEXT_CLASS*(klass: pointer): bool +proc CONTEXT_GET_CLASS*(obj: PContext): PContextClass +proc context_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_context_get_type".} +proc context_list_families*(context: PContext, + families: openarray[ptr PFontFamily]){.cdecl, + dynlib: lib, importc: "pango_context_list_families".} +proc context_load_font*(context: PContext, desc: PFontDescription): PFont{. + cdecl, dynlib: lib, importc: "pango_context_load_font".} +proc context_load_fontset*(context: PContext, desc: PFontDescription, + language: PLanguage): PFontset{.cdecl, dynlib: lib, + importc: "pango_context_load_fontset".} +proc context_get_metrics*(context: PContext, desc: PFontDescription, + language: PLanguage): PFontMetrics{.cdecl, + dynlib: lib, importc: "pango_context_get_metrics".} +proc context_set_font_description*(context: PContext, desc: PFontDescription){. + cdecl, dynlib: lib, importc: "pango_context_set_font_description".} +proc context_get_font_description*(context: PContext): PFontDescription{.cdecl, + dynlib: lib, importc: "pango_context_get_font_description".} +proc context_get_language*(context: PContext): PLanguage{.cdecl, dynlib: lib, + importc: "pango_context_get_language".} +proc context_set_language*(context: PContext, language: PLanguage){.cdecl, + dynlib: lib, importc: "pango_context_set_language".} +proc context_set_base_dir*(context: PContext, direction: TDirection){.cdecl, + dynlib: lib, importc: "pango_context_set_base_dir".} +proc context_get_base_dir*(context: PContext): TDirection{.cdecl, dynlib: lib, + importc: "pango_context_get_base_dir".} +proc itemize*(context: PContext, text: cstring, start_index: int32, + length: int32, attrs: PAttrList, cached_iter: PAttrIterator): PGList{. + cdecl, dynlib: lib, importc: "pango_itemize".} +proc coverage_new*(): PCoverage{.cdecl, dynlib: lib, + importc: "pango_coverage_new".} +proc coverage_ref*(coverage: PCoverage): PCoverage{.cdecl, dynlib: lib, + importc: "pango_coverage_ref".} +proc coverage_unref*(coverage: PCoverage){.cdecl, dynlib: lib, importc: "pango_coverage_unref".} -proc pango_coverage_copy*(coverage: PCoverage): PCoverage{.cdecl, - dynlib: pangolib, importc: "pango_coverage_copy".} -proc pango_coverage_get*(coverage: PCoverage, index: int32): TCoverageLevel{. - cdecl, dynlib: pangolib, importc: "pango_coverage_get".} -proc pango_coverage_set*(coverage: PCoverage, index: int32, - level: TCoverageLevel){.cdecl, dynlib: pangolib, - importc: "pango_coverage_set".} -proc pango_coverage_max*(coverage: PCoverage, other: PCoverage){.cdecl, - dynlib: pangolib, importc: "pango_coverage_max".} -proc pango_coverage_to_bytes*(coverage: PCoverage, bytes: PPguchar, - n_bytes: var int32){.cdecl, dynlib: pangolib, - importc: "pango_coverage_to_bytes".} -proc pango_coverage_from_bytes*(bytes: Pguchar, n_bytes: int32): PCoverage{. - cdecl, dynlib: pangolib, importc: "pango_coverage_from_bytes".} -proc PANGO_TYPE_FONTSET*(): GType -proc PANGO_FONTSET*(anObject: pointer): PFontset -proc PANGO_IS_FONTSET*(anObject: pointer): bool -proc pango_fontset_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_fontset_get_type".} -proc pango_fontset_get_font*(fontset: PFontset, wc: guint): PFont{.cdecl, - dynlib: pangolib, importc: "pango_fontset_get_font".} -proc pango_fontset_get_metrics*(fontset: PFontset): PFontMetrics{.cdecl, - dynlib: pangolib, importc: "pango_fontset_get_metrics".} +proc coverage_copy*(coverage: PCoverage): PCoverage{.cdecl, dynlib: lib, + importc: "pango_coverage_copy".} +proc coverage_get*(coverage: PCoverage, index: int32): TCoverageLevel{.cdecl, + dynlib: lib, importc: "pango_coverage_get".} +proc coverage_set*(coverage: PCoverage, index: int32, level: TCoverageLevel){. + cdecl, dynlib: lib, importc: "pango_coverage_set".} +proc coverage_max*(coverage: PCoverage, other: PCoverage){.cdecl, dynlib: lib, + importc: "pango_coverage_max".} +proc coverage_to_bytes*(coverage: PCoverage, bytes: PPguchar, n_bytes: var int32){. + cdecl, dynlib: lib, importc: "pango_coverage_to_bytes".} +proc coverage_from_bytes*(bytes: Pguchar, n_bytes: int32): PCoverage{.cdecl, + dynlib: lib, importc: "pango_coverage_from_bytes".} +proc TYPE_FONTSET*(): GType +proc FONTSET*(anObject: pointer): PFontset +proc IS_FONTSET*(anObject: pointer): bool +proc fontset_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_fontset_get_type".} +proc fontset_get_font*(fontset: PFontset, wc: guint): PFont{.cdecl, dynlib: lib, + importc: "pango_fontset_get_font".} +proc fontset_get_metrics*(fontset: PFontset): PFontMetrics{.cdecl, dynlib: lib, + importc: "pango_fontset_get_metrics".} const - PANGO_STYLE_NORMAL* = 0 - PANGO_STYLE_OBLIQUE* = 1 - PANGO_STYLE_ITALIC* = 2 - PANGO_VARIANT_NORMAL* = 0 - PANGO_VARIANT_SMALL_CAPS* = 1 - PANGO_WEIGHT_ULTRALIGHT* = 200 - PANGO_WEIGHT_LIGHT* = 300 - PANGO_WEIGHT_NORMAL* = 400 - PANGO_WEIGHT_BOLD* = 700 - PANGO_WEIGHT_ULTRABOLD* = 800 - PANGO_WEIGHT_HEAVY* = 900 - PANGO_STRETCH_ULTRA_CONDENSED* = 0 - PANGO_STRETCH_EXTRA_CONDENSED* = 1 - PANGO_STRETCH_CONDENSED* = 2 - PANGO_STRETCH_SEMI_CONDENSED* = 3 - PANGO_STRETCH_NORMAL* = 4 - PANGO_STRETCH_SEMI_EXPANDED* = 5 - PANGO_STRETCH_EXPANDED* = 6 - PANGO_STRETCH_EXTRA_EXPANDED* = 7 - PANGO_STRETCH_ULTRA_EXPANDED* = 8 - PANGO_FONT_MASK_FAMILY* = 1 shl 0 - PANGO_FONT_MASK_STYLE* = 1 shl 1 - PANGO_FONT_MASK_VARIANT* = 1 shl 2 - PANGO_FONT_MASK_WEIGHT* = 1 shl 3 - PANGO_FONT_MASK_STRETCH* = 1 shl 4 - PANGO_FONT_MASK_SIZE* = 1 shl 5 - PANGO_SCALE_XX_SMALL* = 0.578704 - PANGO_SCALE_X_SMALL* = 0.644444 - PANGO_SCALE_SMALL* = 0.833333 - PANGO_SCALE_MEDIUM* = 1.00000 - PANGO_SCALE_LARGE* = 1.20000 - PANGO_SCALE_X_LARGE* = 1.44000 - PANGO_SCALE_XX_LARGE* = 1.72800 + STYLE_NORMAL* = 0 + STYLE_OBLIQUE* = 1 + STYLE_ITALIC* = 2 + VARIANT_NORMAL* = 0 + VARIANT_SMALL_CAPS* = 1 + WEIGHT_ULTRALIGHT* = 200 + WEIGHT_LIGHT* = 300 + WEIGHT_NORMAL* = 400 + WEIGHT_BOLD* = 700 + WEIGHT_ULTRABOLD* = 800 + WEIGHT_HEAVY* = 900 + STRETCH_ULTRA_CONDENSED* = 0 + STRETCH_EXTRA_CONDENSED* = 1 + STRETCH_CONDENSED* = 2 + STRETCH_SEMI_CONDENSED* = 3 + STRETCH_NORMAL* = 4 + STRETCH_SEMI_EXPANDED* = 5 + STRETCH_EXPANDED* = 6 + STRETCH_EXTRA_EXPANDED* = 7 + STRETCH_ULTRA_EXPANDED* = 8 + FONT_MASK_FAMILY* = 1 shl 0 + FONT_MASK_STYLE* = 1 shl 1 + FONT_MASK_VARIANT* = 1 shl 2 + FONT_MASK_WEIGHT* = 1 shl 3 + FONT_MASK_STRETCH* = 1 shl 4 + FONT_MASK_SIZE* = 1 shl 5 + SCALE_XX_SMALL* = 0.578704 + SCALE_X_SMALL* = 0.644444 + SCALE_SMALL* = 0.833333 + SCALE_MEDIUM* = 1.00000 + SCALE_LARGE* = 1.20000 + SCALE_X_LARGE* = 1.44000 + SCALE_XX_LARGE* = 1.72800 -proc PANGO_TYPE_FONT_DESCRIPTION*(): GType -proc pango_font_description_get_type*(): GType{.cdecl, dynlib: pangolib, +proc TYPE_FONT_DESCRIPTION*(): GType +proc font_description_get_type*(): GType{.cdecl, dynlib: lib, importc: "pango_font_description_get_type".} -proc pango_font_description_new*(): PFontDescription{.cdecl, dynlib: pangolib, +proc font_description_new*(): PFontDescription{.cdecl, dynlib: lib, importc: "pango_font_description_new".} -proc pango_font_description_copy*(desc: PFontDescription): PFontDescription{. - cdecl, dynlib: pangolib, importc: "pango_font_description_copy".} -proc pango_font_description_copy_static*(desc: PFontDescription): PFontDescription{. - cdecl, dynlib: pangolib, importc: "pango_font_description_copy_static".} -proc pango_font_description_hash*(desc: PFontDescription): guint{.cdecl, - dynlib: pangolib, importc: "pango_font_description_hash".} -proc pango_font_description_equal*(desc1: PFontDescription, - desc2: PFontDescription): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_font_description_equal".} -proc pango_font_description_free*(desc: PFontDescription){.cdecl, - dynlib: pangolib, importc: "pango_font_description_free".} -proc pango_font_descriptions_free*(descs: var PFontDescription, n_descs: int32){. - cdecl, dynlib: pangolib, importc: "pango_font_descriptions_free".} -proc pango_font_description_set_family*(desc: PFontDescription, family: cstring){. - cdecl, dynlib: pangolib, importc: "pango_font_description_set_family".} -proc pango_font_description_set_family_static*(desc: PFontDescription, - family: cstring){.cdecl, dynlib: pangolib, - importc: "pango_font_description_set_family_static".} -proc pango_font_description_get_family*(desc: PFontDescription): cstring{.cdecl, - dynlib: pangolib, importc: "pango_font_description_get_family".} -proc pango_font_description_set_style*(desc: PFontDescription, style: TStyle){. - cdecl, dynlib: pangolib, importc: "pango_font_description_set_style".} -proc pango_font_description_get_style*(desc: PFontDescription): TStyle{.cdecl, - dynlib: pangolib, importc: "pango_font_description_get_style".} -proc pango_font_description_set_variant*(desc: PFontDescription, - variant: TVariant){.cdecl, dynlib: pangolib, - importc: "pango_font_description_set_variant".} -proc pango_font_description_get_variant*(desc: PFontDescription): TVariant{. - cdecl, dynlib: pangolib, importc: "pango_font_description_get_variant".} -proc pango_font_description_set_weight*(desc: PFontDescription, weight: TWeight){. - cdecl, dynlib: pangolib, importc: "pango_font_description_set_weight".} -proc pango_font_description_get_weight*(desc: PFontDescription): TWeight{.cdecl, - dynlib: pangolib, importc: "pango_font_description_get_weight".} -proc pango_font_description_set_stretch*(desc: PFontDescription, - stretch: TStretch){.cdecl, dynlib: pangolib, - importc: "pango_font_description_set_stretch".} -proc pango_font_description_get_stretch*(desc: PFontDescription): TStretch{. - cdecl, dynlib: pangolib, importc: "pango_font_description_get_stretch".} -proc pango_font_description_set_size*(desc: PFontDescription, size: gint){. - cdecl, dynlib: pangolib, importc: "pango_font_description_set_size".} -proc pango_font_description_get_size*(desc: PFontDescription): gint{.cdecl, - dynlib: pangolib, importc: "pango_font_description_get_size".} -proc pango_font_description_set_absolute_size*(desc: PFontDescription, - size: float64){.cdecl, dynlib: pangolib, - importc: "pango_font_description_set_absolute_size".} -proc pango_font_description_get_size_is_absolute*(desc: PFontDescription, - size: float64): gboolean{.cdecl, dynlib: pangolib, importc: "pango_font_description_get_size_is_absolute".} -proc pango_font_description_get_set_fields*(desc: PFontDescription): TFontMask{. - cdecl, dynlib: pangolib, importc: "pango_font_description_get_set_fields".} -proc pango_font_description_unset_fields*(desc: PFontDescription, - to_unset: TFontMask){.cdecl, dynlib: pangolib, - importc: "pango_font_description_unset_fields".} -proc pango_font_description_merge*(desc: PFontDescription, - desc_to_merge: PFontDescription, - replace_existing: gboolean){.cdecl, - dynlib: pangolib, importc: "pango_font_description_merge".} -proc pango_font_description_merge_static*(desc: PFontDescription, - desc_to_merge: PFontDescription, replace_existing: gboolean){.cdecl, - dynlib: pangolib, importc: "pango_font_description_merge_static".} -proc pango_font_description_better_match*(desc: PFontDescription, - old_match: PFontDescription, new_match: PFontDescription): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_font_description_better_match".} -proc pango_font_description_from_string*(str: cstring): PFontDescription{.cdecl, - dynlib: pangolib, importc: "pango_font_description_from_string".} -proc pango_font_description_to_string*(desc: PFontDescription): cstring{.cdecl, - dynlib: pangolib, importc: "pango_font_description_to_string".} -proc pango_font_description_to_filename*(desc: PFontDescription): cstring{. - cdecl, dynlib: pangolib, importc: "pango_font_description_to_filename".} -proc PANGO_TYPE_FONT_METRICS*(): GType -proc pango_font_metrics_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_font_metrics_get_type".} -proc pango_font_metrics_ref*(metrics: PFontMetrics): PFontMetrics{.cdecl, - dynlib: pangolib, importc: "pango_font_metrics_ref".} -proc pango_font_metrics_unref*(metrics: PFontMetrics){.cdecl, dynlib: pangolib, +proc font_description_copy*(desc: PFontDescription): PFontDescription{.cdecl, + dynlib: lib, importc: "pango_font_description_copy".} +proc font_description_copy_static*(desc: PFontDescription): PFontDescription{. + cdecl, dynlib: lib, importc: "pango_font_description_copy_static".} +proc font_description_hash*(desc: PFontDescription): guint{.cdecl, dynlib: lib, + importc: "pango_font_description_hash".} +proc font_description_equal*(desc1: PFontDescription, desc2: PFontDescription): gboolean{. + cdecl, dynlib: lib, importc: "pango_font_description_equal".} +proc font_description_free*(desc: PFontDescription){.cdecl, dynlib: lib, + importc: "pango_font_description_free".} +proc font_descriptions_free*(descs: var PFontDescription, n_descs: int32){. + cdecl, dynlib: lib, importc: "pango_font_descriptions_free".} +proc font_description_set_family*(desc: PFontDescription, family: cstring){. + cdecl, dynlib: lib, importc: "pango_font_description_set_family".} +proc font_description_set_family_static*(desc: PFontDescription, family: cstring){. + cdecl, dynlib: lib, importc: "pango_font_description_set_family_static".} +proc font_description_get_family*(desc: PFontDescription): cstring{.cdecl, + dynlib: lib, importc: "pango_font_description_get_family".} +proc font_description_set_style*(desc: PFontDescription, style: TStyle){.cdecl, + dynlib: lib, importc: "pango_font_description_set_style".} +proc font_description_get_style*(desc: PFontDescription): TStyle{.cdecl, + dynlib: lib, importc: "pango_font_description_get_style".} +proc font_description_set_variant*(desc: PFontDescription, variant: TVariant){. + cdecl, dynlib: lib, importc: "pango_font_description_set_variant".} +proc font_description_get_variant*(desc: PFontDescription): TVariant{.cdecl, + dynlib: lib, importc: "pango_font_description_get_variant".} +proc font_description_set_weight*(desc: PFontDescription, weight: TWeight){. + cdecl, dynlib: lib, importc: "pango_font_description_set_weight".} +proc font_description_get_weight*(desc: PFontDescription): TWeight{.cdecl, + dynlib: lib, importc: "pango_font_description_get_weight".} +proc font_description_set_stretch*(desc: PFontDescription, stretch: TStretch){. + cdecl, dynlib: lib, importc: "pango_font_description_set_stretch".} +proc font_description_get_stretch*(desc: PFontDescription): TStretch{.cdecl, + dynlib: lib, importc: "pango_font_description_get_stretch".} +proc font_description_set_size*(desc: PFontDescription, size: gint){.cdecl, + dynlib: lib, importc: "pango_font_description_set_size".} +proc font_description_get_size*(desc: PFontDescription): gint{.cdecl, + dynlib: lib, importc: "pango_font_description_get_size".} +proc font_description_set_absolute_size*(desc: PFontDescription, size: float64){. + cdecl, dynlib: lib, importc: "pango_font_description_set_absolute_size".} +proc font_description_get_size_is_absolute*(desc: PFontDescription, + size: float64): gboolean{.cdecl, dynlib: lib, importc: "pango_font_description_get_size_is_absolute".} +proc font_description_get_set_fields*(desc: PFontDescription): TFontMask{.cdecl, + dynlib: lib, importc: "pango_font_description_get_set_fields".} +proc font_description_unset_fields*(desc: PFontDescription, to_unset: TFontMask){. + cdecl, dynlib: lib, importc: "pango_font_description_unset_fields".} +proc font_description_merge*(desc: PFontDescription, + desc_to_merge: PFontDescription, + replace_existing: gboolean){.cdecl, dynlib: lib, + importc: "pango_font_description_merge".} +proc font_description_merge_static*(desc: PFontDescription, + desc_to_merge: PFontDescription, + replace_existing: gboolean){.cdecl, + dynlib: lib, importc: "pango_font_description_merge_static".} +proc font_description_better_match*(desc: PFontDescription, + old_match: PFontDescription, + new_match: PFontDescription): gboolean{. + cdecl, dynlib: lib, importc: "pango_font_description_better_match".} +proc font_description_from_string*(str: cstring): PFontDescription{.cdecl, + dynlib: lib, importc: "pango_font_description_from_string".} +proc font_description_to_string*(desc: PFontDescription): cstring{.cdecl, + dynlib: lib, importc: "pango_font_description_to_string".} +proc font_description_to_filename*(desc: PFontDescription): cstring{.cdecl, + dynlib: lib, importc: "pango_font_description_to_filename".} +proc TYPE_FONT_METRICS*(): GType +proc font_metrics_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_font_metrics_get_type".} +proc font_metrics_ref*(metrics: PFontMetrics): PFontMetrics{.cdecl, dynlib: lib, + importc: "pango_font_metrics_ref".} +proc font_metrics_unref*(metrics: PFontMetrics){.cdecl, dynlib: lib, importc: "pango_font_metrics_unref".} -proc pango_font_metrics_get_ascent*(metrics: PFontMetrics): int32{.cdecl, - dynlib: pangolib, importc: "pango_font_metrics_get_ascent".} -proc pango_font_metrics_get_descent*(metrics: PFontMetrics): int32{.cdecl, - dynlib: pangolib, importc: "pango_font_metrics_get_descent".} -proc pango_font_metrics_get_approximate_char_width*(metrics: PFontMetrics): int32{. - cdecl, dynlib: pangolib, - importc: "pango_font_metrics_get_approximate_char_width".} -proc pango_font_metrics_get_approximate_digit_width*(metrics: PFontMetrics): int32{. - cdecl, dynlib: pangolib, +proc font_metrics_get_ascent*(metrics: PFontMetrics): int32{.cdecl, dynlib: lib, + importc: "pango_font_metrics_get_ascent".} +proc font_metrics_get_descent*(metrics: PFontMetrics): int32{.cdecl, + dynlib: lib, importc: "pango_font_metrics_get_descent".} +proc font_metrics_get_approximate_char_width*(metrics: PFontMetrics): int32{. + cdecl, dynlib: lib, importc: "pango_font_metrics_get_approximate_char_width".} +proc font_metrics_get_approximate_digit_width*(metrics: PFontMetrics): int32{. + cdecl, dynlib: lib, importc: "pango_font_metrics_get_approximate_digit_width".} -proc PANGO_TYPE_FONT_FAMILY*(): GType -proc PANGO_FONT_FAMILY*(anObject: Pointer): PFontFamily -proc PANGO_IS_FONT_FAMILY*(anObject: Pointer): bool -proc pango_font_family_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_font_family_get_type".} -proc pango_font_family_list_faces*(family: PFontFamily, - faces: var openarray[ptr PFontFace]){.cdecl, - dynlib: pangolib, importc: "pango_font_family_list_faces".} -proc pango_font_family_get_name*(family: PFontFamily): cstring{.cdecl, - dynlib: pangolib, importc: "pango_font_family_get_name".} -proc PANGO_TYPE_FONT_FACE*(): GType -proc PANGO_FONT_FACE*(anObject: pointer): PFontFace -proc PANGO_IS_FONT_FACE*(anObject: pointer): bool -proc pango_font_face_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_font_face_get_type".} -proc pango_font_face_describe*(face: PFontFace): PFontDescription{.cdecl, - dynlib: pangolib, importc: "pango_font_face_describe".} -proc pango_font_face_get_face_name*(face: PFontFace): cstring{.cdecl, - dynlib: pangolib, importc: "pango_font_face_get_face_name".} -proc PANGO_TYPE_FONT*(): GType -proc PANGO_FONT*(anObject: pointer): PFont -proc PANGO_IS_FONT*(anObject: pointer): bool -proc pango_font_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_font_get_type".} -proc pango_font_describe*(font: PFont): PFontDescription{.cdecl, - dynlib: pangolib, importc: "pango_font_describe".} -proc pango_font_get_coverage*(font: PFont, language: PLanguage): PCoverage{. - cdecl, dynlib: pangolib, importc: "pango_font_get_coverage".} -proc pango_font_find_shaper*(font: PFont, language: PLanguage, ch: guint32): PEngineShape{. - cdecl, dynlib: pangolib, importc: "pango_font_find_shaper".} -proc pango_font_get_metrics*(font: PFont, language: PLanguage): PFontMetrics{. - cdecl, dynlib: pangolib, importc: "pango_font_get_metrics".} -proc pango_font_get_glyph_extents*(font: PFont, glyph: TGlyph, - ink_rect: PRectangle, - logical_rect: PRectangle){.cdecl, - dynlib: pangolib, importc: "pango_font_get_glyph_extents".} -proc PANGO_TYPE_FONT_MAP*(): GType -proc PANGO_FONT_MAP*(anObject: pointer): PFontMap -proc PANGO_IS_FONT_MAP*(anObject: pointer): bool -proc pango_font_map_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_font_map_get_type".} -proc pango_font_map_load_font*(fontmap: PFontMap, context: PContext, - desc: PFontDescription): PFont{.cdecl, - dynlib: pangolib, importc: "pango_font_map_load_font".} -proc pango_font_map_load_fontset*(fontmap: PFontMap, context: PContext, - desc: PFontDescription, language: PLanguage): PFontset{. - cdecl, dynlib: pangolib, importc: "pango_font_map_load_fontset".} -proc pango_font_map_list_families*(fontmap: PFontMap, - families: var openarray[ptr PFontFamily]){. - cdecl, dynlib: pangolib, importc: "pango_font_map_list_families".} +proc TYPE_FONT_FAMILY*(): GType +proc FONT_FAMILY*(anObject: Pointer): PFontFamily +proc IS_FONT_FAMILY*(anObject: Pointer): bool +proc font_family_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_font_family_get_type".} +proc font_family_list_faces*(family: PFontFamily, + faces: var openarray[ptr PFontFace]){.cdecl, + dynlib: lib, importc: "pango_font_family_list_faces".} +proc font_family_get_name*(family: PFontFamily): cstring{.cdecl, dynlib: lib, + importc: "pango_font_family_get_name".} +proc TYPE_FONT_FACE*(): GType +proc FONT_FACE*(anObject: pointer): PFontFace +proc IS_FONT_FACE*(anObject: pointer): bool +proc font_face_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_font_face_get_type".} +proc font_face_describe*(face: PFontFace): PFontDescription{.cdecl, dynlib: lib, + importc: "pango_font_face_describe".} +proc font_face_get_face_name*(face: PFontFace): cstring{.cdecl, dynlib: lib, + importc: "pango_font_face_get_face_name".} +proc TYPE_FONT*(): GType +proc FONT*(anObject: pointer): PFont +proc IS_FONT*(anObject: pointer): bool +proc font_get_type*(): GType{.cdecl, dynlib: lib, importc: "pango_font_get_type".} +proc font_describe*(font: PFont): PFontDescription{.cdecl, dynlib: lib, + importc: "pango_font_describe".} +proc font_get_coverage*(font: PFont, language: PLanguage): PCoverage{.cdecl, + dynlib: lib, importc: "pango_font_get_coverage".} +proc font_find_shaper*(font: PFont, language: PLanguage, ch: guint32): PEngineShape{. + cdecl, dynlib: lib, importc: "pango_font_find_shaper".} +proc font_get_metrics*(font: PFont, language: PLanguage): PFontMetrics{.cdecl, + dynlib: lib, importc: "pango_font_get_metrics".} +proc font_get_glyph_extents*(font: PFont, glyph: TGlyph, ink_rect: PRectangle, + logical_rect: PRectangle){.cdecl, dynlib: lib, + importc: "pango_font_get_glyph_extents".} +proc TYPE_FONT_MAP*(): GType +proc FONT_MAP*(anObject: pointer): PFontMap +proc IS_FONT_MAP*(anObject: pointer): bool +proc font_map_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_font_map_get_type".} +proc font_map_load_font*(fontmap: PFontMap, context: PContext, + desc: PFontDescription): PFont{.cdecl, dynlib: lib, + importc: "pango_font_map_load_font".} +proc font_map_load_fontset*(fontmap: PFontMap, context: PContext, + desc: PFontDescription, language: PLanguage): PFontset{. + cdecl, dynlib: lib, importc: "pango_font_map_load_fontset".} +proc font_map_list_families*(fontmap: PFontMap, + families: var openarray[ptr PFontFamily]){.cdecl, + dynlib: lib, importc: "pango_font_map_list_families".} const bm_TPangoGlyphVisAttr_is_cluster_start* = 0x0001'i16 bp_TPangoGlyphVisAttr_is_cluster_start* = 0'i16 proc is_cluster_start*(a: var TGlyphVisAttr): guint proc set_is_cluster_start*(a: var TGlyphVisAttr, `is_cluster_start`: guint) -proc PANGO_TYPE_GLYPH_STRING*(): GType -proc pango_glyph_string_new*(): PGlyphString{.cdecl, dynlib: pangolib, - importc: "pango_glyph_string_new".} -proc pango_glyph_string_set_size*(`string`: PGlyphString, new_len: gint){.cdecl, - dynlib: pangolib, importc: "pango_glyph_string_set_size".} -proc pango_glyph_string_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_glyph_string_get_type".} -proc pango_glyph_string_copy*(`string`: PGlyphString): PGlyphString{.cdecl, - dynlib: pangolib, importc: "pango_glyph_string_copy".} -proc pango_glyph_string_free*(`string`: PGlyphString){.cdecl, dynlib: pangolib, +proc TYPE_GLYPH_STRING*(): GType +proc glyph_string_new*(): PGlyphString{.cdecl, dynlib: lib, + importc: "pango_glyph_string_new".} +proc glyph_string_set_size*(`string`: PGlyphString, new_len: gint){.cdecl, + dynlib: lib, importc: "pango_glyph_string_set_size".} +proc glyph_string_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_glyph_string_get_type".} +proc glyph_string_copy*(`string`: PGlyphString): PGlyphString{.cdecl, + dynlib: lib, importc: "pango_glyph_string_copy".} +proc glyph_string_free*(`string`: PGlyphString){.cdecl, dynlib: lib, importc: "pango_glyph_string_free".} -proc pango_glyph_string_extents*(glyphs: PGlyphString, font: PFont, +proc glyph_string_extents*(glyphs: PGlyphString, font: PFont, + ink_rect: PRectangle, logical_rect: PRectangle){. + cdecl, dynlib: lib, importc: "pango_glyph_string_extents".} +proc glyph_string_extents_range*(glyphs: PGlyphString, start: int32, + theEnd: int32, font: PFont, ink_rect: PRectangle, logical_rect: PRectangle){. - cdecl, dynlib: pangolib, importc: "pango_glyph_string_extents".} -proc pango_glyph_string_extents_range*(glyphs: PGlyphString, start: int32, - theEnd: int32, font: PFont, - ink_rect: PRectangle, - logical_rect: PRectangle){.cdecl, - dynlib: pangolib, importc: "pango_glyph_string_extents_range".} -proc pango_glyph_string_get_logical_widths*(glyphs: PGlyphString, text: cstring, - length: int32, embedding_level: int32, logical_widths: var int32){.cdecl, - dynlib: pangolib, importc: "pango_glyph_string_get_logical_widths".} -proc pango_glyph_string_index_to_x*(glyphs: PGlyphString, text: cstring, - length: int32, analysis: PAnalysis, - index: int32, trailing: gboolean, - x_pos: var int32){.cdecl, dynlib: pangolib, - importc: "pango_glyph_string_index_to_x".} -proc pango_glyph_string_x_to_index*(glyphs: PGlyphString, text: cstring, - length: int32, analysis: PAnalysis, - x_pos: int32, index, trailing: var int32){. - cdecl, dynlib: pangolib, importc: "pango_glyph_string_x_to_index".} -proc pango_shape*(text: cstring, length: gint, analysis: PAnalysis, - glyphs: PGlyphString){.cdecl, dynlib: pangolib, - importc: "pango_shape".} -proc pango_reorder_items*(logical_items: PGList): PGList{.cdecl, - dynlib: pangolib, importc: "pango_reorder_items".} -proc pango_item_new*(): PItem{.cdecl, dynlib: pangolib, - importc: "pango_item_new".} -proc pango_item_copy*(item: PItem): PItem{.cdecl, dynlib: pangolib, - importc: "pango_item_copy".} -proc pango_item_free*(item: PItem){.cdecl, dynlib: pangolib, - importc: "pango_item_free".} -proc pango_item_split*(orig: PItem, split_index: int32, split_offset: int32): PItem{. - cdecl, dynlib: pangolib, importc: "pango_item_split".} -proc PANGO_TYPE_LAYOUT*(): GType -proc PANGO_LAYOUT*(anObject: pointer): PLayout -proc PANGO_LAYOUT_CLASS*(klass: pointer): PLayoutClass -proc PANGO_IS_LAYOUT*(anObject: pointer): bool -proc PANGO_IS_LAYOUT_CLASS*(klass: pointer): bool -proc PANGO_LAYOUT_GET_CLASS*(obj: PLayout): PLayoutClass -proc pango_layout_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_layout_get_type".} -proc pango_layout_new*(context: PContext): PLayout{.cdecl, dynlib: pangolib, + cdecl, dynlib: lib, importc: "pango_glyph_string_extents_range".} +proc glyph_string_get_logical_widths*(glyphs: PGlyphString, text: cstring, + length: int32, embedding_level: int32, + logical_widths: var int32){.cdecl, + dynlib: lib, importc: "pango_glyph_string_get_logical_widths".} +proc glyph_string_index_to_x*(glyphs: PGlyphString, text: cstring, + length: int32, analysis: PAnalysis, index: int32, + trailing: gboolean, x_pos: var int32){.cdecl, + dynlib: lib, importc: "pango_glyph_string_index_to_x".} +proc glyph_string_x_to_index*(glyphs: PGlyphString, text: cstring, + length: int32, analysis: PAnalysis, x_pos: int32, + index, trailing: var int32){.cdecl, dynlib: lib, + importc: "pango_glyph_string_x_to_index".} +proc shape*(text: cstring, length: gint, analysis: PAnalysis, + glyphs: PGlyphString){.cdecl, dynlib: lib, importc: "pango_shape".} +proc reorder_items*(logical_items: PGList): PGList{.cdecl, dynlib: lib, + importc: "pango_reorder_items".} +proc item_new*(): PItem{.cdecl, dynlib: lib, importc: "pango_item_new".} +proc item_copy*(item: PItem): PItem{.cdecl, dynlib: lib, + importc: "pango_item_copy".} +proc item_free*(item: PItem){.cdecl, dynlib: lib, importc: "pango_item_free".} +proc item_split*(orig: PItem, split_index: int32, split_offset: int32): PItem{. + cdecl, dynlib: lib, importc: "pango_item_split".} +proc TYPE_LAYOUT*(): GType +proc LAYOUT*(anObject: pointer): PLayout +proc LAYOUT_CLASS*(klass: pointer): PLayoutClass +proc IS_LAYOUT*(anObject: pointer): bool +proc IS_LAYOUT_CLASS*(klass: pointer): bool +proc LAYOUT_GET_CLASS*(obj: PLayout): PLayoutClass +proc layout_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_layout_get_type".} +proc layout_new*(context: PContext): PLayout{.cdecl, dynlib: lib, importc: "pango_layout_new".} -proc pango_layout_copy*(src: PLayout): PLayout{.cdecl, dynlib: pangolib, +proc layout_copy*(src: PLayout): PLayout{.cdecl, dynlib: lib, importc: "pango_layout_copy".} -proc pango_layout_get_context*(layout: PLayout): PContext{.cdecl, - dynlib: pangolib, importc: "pango_layout_get_context".} -proc pango_layout_set_attributes*(layout: PLayout, attrs: PAttrList){.cdecl, - dynlib: pangolib, importc: "pango_layout_set_attributes".} -proc pango_layout_get_attributes*(layout: PLayout): PAttrList{.cdecl, - dynlib: pangolib, importc: "pango_layout_get_attributes".} -proc pango_layout_set_text*(layout: PLayout, text: cstring, length: int32){. - cdecl, dynlib: pangolib, importc: "pango_layout_set_text".} -proc pango_layout_get_text*(layout: PLayout): cstring{.cdecl, dynlib: pangolib, +proc layout_get_context*(layout: PLayout): PContext{.cdecl, dynlib: lib, + importc: "pango_layout_get_context".} +proc layout_set_attributes*(layout: PLayout, attrs: PAttrList){.cdecl, + dynlib: lib, importc: "pango_layout_set_attributes".} +proc layout_get_attributes*(layout: PLayout): PAttrList{.cdecl, dynlib: lib, + importc: "pango_layout_get_attributes".} +proc layout_set_text*(layout: PLayout, text: cstring, length: int32){.cdecl, + dynlib: lib, importc: "pango_layout_set_text".} +proc layout_get_text*(layout: PLayout): cstring{.cdecl, dynlib: lib, importc: "pango_layout_get_text".} -proc pango_layout_set_markup*(layout: PLayout, markup: cstring, length: int32){. - cdecl, dynlib: pangolib, importc: "pango_layout_set_markup".} -proc pango_layout_set_markup_with_accel*(layout: PLayout, markup: cstring, - length: int32, accel_marker: gunichar, accel_char: Pgunichar){.cdecl, - dynlib: pangolib, importc: "pango_layout_set_markup_with_accel".} -proc pango_layout_set_font_description*(layout: PLayout, desc: PFontDescription){. - cdecl, dynlib: pangolib, importc: "pango_layout_set_font_description".} -proc pango_layout_set_width*(layout: PLayout, width: int32){.cdecl, - dynlib: pangolib, importc: "pango_layout_set_width".} -proc pango_layout_get_width*(layout: PLayout): int32{.cdecl, dynlib: pangolib, +proc layout_set_markup*(layout: PLayout, markup: cstring, length: int32){.cdecl, + dynlib: lib, importc: "pango_layout_set_markup".} +proc layout_set_markup_with_accel*(layout: PLayout, markup: cstring, + length: int32, accel_marker: gunichar, + accel_char: Pgunichar){.cdecl, dynlib: lib, + importc: "pango_layout_set_markup_with_accel".} +proc layout_set_font_description*(layout: PLayout, desc: PFontDescription){. + cdecl, dynlib: lib, importc: "pango_layout_set_font_description".} +proc layout_set_width*(layout: PLayout, width: int32){.cdecl, dynlib: lib, + importc: "pango_layout_set_width".} +proc layout_get_width*(layout: PLayout): int32{.cdecl, dynlib: lib, importc: "pango_layout_get_width".} -proc pango_layout_set_wrap*(layout: PLayout, wrap: TWrapMode){.cdecl, - dynlib: pangolib, importc: "pango_layout_set_wrap".} -proc pango_layout_get_wrap*(layout: PLayout): TWrapMode{.cdecl, - dynlib: pangolib, importc: "pango_layout_get_wrap".} -proc pango_layout_set_indent*(layout: PLayout, indent: int32){.cdecl, - dynlib: pangolib, importc: "pango_layout_set_indent".} -proc pango_layout_get_indent*(layout: PLayout): int32{.cdecl, dynlib: pangolib, +proc layout_set_wrap*(layout: PLayout, wrap: TWrapMode){.cdecl, dynlib: lib, + importc: "pango_layout_set_wrap".} +proc layout_get_wrap*(layout: PLayout): TWrapMode{.cdecl, dynlib: lib, + importc: "pango_layout_get_wrap".} +proc layout_set_indent*(layout: PLayout, indent: int32){.cdecl, dynlib: lib, + importc: "pango_layout_set_indent".} +proc layout_get_indent*(layout: PLayout): int32{.cdecl, dynlib: lib, importc: "pango_layout_get_indent".} -proc pango_layout_set_spacing*(layout: PLayout, spacing: int32){.cdecl, - dynlib: pangolib, importc: "pango_layout_set_spacing".} -proc pango_layout_get_spacing*(layout: PLayout): int32{.cdecl, dynlib: pangolib, +proc layout_set_spacing*(layout: PLayout, spacing: int32){.cdecl, dynlib: lib, + importc: "pango_layout_set_spacing".} +proc layout_get_spacing*(layout: PLayout): int32{.cdecl, dynlib: lib, importc: "pango_layout_get_spacing".} -proc pango_layout_set_justify*(layout: PLayout, justify: gboolean){.cdecl, - dynlib: pangolib, importc: "pango_layout_set_justify".} -proc pango_layout_get_justify*(layout: PLayout): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_layout_get_justify".} -proc pango_layout_set_alignment*(layout: PLayout, alignment: TAlignment){.cdecl, - dynlib: pangolib, importc: "pango_layout_set_alignment".} -proc pango_layout_get_alignment*(layout: PLayout): TAlignment{.cdecl, - dynlib: pangolib, importc: "pango_layout_get_alignment".} -proc pango_layout_set_tabs*(layout: PLayout, tabs: PTabArray){.cdecl, - dynlib: pangolib, importc: "pango_layout_set_tabs".} -proc pango_layout_get_tabs*(layout: PLayout): PTabArray{.cdecl, - dynlib: pangolib, importc: "pango_layout_get_tabs".} -proc pango_layout_set_single_paragraph_mode*(layout: PLayout, setting: gboolean){. - cdecl, dynlib: pangolib, importc: "pango_layout_set_single_paragraph_mode".} -proc pango_layout_get_single_paragraph_mode*(layout: PLayout): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_layout_get_single_paragraph_mode".} -proc pango_layout_context_changed*(layout: PLayout){.cdecl, dynlib: pangolib, +proc layout_set_justify*(layout: PLayout, justify: gboolean){.cdecl, + dynlib: lib, importc: "pango_layout_set_justify".} +proc layout_get_justify*(layout: PLayout): gboolean{.cdecl, dynlib: lib, + importc: "pango_layout_get_justify".} +proc layout_set_alignment*(layout: PLayout, alignment: TAlignment){.cdecl, + dynlib: lib, importc: "pango_layout_set_alignment".} +proc layout_get_alignment*(layout: PLayout): TAlignment{.cdecl, dynlib: lib, + importc: "pango_layout_get_alignment".} +proc layout_set_tabs*(layout: PLayout, tabs: PTabArray){.cdecl, dynlib: lib, + importc: "pango_layout_set_tabs".} +proc layout_get_tabs*(layout: PLayout): PTabArray{.cdecl, dynlib: lib, + importc: "pango_layout_get_tabs".} +proc layout_set_single_paragraph_mode*(layout: PLayout, setting: gboolean){. + cdecl, dynlib: lib, importc: "pango_layout_set_single_paragraph_mode".} +proc layout_get_single_paragraph_mode*(layout: PLayout): gboolean{.cdecl, + dynlib: lib, importc: "pango_layout_get_single_paragraph_mode".} +proc layout_context_changed*(layout: PLayout){.cdecl, dynlib: lib, importc: "pango_layout_context_changed".} -proc pango_layout_get_log_attrs*(layout: PLayout, attrs: var PLogAttr, - n_attrs: Pgint){.cdecl, dynlib: pangolib, - importc: "pango_layout_get_log_attrs".} -proc pango_layout_index_to_pos*(layout: PLayout, index: int32, pos: PRectangle){. - cdecl, dynlib: pangolib, importc: "pango_layout_index_to_pos".} -proc pango_layout_get_cursor_pos*(layout: PLayout, index: int32, - strong_pos: PRectangle, weak_pos: PRectangle){. - cdecl, dynlib: pangolib, importc: "pango_layout_get_cursor_pos".} -proc pango_layout_move_cursor_visually*(layout: PLayout, strong: gboolean, - old_index: int32, old_trailing: int32, - direction: int32, - new_index, new_trailing: var int32){. - cdecl, dynlib: pangolib, importc: "pango_layout_move_cursor_visually".} -proc pango_layout_xy_to_index*(layout: PLayout, x: int32, y: int32, - index, trailing: var int32): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_layout_xy_to_index".} -proc pango_layout_get_extents*(layout: PLayout, ink_rect: PRectangle, - logical_rect: PRectangle){.cdecl, - dynlib: pangolib, importc: "pango_layout_get_extents".} -proc pango_layout_get_pixel_extents*(layout: PLayout, ink_rect: PRectangle, - logical_rect: PRectangle){.cdecl, - dynlib: pangolib, importc: "pango_layout_get_pixel_extents".} -proc pango_layout_get_size*(layout: PLayout, width: var int32, height: var int32){. - cdecl, dynlib: pangolib, importc: "pango_layout_get_size".} -proc pango_layout_get_pixel_size*(layout: PLayout, width: var int32, - height: var int32){.cdecl, dynlib: pangolib, - importc: "pango_layout_get_pixel_size".} -proc pango_layout_get_line_count*(layout: PLayout): int32{.cdecl, - dynlib: pangolib, importc: "pango_layout_get_line_count".} -proc pango_layout_get_line*(layout: PLayout, line: int32): PLayoutLine{.cdecl, - dynlib: pangolib, importc: "pango_layout_get_line".} -proc pango_layout_get_lines*(layout: PLayout): PGSList{.cdecl, dynlib: pangolib, +proc layout_get_log_attrs*(layout: PLayout, attrs: var PLogAttr, n_attrs: Pgint){. + cdecl, dynlib: lib, importc: "pango_layout_get_log_attrs".} +proc layout_index_to_pos*(layout: PLayout, index: int32, pos: PRectangle){. + cdecl, dynlib: lib, importc: "pango_layout_index_to_pos".} +proc layout_get_cursor_pos*(layout: PLayout, index: int32, + strong_pos: PRectangle, weak_pos: PRectangle){. + cdecl, dynlib: lib, importc: "pango_layout_get_cursor_pos".} +proc layout_move_cursor_visually*(layout: PLayout, strong: gboolean, + old_index: int32, old_trailing: int32, + direction: int32, + new_index, new_trailing: var int32){.cdecl, + dynlib: lib, importc: "pango_layout_move_cursor_visually".} +proc layout_xy_to_index*(layout: PLayout, x: int32, y: int32, + index, trailing: var int32): gboolean{.cdecl, + dynlib: lib, importc: "pango_layout_xy_to_index".} +proc layout_get_extents*(layout: PLayout, ink_rect: PRectangle, + logical_rect: PRectangle){.cdecl, dynlib: lib, + importc: "pango_layout_get_extents".} +proc layout_get_pixel_extents*(layout: PLayout, ink_rect: PRectangle, + logical_rect: PRectangle){.cdecl, dynlib: lib, + importc: "pango_layout_get_pixel_extents".} +proc layout_get_size*(layout: PLayout, width: var int32, height: var int32){. + cdecl, dynlib: lib, importc: "pango_layout_get_size".} +proc layout_get_pixel_size*(layout: PLayout, width: var int32, height: var int32){. + cdecl, dynlib: lib, importc: "pango_layout_get_pixel_size".} +proc layout_get_line_count*(layout: PLayout): int32{.cdecl, dynlib: lib, + importc: "pango_layout_get_line_count".} +proc layout_get_line*(layout: PLayout, line: int32): PLayoutLine{.cdecl, + dynlib: lib, importc: "pango_layout_get_line".} +proc layout_get_lines*(layout: PLayout): PGSList{.cdecl, dynlib: lib, importc: "pango_layout_get_lines".} -proc pango_layout_line_ref*(line: PLayoutLine){.cdecl, dynlib: pangolib, +proc layout_line_ref*(line: PLayoutLine){.cdecl, dynlib: lib, importc: "pango_layout_line_ref".} -proc pango_layout_line_unref*(line: PLayoutLine){.cdecl, dynlib: pangolib, +proc layout_line_unref*(line: PLayoutLine){.cdecl, dynlib: lib, importc: "pango_layout_line_unref".} -proc pango_layout_line_x_to_index*(line: PLayoutLine, x_pos: int32, - index: var int32, trailing: var int32): gboolean{. - cdecl, dynlib: pangolib, importc: "pango_layout_line_x_to_index".} -proc pango_layout_line_index_to_x*(line: PLayoutLine, index: int32, - trailing: gboolean, x_pos: var int32){.cdecl, - dynlib: pangolib, importc: "pango_layout_line_index_to_x".} -proc pango_layout_line_get_extents*(line: PLayoutLine, ink_rect: PRectangle, +proc layout_line_x_to_index*(line: PLayoutLine, x_pos: int32, index: var int32, + trailing: var int32): gboolean{.cdecl, dynlib: lib, + importc: "pango_layout_line_x_to_index".} +proc layout_line_index_to_x*(line: PLayoutLine, index: int32, + trailing: gboolean, x_pos: var int32){.cdecl, + dynlib: lib, importc: "pango_layout_line_index_to_x".} +proc layout_line_get_extents*(line: PLayoutLine, ink_rect: PRectangle, + logical_rect: PRectangle){.cdecl, dynlib: lib, + importc: "pango_layout_line_get_extents".} +proc layout_line_get_pixel_extents*(layout_line: PLayoutLine, + ink_rect: PRectangle, logical_rect: PRectangle){.cdecl, - dynlib: pangolib, importc: "pango_layout_line_get_extents".} -proc pango_layout_line_get_pixel_extents*(layout_line: PLayoutLine, - ink_rect: PRectangle, logical_rect: PRectangle){.cdecl, dynlib: pangolib, - importc: "pango_layout_line_get_pixel_extents".} -proc pango_layout_get_iter*(layout: PLayout): PLayoutIter{.cdecl, - dynlib: pangolib, importc: "pango_layout_get_iter".} -proc pango_layout_iter_free*(iter: PLayoutIter){.cdecl, dynlib: pangolib, + dynlib: lib, importc: "pango_layout_line_get_pixel_extents".} +proc layout_get_iter*(layout: PLayout): PLayoutIter{.cdecl, dynlib: lib, + importc: "pango_layout_get_iter".} +proc layout_iter_free*(iter: PLayoutIter){.cdecl, dynlib: lib, importc: "pango_layout_iter_free".} -proc pango_layout_iter_get_index*(iter: PLayoutIter): int32{.cdecl, - dynlib: pangolib, importc: "pango_layout_iter_get_index".} -proc pango_layout_iter_get_run*(iter: PLayoutIter): PLayoutRun{.cdecl, - dynlib: pangolib, importc: "pango_layout_iter_get_run".} -proc pango_layout_iter_get_line*(iter: PLayoutIter): PLayoutLine{.cdecl, - dynlib: pangolib, importc: "pango_layout_iter_get_line".} -proc pango_layout_iter_at_last_line*(iter: PLayoutIter): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_layout_iter_at_last_line".} -proc pango_layout_iter_next_char*(iter: PLayoutIter): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_layout_iter_next_char".} -proc pango_layout_iter_next_cluster*(iter: PLayoutIter): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_layout_iter_next_cluster".} -proc pango_layout_iter_next_run*(iter: PLayoutIter): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_layout_iter_next_run".} -proc pango_layout_iter_next_line*(iter: PLayoutIter): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_layout_iter_next_line".} -proc pango_layout_iter_get_char_extents*(iter: PLayoutIter, - logical_rect: PRectangle){.cdecl, dynlib: pangolib, - importc: "pango_layout_iter_get_char_extents".} -proc pango_layout_iter_get_cluster_extents*(iter: PLayoutIter, - ink_rect: PRectangle, logical_rect: PRectangle){.cdecl, dynlib: pangolib, - importc: "pango_layout_iter_get_cluster_extents".} -proc pango_layout_iter_get_run_extents*(iter: PLayoutIter, ink_rect: PRectangle, - logical_rect: PRectangle){.cdecl, - dynlib: pangolib, importc: "pango_layout_iter_get_run_extents".} -proc pango_layout_iter_get_line_extents*(iter: PLayoutIter, - ink_rect: PRectangle, logical_rect: PRectangle){.cdecl, dynlib: pangolib, - importc: "pango_layout_iter_get_line_extents".} -proc pango_layout_iter_get_line_yrange*(iter: PLayoutIter, y0: var int32, - y1: var int32){.cdecl, dynlib: pangolib, +proc layout_iter_get_index*(iter: PLayoutIter): int32{.cdecl, dynlib: lib, + importc: "pango_layout_iter_get_index".} +proc layout_iter_get_run*(iter: PLayoutIter): PLayoutRun{.cdecl, dynlib: lib, + importc: "pango_layout_iter_get_run".} +proc layout_iter_get_line*(iter: PLayoutIter): PLayoutLine{.cdecl, dynlib: lib, + importc: "pango_layout_iter_get_line".} +proc layout_iter_at_last_line*(iter: PLayoutIter): gboolean{.cdecl, dynlib: lib, + importc: "pango_layout_iter_at_last_line".} +proc layout_iter_next_char*(iter: PLayoutIter): gboolean{.cdecl, dynlib: lib, + importc: "pango_layout_iter_next_char".} +proc layout_iter_next_cluster*(iter: PLayoutIter): gboolean{.cdecl, dynlib: lib, + importc: "pango_layout_iter_next_cluster".} +proc layout_iter_next_run*(iter: PLayoutIter): gboolean{.cdecl, dynlib: lib, + importc: "pango_layout_iter_next_run".} +proc layout_iter_next_line*(iter: PLayoutIter): gboolean{.cdecl, dynlib: lib, + importc: "pango_layout_iter_next_line".} +proc layout_iter_get_char_extents*(iter: PLayoutIter, logical_rect: PRectangle){. + cdecl, dynlib: lib, importc: "pango_layout_iter_get_char_extents".} +proc layout_iter_get_cluster_extents*(iter: PLayoutIter, ink_rect: PRectangle, + logical_rect: PRectangle){.cdecl, + dynlib: lib, importc: "pango_layout_iter_get_cluster_extents".} +proc layout_iter_get_run_extents*(iter: PLayoutIter, ink_rect: PRectangle, + logical_rect: PRectangle){.cdecl, dynlib: lib, + importc: "pango_layout_iter_get_run_extents".} +proc layout_iter_get_line_extents*(iter: PLayoutIter, ink_rect: PRectangle, + logical_rect: PRectangle){.cdecl, + dynlib: lib, importc: "pango_layout_iter_get_line_extents".} +proc layout_iter_get_line_yrange*(iter: PLayoutIter, y0: var int32, + y1: var int32){.cdecl, dynlib: lib, importc: "pango_layout_iter_get_line_yrange".} -proc pango_layout_iter_get_layout_extents*(iter: PLayoutIter, - ink_rect: PRectangle, logical_rect: PRectangle){.cdecl, dynlib: pangolib, - importc: "pango_layout_iter_get_layout_extents".} -proc pango_layout_iter_get_baseline*(iter: PLayoutIter): int32{.cdecl, - dynlib: pangolib, importc: "pango_layout_iter_get_baseline".} -proc PANGO_TYPE_TAB_ARRAY*(): GType -proc pango_tab_array_new*(initial_size: gint, positions_in_pixels: gboolean): PTabArray{. - cdecl, dynlib: pangolib, importc: "pango_tab_array_new".} -proc pango_tab_array_get_type*(): GType{.cdecl, dynlib: pangolib, - importc: "pango_tab_array_get_type".} -proc pango_tab_array_copy*(src: PTabArray): PTabArray{.cdecl, dynlib: pangolib, +proc layout_iter_get_layout_extents*(iter: PLayoutIter, ink_rect: PRectangle, + logical_rect: PRectangle){.cdecl, + dynlib: lib, importc: "pango_layout_iter_get_layout_extents".} +proc layout_iter_get_baseline*(iter: PLayoutIter): int32{.cdecl, dynlib: lib, + importc: "pango_layout_iter_get_baseline".} +proc TYPE_TAB_ARRAY*(): GType +proc tab_array_new*(initial_size: gint, positions_in_pixels: gboolean): PTabArray{. + cdecl, dynlib: lib, importc: "pango_tab_array_new".} +proc tab_array_get_type*(): GType{.cdecl, dynlib: lib, + importc: "pango_tab_array_get_type".} +proc tab_array_copy*(src: PTabArray): PTabArray{.cdecl, dynlib: lib, importc: "pango_tab_array_copy".} -proc pango_tab_array_free*(tab_array: PTabArray){.cdecl, dynlib: pangolib, +proc tab_array_free*(tab_array: PTabArray){.cdecl, dynlib: lib, importc: "pango_tab_array_free".} -proc pango_tab_array_get_size*(tab_array: PTabArray): gint{.cdecl, - dynlib: pangolib, importc: "pango_tab_array_get_size".} -proc pango_tab_array_resize*(tab_array: PTabArray, new_size: gint){.cdecl, - dynlib: pangolib, importc: "pango_tab_array_resize".} -proc pango_tab_array_set_tab*(tab_array: PTabArray, tab_index: gint, - alignment: TTabAlign, location: gint){.cdecl, - dynlib: pangolib, importc: "pango_tab_array_set_tab".} -proc pango_tab_array_get_tab*(tab_array: PTabArray, tab_index: gint, - alignment: PTabAlign, location: Pgint){.cdecl, - dynlib: pangolib, importc: "pango_tab_array_get_tab".} -proc pango_tab_array_get_positions_in_pixels*(tab_array: PTabArray): gboolean{. - cdecl, dynlib: pangolib, importc: "pango_tab_array_get_positions_in_pixels".} -proc PANGO_ASCENT*(rect: TRectangle): int32 = +proc tab_array_get_size*(tab_array: PTabArray): gint{.cdecl, dynlib: lib, + importc: "pango_tab_array_get_size".} +proc tab_array_resize*(tab_array: PTabArray, new_size: gint){.cdecl, + dynlib: lib, importc: "pango_tab_array_resize".} +proc tab_array_set_tab*(tab_array: PTabArray, tab_index: gint, + alignment: TTabAlign, location: gint){.cdecl, + dynlib: lib, importc: "pango_tab_array_set_tab".} +proc tab_array_get_tab*(tab_array: PTabArray, tab_index: gint, + alignment: PTabAlign, location: Pgint){.cdecl, + dynlib: lib, importc: "pango_tab_array_get_tab".} +proc tab_array_get_positions_in_pixels*(tab_array: PTabArray): gboolean{.cdecl, + dynlib: lib, importc: "pango_tab_array_get_positions_in_pixels".} +proc ASCENT*(rect: TRectangle): int32 = result = - int(rect.y) -proc PANGO_DESCENT*(rect: TRectangle): int32 = +proc DESCENT*(rect: TRectangle): int32 = result = int(rect.y) + int(rect.height) -proc PANGO_LBEARING*(rect: TRectangle): int32 = +proc LBEARING*(rect: TRectangle): int32 = result = rect.x -proc PANGO_RBEARING*(rect: TRectangle): int32 = +proc RBEARING*(rect: TRectangle): int32 = result = (rect.x) + (rect.width) -proc PANGO_TYPE_LANGUAGE*(): GType = - result = pango_language_get_type() +proc TYPE_LANGUAGE*(): GType = + result = language_get_type() -proc pango_language_to_string*(language: PLanguage): cstring = +proc language_to_string*(language: PLanguage): cstring = result = cast[cstring](language) -proc PANGO_PIXELS*(d: int): int = +proc PIXELS*(d: int): int = if d >= 0: - result = (d + (PANGO_SCALE div 2)) div PANGO_SCALE + result = (d + (SCALE div 2)) div SCALE else: - result = (d - (PANGO_SCALE div 2)) div PANGO_SCALE + result = (d - (SCALE div 2)) div SCALE -proc PANGO_TYPE_COLOR*(): GType = - result = pango_color_get_type() +proc TYPE_COLOR*(): GType = + result = color_get_type() -proc PANGO_TYPE_ATTR_LIST*(): GType = - result = pango_attr_list_get_type() +proc TYPE_ATTR_LIST*(): GType = + result = attr_list_get_type() proc is_line_break*(a: var TLogAttr): guint = result = (a.flag0 and bm_TPangoLogAttr_is_line_break) shr @@ -1007,146 +983,134 @@ proc set_is_sentence_end*(a: var TLogAttr, `is_sentence_end`: guint) = (int16(`is_sentence_end` shl bp_TPangoLogAttr_is_sentence_end) and bm_TPangoLogAttr_is_sentence_end) -proc PANGO_TYPE_CONTEXT*(): GType = - result = pango_context_get_type() +proc TYPE_CONTEXT*(): GType = + result = context_get_type() -proc PANGO_CONTEXT*(anObject: pointer): PContext = - result = cast[PContext](G_TYPE_CHECK_INSTANCE_CAST(anObject, - PANGO_TYPE_CONTEXT())) +proc CONTEXT*(anObject: pointer): PContext = + result = cast[PContext](G_TYPE_CHECK_INSTANCE_CAST(anObject, TYPE_CONTEXT())) -proc PANGO_CONTEXT_CLASS*(klass: pointer): PContextClass = - result = cast[PContextClass](G_TYPE_CHECK_CLASS_CAST(klass, - PANGO_TYPE_CONTEXT())) +proc CONTEXT_CLASS*(klass: pointer): PContextClass = + result = cast[PContextClass](G_TYPE_CHECK_CLASS_CAST(klass, TYPE_CONTEXT())) -proc PANGO_IS_CONTEXT*(anObject: pointer): bool = - result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, PANGO_TYPE_CONTEXT()) +proc IS_CONTEXT*(anObject: pointer): bool = + result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, TYPE_CONTEXT()) -proc PANGO_IS_CONTEXT_CLASS*(klass: pointer): bool = - result = G_TYPE_CHECK_CLASS_TYPE(klass, PANGO_TYPE_CONTEXT()) +proc IS_CONTEXT_CLASS*(klass: pointer): bool = + result = G_TYPE_CHECK_CLASS_TYPE(klass, TYPE_CONTEXT()) -proc PANGO_CONTEXT_GET_CLASS*(obj: PContext): PContextClass = - result = cast[PContextClass](G_TYPE_INSTANCE_GET_CLASS(obj, - PANGO_TYPE_CONTEXT())) +proc CONTEXT_GET_CLASS*(obj: PContext): PContextClass = + result = cast[PContextClass](G_TYPE_INSTANCE_GET_CLASS(obj, TYPE_CONTEXT())) -proc PANGO_TYPE_FONTSET*(): GType = - result = pango_fontset_get_type() +proc TYPE_FONTSET*(): GType = + result = fontset_get_type() -proc PANGO_FONTSET*(anObject: pointer): PFontset = - result = cast[PFontset](G_TYPE_CHECK_INSTANCE_CAST(anObject, - PANGO_TYPE_FONTSET())) +proc FONTSET*(anObject: pointer): PFontset = + result = cast[PFontset](G_TYPE_CHECK_INSTANCE_CAST(anObject, TYPE_FONTSET())) -proc PANGO_IS_FONTSET*(anObject: pointer): bool = - result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, PANGO_TYPE_FONTSET()) +proc IS_FONTSET*(anObject: pointer): bool = + result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, TYPE_FONTSET()) -proc PANGO_FONTSET_CLASS*(klass: pointer): PFontsetClass = - result = cast[PFontsetClass](G_TYPE_CHECK_CLASS_CAST(klass, - PANGO_TYPE_FONTSET())) +proc FONTSET_CLASS*(klass: pointer): PFontsetClass = + result = cast[PFontsetClass](G_TYPE_CHECK_CLASS_CAST(klass, TYPE_FONTSET())) -proc PANGO_IS_FONTSET_CLASS*(klass: pointer): bool = - result = G_TYPE_CHECK_CLASS_TYPE(klass, PANGO_TYPE_FONTSET()) +proc IS_FONTSET_CLASS*(klass: pointer): bool = + result = G_TYPE_CHECK_CLASS_TYPE(klass, TYPE_FONTSET()) -proc PANGO_FONTSET_GET_CLASS*(obj: PFontset): PFontsetClass = - result = cast[PFontsetClass](G_TYPE_INSTANCE_GET_CLASS(obj, - PANGO_TYPE_FONTSET())) +proc FONTSET_GET_CLASS*(obj: PFontset): PFontsetClass = + result = cast[PFontsetClass](G_TYPE_INSTANCE_GET_CLASS(obj, TYPE_FONTSET())) -proc pango_fontset_simple_get_type(): GType{. - importc: "pango_fontset_simple_get_type", cdecl, dynlib: pangolib.} -proc PANGO_TYPE_FONTSET_SIMPLE*(): GType = - result = pango_fontset_simple_get_type() +proc fontset_simple_get_type(): GType{.importc: "pango_fontset_simple_get_type", + cdecl, dynlib: lib.} +proc TYPE_FONTSET_SIMPLE*(): GType = + result = fontset_simple_get_type() -proc PANGO_FONTSET_SIMPLE*(anObject: pointer): PFontsetSimple = +proc FONTSET_SIMPLE*(anObject: pointer): PFontsetSimple = result = cast[PFontsetSimple](G_TYPE_CHECK_INSTANCE_CAST(anObject, - PANGO_TYPE_FONTSET_SIMPLE())) + TYPE_FONTSET_SIMPLE())) -proc PANGO_IS_FONTSET_SIMPLE*(anObject: pointer): bool = - result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, PANGO_TYPE_FONTSET_SIMPLE()) +proc IS_FONTSET_SIMPLE*(anObject: pointer): bool = + result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, TYPE_FONTSET_SIMPLE()) -proc PANGO_TYPE_FONT_DESCRIPTION*(): GType = - result = pango_font_description_get_type() +proc TYPE_FONT_DESCRIPTION*(): GType = + result = font_description_get_type() -proc PANGO_TYPE_FONT_METRICS*(): GType = - result = pango_font_metrics_get_type() +proc TYPE_FONT_METRICS*(): GType = + result = font_metrics_get_type() -proc PANGO_TYPE_FONT_FAMILY*(): GType = - result = pango_font_family_get_type() +proc TYPE_FONT_FAMILY*(): GType = + result = font_family_get_type() -proc PANGO_FONT_FAMILY*(anObject: pointer): PFontFamily = +proc FONT_FAMILY*(anObject: pointer): PFontFamily = result = cast[PFontFamily](G_TYPE_CHECK_INSTANCE_CAST(anObject, - PANGO_TYPE_FONT_FAMILY())) + TYPE_FONT_FAMILY())) -proc PANGO_IS_FONT_FAMILY*(anObject: Pointer): bool = - result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, PANGO_TYPE_FONT_FAMILY()) +proc IS_FONT_FAMILY*(anObject: Pointer): bool = + result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, TYPE_FONT_FAMILY()) -proc PANGO_FONT_FAMILY_CLASS*(klass: Pointer): PFontFamilyClass = +proc FONT_FAMILY_CLASS*(klass: Pointer): PFontFamilyClass = result = cast[PFontFamilyClass](G_TYPE_CHECK_CLASS_CAST(klass, - PANGO_TYPE_FONT_FAMILY())) + TYPE_FONT_FAMILY())) -proc PANGO_IS_FONT_FAMILY_CLASS*(klass: Pointer): bool = - result = G_TYPE_CHECK_CLASS_TYPE(klass, PANGO_TYPE_FONT_FAMILY()) +proc IS_FONT_FAMILY_CLASS*(klass: Pointer): bool = + result = G_TYPE_CHECK_CLASS_TYPE(klass, TYPE_FONT_FAMILY()) -proc PANGO_FONT_FAMILY_GET_CLASS*(obj: PFontFamily): PFontFamilyClass = +proc FONT_FAMILY_GET_CLASS*(obj: PFontFamily): PFontFamilyClass = result = cast[PFontFamilyClass](G_TYPE_INSTANCE_GET_CLASS(obj, - PANGO_TYPE_FONT_FAMILY())) + TYPE_FONT_FAMILY())) -proc PANGO_TYPE_FONT_FACE*(): GType = - result = pango_font_face_get_type() +proc TYPE_FONT_FACE*(): GType = + result = font_face_get_type() -proc PANGO_FONT_FACE*(anObject: Pointer): PFontFace = - result = cast[PFontFace](G_TYPE_CHECK_INSTANCE_CAST(anObject, - PANGO_TYPE_FONT_FACE())) +proc FONT_FACE*(anObject: Pointer): PFontFace = + result = cast[PFontFace](G_TYPE_CHECK_INSTANCE_CAST(anObject, TYPE_FONT_FACE())) -proc PANGO_IS_FONT_FACE*(anObject: Pointer): bool = - result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, PANGO_TYPE_FONT_FACE()) +proc IS_FONT_FACE*(anObject: Pointer): bool = + result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, TYPE_FONT_FACE()) -proc PANGO_FONT_FACE_CLASS*(klass: Pointer): PFontFaceClass = - result = cast[PFontFaceClass](G_TYPE_CHECK_CLASS_CAST(klass, - PANGO_TYPE_FONT_FACE())) +proc FONT_FACE_CLASS*(klass: Pointer): PFontFaceClass = + result = cast[PFontFaceClass](G_TYPE_CHECK_CLASS_CAST(klass, TYPE_FONT_FACE())) -proc PANGO_IS_FONT_FACE_CLASS*(klass: Pointer): bool = - result = G_TYPE_CHECK_CLASS_TYPE(klass, PANGO_TYPE_FONT_FACE()) +proc IS_FONT_FACE_CLASS*(klass: Pointer): bool = + result = G_TYPE_CHECK_CLASS_TYPE(klass, TYPE_FONT_FACE()) -proc PANGO_FONT_FACE_GET_CLASS*(obj: Pointer): PFontFaceClass = - result = cast[PFontFaceClass](G_TYPE_INSTANCE_GET_CLASS(obj, - PANGO_TYPE_FONT_FACE())) +proc FONT_FACE_GET_CLASS*(obj: Pointer): PFontFaceClass = + result = cast[PFontFaceClass](G_TYPE_INSTANCE_GET_CLASS(obj, TYPE_FONT_FACE())) -proc PANGO_TYPE_FONT*(): GType = - result = pango_font_get_type() +proc TYPE_FONT*(): GType = + result = font_get_type() -proc PANGO_FONT*(anObject: Pointer): PFont = - result = cast[PFont](G_TYPE_CHECK_INSTANCE_CAST(anObject, PANGO_TYPE_FONT())) +proc FONT*(anObject: Pointer): PFont = + result = cast[PFont](G_TYPE_CHECK_INSTANCE_CAST(anObject, TYPE_FONT())) -proc PANGO_IS_FONT*(anObject: Pointer): bool = - result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, PANGO_TYPE_FONT()) +proc IS_FONT*(anObject: Pointer): bool = + result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, TYPE_FONT()) -proc PANGO_FONT_CLASS*(klass: Pointer): PFontClass = - result = cast[PFontClass](G_TYPE_CHECK_CLASS_CAST(klass, PANGO_TYPE_FONT())) +proc FONT_CLASS*(klass: Pointer): PFontClass = + result = cast[PFontClass](G_TYPE_CHECK_CLASS_CAST(klass, TYPE_FONT())) -proc PANGO_IS_FONT_CLASS*(klass: Pointer): bool = - result = G_TYPE_CHECK_CLASS_TYPE(klass, PANGO_TYPE_FONT()) +proc IS_FONT_CLASS*(klass: Pointer): bool = + result = G_TYPE_CHECK_CLASS_TYPE(klass, TYPE_FONT()) -proc PANGO_FONT_GET_CLASS*(obj: PFont): PFontClass = - result = cast[PFontClass](G_TYPE_INSTANCE_GET_CLASS(obj, PANGO_TYPE_FONT())) +proc FONT_GET_CLASS*(obj: PFont): PFontClass = + result = cast[PFontClass](G_TYPE_INSTANCE_GET_CLASS(obj, TYPE_FONT())) -proc PANGO_TYPE_FONT_MAP*(): GType = - result = pango_font_map_get_type() +proc TYPE_FONT_MAP*(): GType = + result = font_map_get_type() -proc PANGO_FONT_MAP*(anObject: pointer): PFontmap = - result = cast[PFontmap](G_TYPE_CHECK_INSTANCE_CAST(anObject, - PANGO_TYPE_FONT_MAP())) +proc FONT_MAP*(anObject: pointer): PFontmap = + result = cast[PFontmap](G_TYPE_CHECK_INSTANCE_CAST(anObject, TYPE_FONT_MAP())) -proc PANGO_IS_FONT_MAP*(anObject: pointer): bool = - result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, PANGO_TYPE_FONT_MAP()) +proc IS_FONT_MAP*(anObject: pointer): bool = + result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, TYPE_FONT_MAP()) -proc PANGO_FONT_MAP_CLASS*(klass: pointer): PFontMapClass = - result = cast[PFontMapClass](G_TYPE_CHECK_CLASS_CAST(klass, - PANGO_TYPE_FONT_MAP())) +proc FONT_MAP_CLASS*(klass: pointer): PFontMapClass = + result = cast[PFontMapClass](G_TYPE_CHECK_CLASS_CAST(klass, TYPE_FONT_MAP())) -proc PANGO_IS_FONT_MAP_CLASS*(klass: pointer): bool = - result = G_TYPE_CHECK_CLASS_TYPE(klass, PANGO_TYPE_FONT_MAP()) +proc IS_FONT_MAP_CLASS*(klass: pointer): bool = + result = G_TYPE_CHECK_CLASS_TYPE(klass, TYPE_FONT_MAP()) -proc PANGO_FONT_MAP_GET_CLASS*(obj: PFontMap): PFontMapClass = - result = cast[PFontMapClass](G_TYPE_INSTANCE_GET_CLASS(obj, - PANGO_TYPE_FONT_MAP())) +proc FONT_MAP_GET_CLASS*(obj: PFontMap): PFontMapClass = + result = cast[PFontMapClass](G_TYPE_INSTANCE_GET_CLASS(obj, TYPE_FONT_MAP())) proc is_cluster_start*(a: var TGlyphVisAttr): guint = result = (a.flag0 and bm_TPangoGlyphVisAttr_is_cluster_start) shr @@ -1157,27 +1121,26 @@ proc set_is_cluster_start*(a: var TGlyphVisAttr, `is_cluster_start`: guint) = (int16(`is_cluster_start` shl bp_TPangoGlyphVisAttr_is_cluster_start) and bm_TPangoGlyphVisAttr_is_cluster_start) -proc PANGO_TYPE_GLYPH_STRING*(): GType = - result = pango_glyph_string_get_type() +proc TYPE_GLYPH_STRING*(): GType = + result = glyph_string_get_type() -proc PANGO_TYPE_LAYOUT*(): GType = - result = pango_layout_get_type() +proc TYPE_LAYOUT*(): GType = + result = layout_get_type() -proc PANGO_LAYOUT*(anObject: pointer): PLayout = - result = cast[PLayout](G_TYPE_CHECK_INSTANCE_CAST(anObject, - PANGO_TYPE_LAYOUT())) +proc LAYOUT*(anObject: pointer): PLayout = + result = cast[PLayout](G_TYPE_CHECK_INSTANCE_CAST(anObject, TYPE_LAYOUT())) -proc PANGO_LAYOUT_CLASS*(klass: pointer): PLayoutClass = - result = cast[PLayoutClass](G_TYPE_CHECK_CLASS_CAST(klass, PANGO_TYPE_LAYOUT())) +proc LAYOUT_CLASS*(klass: pointer): PLayoutClass = + result = cast[PLayoutClass](G_TYPE_CHECK_CLASS_CAST(klass, TYPE_LAYOUT())) -proc PANGO_IS_LAYOUT*(anObject: pointer): bool = - result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, PANGO_TYPE_LAYOUT()) +proc IS_LAYOUT*(anObject: pointer): bool = + result = G_TYPE_CHECK_INSTANCE_TYPE(anObject, TYPE_LAYOUT()) -proc PANGO_IS_LAYOUT_CLASS*(klass: pointer): bool = - result = G_TYPE_CHECK_CLASS_TYPE(klass, PANGO_TYPE_LAYOUT()) +proc IS_LAYOUT_CLASS*(klass: pointer): bool = + result = G_TYPE_CHECK_CLASS_TYPE(klass, TYPE_LAYOUT()) -proc PANGO_LAYOUT_GET_CLASS*(obj: PLayout): PLayoutClass = - result = cast[PLayoutClass](G_TYPE_INSTANCE_GET_CLASS(obj, PANGO_TYPE_LAYOUT())) +proc LAYOUT_GET_CLASS*(obj: PLayout): PLayoutClass = + result = cast[PLayoutClass](G_TYPE_INSTANCE_GET_CLASS(obj, TYPE_LAYOUT())) -proc PANGO_TYPE_TAB_ARRAY*(): GType = - result = pango_tab_array_get_type() +proc TYPE_TAB_ARRAY*(): GType = + result = tab_array_get_type() diff --git a/lib/newwrap/gtk/pangoutils.nim b/lib/newwrap/gtk/pangoutils.nim old mode 100644 new mode 100755 index 552362b9aa..e1574a9084 --- a/lib/newwrap/gtk/pangoutils.nim +++ b/lib/newwrap/gtk/pangoutils.nim @@ -2,44 +2,41 @@ import glib2, pango -type - pint32* = ptr int32 - -proc pango_split_file_list*(str: cstring): PPchar{.cdecl, dynlib: pangolib, +proc split_file_list*(str: cstring): PPchar{.cdecl, dynlib: lib, importc: "pango_split_file_list".} -proc pango_trim_string*(str: cstring): cstring{.cdecl, dynlib: pangolib, +proc trim_string*(str: cstring): cstring{.cdecl, dynlib: lib, importc: "pango_trim_string".} -proc pango_read_line*(stream: TFile, str: PGString): gint{.cdecl, - dynlib: pangolib, importc: "pango_read_line".} -proc pango_skip_space*(pos: PPchar): gboolean{.cdecl, dynlib: pangolib, +proc read_line*(stream: TFile, str: PGString): gint{.cdecl, dynlib: lib, + importc: "pango_read_line".} +proc skip_space*(pos: PPchar): gboolean{.cdecl, dynlib: lib, importc: "pango_skip_space".} -proc pango_scan_word*(pos: PPchar, OutStr: PGString): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_scan_word".} -proc pango_scan_string*(pos: PPchar, OutStr: PGString): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_scan_string".} -proc pango_scan_int*(pos: PPchar, OutInt: pint32): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_scan_int".} -proc pango_config_key_get(key: cstring): cstring{.cdecl, dynlib: pangolib, +proc scan_word*(pos: PPchar, OutStr: PGString): gboolean{.cdecl, dynlib: lib, + importc: "pango_scan_word".} +proc scan_string*(pos: PPchar, OutStr: PGString): gboolean{.cdecl, dynlib: lib, + importc: "pango_scan_string".} +proc scan_int*(pos: PPchar, OutInt: ptr int32): gboolean{.cdecl, dynlib: lib, + importc: "pango_scan_int".} +proc config_key_get*(key: cstring): cstring{.cdecl, dynlib: lib, importc: "pango_config_key_get".} -proc pango_lookup_aliases(fontname: cstring, families: PPPchar, - n_families: pint32){.cdecl, dynlib: pangolib, - importc: "pango_lookup_aliases".} -proc pango_parse_style*(str: cstring, style: PStyle, warn: gboolean): gboolean{. - cdecl, dynlib: pangolib, importc: "pango_parse_style".} -proc pango_parse_variant*(str: cstring, variant: PVariant, warn: gboolean): gboolean{. - cdecl, dynlib: pangolib, importc: "pango_parse_variant".} -proc pango_parse_weight*(str: cstring, weight: PWeight, warn: gboolean): gboolean{. - cdecl, dynlib: pangolib, importc: "pango_parse_weight".} -proc pango_parse_stretch*(str: cstring, stretch: PStretch, warn: gboolean): gboolean{. - cdecl, dynlib: pangolib, importc: "pango_parse_stretch".} -proc pango_get_sysconf_subdirectory(): cstring{.cdecl, dynlib: pangolib, +proc lookup_aliases*(fontname: cstring, families: PPPchar, n_families: ptr int32){. + cdecl, dynlib: lib, importc: "pango_lookup_aliases".} +proc parse_style*(str: cstring, style: PStyle, warn: gboolean): gboolean{.cdecl, + dynlib: lib, importc: "pango_parse_style".} +proc parse_variant*(str: cstring, variant: PVariant, warn: gboolean): gboolean{. + cdecl, dynlib: lib, importc: "pango_parse_variant".} +proc parse_weight*(str: cstring, weight: PWeight, warn: gboolean): gboolean{. + cdecl, dynlib: lib, importc: "pango_parse_weight".} +proc parse_stretch*(str: cstring, stretch: PStretch, warn: gboolean): gboolean{. + cdecl, dynlib: lib, importc: "pango_parse_stretch".} +proc get_sysconf_subdirectory*(): cstring{.cdecl, dynlib: lib, importc: "pango_get_sysconf_subdirectory".} -proc pango_get_lib_subdirectory(): cstring{.cdecl, dynlib: pangolib, - importc: "pango_get_lib_subdirectory".} -proc pango_log2vis_get_embedding_levels*(str: Pgunichar, len: int32, - pbase_dir: PDirection, embedding_level_list: Pguint8): gboolean{.cdecl, - dynlib: pangolib, importc: "pango_log2vis_get_embedding_levels".} -proc pango_get_mirror_char*(ch: gunichar, mirrored_ch: Pgunichar): gboolean{. - cdecl, dynlib: pangolib, importc: "pango_get_mirror_char".} -proc pango_language_get_sample_string*(language: PLanguage): cstring{.cdecl, - dynlib: pangolib, importc: "pango_language_get_sample_string".} \ No newline at end of file +proc get_lib_subdirectory*(): cstring{.cdecl, dynlib: lib, + importc: "pango_get_lib_subdirectory".} +proc log2vis_get_embedding_levels*(str: Pgunichar, len: int32, + pbase_dir: PDirection, + embedding_level_list: Pguint8): gboolean{. + cdecl, dynlib: lib, importc: "pango_log2vis_get_embedding_levels".} +proc get_mirror_char*(ch: gunichar, mirrored_ch: Pgunichar): gboolean{.cdecl, + dynlib: lib, importc: "pango_get_mirror_char".} +proc language_get_sample_string*(language: PLanguage): cstring{.cdecl, + dynlib: lib, importc: "pango_language_get_sample_string".} diff --git a/lib/newwrap/libcurl.nim b/lib/newwrap/libcurl.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/lua/lauxlib.nim b/lib/newwrap/lua/lauxlib.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/lua/lua.nim b/lib/newwrap/lua/lua.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/lua/lualib.nim b/lib/newwrap/lua/lualib.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/mysql.nim b/lib/newwrap/mysql.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/opengl/gl.nim b/lib/newwrap/opengl/gl.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/opengl/glext.nim b/lib/newwrap/opengl/glext.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/opengl/glu.nim b/lib/newwrap/opengl/glu.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/opengl/glut.nim b/lib/newwrap/opengl/glut.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/opengl/glx.nim b/lib/newwrap/opengl/glx.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/opengl/wingl.nim b/lib/newwrap/opengl/wingl.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/pcre/pcre.nim b/lib/newwrap/pcre/pcre.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/postgres.nim b/lib/newwrap/postgres.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/sdl/sdl.nim b/lib/newwrap/sdl/sdl.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/sdl/sdl_gfx.nim b/lib/newwrap/sdl/sdl_gfx.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/sdl/sdl_image.nim b/lib/newwrap/sdl/sdl_image.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/sdl/sdl_mixer.nim b/lib/newwrap/sdl/sdl_mixer.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/sdl/sdl_mixer_nosmpeg.nim b/lib/newwrap/sdl/sdl_mixer_nosmpeg.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/sdl/sdl_net.nim b/lib/newwrap/sdl/sdl_net.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/sdl/sdl_ttf.nim b/lib/newwrap/sdl/sdl_ttf.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/sdl/smpeg.nim b/lib/newwrap/sdl/smpeg.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/sqlite3.nim b/lib/newwrap/sqlite3.nim old mode 100644 new mode 100755 diff --git a/lib/newwrap/tcl.nim b/lib/newwrap/tcl.nim old mode 100644 new mode 100755 diff --git a/lib/nimbase.h b/lib/nimbase.h old mode 100644 new mode 100755 diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim old mode 100644 new mode 100755 diff --git a/lib/pure/browsers.nim b/lib/pure/browsers.nim old mode 100644 new mode 100755 diff --git a/lib/pure/cgi.nim b/lib/pure/cgi.nim old mode 100644 new mode 100755 diff --git a/lib/pure/colors.nim b/lib/pure/colors.nim old mode 100644 new mode 100755 diff --git a/lib/pure/complex.nim b/lib/pure/complex.nim old mode 100644 new mode 100755 diff --git a/lib/pure/dynlib.nim b/lib/pure/dynlib.nim old mode 100644 new mode 100755 diff --git a/lib/pure/hashes.nim b/lib/pure/hashes.nim old mode 100644 new mode 100755 diff --git a/lib/pure/hashtabs.nim b/lib/pure/hashtabs.nim old mode 100644 new mode 100755 diff --git a/lib/pure/htmlparser.nim b/lib/pure/htmlparser.nim old mode 100644 new mode 100755 diff --git a/lib/pure/httpclient.nim b/lib/pure/httpclient.nim old mode 100644 new mode 100755 diff --git a/lib/pure/httpserver.nim b/lib/pure/httpserver.nim old mode 100644 new mode 100755 diff --git a/lib/pure/lexbase.nim b/lib/pure/lexbase.nim old mode 100644 new mode 100755 diff --git a/lib/pure/logging.nim b/lib/pure/logging.nim old mode 100644 new mode 100755 diff --git a/lib/pure/macros.nim b/lib/pure/macros.nim old mode 100644 new mode 100755 diff --git a/lib/pure/math.nim b/lib/pure/math.nim old mode 100644 new mode 100755 diff --git a/lib/pure/md5.nim b/lib/pure/md5.nim old mode 100644 new mode 100755 diff --git a/lib/pure/os.nim b/lib/pure/os.nim old mode 100644 new mode 100755 diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim old mode 100644 new mode 100755 diff --git a/lib/pure/parsecfg.nim b/lib/pure/parsecfg.nim old mode 100644 new mode 100755 diff --git a/lib/pure/parsecsv.nim b/lib/pure/parsecsv.nim old mode 100644 new mode 100755 diff --git a/lib/pure/parseopt.nim b/lib/pure/parseopt.nim old mode 100644 new mode 100755 diff --git a/lib/pure/parsesql.nim b/lib/pure/parsesql.nim old mode 100644 new mode 100755 diff --git a/lib/pure/parseurl.nim b/lib/pure/parseurl.nim old mode 100644 new mode 100755 diff --git a/lib/pure/parseutils.nim b/lib/pure/parseutils.nim old mode 100644 new mode 100755 diff --git a/lib/pure/parsexml.nim b/lib/pure/parsexml.nim old mode 100644 new mode 100755 diff --git a/lib/pure/pegs.nim b/lib/pure/pegs.nim old mode 100644 new mode 100755 index 5ba0351ad0..4f55a18832 --- a/lib/pure/pegs.nim +++ b/lib/pure/pegs.nim @@ -26,6 +26,8 @@ when useUnicode: const InlineThreshold = 5 ## number of leaves; -1 to disable inlining + MaxSubpatterns* = 10 ## defines the maximum number of subpatterns that + ## can be captured. More subpatterns cannot be captured! type TPegKind = enum @@ -50,17 +52,20 @@ type pkAndPredicate, ## &a --> Internal DSL: &a pkNotPredicate, ## !a --> Internal DSL: !a pkCapture, ## {a} --> Internal DSL: capture(a) + pkBackRef, ## $i --> Internal DSL: backref(i) + pkBackRefIgnoreCase, + pkBackRefIgnoreStyle, pkSearch, ## @a --> Internal DSL: @a pkRule, ## a <- b pkList ## a, b TNonTerminalFlag = enum ntDeclared, ntUsed TNonTerminal {.final.} = object ## represents a non terminal symbol - name: string ## the name of the symbol - line: int ## the line the symbol has been declared/used in - col: int ## the column the symbol has been declared/used in - flags: set[TNonTerminalFlag] ## the nonterminal's flags - rule: TNode ## the rule that the symbol refers to + name: string ## the name of the symbol + line: int ## line the symbol has been declared/used in + col: int ## column the symbol has been declared/used in + flags: set[TNonTerminalFlag] ## the nonterminal's flags + rule: TNode ## the rule that the symbol refers to TNode {.final.} = object case kind: TPegKind of pkEmpty, pkAny, pkAnyRune, pkGreedyAny, pkNewLine: nil @@ -68,6 +73,7 @@ type of pkChar, pkGreedyRepChar: ch: char of pkCharChoice, pkGreedyRepSet: charChoice: ref set[char] of pkNonTerminal: nt: PNonTerminal + of pkBackRef..pkBackRefIgnoreStyle: index: range[1..MaxSubpatterns] else: sons: seq[TNode] PNonTerminal* = ref TNonTerminal @@ -224,6 +230,24 @@ proc capture*(a: TPeg): TPeg = result.kind = pkCapture result.sons = @[a] +proc backref*(index: range[1..MaxSubPatterns]): TPeg = + ## constructs a back reference of the given `index`. `index` starts counting + ## from 1. + result.kind = pkBackRef + result.index = index-1 + +proc backrefIgnoreCase*(index: range[1..MaxSubPatterns]): TPeg = + ## constructs a back reference of the given `index`. `index` starts counting + ## from 1. Ignores case for matching. + result.kind = pkBackRefIgnoreCase + result.index = index-1 + +proc backrefIgnoreStyle*(index: range[1..MaxSubPatterns]): TPeg = + ## constructs a back reference of the given `index`. `index` starts counting + ## from 1. Ignores style for matching. + result.kind = pkBackRefIgnoreStyle + result.index = index-1 + proc spaceCost(n: TPeg): int = case n.kind of pkEmpty: nil @@ -285,10 +309,6 @@ template natural*: expr = ## same as ``\d+`` +digits -const - MaxSubpatterns* = 10 ## defines the maximum number of subpatterns that - ## can be captured. More subpatterns cannot be captured! - # ------------------------- debugging ----------------------------------------- proc esc(c: char, reserved = {'\0'..'\255'}): string = @@ -394,6 +414,15 @@ proc toStrAux(r: TPeg, res: var string) = add(res, '{') toStrAux(r.sons[0], res) add(res, '}') + of pkBackRef: + add(res, '$') + add(res, $r.index) + of pkBackRefIgnoreCase: + add(res, "i$") + add(res, $r.index) + of pkBackRefIgnoreStyle: + add(res, "y$") + add(res, $r.index) of pkRule: toStrAux(r.sons[0], res) add(res, " <- ") @@ -559,6 +588,18 @@ proc m(s: string, p: TPeg, start: int, c: var TMatchClosure): int = #else: silently ignore the capture else: c.ml = idx + of pkBackRef: + if p.index >= c.ml: return -1 + var (a, b) = c.matches[p.index] + result = m(s, term(s.copy(a, b)), start, c) + of pkBackRefIgnoreCase: + if p.index >= c.ml: return -1 + var (a, b) = c.matches[p.index] + result = m(s, termIgnoreCase(s.copy(a, b)), start, c) + of pkBackRefIgnoreStyle: + if p.index >= c.ml: return -1 + var (a, b) = c.matches[p.index] + result = m(s, termIgnoreStyle(s.copy(a, b)), start, c) of pkRule, pkList: assert false proc match*(s: string, pattern: TPeg, matches: var openarray[string], @@ -784,13 +825,15 @@ type tkOption, ## '?' tkAt, ## '@' tkBuiltin, ## \identifier - tkEscaped ## \\ + tkEscaped, ## \\ + tkDollar ## '$' TToken {.final.} = object ## a token kind: TTokKind ## the type of the token modifier: TModifier literal: string ## the parsed (string) literal charset: set[char] ## if kind == tkCharSet + index: int ## if kind == tkDollar TPegLexer = object ## the lexer object. bufpos: int ## the current position within the buffer @@ -804,7 +847,7 @@ const tokKindToStr: array[TTokKind, string] = [ "invalid", "[EOF]", ".", "_", "identifier", "string literal", "character set", "(", ")", "{", "}", "<-", "/", "*", "+", "&", "!", "?", - "@", "built-in", "escaped" + "@", "built-in", "escaped", "$" ] proc HandleCR(L: var TPegLexer, pos: int): int = @@ -945,6 +988,19 @@ proc getString(c: var TPegLexer, tok: var TToken) = Inc(pos) c.bufpos = pos +proc getDollar(c: var TPegLexer, tok: var TToken) = + var pos = c.bufPos + 1 + var buf = c.buf + if buf[pos] in {'0'..'9'}: + tok.kind = tkDollar + tok.index = 0 + while buf[pos] in {'0'..'9'}: + tok.index = tok.index * 10 + ord(buf[pos]) - ord('0') + inc(pos) + else: + tok.kind = tkInvalid + c.bufpos = pos + proc getCharSet(c: var TPegLexer, tok: var TToken) = tok.kind = tkCharSet tok.charset = {} @@ -1050,19 +1106,23 @@ proc getTok(c: var TPegLexer, tok: var TToken) = of '\\': getBuiltin(c, tok) of '\'', '"': getString(c, tok) + of '$': getDollar(c, tok) of '\0': tok.kind = tkEof tok.literal = "[EOF]" of 'a'..'z', 'A'..'Z', '\128'..'\255': getSymbol(c, tok) - if c.buf[c.bufpos] in {'\'', '"'}: + if c.buf[c.bufpos] in {'\'', '"', '$'}: case tok.literal of "i": tok.modifier = modIgnoreCase of "y": tok.modifier = modIgnoreStyle of "v": tok.modifier = modVerbatim else: nil setLen(tok.literal, 0) - getString(c, tok) + if c.buf[c.bufpos] == '$': + getDollar(c, tok) + else: + getString(c, tok) if tok.modifier == modNone: tok.kind = tkInvalid of '+': tok.kind = tkPlus @@ -1117,8 +1177,7 @@ type tok: TToken nonterms: seq[PNonTerminal] modifier: TModifier - -proc getTok(p: var TPegParser) = getTok(p, p.tok) + captures: int proc pegError(p: TPegParser, msg: string, line = -1, col = -1) = var e: ref EInvalidPeg @@ -1126,6 +1185,10 @@ proc pegError(p: TPegParser, msg: string, line = -1, col = -1) = e.msg = errorStr(p, msg, line, col) raise e +proc getTok(p: var TPegParser) = + getTok(p, p.tok) + if p.tok.kind == tkInvalid: pegError(p, "invalid token") + proc eat(p: var TPegParser, kind: TTokKind) = if p.tok.kind == kind: getTok(p) else: pegError(p, tokKindToStr[kind] & " expected") @@ -1146,6 +1209,12 @@ proc modifiedTerm(s: string, m: TModifier): TPeg = of modIgnoreCase: result = termIgnoreCase(s) of modIgnoreStyle: result = termIgnoreStyle(s) +proc modifiedBackref(s: int, m: TModifier): TPeg = + case m + of modNone, modVerbatim: result = backRef(s) + of modIgnoreCase: result = backRefIgnoreCase(s) + of modIgnoreStyle: result = backRefIgnoreStyle(s) + proc primary(p: var TPegParser): TPeg = case p.tok.kind of tkAmp: @@ -1185,6 +1254,7 @@ proc primary(p: var TPegParser): TPeg = getTok(p) result = capture(parseExpr(p)) eat(p, tkCurlyRi) + inc(p.captures) of tkAny: result = any() getTok(p) @@ -1206,6 +1276,13 @@ proc primary(p: var TPegParser): TPeg = of tkEscaped: result = term(p.tok.literal[0]) getTok(p) + of tkDollar: + var m = p.tok.modifier + if m == modNone: m = p.modifier + result = modifiedBackRef(p.tok.index, m) + if p.tok.index < 0 or p.tok.index > p.captures: + pegError(p, "invalid back reference index: " & $p.tok.index) + getTok(p) else: pegError(p, "expression expected, but found: " & p.tok.literal) getTok(p) # we must consume a token here to prevent endless loops! @@ -1227,7 +1304,7 @@ proc seqExpr(p: var TPegParser): TPeg = while true: case p.tok.kind of tkAmp, tkNot, tkAt, tkStringLit, tkCharset, tkParLe, tkCurlyLe, - tkAny, tkAnyRune, tkBuiltin, tkEscaped: + tkAny, tkAnyRune, tkBuiltin, tkEscaped, tkDollar: result = sequence(result, primary(p)) of tkIdentifier: if not arrowIsNextTok(p): diff --git a/lib/pure/re.nim b/lib/pure/re.nim old mode 100644 new mode 100755 diff --git a/lib/pure/regexprs.nim b/lib/pure/regexprs.nim old mode 100644 new mode 100755 diff --git a/lib/pure/ropes.nim b/lib/pure/ropes.nim old mode 100644 new mode 100755 diff --git a/lib/pure/sockets.nim b/lib/pure/sockets.nim old mode 100644 new mode 100755 diff --git a/lib/pure/streams.nim b/lib/pure/streams.nim old mode 100644 new mode 100755 diff --git a/lib/pure/strtabs.nim b/lib/pure/strtabs.nim old mode 100644 new mode 100755 diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim old mode 100644 new mode 100755 diff --git a/lib/pure/terminal.nim b/lib/pure/terminal.nim old mode 100644 new mode 100755 diff --git a/lib/pure/times.nim b/lib/pure/times.nim old mode 100644 new mode 100755 diff --git a/lib/pure/unicode.nim b/lib/pure/unicode.nim old mode 100644 new mode 100755 diff --git a/lib/pure/unidecode/gen.py b/lib/pure/unidecode/gen.py old mode 100644 new mode 100755 diff --git a/lib/pure/unidecode/unidecode.dat b/lib/pure/unidecode/unidecode.dat old mode 100644 new mode 100755 diff --git a/lib/pure/unidecode/unidecode.nim b/lib/pure/unidecode/unidecode.nim old mode 100644 new mode 100755 diff --git a/lib/pure/variants.nim b/lib/pure/variants.nim old mode 100644 new mode 100755 diff --git a/lib/pure/xmldom.nim b/lib/pure/xmldom.nim old mode 100644 new mode 100755 diff --git a/lib/pure/xmldomparser.nim b/lib/pure/xmldomparser.nim old mode 100644 new mode 100755 diff --git a/lib/pure/xmlgen.nim b/lib/pure/xmlgen.nim old mode 100644 new mode 100755 diff --git a/lib/pure/xmlparser.nim b/lib/pure/xmlparser.nim old mode 100644 new mode 100755 diff --git a/lib/pure/xmltree.nim b/lib/pure/xmltree.nim old mode 100644 new mode 100755 diff --git a/lib/pure/yamllexer.nim b/lib/pure/yamllexer.nim old mode 100644 new mode 100755 diff --git a/lib/system.nim b/lib/system.nim old mode 100644 new mode 100755 diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim old mode 100644 new mode 100755 diff --git a/lib/system/ansi_c.nim b/lib/system/ansi_c.nim old mode 100644 new mode 100755 diff --git a/lib/system/arithm.nim b/lib/system/arithm.nim old mode 100644 new mode 100755 diff --git a/lib/system/assign.nim b/lib/system/assign.nim old mode 100644 new mode 100755 diff --git a/lib/system/cellsets.nim b/lib/system/cellsets.nim old mode 100644 new mode 100755 diff --git a/lib/system/cntbits.nim b/lib/system/cntbits.nim old mode 100644 new mode 100755 diff --git a/lib/system/debugger.nim b/lib/system/debugger.nim old mode 100644 new mode 100755 diff --git a/lib/system/dyncalls.nim b/lib/system/dyncalls.nim old mode 100644 new mode 100755 diff --git a/lib/system/ecmasys.nim b/lib/system/ecmasys.nim old mode 100644 new mode 100755 diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim old mode 100644 new mode 100755 diff --git a/lib/system/gc.nim b/lib/system/gc.nim old mode 100644 new mode 100755 diff --git a/lib/system/hti.nim b/lib/system/hti.nim old mode 100644 new mode 100755 diff --git a/lib/system/mm.nim b/lib/system/mm.nim old mode 100644 new mode 100755 diff --git a/lib/system/profiler.nim b/lib/system/profiler.nim old mode 100644 new mode 100755 diff --git a/lib/system/repr.nim b/lib/system/repr.nim old mode 100644 new mode 100755 diff --git a/lib/system/sets.nim b/lib/system/sets.nim old mode 100644 new mode 100755 diff --git a/lib/system/sysio.nim b/lib/system/sysio.nim old mode 100644 new mode 100755 diff --git a/lib/system/sysstr.nim b/lib/system/sysstr.nim old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-1.txt b/lib/ucmaps/8859-1.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-10.txt b/lib/ucmaps/8859-10.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-13.txt b/lib/ucmaps/8859-13.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-14.txt b/lib/ucmaps/8859-14.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-15.txt b/lib/ucmaps/8859-15.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-2.txt b/lib/ucmaps/8859-2.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-3.txt b/lib/ucmaps/8859-3.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-4.txt b/lib/ucmaps/8859-4.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-5.txt b/lib/ucmaps/8859-5.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-6.txt b/lib/ucmaps/8859-6.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-7.txt b/lib/ucmaps/8859-7.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-8.txt b/lib/ucmaps/8859-8.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/8859-9.txt b/lib/ucmaps/8859-9.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp1250.txt b/lib/ucmaps/cp1250.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp1251.txt b/lib/ucmaps/cp1251.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp1252.txt b/lib/ucmaps/cp1252.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp1253.txt b/lib/ucmaps/cp1253.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp1254.txt b/lib/ucmaps/cp1254.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp1255.txt b/lib/ucmaps/cp1255.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp1256.txt b/lib/ucmaps/cp1256.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp1257.txt b/lib/ucmaps/cp1257.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp1258.txt b/lib/ucmaps/cp1258.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp437.txt b/lib/ucmaps/cp437.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp737.txt b/lib/ucmaps/cp737.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp775.txt b/lib/ucmaps/cp775.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp850.txt b/lib/ucmaps/cp850.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp852.txt b/lib/ucmaps/cp852.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp855.txt b/lib/ucmaps/cp855.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp856.txt b/lib/ucmaps/cp856.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp857.txt b/lib/ucmaps/cp857.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp860.txt b/lib/ucmaps/cp860.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp861.txt b/lib/ucmaps/cp861.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp862.txt b/lib/ucmaps/cp862.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp863.txt b/lib/ucmaps/cp863.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp864.txt b/lib/ucmaps/cp864.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp865.txt b/lib/ucmaps/cp865.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp866.txt b/lib/ucmaps/cp866.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp869.txt b/lib/ucmaps/cp869.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp874.txt b/lib/ucmaps/cp874.txt old mode 100644 new mode 100755 diff --git a/lib/ucmaps/cp932.txt b/lib/ucmaps/cp932.txt old mode 100644 new mode 100755 diff --git a/lib/windows/mmsystem.nim b/lib/windows/mmsystem.nim old mode 100644 new mode 100755 diff --git a/lib/windows/nb30.nim b/lib/windows/nb30.nim old mode 100644 new mode 100755 diff --git a/lib/windows/ole2.nim b/lib/windows/ole2.nim old mode 100644 new mode 100755 diff --git a/lib/windows/shellapi.nim b/lib/windows/shellapi.nim old mode 100644 new mode 100755 diff --git a/lib/windows/shfolder.nim b/lib/windows/shfolder.nim old mode 100644 new mode 100755 diff --git a/lib/windows/windows.nim b/lib/windows/windows.nim old mode 100644 new mode 100755 diff --git a/lib/windows/winlean.nim b/lib/windows/winlean.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/cairo/cairo.nim b/lib/wrappers/cairo/cairo.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/cairo/cairoft.nim b/lib/wrappers/cairo/cairoft.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/cairo/cairowin32.nim b/lib/wrappers/cairo/cairowin32.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/cairo/cairoxlib.nim b/lib/wrappers/cairo/cairoxlib.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/gtk/atk.nim b/lib/wrappers/gtk/atk.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/gtk/gdk2.nim b/lib/wrappers/gtk/gdk2.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/gtk/gdk2pixbuf.nim b/lib/wrappers/gtk/gdk2pixbuf.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/gtk/gdkglext.nim b/lib/wrappers/gtk/gdkglext.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/gtk/glib2.nim b/lib/wrappers/gtk/glib2.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/gtk/gtk2.nim b/lib/wrappers/gtk/gtk2.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/gtk/gtkglext.nim b/lib/wrappers/gtk/gtkglext.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/gtk/gtkhtml.nim b/lib/wrappers/gtk/gtkhtml.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/gtk/libglade2.nim b/lib/wrappers/gtk/libglade2.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/gtk/pango.nim b/lib/wrappers/gtk/pango.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/gtk/pangoutils.nim b/lib/wrappers/gtk/pangoutils.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/iup.nim b/lib/wrappers/iup.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/libcurl.nim b/lib/wrappers/libcurl.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/lua/lauxlib.nim b/lib/wrappers/lua/lauxlib.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/lua/lua.nim b/lib/wrappers/lua/lua.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/lua/lualib.nim b/lib/wrappers/lua/lualib.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/mysql.nim b/lib/wrappers/mysql.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/odbcsql.nim b/lib/wrappers/odbcsql.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/opengl/gl.nim b/lib/wrappers/opengl/gl.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/opengl/glext.nim b/lib/wrappers/opengl/glext.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/opengl/glu.nim b/lib/wrappers/opengl/glu.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/opengl/glut.nim b/lib/wrappers/opengl/glut.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/opengl/glx.nim b/lib/wrappers/opengl/glx.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/opengl/wingl.nim b/lib/wrappers/opengl/wingl.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/pcre/pcre.nim b/lib/wrappers/pcre/pcre.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/pcre/pcre_all.c b/lib/wrappers/pcre/pcre_all.c old mode 100644 new mode 100755 diff --git a/lib/wrappers/postgres.nim b/lib/wrappers/postgres.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/python.nim b/lib/wrappers/python.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/sdl/sdl.nim b/lib/wrappers/sdl/sdl.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/sdl/sdl_gfx.nim b/lib/wrappers/sdl/sdl_gfx.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/sdl/sdl_image.nim b/lib/wrappers/sdl/sdl_image.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/sdl/sdl_mixer.nim b/lib/wrappers/sdl/sdl_mixer.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/sdl/sdl_mixer_nosmpeg.nim b/lib/wrappers/sdl/sdl_mixer_nosmpeg.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/sdl/sdl_net.nim b/lib/wrappers/sdl/sdl_net.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/sdl/sdl_ttf.nim b/lib/wrappers/sdl/sdl_ttf.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/sdl/sdlutils.pas b/lib/wrappers/sdl/sdlutils.pas old mode 100644 new mode 100755 diff --git a/lib/wrappers/sdl/smpeg.nim b/lib/wrappers/sdl/smpeg.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/sqlite3.nim b/lib/wrappers/sqlite3.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/tcl.nim b/lib/wrappers/tcl.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/tre/config.h b/lib/wrappers/tre/config.h old mode 100644 new mode 100755 diff --git a/lib/wrappers/tre/tre_all.c b/lib/wrappers/tre/tre_all.c old mode 100644 new mode 100755 diff --git a/lib/wrappers/tre/version.txt b/lib/wrappers/tre/version.txt old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/cursorfont.nim b/lib/wrappers/x11/cursorfont.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/keysym.nim b/lib/wrappers/x11/keysym.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/x.nim b/lib/wrappers/x11/x.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xatom.nim b/lib/wrappers/x11/xatom.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xcms.nim b/lib/wrappers/x11/xcms.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xf86dga.nim b/lib/wrappers/x11/xf86dga.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xf86vmode.nim b/lib/wrappers/x11/xf86vmode.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xi.nim b/lib/wrappers/x11/xi.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xinerama.nim b/lib/wrappers/x11/xinerama.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xkb.nim b/lib/wrappers/x11/xkb.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xkblib.nim b/lib/wrappers/x11/xkblib.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xlib.nim b/lib/wrappers/x11/xlib.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xrandr.nim b/lib/wrappers/x11/xrandr.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xrender.nim b/lib/wrappers/x11/xrender.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xresource.nim b/lib/wrappers/x11/xresource.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xshm.nim b/lib/wrappers/x11/xshm.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xutil.nim b/lib/wrappers/x11/xutil.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xv.nim b/lib/wrappers/x11/xv.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/x11/xvlib.nim b/lib/wrappers/x11/xvlib.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/zip/libzip.nim b/lib/wrappers/zip/libzip.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/zip/libzip_all.c b/lib/wrappers/zip/libzip_all.c old mode 100644 new mode 100755 diff --git a/lib/wrappers/zip/zlib.nim b/lib/wrappers/zip/zlib.nim old mode 100644 new mode 100755 diff --git a/lib/wrappers/zip/zzip.nim b/lib/wrappers/zip/zzip.nim old mode 100644 new mode 100755 diff --git a/llvm/llvm.h b/llvm/llvm.h old mode 100644 new mode 100755 diff --git a/llvm/llvm.nim b/llvm/llvm.nim old mode 100644 new mode 100755 diff --git a/llvm/llvm.pas b/llvm/llvm.pas old mode 100644 new mode 100755 diff --git a/llvm/llvm_orig.nim b/llvm/llvm_orig.nim old mode 100644 new mode 100755 diff --git a/nim/ast.pas b/nim/ast.pas old mode 100644 new mode 100755 diff --git a/nim/astalgo.pas b/nim/astalgo.pas old mode 100644 new mode 100755 diff --git a/nim/bitsets.pas b/nim/bitsets.pas old mode 100644 new mode 100755 diff --git a/nim/ccgexprs.pas b/nim/ccgexprs.pas old mode 100644 new mode 100755 diff --git a/nim/ccgstmts.pas b/nim/ccgstmts.pas old mode 100644 new mode 100755 diff --git a/nim/ccgtypes.pas b/nim/ccgtypes.pas old mode 100644 new mode 100755 diff --git a/nim/ccgutils.pas b/nim/ccgutils.pas old mode 100644 new mode 100755 diff --git a/nim/cgen.pas b/nim/cgen.pas old mode 100644 new mode 100755 diff --git a/nim/cgmeth.pas b/nim/cgmeth.pas old mode 100644 new mode 100755 diff --git a/nim/charsets.pas b/nim/charsets.pas old mode 100644 new mode 100755 diff --git a/nim/commands.pas b/nim/commands.pas old mode 100644 new mode 100755 diff --git a/nim/condsyms.pas b/nim/condsyms.pas old mode 100644 new mode 100755 diff --git a/nim/config.inc b/nim/config.inc old mode 100644 new mode 100755 diff --git a/nim/crc.pas b/nim/crc.pas old mode 100644 new mode 100755 diff --git a/nim/depends.pas b/nim/depends.pas old mode 100644 new mode 100755 diff --git a/nim/docgen.pas b/nim/docgen.pas old mode 100644 new mode 100755 diff --git a/nim/ecmasgen.pas b/nim/ecmasgen.pas old mode 100644 new mode 100755 diff --git a/nim/evals.pas b/nim/evals.pas old mode 100644 new mode 100755 diff --git a/nim/extccomp.pas b/nim/extccomp.pas old mode 100644 new mode 100755 diff --git a/nim/filters.pas b/nim/filters.pas old mode 100644 new mode 100755 diff --git a/nim/hashtest.pas b/nim/hashtest.pas old mode 100644 new mode 100755 diff --git a/nim/highlite.pas b/nim/highlite.pas old mode 100644 new mode 100755 diff --git a/nim/idents.pas b/nim/idents.pas old mode 100644 new mode 100755 diff --git a/nim/importer.pas b/nim/importer.pas old mode 100644 new mode 100755 diff --git a/nim/interact.pas b/nim/interact.pas old mode 100644 new mode 100755 diff --git a/nim/lexbase.pas b/nim/lexbase.pas old mode 100644 new mode 100755 diff --git a/nim/lists.pas b/nim/lists.pas old mode 100644 new mode 100755 diff --git a/nim/llstream.pas b/nim/llstream.pas old mode 100644 new mode 100755 diff --git a/nim/llvmdata.pas b/nim/llvmdata.pas old mode 100644 new mode 100755 diff --git a/nim/llvmdyn.pas b/nim/llvmdyn.pas old mode 100644 new mode 100755 diff --git a/nim/llvmstat.pas b/nim/llvmstat.pas old mode 100644 new mode 100755 diff --git a/nim/lookups.pas b/nim/lookups.pas old mode 100644 new mode 100755 diff --git a/nim/magicsys.pas b/nim/magicsys.pas old mode 100644 new mode 100755 diff --git a/nim/main.pas b/nim/main.pas old mode 100644 new mode 100755 diff --git a/nim/msgs.pas b/nim/msgs.pas old mode 100644 new mode 100755 diff --git a/nim/nhashes.pas b/nim/nhashes.pas old mode 100644 new mode 100755 diff --git a/nim/nimconf.pas b/nim/nimconf.pas old mode 100644 new mode 100755 diff --git a/nim/nimrod.pas b/nim/nimrod.pas old mode 100644 new mode 100755 diff --git a/nim/nimsets.pas b/nim/nimsets.pas old mode 100644 new mode 100755 diff --git a/nim/nmath.pas b/nim/nmath.pas old mode 100644 new mode 100755 diff --git a/nim/nos.pas b/nim/nos.pas old mode 100644 new mode 100755 diff --git a/nim/nstrtabs.pas b/nim/nstrtabs.pas old mode 100644 new mode 100755 diff --git a/nim/nsystem.pas b/nim/nsystem.pas old mode 100644 new mode 100755 diff --git a/nim/ntime.pas b/nim/ntime.pas old mode 100644 new mode 100755 diff --git a/nim/nversion.pas b/nim/nversion.pas old mode 100644 new mode 100755 diff --git a/nim/options.pas b/nim/options.pas old mode 100644 new mode 100755 diff --git a/nim/osproc.pas b/nim/osproc.pas old mode 100644 new mode 100755 diff --git a/nim/parsecfg.pas b/nim/parsecfg.pas old mode 100644 new mode 100755 diff --git a/nim/parseopt.pas b/nim/parseopt.pas old mode 100644 new mode 100755 diff --git a/nim/paslex.pas b/nim/paslex.pas old mode 100644 new mode 100755 diff --git a/nim/pasparse.pas b/nim/pasparse.pas old mode 100644 new mode 100755 diff --git a/nim/passaux.pas b/nim/passaux.pas old mode 100644 new mode 100755 diff --git a/nim/passes.pas b/nim/passes.pas old mode 100644 new mode 100755 diff --git a/nim/pbraces.pas b/nim/pbraces.pas old mode 100644 new mode 100755 diff --git a/nim/pendx.pas b/nim/pendx.pas old mode 100644 new mode 100755 diff --git a/nim/platform.pas b/nim/platform.pas old mode 100644 new mode 100755 diff --git a/nim/pnimsyn.pas b/nim/pnimsyn.pas old mode 100644 new mode 100755 diff --git a/nim/pragmas.pas b/nim/pragmas.pas old mode 100644 new mode 100755 diff --git a/nim/procfind.pas b/nim/procfind.pas old mode 100644 new mode 100755 diff --git a/nim/ptmplsyn.pas b/nim/ptmplsyn.pas old mode 100644 new mode 100755 diff --git a/nim/readme.txt b/nim/readme.txt old mode 100644 new mode 100755 diff --git a/nim/rnimsyn.pas b/nim/rnimsyn.pas old mode 100644 new mode 100755 diff --git a/nim/rodread.pas b/nim/rodread.pas old mode 100644 new mode 100755 diff --git a/nim/rodwrite.pas b/nim/rodwrite.pas old mode 100644 new mode 100755 diff --git a/nim/ropes.pas b/nim/ropes.pas old mode 100644 new mode 100755 diff --git a/nim/rst.pas b/nim/rst.pas old mode 100644 new mode 100755 diff --git a/nim/scanner.pas b/nim/scanner.pas old mode 100644 new mode 100755 diff --git a/nim/sem.pas b/nim/sem.pas old mode 100644 new mode 100755 diff --git a/nim/semdata.pas b/nim/semdata.pas old mode 100644 new mode 100755 diff --git a/nim/semexprs.pas b/nim/semexprs.pas old mode 100644 new mode 100755 diff --git a/nim/semfold.pas b/nim/semfold.pas old mode 100644 new mode 100755 diff --git a/nim/semgnrc.pas b/nim/semgnrc.pas old mode 100644 new mode 100755 diff --git a/nim/seminst.pas b/nim/seminst.pas old mode 100644 new mode 100755 diff --git a/nim/semstmts.pas b/nim/semstmts.pas old mode 100644 new mode 100755 diff --git a/nim/semtempl.pas b/nim/semtempl.pas old mode 100644 new mode 100755 diff --git a/nim/semtypes.pas b/nim/semtypes.pas old mode 100644 new mode 100755 diff --git a/nim/sigmatch.pas b/nim/sigmatch.pas old mode 100644 new mode 100755 diff --git a/nim/strutils.pas b/nim/strutils.pas old mode 100644 new mode 100755 diff --git a/nim/syntaxes.pas b/nim/syntaxes.pas old mode 100644 new mode 100755 diff --git a/nim/tigen.pas b/nim/tigen.pas old mode 100644 new mode 100755 diff --git a/nim/transf.pas b/nim/transf.pas old mode 100644 new mode 100755 diff --git a/nim/transtmp.pas b/nim/transtmp.pas old mode 100644 new mode 100755 diff --git a/nim/trees.pas b/nim/trees.pas old mode 100644 new mode 100755 diff --git a/nim/treetab.pas b/nim/treetab.pas old mode 100644 new mode 100755 diff --git a/nim/types.pas b/nim/types.pas old mode 100644 new mode 100755 diff --git a/nim/wordrecg.pas b/nim/wordrecg.pas old mode 100644 new mode 100755 diff --git a/nimlib/copying.txt b/nimlib/copying.txt old mode 100644 new mode 100755 diff --git a/nimlib/lgpl.txt b/nimlib/lgpl.txt old mode 100644 new mode 100755 diff --git a/nimlib/nimbase.h b/nimlib/nimbase.h old mode 100644 new mode 100755 diff --git a/nimlib/posix/posix.nim b/nimlib/posix/posix.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/cgi.nim b/nimlib/pure/cgi.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/complex.nim b/nimlib/pure/complex.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/dynlib.nim b/nimlib/pure/dynlib.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/hashes.nim b/nimlib/pure/hashes.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/hashtabs.nim b/nimlib/pure/hashtabs.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/lexbase.nim b/nimlib/pure/lexbase.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/logging.nim b/nimlib/pure/logging.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/macros.nim b/nimlib/pure/macros.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/math.nim b/nimlib/pure/math.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/md5.nim b/nimlib/pure/md5.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/os.nim b/nimlib/pure/os.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/osproc.nim b/nimlib/pure/osproc.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/parsecfg.nim b/nimlib/pure/parsecfg.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/parsecsv.nim b/nimlib/pure/parsecsv.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/parseopt.nim b/nimlib/pure/parseopt.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/parsesql.nim b/nimlib/pure/parsesql.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/parsexml.nim b/nimlib/pure/parsexml.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/pegs.nim b/nimlib/pure/pegs.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/re.nim b/nimlib/pure/re.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/regexprs.nim b/nimlib/pure/regexprs.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/streams.nim b/nimlib/pure/streams.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/strtabs.nim b/nimlib/pure/strtabs.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/strutils.nim b/nimlib/pure/strutils.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/terminal.nim b/nimlib/pure/terminal.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/times.nim b/nimlib/pure/times.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/unicode.nim b/nimlib/pure/unicode.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/variants.nim b/nimlib/pure/variants.nim old mode 100644 new mode 100755 diff --git a/nimlib/pure/xmlgen.nim b/nimlib/pure/xmlgen.nim old mode 100644 new mode 100755 diff --git a/nimlib/readme.txt b/nimlib/readme.txt old mode 100644 new mode 100755 diff --git a/nimlib/system.nim b/nimlib/system.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/alloc.nim b/nimlib/system/alloc.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/ansi_c.nim b/nimlib/system/ansi_c.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/arithm.nim b/nimlib/system/arithm.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/assign.nim b/nimlib/system/assign.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/cellsets.nim b/nimlib/system/cellsets.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/cntbits.nim b/nimlib/system/cntbits.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/debugger.nim b/nimlib/system/debugger.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/dyncalls.nim b/nimlib/system/dyncalls.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/ecmasys.nim b/nimlib/system/ecmasys.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/excpt.nim b/nimlib/system/excpt.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/gc.nim b/nimlib/system/gc.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/hti.nim b/nimlib/system/hti.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/mm.nim b/nimlib/system/mm.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/profiler.nim b/nimlib/system/profiler.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/repr.nim b/nimlib/system/repr.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/sets.nim b/nimlib/system/sets.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/sysio.nim b/nimlib/system/sysio.nim old mode 100644 new mode 100755 diff --git a/nimlib/system/sysstr.nim b/nimlib/system/sysstr.nim old mode 100644 new mode 100755 diff --git a/nimlib/windows/winlean.nim b/nimlib/windows/winlean.nim old mode 100644 new mode 100755 diff --git a/noprefix.nim b/noprefix.nim old mode 100644 new mode 100755 diff --git a/obj/empty.txt b/obj/empty.txt old mode 100644 new mode 100755 diff --git a/readme.txt b/readme.txt old mode 100644 new mode 100755 diff --git a/rod/ast.nim b/rod/ast.nim old mode 100644 new mode 100755 diff --git a/rod/astalgo.nim b/rod/astalgo.nim old mode 100644 new mode 100755 diff --git a/rod/bitsets.nim b/rod/bitsets.nim old mode 100644 new mode 100755 diff --git a/rod/ccgexprs.nim b/rod/ccgexprs.nim old mode 100644 new mode 100755 diff --git a/rod/ccgstmts.nim b/rod/ccgstmts.nim old mode 100644 new mode 100755 diff --git a/rod/ccgtypes.nim b/rod/ccgtypes.nim old mode 100644 new mode 100755 diff --git a/rod/ccgutils.nim b/rod/ccgutils.nim old mode 100644 new mode 100755 diff --git a/rod/cgen.nim b/rod/cgen.nim old mode 100644 new mode 100755 diff --git a/rod/cgmeth.nim b/rod/cgmeth.nim old mode 100644 new mode 100755 diff --git a/rod/charsets.nim b/rod/charsets.nim old mode 100644 new mode 100755 diff --git a/rod/commands.nim b/rod/commands.nim old mode 100644 new mode 100755 diff --git a/rod/condsyms.nim b/rod/condsyms.nim old mode 100644 new mode 100755 diff --git a/rod/crc.nim b/rod/crc.nim old mode 100644 new mode 100755 diff --git a/rod/depends.nim b/rod/depends.nim old mode 100644 new mode 100755 diff --git a/rod/docgen.nim b/rod/docgen.nim old mode 100644 new mode 100755 diff --git a/rod/ecmasgen.nim b/rod/ecmasgen.nim old mode 100644 new mode 100755 diff --git a/rod/evals.nim b/rod/evals.nim old mode 100644 new mode 100755 diff --git a/rod/expandimportc.nim b/rod/expandimportc.nim old mode 100644 new mode 100755 diff --git a/rod/extccomp.nim b/rod/extccomp.nim old mode 100644 new mode 100755 diff --git a/rod/filters.nim b/rod/filters.nim old mode 100644 new mode 100755 diff --git a/rod/hashtest.nim b/rod/hashtest.nim old mode 100644 new mode 100755 diff --git a/rod/highlite.nim b/rod/highlite.nim old mode 100644 new mode 100755 diff --git a/rod/idents.nim b/rod/idents.nim old mode 100644 new mode 100755 diff --git a/rod/importer.nim b/rod/importer.nim old mode 100644 new mode 100755 diff --git a/rod/interact.nim b/rod/interact.nim old mode 100644 new mode 100755 diff --git a/rod/lexbase.nim b/rod/lexbase.nim old mode 100644 new mode 100755 diff --git a/rod/lists.nim b/rod/lists.nim old mode 100644 new mode 100755 diff --git a/rod/llstream.nim b/rod/llstream.nim old mode 100644 new mode 100755 diff --git a/rod/llvmgen.nim b/rod/llvmgen.nim old mode 100644 new mode 100755 diff --git a/rod/llvmtype.nim b/rod/llvmtype.nim old mode 100644 new mode 100755 diff --git a/rod/lookups.nim b/rod/lookups.nim old mode 100644 new mode 100755 diff --git a/rod/magicsys.nim b/rod/magicsys.nim old mode 100644 new mode 100755 diff --git a/rod/main.nim b/rod/main.nim old mode 100644 new mode 100755 diff --git a/rod/msgs.nim b/rod/msgs.nim old mode 100644 new mode 100755 diff --git a/rod/nhashes.nim b/rod/nhashes.nim old mode 100644 new mode 100755 diff --git a/rod/nimconf.nim b/rod/nimconf.nim old mode 100644 new mode 100755 diff --git a/rod/nimrod.cfg b/rod/nimrod.cfg old mode 100644 new mode 100755 diff --git a/rod/nimrod.dot b/rod/nimrod.dot old mode 100644 new mode 100755 diff --git a/rod/nimrod.ini b/rod/nimrod.ini old mode 100644 new mode 100755 diff --git a/rod/nimrod.nim b/rod/nimrod.nim old mode 100644 new mode 100755 diff --git a/rod/nimsets.nim b/rod/nimsets.nim old mode 100644 new mode 100755 diff --git a/rod/nstrtabs.nim b/rod/nstrtabs.nim old mode 100644 new mode 100755 diff --git a/rod/nversion.nim b/rod/nversion.nim old mode 100644 new mode 100755 diff --git a/rod/options.nim b/rod/options.nim old mode 100644 new mode 100755 diff --git a/rod/parsecfg.nim b/rod/parsecfg.nim old mode 100644 new mode 100755 diff --git a/rod/pas2nim/pas2nim.cfg b/rod/pas2nim/pas2nim.cfg old mode 100644 new mode 100755 diff --git a/rod/pas2nim/pas2nim.nim b/rod/pas2nim/pas2nim.nim old mode 100644 new mode 100755 diff --git a/rod/pas2nim/paslex.nim b/rod/pas2nim/paslex.nim old mode 100644 new mode 100755 diff --git a/rod/pas2nim/pasparse.nim b/rod/pas2nim/pasparse.nim old mode 100644 new mode 100755 diff --git a/rod/passaux.nim b/rod/passaux.nim old mode 100644 new mode 100755 diff --git a/rod/passes.nim b/rod/passes.nim old mode 100644 new mode 100755 diff --git a/rod/pbraces.nim b/rod/pbraces.nim old mode 100644 new mode 100755 diff --git a/rod/pendx.nim b/rod/pendx.nim old mode 100644 new mode 100755 diff --git a/rod/platform.nim b/rod/platform.nim old mode 100644 new mode 100755 diff --git a/rod/pnimsyn.nim b/rod/pnimsyn.nim old mode 100644 new mode 100755 diff --git a/rod/pragmas.nim b/rod/pragmas.nim old mode 100644 new mode 100755 diff --git a/rod/procfind.nim b/rod/procfind.nim old mode 100644 new mode 100755 diff --git a/rod/ptmplsyn.nim b/rod/ptmplsyn.nim old mode 100644 new mode 100755 diff --git a/rod/readme.txt b/rod/readme.txt old mode 100644 new mode 100755 diff --git a/rod/rnimsyn.nim b/rod/rnimsyn.nim old mode 100644 new mode 100755 diff --git a/rod/rodread.nim b/rod/rodread.nim old mode 100644 new mode 100755 diff --git a/rod/rodwrite.nim b/rod/rodwrite.nim old mode 100644 new mode 100755 diff --git a/rod/ropes.nim b/rod/ropes.nim old mode 100644 new mode 100755 diff --git a/rod/rst.nim b/rod/rst.nim old mode 100644 new mode 100755 diff --git a/rod/scanner.nim b/rod/scanner.nim old mode 100644 new mode 100755 diff --git a/rod/sem.nim b/rod/sem.nim old mode 100644 new mode 100755 diff --git a/rod/semdata.nim b/rod/semdata.nim old mode 100644 new mode 100755 diff --git a/rod/semexprs.nim b/rod/semexprs.nim old mode 100644 new mode 100755 diff --git a/rod/semfold.nim b/rod/semfold.nim old mode 100644 new mode 100755 diff --git a/rod/semgnrc.nim b/rod/semgnrc.nim old mode 100644 new mode 100755 diff --git a/rod/seminst.nim b/rod/seminst.nim old mode 100644 new mode 100755 diff --git a/rod/semstmts.nim b/rod/semstmts.nim old mode 100644 new mode 100755 diff --git a/rod/semtempl.nim b/rod/semtempl.nim old mode 100644 new mode 100755 diff --git a/rod/semtypes.nim b/rod/semtypes.nim old mode 100644 new mode 100755 diff --git a/rod/sigmatch.nim b/rod/sigmatch.nim old mode 100644 new mode 100755 diff --git a/rod/syntaxes.nim b/rod/syntaxes.nim old mode 100644 new mode 100755 diff --git a/rod/tigen.nim b/rod/tigen.nim old mode 100644 new mode 100755 diff --git a/rod/transf.nim b/rod/transf.nim old mode 100644 new mode 100755 diff --git a/rod/transtmp.nim b/rod/transtmp.nim old mode 100644 new mode 100755 diff --git a/rod/trees.nim b/rod/trees.nim old mode 100644 new mode 100755 diff --git a/rod/treetab.nim b/rod/treetab.nim old mode 100644 new mode 100755 diff --git a/rod/types.nim b/rod/types.nim old mode 100644 new mode 100755 diff --git a/rod/webrepl.nim b/rod/webrepl.nim old mode 100644 new mode 100755 diff --git a/rod/wordrecg.nim b/rod/wordrecg.nim old mode 100644 new mode 100755 diff --git a/start.bat b/start.bat old mode 100644 new mode 100755 diff --git a/tests/accept/compile/mrecmod.nim b/tests/accept/compile/mrecmod.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/mrecmod2.nim b/tests/accept/compile/mrecmod2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/mvarious.nim b/tests/accept/compile/mvarious.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tarrindx.nim b/tests/accept/compile/tarrindx.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tassign.nim b/tests/accept/compile/tassign.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tccgen1.nim b/tests/accept/compile/tccgen1.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tcmdline.nim b/tests/accept/compile/tcmdline.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tcolors.nim b/tests/accept/compile/tcolors.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tconsteval.nim b/tests/accept/compile/tconsteval.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tconvert.nim b/tests/accept/compile/tconvert.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tdeprecated.nim b/tests/accept/compile/tdeprecated.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tdialogs.nim b/tests/accept/compile/tdialogs.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tdllvar.nim b/tests/accept/compile/tdllvar.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tdumpast.nim b/tests/accept/compile/tdumpast.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/techo.nim b/tests/accept/compile/techo.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tendian.nim b/tests/accept/compile/tendian.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tenum.nim b/tests/accept/compile/tenum.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tforwty.nim b/tests/accept/compile/tforwty.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tforwty2.nim b/tests/accept/compile/tforwty2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tgtk.nim b/tests/accept/compile/tgtk.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/thallo.nim b/tests/accept/compile/thallo.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tident.nim b/tests/accept/compile/tident.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tindent1.nim b/tests/accept/compile/tindent1.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tio.nim b/tests/accept/compile/tio.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/titer.nim b/tests/accept/compile/titer.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tlastmod.nim b/tests/accept/compile/tlastmod.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tlexer.nim b/tests/accept/compile/tlexer.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tlibs.nim b/tests/accept/compile/tlibs.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tloops.nim b/tests/accept/compile/tloops.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tmath.nim b/tests/accept/compile/tmath.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tnew.nim b/tests/accept/compile/tnew.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tnewlibs.nim b/tests/accept/compile/tnewlibs.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tnewsets.nim b/tests/accept/compile/tnewsets.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tnewuns.nim b/tests/accept/compile/tnewuns.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tobjcov.nim b/tests/accept/compile/tobjcov.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tobject2.nim b/tests/accept/compile/tobject2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tobjects.nim b/tests/accept/compile/tobjects.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/toptions.nim b/tests/accept/compile/toptions.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tos.nim b/tests/accept/compile/tos.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/toverprc.nim b/tests/accept/compile/toverprc.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tparedef.nim b/tests/accept/compile/tparedef.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tparscfg.nim b/tests/accept/compile/tparscfg.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tparsefloat.nim b/tests/accept/compile/tparsefloat.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tparsopt.nim b/tests/accept/compile/tparsopt.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tposix.nim b/tests/accept/compile/tposix.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tprep.nim b/tests/accept/compile/tprep.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tpush.nim b/tests/accept/compile/tpush.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tquicksort.nim b/tests/accept/compile/tquicksort.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tquit.nim b/tests/accept/compile/tquit.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tradix.nim b/tests/accept/compile/tradix.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/treadln.nim b/tests/accept/compile/treadln.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/treadx.nim b/tests/accept/compile/treadx.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/trecmod.nim b/tests/accept/compile/trecmod.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/trecmod2.nim b/tests/accept/compile/trecmod2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/trepr.nim b/tests/accept/compile/trepr.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tseq2.nim b/tests/accept/compile/tseq2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tseqcon2.nim b/tests/accept/compile/tseqcon2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tsizeof.nim b/tests/accept/compile/tsizeof.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tsockets.nim b/tests/accept/compile/tsockets.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tstrace.nim b/tests/accept/compile/tstrace.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tstrdesc.nim b/tests/accept/compile/tstrdesc.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tstrdist.nim b/tests/accept/compile/tstrdist.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tstreams.nim b/tests/accept/compile/tstreams.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tstrset.nim b/tests/accept/compile/tstrset.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tstrtabs.nim b/tests/accept/compile/tstrtabs.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/ttempl.nim b/tests/accept/compile/ttempl.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/ttempl3.nim b/tests/accept/compile/ttempl3.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/ttime.nim b/tests/accept/compile/ttime.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/ttuple1.nim b/tests/accept/compile/ttuple1.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/tvarious.nim b/tests/accept/compile/tvarious.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/twalker.nim b/tests/accept/compile/twalker.nim old mode 100644 new mode 100755 diff --git a/tests/accept/compile/typalias.nim b/tests/accept/compile/typalias.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/mambsys1.nim b/tests/accept/run/mambsys1.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/mambsys2.nim b/tests/accept/run/mambsys2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/mbind3.nim b/tests/accept/run/mbind3.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/minit.nim b/tests/accept/run/minit.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/spec.csv b/tests/accept/run/spec.csv old mode 100644 new mode 100755 diff --git a/tests/accept/run/tack.nim b/tests/accept/run/tack.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tambsym2.nim b/tests/accept/run/tambsym2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tambsys.nim b/tests/accept/run/tambsys.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tarray.nim b/tests/accept/run/tarray.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tarray2.nim b/tests/accept/run/tarray2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tassert.nim b/tests/accept/run/tassert.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tbind1.nim b/tests/accept/run/tbind1.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tbind3.nim b/tests/accept/run/tbind3.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tbintre2.nim b/tests/accept/run/tbintre2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tbintree.nim b/tests/accept/run/tbintree.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tbug511622.nim b/tests/accept/run/tbug511622.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tcasestm.nim b/tests/accept/run/tcasestm.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tclosure.nim b/tests/accept/run/tclosure.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tcnstseq.nim b/tests/accept/run/tcnstseq.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tconstr2.nim b/tests/accept/run/tconstr2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tcopy.nim b/tests/accept/run/tcopy.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tcurrncy.nim b/tests/accept/run/tcurrncy.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tfinally.nim b/tests/accept/run/tfinally.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tfloat1.nim b/tests/accept/run/tfloat1.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tfloat2.nim b/tests/accept/run/tfloat2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tformat.nim b/tests/accept/run/tformat.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/thintoff.nim b/tests/accept/run/thintoff.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tinit.nim b/tests/accept/run/tinit.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tints.nim b/tests/accept/run/tints.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tisopr.nim b/tests/accept/run/tisopr.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/titer2.nim b/tests/accept/run/titer2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/titer3.nim b/tests/accept/run/titer3.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/titer5.nim b/tests/accept/run/titer5.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tlowhigh.nim b/tests/accept/run/tlowhigh.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tmatrix.nim b/tests/accept/run/tmatrix.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tmultim1.nim b/tests/accept/run/tmultim1.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tmultim2.nim b/tests/accept/run/tmultim2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tnestif.nim b/tests/accept/run/tnestif.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tnestprc.nim b/tests/accept/run/tnestprc.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/toop1.nim b/tests/accept/run/toop1.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/topenarrayrepr.nim b/tests/accept/run/topenarrayrepr.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/topenlen.nim b/tests/accept/run/topenlen.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/toverflw.nim b/tests/accept/run/toverflw.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/toverl2.nim b/tests/accept/run/toverl2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/toverlop.nim b/tests/accept/run/toverlop.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/toverwr.nim b/tests/accept/run/toverwr.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tovfint.nim b/tests/accept/run/tovfint.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tpos.nim b/tests/accept/run/tpos.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tprintf.nim b/tests/accept/run/tprintf.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tprocvar.nim b/tests/accept/run/tprocvar.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tquotewords.nim b/tests/accept/run/tquotewords.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tregex.nim b/tests/accept/run/tregex.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/treguse.nim b/tests/accept/run/treguse.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tromans.nim b/tests/accept/run/tromans.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tseqcon.nim b/tests/accept/run/tseqcon.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tsets.nim b/tests/accept/run/tsets.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tsidee2.nim b/tests/accept/run/tsidee2.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tsidee3.nim b/tests/accept/run/tsidee3.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tsimmeth.nim b/tests/accept/run/tsimmeth.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tsplit.nim b/tests/accept/run/tsplit.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tstrange.nim b/tests/accept/run/tstrange.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tstrlits.nim b/tests/accept/run/tstrlits.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tstrutil.nim b/tests/accept/run/tstrutil.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tvardecl.nim b/tests/accept/run/tvardecl.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tvarnums.nim b/tests/accept/run/tvarnums.nim old mode 100644 new mode 100755 diff --git a/tests/accept/run/tvartup.nim b/tests/accept/run/tvartup.nim old mode 100644 new mode 100755 diff --git a/tests/ecmas.html b/tests/ecmas.html old mode 100644 new mode 100755 diff --git a/tests/ecmas.nim b/tests/ecmas.nim old mode 100644 new mode 100755 diff --git a/tests/gc/gcbench.nim b/tests/gc/gcbench.nim old mode 100644 new mode 100755 diff --git a/tests/gc/gctest.nim b/tests/gc/gctest.nim old mode 100644 new mode 100755 diff --git a/tests/readme.txt b/tests/readme.txt old mode 100644 new mode 100755 diff --git a/tests/rectest.nim b/tests/rectest.nim old mode 100644 new mode 100755 diff --git a/tests/reject/99bottles.nim b/tests/reject/99bottles.nim old mode 100644 new mode 100755 diff --git a/tests/reject/mambsym1.nim b/tests/reject/mambsym1.nim old mode 100644 new mode 100755 diff --git a/tests/reject/mambsym2.nim b/tests/reject/mambsym2.nim old mode 100644 new mode 100755 diff --git a/tests/reject/mbind4.nim b/tests/reject/mbind4.nim old mode 100644 new mode 100755 diff --git a/tests/reject/mnamspc1.nim b/tests/reject/mnamspc1.nim old mode 100644 new mode 100755 diff --git a/tests/reject/mnamspc2.nim b/tests/reject/mnamspc2.nim old mode 100644 new mode 100755 diff --git a/tests/reject/mopaque.nim b/tests/reject/mopaque.nim old mode 100644 new mode 100755 diff --git a/tests/reject/spec.csv b/tests/reject/spec.csv old mode 100644 new mode 100755 diff --git a/tests/reject/t99bott.nim b/tests/reject/t99bott.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tadrdisc.nim b/tests/reject/tadrdisc.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tambsym.nim b/tests/reject/tambsym.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tambsym3.nim b/tests/reject/tambsym3.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tatomic.nim b/tests/reject/tatomic.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tbind2.nim b/tests/reject/tbind2.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tbind4.nim b/tests/reject/tbind4.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tblock1.nim b/tests/reject/tblock1.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tconstr1.nim b/tests/reject/tconstr1.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tillrec.nim b/tests/reject/tillrec.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tinc.nim b/tests/reject/tinc.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tinout.nim b/tests/reject/tinout.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tinvalidnewseq.nim b/tests/reject/tinvalidnewseq.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tinvwhen.nim b/tests/reject/tinvwhen.nim old mode 100644 new mode 100755 diff --git a/tests/reject/titer4.nim b/tests/reject/titer4.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tnamspc.nim b/tests/reject/tnamspc.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tnoop.nim b/tests/reject/tnoop.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tnot.nim b/tests/reject/tnot.nim old mode 100644 new mode 100755 diff --git a/tests/reject/topaque.nim b/tests/reject/topaque.nim old mode 100644 new mode 100755 diff --git a/tests/reject/topena1.nim b/tests/reject/topena1.nim old mode 100644 new mode 100755 diff --git a/tests/reject/toverl.nim b/tests/reject/toverl.nim old mode 100644 new mode 100755 diff --git a/tests/reject/trawstr.nim b/tests/reject/trawstr.nim old mode 100644 new mode 100755 diff --git a/tests/reject/trecinca.nim b/tests/reject/trecinca.nim old mode 100644 new mode 100755 diff --git a/tests/reject/trecincb.nim b/tests/reject/trecincb.nim old mode 100644 new mode 100755 diff --git a/tests/reject/treciter.nim b/tests/reject/treciter.nim old mode 100644 new mode 100755 diff --git a/tests/reject/trectype.nim b/tests/reject/trectype.nim old mode 100644 new mode 100755 diff --git a/tests/reject/trefs.nim b/tests/reject/trefs.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tsidee1.nim b/tests/reject/tsidee1.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tsidee4.nim b/tests/reject/tsidee4.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tsimtych.nim b/tests/reject/tsimtych.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tstatret.nim b/tests/reject/tstatret.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tstmtexp.nim b/tests/reject/tstmtexp.nim old mode 100644 new mode 100755 diff --git a/tests/reject/ttempl2.nim b/tests/reject/ttempl2.nim old mode 100644 new mode 100755 diff --git a/tests/reject/tunderscores.nim b/tests/reject/tunderscores.nim old mode 100644 new mode 100755 diff --git a/tests/reject/typredef.nim b/tests/reject/typredef.nim old mode 100644 new mode 100755 diff --git a/tests/stckovfl.nim b/tests/stckovfl.nim old mode 100644 new mode 100755 diff --git a/tests/sunset.tmpl b/tests/sunset.tmpl old mode 100644 new mode 100755 diff --git a/tests/testdata/csvtest.csv b/tests/testdata/csvtest.csv old mode 100644 new mode 100755 diff --git a/tests/testdata/data.csv b/tests/testdata/data.csv old mode 100644 new mode 100755 diff --git a/tests/testdata/doc1.xml b/tests/testdata/doc1.xml old mode 100644 new mode 100755 diff --git a/tests/testdata/jsontest.json b/tests/testdata/jsontest.json old mode 100644 new mode 100755 diff --git a/tests/testdata/wildhtml.html b/tests/testdata/wildhtml.html old mode 100644 new mode 100755 diff --git a/tests/testdata/xmltest.html b/tests/testdata/xmltest.html old mode 100644 new mode 100755 diff --git a/tests/tester.nim b/tests/tester.nim old mode 100644 new mode 100755 diff --git a/tests/tnewlibs.cfg b/tests/tnewlibs.cfg old mode 100644 new mode 100755 diff --git a/tools/build.tmpl b/tools/build.tmpl old mode 100644 new mode 100755 diff --git a/tools/cmerge.nim b/tools/cmerge.nim old mode 100644 new mode 100755 diff --git a/tools/deinstall.tmpl b/tools/deinstall.tmpl old mode 100644 new mode 100755 diff --git a/tools/inno.tmpl b/tools/inno.tmpl old mode 100644 new mode 100755 diff --git a/tools/install.tmpl b/tools/install.tmpl old mode 100644 new mode 100755 diff --git a/tools/niminst.nim b/tools/niminst.nim old mode 100644 new mode 100755 diff --git a/tools/nimrepl.nim b/tools/nimrepl.nim old mode 100644 new mode 100755 diff --git a/tools/nimweb.nim b/tools/nimweb.nim old mode 100644 new mode 100755 diff --git a/tools/noprefix.nim b/tools/noprefix.nim old mode 100644 new mode 100755 diff --git a/tools/sunset.tmpl b/tools/sunset.tmpl old mode 100644 new mode 100755 diff --git a/tools/trimcc.nim b/tools/trimcc.nim old mode 100644 new mode 100755 diff --git a/web/community.txt b/web/community.txt old mode 100644 new mode 100755 diff --git a/web/documentation.txt b/web/documentation.txt old mode 100644 new mode 100755 diff --git a/web/download.txt b/web/download.txt old mode 100644 new mode 100755 diff --git a/web/index.txt b/web/index.txt old mode 100644 new mode 100755 diff --git a/web/links.txt b/web/links.txt old mode 100644 new mode 100755 diff --git a/web/news.txt b/web/news.txt old mode 100644 new mode 100755 index 7ac039e666..6ce9f7fcda --- a/web/news.txt +++ b/web/news.txt @@ -54,6 +54,7 @@ Additions `subscript overloading `_ for further information. - The documentation generator supports the ``.. raw:: html`` directive. +- The Pegs module supports back references via the notation ``$capture_index``. Changes affecting backwards compatibility diff --git a/web/nimrod.ini b/web/nimrod.ini old mode 100644 new mode 100755 diff --git a/web/question.txt b/web/question.txt old mode 100644 new mode 100755 diff --git a/web/snippets/snippet1.nim b/web/snippets/snippet1.nim old mode 100644 new mode 100755 diff --git a/web/ticker.txt b/web/ticker.txt old mode 100644 new mode 100755