1 A patch to Scintilla 2.29 containing our changes to Scintilla
2 (removing unused lexers and an updated marshallers file).
3 diff -Naur scintilla_orig/gtk/scintilla-marshal.c scintilla/gtk/scintilla-marshal.c
4 --- scintilla_orig/gtk/scintilla-marshal.c 2010-10-27 23:15:45.000000000 +0200
5 +++ scintilla/gtk/scintilla-marshal.c 2011-04-03 17:42:59.000000000 +0200
7 #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
8 #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
9 #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
10 -#define g_marshal_value_peek_enum(v) (v)->data[0].v_int
11 -#define g_marshal_value_peek_flags(v) (v)->data[0].v_uint
12 +#define g_marshal_value_peek_enum(v) (v)->data[0].v_long
13 +#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
14 #define g_marshal_value_peek_float(v) (v)->data[0].v_float
15 #define g_marshal_value_peek_double(v) (v)->data[0].v_double
16 #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
18 /* NONE:INT,POINTER (scintilla-marshal.list:1) */
20 scintilla_marshal_VOID__INT_POINTER (GClosure *closure,
21 - GValue *return_value,
22 + GValue *return_value G_GNUC_UNUSED,
24 const GValue *param_values,
25 - gpointer invocation_hint,
26 + gpointer invocation_hint G_GNUC_UNUSED,
27 gpointer marshal_data)
29 typedef void (*GMarshalFunc_VOID__INT_POINTER) (gpointer data1,
30 diff --git b/scintilla/src/Catalogue.cxx a/scintilla/src/Catalogue.cxx
31 index 41d5d54..70ce3bc 100644
32 --- scintilla/src/Catalogue.cxx
33 +++ scintilla/src/Catalogue.cxx
34 @@ -76,115 +76,48 @@ int Scintilla_LinkLexers() {
36 //++Autogenerated -- run scripts/LexGen.py to regenerate
37 //**\(\tLINK_LEXER(\*);\n\)
52 - LINK_LEXER(lmBlitzBasic);
53 - LINK_LEXER(lmBullant);
56 - LINK_LEXER(lmClwNoCase);
59 - LINK_LEXER(lmCoffeeScript);
62 - LINK_LEXER(lmCPPNoCase);
63 - LINK_LEXER(lmCsound);
70 - LINK_LEXER(lmEiffel);
71 - LINK_LEXER(lmEiffelkw);
73 - LINK_LEXER(lmErrorList);
74 - LINK_LEXER(lmESCRIPT);
76 - LINK_LEXER(lmFlagShip);
78 LINK_LEXER(lmFortran);
79 LINK_LEXER(lmFreeBasic);
81 - LINK_LEXER(lmGui4Cli);
82 LINK_LEXER(lmHaskell);
86 - LINK_LEXER(lmKVIrc);
89 - LINK_LEXER(lmLiterateHaskell);
93 - LINK_LEXER(lmMagikSF);
95 LINK_LEXER(lmMarkdown);
96 - LINK_LEXER(lmMatlab);
97 - LINK_LEXER(lmMETAPOST);
98 - LINK_LEXER(lmMMIXAL);
99 - LINK_LEXER(lmModula);
100 - LINK_LEXER(lmMSSQL);
101 - LINK_LEXER(lmMySQL);
102 - LINK_LEXER(lmNimrod);
103 - LINK_LEXER(lmNncrontab);
104 + // We use Octave instead of Matlab
107 LINK_LEXER(lmOctave);
108 - LINK_LEXER(lmOpal);
109 - LINK_LEXER(lmOScript);
110 LINK_LEXER(lmPascal);
113 - LINK_LEXER(lmPHPSCRIPT);
117 - LINK_LEXER(lmPowerPro);
118 LINK_LEXER(lmPowerShell);
119 - LINK_LEXER(lmProgress);
122 - LINK_LEXER(lmPureBasic);
123 LINK_LEXER(lmPython);
125 - LINK_LEXER(lmREBOL);
128 - LINK_LEXER(lmScriptol);
129 - LINK_LEXER(lmSmalltalk);
131 - LINK_LEXER(lmSorc);
132 - LINK_LEXER(lmSpecman);
133 - LINK_LEXER(lmSpice);
135 - LINK_LEXER(lmSTTXT);
136 - LINK_LEXER(lmTACL);
137 - LINK_LEXER(lmTADS3);
140 - LINK_LEXER(lmTCMD);
142 LINK_LEXER(lmTxt2tags);
144 - LINK_LEXER(lmVBScript);
145 LINK_LEXER(lmVerilog);
147 - LINK_LEXER(lmVisualProlog);