source: trunk/third/gtksourceview/README @ 21463

Revision 21463, 3.7 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21462, which included commits to RCS files with non-trunk default branches.
Line 
1General Information
2===================
3
4This is version 1.1.1 of GtkSourceView.
5
6GtkSourceView is a text widget that extends the standard gtk+ 2.x
7text widget GtkTextView.
8
9It improves GtkTextView by implementing syntax highlighting and other
10features typical of a source code editor.
11
12You can download the latest GtkSourceView tarball from the gnome ftp server:
13
14    ftp://ftp.gnome.org/pub/GNOME/sources/gtksourceview
15
16Discussion of GtkSourceView happens in the gnome-devtools@gnome.org
17mailing list.  You can subscribe and get further information here:
18
19    http://mail.gnome.org/mailman/listinfo/gnome-devtools
20
21
22Installation
23============
24
25GtkSourceView requires GTK+-2.4.x, libxml2 2.5.x and libgnomeprint 2.7.x.
26
27Simple install procedure:
28
29  % gzip -cd gtksourceview-1.1.1.tar.gz | tar xvf -    # unpack the sources
30  % cd gtksourceview-1.1.1                 # change to the toplevel directory
31  % ./configure                            # run the `configure' script
32  % make                                   # build gtksourceview
33  [ Become root if necessary ]
34  % make install                           # install gtksourceview
35
36See the file 'INSTALL' for more detailed information.
37
38
39Language spec files format
40==========================
41
42The Document Type Definition for the XML format used in .lang files is
43located at gtksourceview/language-specs/language.dtd.
44
45The format for regular expressions in the .lang files is the POSIX
46Extended Regular Expression Syntax, plus GNU operators (word operators
47and buffer operators).
48
49There is a limit of 250 keywords in <keyword-list> elements.
50Internally keyword lists generates a branched regular expression
51(i.e. "a|b|c|...") and a bug in GNU libc produces stack corruption
52(hence crashes the application) for more than 250 or so branches.
53
54Longer lists will then be truncated to 250 keywords.  To work around
55this, split your keyword list into smaller ones.
56
57
58How to report bugs
59==================
60
61Bugs should be reported to the GNOME bug tracking system.
62(http://bugzilla.gnome.org, product gtksourceview).
63You will need to create an account for yourself.
64
65You can also report bugs using the GNOME program bug-buddy.
66 
67In the bug report please include:
68 
69* Information about your system. For instance:
70
71   - What operating system and version
72   - What version of X
73   - What version of the gtk+, glib and gnome libraries
74   - For Linux, what version of the C library
75
76  And anything else you think is relevant.
77
78* How to reproduce the bug.
79
80* If the bug was a crash, the exact text that was printed out when the
81  crash occurred.
82
83* Further information such as stack traces may be useful, but is not
84  necessary. If you do send a stack trace, and the error is an X error,
85  it will be more useful if the stacktrace is produced running the test
86  program with the --sync command line option.
87
88Please check the bugzilla pages for the list of known bugs.
89
90http://bugzilla.gnome.org/buglist.cgi?product=gtksourceview&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED
91
92
93Patches
94=======
95
96Patches should also be submitted to bugzilla.gnome.org. If the patch
97fixes an existing bug, add the patch as an attachment to that bug
98report.
99
100Otherwise, enter a new bug report that describes the problem the patch
101fixes, and attach it to that bug report.
102
103Bug reports containing patches should include the PATCH keyword in their
104keyword fields.
105 
106Patches should be in unified diff form (use the -up options of GNU
107diff and cvs) and should follow the coding style described in the
108HACKING file.
109
110If you are interested in helping us to develop GtkSourceView, please see the
111file 'MAINTAINERS' for contact information and/or send a message to
112the GtkSourceView mailing list. See also the file 'HACKING' for
113information about our CVS guidelines and the file 'TODO' for a list of
114pending tasks.
115
116
117
118The GtkSourceView team.
Note: See TracBrowser for help on using the repository browser.