1 | 2000-09-30 Martin Baulig <baulig@suse.de> |
---|
2 | |
---|
3 | * libIDL.pc.in: Provide pkg-config script. |
---|
4 | |
---|
5 | * configure.in: Create libIDL.pc from libIDL.pc.in. |
---|
6 | * Makefile.am (pkgconfig_DATA): Install the libIDL.pc |
---|
7 | script in `$(libdir)/pkgconfig'. |
---|
8 | |
---|
9 | 2000-07-14 Michael Meeks <michael@helixcode.com> |
---|
10 | |
---|
11 | * parser.y (positive_int_const): incr. ref count. |
---|
12 | |
---|
13 | 1999-10-17 Andrew T. Veliath <andrewtv@usa.net> |
---|
14 | |
---|
15 | * Update version to 0.6.8. |
---|
16 | |
---|
17 | 1999-06-09 Andrew T. Veliath <andrewtv@usa.net> |
---|
18 | |
---|
19 | * lexer.l: |
---|
20 | * util.[ch]: Integrate Macintosh port changes from Netscape. |
---|
21 | |
---|
22 | * IDL.h.new.in, parser.y, util.c: Deprecate noscript support. |
---|
23 | |
---|
24 | * lexer.l (tokreturn): Remove deprecated ``noscript'' keyword. |
---|
25 | |
---|
26 | 1999-05-30 Andrew T. Veliath <andrewtv@usa.net> |
---|
27 | |
---|
28 | * lexer.l: Use wildcard start condition extension, since we |
---|
29 | require flex. |
---|
30 | |
---|
31 | 1999-05-05 Andrew T. Veliath <andrewtv@usa.net> |
---|
32 | |
---|
33 | * lexer.l: Strip /* */ comments as well, to make life easier for |
---|
34 | alternative input methods. |
---|
35 | |
---|
36 | 1999-04-24 Andrew T. Veliath <andrewtv@usa.net> |
---|
37 | |
---|
38 | * util.c (IDL_parse_filename): |
---|
39 | (IDL_parse_filename_with_input): Call __IDL_parser_reset after |
---|
40 | parse. |
---|
41 | |
---|
42 | * configure.in: Print a warning if flex isn't installed (one can |
---|
43 | still compile the source distributed flex scanner, however). |
---|
44 | |
---|
45 | * lexer.l (__IDL_lex_cleanup): Call YY_NEW_FILE. Because of this |
---|
46 | we now require flex, this is not in standard lex. |
---|
47 | |
---|
48 | * parser.y (__IDL_parser_reset): New function; call yyclearin. |
---|
49 | |
---|
50 | 1999-04-12 Andrew T. Veliath <andrewtv@usa.net> |
---|
51 | |
---|
52 | * IDL.h.new.in (IDLF_INHIBIT_INCLUDES): New parse flag; |
---|
53 | automatically inhibits included files. |
---|
54 | |
---|
55 | * util.h (IDLFP_IN_INCLUDES): Internal flag checked when we are |
---|
56 | inside an include file. |
---|
57 | |
---|
58 | * parser.y (assign_declspec): Wrap assignment, and if we are |
---|
59 | inside an include file check the inhibit include flag. |
---|
60 | (IDL_file_set): Add detection of include files here. |
---|
61 | |
---|
62 | 1999-04-01 Andrew T. Veliath <andrewtv@usa.net> |
---|
63 | |
---|
64 | * IDL.h.new.in (IDL_tree_remove_inhibits): Move prototype here |
---|
65 | from util.h. |
---|
66 | |
---|
67 | * util.c (IDL_tree_optimize): Skip inhibit removal if |
---|
68 | the IDLF_INHIBIT_TAG_ONLY parse flag is specified. |
---|
69 | |
---|
70 | 1999-03-29 Andrew T. Veliath <andrewtv@usa.net> |
---|
71 | |
---|
72 | * Update version to 0.6.6. |
---|
73 | |
---|
74 | * util.c (load_inhibits): Don't recurse inhibited nodes. |
---|
75 | |
---|
76 | 1999-03-23 Andrew T. Veliath <andrewtv@usa.net> |
---|
77 | |
---|
78 | * Update version to 0.6.4. |
---|
79 | |
---|
80 | * lexer.l: Allow more whitespace in __declspec, and generate error |
---|
81 | if we see a code fragment and the syntax isn't enabled. |
---|
82 | |
---|
83 | * parser.y: Much improved error messages about illegal types in |
---|
84 | attributes, operations and parameters. Also, explicit errors |
---|
85 | added for struct, union and enum definitions with missing |
---|
86 | identifiers. |
---|
87 | |
---|
88 | * (IDLF_PROPERTIES): New syntax flag; properties can be used |
---|
89 | independently of XPIDL. |
---|
90 | |
---|
91 | * IDL.h.new.in, util.h: Use G_GNUC_PRINTF on warning and error |
---|
92 | functions. |
---|
93 | |
---|
94 | * util.c: Rework IDL_tree_to_IDL logic a bit to accept more node |
---|
95 | types, even literals. |
---|
96 | |
---|
97 | * IDL.h.new.in: Add a step variable to IDL_tree_func_data. This |
---|
98 | is 0 in the first call, and increments for every call thereafter |
---|
99 | (currently only from 0 to 1). |
---|
100 | |
---|
101 | 1999-03-22 Andrew T. Veliath <andrewtv@usa.net> |
---|
102 | |
---|
103 | * util.c (IDL_tree_error): |
---|
104 | (IDL_tree_warning): If node is NULL, omit file and line number |
---|
105 | information gracefully. |
---|
106 | |
---|
107 | * parser.y: Error out with better message if one tries to use a |
---|
108 | void type in an attribute or parameter. |
---|
109 | |
---|
110 | * util.c (IDL_tree_to_IDL*): If IDL_ns is NULL, output flag |
---|
111 | IDLF_OUTPUT_NO_QUALIFY_IDENTS is enabled automatically. |
---|
112 | |
---|
113 | * IDL.h.new.in: Added a flags and data field to the end of the |
---|
114 | IDL_tree node type, for application use. The application can |
---|
115 | assume these will be initialized to zero. Should be backward |
---|
116 | compatible with apps that don't touch it. |
---|
117 | |
---|
118 | * util.c (IDL_emit_IDL_type_pre): For sequences output proper |
---|
119 | typespec. |
---|
120 | |
---|
121 | * IDL.h.new.in, util.c (IDL_tree_to_IDL_string): New function; |
---|
122 | just like IDL_tree_to_IDL but returns a GString instead of writing |
---|
123 | to a file. Useful for IDL_tree_{error,warning}. |
---|
124 | |
---|
125 | * IDL.h.new.in: Change functions that return glib heap strings to |
---|
126 | return gchar instead of char. |
---|
127 | |
---|
128 | * Makefile.am: Add stamp-parser to EXTRA_DIST so one isn't forced |
---|
129 | to regenerate parser files. Tweak stamp rule to handle a time |
---|
130 | change. |
---|
131 | |
---|
132 | * lexer.l: Strip more whitespace from cpp status. Rework start |
---|
133 | conditions to be compatible with standard lex (messier but |
---|
134 | functionally equivalent). A flex generated scanner is the |
---|
135 | preferred method, however. |
---|
136 | |
---|
137 | 1999-03-12 Nuno Ferreira <nmrf@rnl.ist.utl.pt> |
---|
138 | |
---|
139 | * Makefile.am: Make parser files generation work when using |
---|
140 | AM_MAKEFLAGS=-j4. |
---|
141 | |
---|
142 | 1999-03-19 Raja R Harinath <harinath@cs.umn.edu> |
---|
143 | |
---|
144 | * Makefile.am (IDL.h): Add rule to autoupdate IDL.h. |
---|
145 | * acinclude.m4 (AC_UPDATE_IF_CHANGED): Don't remove intermediate |
---|
146 | file. This prevents unnecessary rebuilding of IDL.h.new. |
---|
147 | |
---|
148 | 1999-03-18 Andrew T. Veliath <andrewtv@usa.net> |
---|
149 | |
---|
150 | * lexer.l: Handle independent code fragments. |
---|
151 | |
---|
152 | * IDL.h.new.in (IDLF_CODEFRAGS): New flag; code frags can be used |
---|
153 | independently of XPIDL. |
---|
154 | |
---|
155 | 1999-03-09 Andrew T. Veliath <andrewtv@usa.net> |
---|
156 | |
---|
157 | * Update version to 0.6.3. |
---|
158 | |
---|
159 | * util.c (IDL_emit_IDL_type_dcl_pre): |
---|
160 | (IDL_emit_IDL_type_pre): |
---|
161 | (IDL_emit_IDL_native_pre): Emit props. |
---|
162 | |
---|
163 | * parser.y: Add XPIDL properties for type declarations, native and |
---|
164 | constructed types. |
---|
165 | |
---|
166 | 1999-03-08 Andrew T. Veliath <andrewtv@usa.net> |
---|
167 | |
---|
168 | * Update version to 0.6.2. |
---|
169 | |
---|
170 | * util.c (IDL_tree_process_forward_dcls): No longer remove |
---|
171 | unresolved forward declaration nodes. If IDLF_PEDANTIC isn't |
---|
172 | specified, unresolved forwards will be flagged as warnings instead |
---|
173 | of errors. |
---|
174 | |
---|
175 | * IDL.h.new.in: Improve hack for GINT64's conversion type until |
---|
176 | glib gets smarter about this. |
---|
177 | |
---|
178 | (IDLF_PEDANTIC): New parse flag; turns some warnings into errors. |
---|
179 | |
---|
180 | 1999-03-06 Andrew T. Veliath <andrewtv@usa.net> |
---|
181 | |
---|
182 | * IDL.h.new.in: Change IDLF_RESOLVE_FORWARDS to |
---|
183 | IDLF_IGNORE_FORWARDS. CORBA 2.2 requires that the interface |
---|
184 | definition be listed in the file, so I would rather that the |
---|
185 | default be stricter to the CORBA 2.2 standard. If you don't want |
---|
186 | forward declaration resolution, use this flag. |
---|
187 | |
---|
188 | 1999-03-04 Andrew T. Veliath <andrewtv@usa.net> |
---|
189 | |
---|
190 | * Update version to 0.6.1. |
---|
191 | |
---|
192 | 1999-03-03 Andrew T. Veliath <andrewtv@usa.net> |
---|
193 | |
---|
194 | * util.c (IDL_tree_optimize): Understand |
---|
195 | IDLF_RESOLVE_FORWARDS. libIDL will only resolve them if told now. |
---|
196 | |
---|
197 | * IDL.h.new.in (IDLF_RESOLVE_FORWARDS): New flag. |
---|
198 | |
---|
199 | 1999-02-23 Andrew T. Veliath <andrewtv@usa.net> |
---|
200 | |
---|
201 | * Update version to 0.6.0. |
---|
202 | |
---|
203 | * Assign many node file and line locations to their identifier. |
---|
204 | |
---|
205 | * parser.y: Improve module and interface identifier conflict error |
---|
206 | message. |
---|
207 | |
---|
208 | * IDL.h.new.in: Improved version codes. |
---|
209 | |
---|
210 | * parser.y: Allow inhibits on codefrags, operations and |
---|
211 | attributes. |
---|
212 | |
---|
213 | 1999-02-22 Andrew T. Veliath <andrewtv@usa.net> |
---|
214 | |
---|
215 | * IDL_tree_func tree parameter changed to a structure, which |
---|
216 | contains up paths of the traversal and the real up path (in the |
---|
217 | case of identifiers referenced elsewhere after definition). The |
---|
218 | original parameter is now in the tree member. IDL_tree_to_IDL |
---|
219 | rewritten to automatically determine scoping using this |
---|
220 | information, instead of the previous scope passing. This should |
---|
221 | make any future additions require fewer source changes. |
---|
222 | |
---|
223 | * Improvements to structure and union handling, IDL_tree_to_IDL, |
---|
224 | and IDL_tree_walk. |
---|
225 | |
---|
226 | 1999-02-21 Andrew T. Veliath <andrewtv@usa.net> |
---|
227 | |
---|
228 | * Fully convert to glib memory routines. |
---|
229 | |
---|
230 | 1999-02-19 Andrew T. Veliath <andrewtv@usa.net> |
---|
231 | |
---|
232 | * parser.y: Properties for parameters moved before direction |
---|
233 | keyword. |
---|
234 | |
---|
235 | * Configuration and versioning system overhauled. |
---|
236 | |
---|
237 | 1999-02-18 Andrew T. Veliath <andrewtv@usa.net> |
---|
238 | |
---|
239 | * Update version to 0.5.10. |
---|
240 | |
---|
241 | * util.c (IDL_tree_properties_copy): New function. |
---|
242 | (IDL_parse_filename_with_input): Mostly ignore |
---|
243 | HAVE_CPP_PIPE_STDIN. |
---|
244 | |
---|
245 | * parser.y: Make codefrags work inside interfaces (only at outer |
---|
246 | level). Allow properties for operations and attributes, and change |
---|
247 | all XPIDL node properties to reside on the ident node. |
---|
248 | |
---|
249 | 1999-02-12 Andrew T. Veliath <andrewtv@usa.net> |
---|
250 | |
---|
251 | * parser.y: Allow forward decls to be suppressed as well. |
---|
252 | |
---|
253 | * util.c (yyerrorl, yywarningl): Only call g_basename if we aren't |
---|
254 | piping input from CPP. |
---|
255 | |
---|
256 | 1999-02-11 Andrew T. Veliath <andrewtv@usa.net> |
---|
257 | |
---|
258 | * Update version to 0.5.9. |
---|
259 | |
---|
260 | 1999-02-09 Tom Tromey <tromey@cygnus.com> |
---|
261 | |
---|
262 | * libIDL.texi: Use @pxref and not @xref in parentheses. |
---|
263 | |
---|
264 | 1999-02-06 Andrew T. Veliath <andrewtv@usa.net> |
---|
265 | |
---|
266 | * parser.y: Detect recursive structure members. |
---|
267 | |
---|
268 | * util.c (IDL_parse_filename_with_input): Assign filename hash |
---|
269 | before first call to callback. |
---|
270 | |
---|
271 | * parser.y: Allow const_dcl, type_dcl and except_dcl to also be |
---|
272 | inhibited. |
---|
273 | |
---|
274 | * util.c (load_inhibits): Allow any discriminator to be inhibited. |
---|
275 | |
---|
276 | 1999-01-02 Jeff Garzik <jgarzik@pobox.com> |
---|
277 | |
---|
278 | * util.c: |
---|
279 | s/sprintf/g_snprintf/ |
---|
280 | s/vsprintf/g_strdup_vprintf/ |
---|
281 | Spaced out some code for readability. |
---|
282 | |
---|
283 | 1999-01-02 Raffaele Sena <raff@aromatic.com> via Russell Nelson <nelson@crynwr.com> |
---|
284 | |
---|
285 | * Fix to autogen.sh for build directory different from package |
---|
286 | top directory. |
---|
287 | |
---|
288 | 1998-12-16 Andrew T. Veliath <andrewtv@usa.net> |
---|
289 | |
---|
290 | * Update version to 0.5.8 |
---|
291 | |
---|
292 | * util.c (IDL_emit_IDL_ident): Use IDL_ns_scope_levels_from_here |
---|
293 | and parent from callback to automatically determine the minimal |
---|
294 | necessary scoping for the identifier; this should allow much more |
---|
295 | IDL from IDL_tree_to_IDL to be fed back unchanged. |
---|
296 | (IDL_tree_get_scope): New function. |
---|
297 | (IDL_tree_to_IDL): Updated to also take an IDL_ns parameter. Use |
---|
298 | G_GNUC_PRINTF for data output function. Add new functions to |
---|
299 | handle XPIDL property output for IDL generation. |
---|
300 | |
---|
301 | * IDL.h, ns.c (IDL_ns_scope_levels_from_here): New function, |
---|
302 | determines the minimal level of scoping to prepend to a identifier |
---|
303 | to qualify it properly, from a different scope. |
---|
304 | |
---|
305 | * IDL_tree_func changed to include parent, which can differ from |
---|
306 | the node parent link. |
---|
307 | |
---|
308 | 1998-12-15 Andrew T. Veliath <andrewtv@usa.net> |
---|
309 | |
---|
310 | * (IDL_tree_to_IDL): New public function. Not yet fully |
---|
311 | implemented, but most stuff will work. Add a call from tstidl.c. |
---|
312 | (IDL_tree_walk): New public function; more generalized version of |
---|
313 | IDL_tree_walk_in_order. |
---|
314 | |
---|
315 | 1998-12-05 Andrew T. Veliath <andrewtv@usa.net> |
---|
316 | |
---|
317 | * tstidl.c: Add example of IDL_tree_error usage. |
---|
318 | |
---|
319 | * IDL.h, ns.c, util.c: Move __IDL_filename_hash to IDL_ns |
---|
320 | structure. Rename IDL_property... to IDL_tree_property... Make |
---|
321 | IDL_tree_get_node_info public. |
---|
322 | |
---|
323 | * Change private yyerrornv, yywarningnv to public IDL_tree_error |
---|
324 | and IDL_tree_warning. |
---|
325 | |
---|
326 | * tstidl.c, ns.c: Provide example of local parameter declaration |
---|
327 | namespace lookup from parameter attribute property, and modify NS |
---|
328 | assertions to make it more useful outside of parsing. |
---|
329 | |
---|
330 | * IDL.h, parser.y, lexer.l, util.c, tstidl.c: Turn interface |
---|
331 | properties into extended node properties for XPIDL (for any node). |
---|
332 | IDL_interface_get_property -=> IDL_property_get. Add |
---|
333 | IDL_property_set, IDL_property_remove. Add a potential property |
---|
334 | list between the parameter attribute and the type. Allow |
---|
335 | underscores in property keys. |
---|
336 | |
---|
337 | 1998-12-04 Andrew T. Veliath <andrewtv@usa.net> |
---|
338 | |
---|
339 | * IDL.h (IDL_NODE_IS_TYPE): Add macro. |
---|
340 | |
---|
341 | * lexer.l, IDL.h, util.c: Add IDL_CODEFRAG type, for XPIDL. |
---|
342 | |
---|
343 | * parser.y, IDL.h, util.c: Integrate XPIDL varargs support into |
---|
344 | parameter_dcls, and remove (now unneeded) VARARGS node type. |
---|
345 | |
---|
346 | 1998-12-03 Andrew T. Veliath <andrewtv@usa.net> |
---|
347 | |
---|
348 | * parser.y: Add IDL_inhibit_push, IDL_inhibit_pop, |
---|
349 | IDL_inhibit_get, IDL_file_set and IDL_file_get wrapper functions. |
---|
350 | |
---|
351 | 1998-12-01 Andrew T. Veliath <andrewtv@usa.net> |
---|
352 | |
---|
353 | * parser.y, lexer.l, util.c, IDL.h: Allow boolean XPIDL |
---|
354 | properties, which are inserted with an empty string. Add |
---|
355 | recognition of "noscript" keyword when XPIDL syntax is enabled. |
---|
356 | Add syntactical recognition for "native mytype (PRThread *)" in |
---|
357 | XPIDL mode (i.e., where `PRThread *' can be anything). |
---|
358 | |
---|
359 | 1998-11-30 Andrew T. Veliath <andrewtv@usa.net> |
---|
360 | |
---|
361 | * Interface infotag list turned into a case-insensitive property |
---|
362 | hash table with improved parsing. If an IID is provided in the |
---|
363 | property list, IDL_interface_get_property (interface, "IID") |
---|
364 | should provide the IID, for instance (without the parens). |
---|
365 | Properties can be any identifier (value) item, separated by commas |
---|
366 | inside square brackets. |
---|
367 | |
---|
368 | * Add per-filename state information. |
---|
369 | |
---|
370 | * #pragma inhibit push/pop added. The push operation will |
---|
371 | increment a counter, while the pop operation decrements it. If |
---|
372 | the counter is greater than zero, any module or interface declared |
---|
373 | during that time will be inhibited. |
---|
374 | |
---|
375 | * Made XPIDL interface properties a list, and moved before the |
---|
376 | interface keyword. |
---|
377 | |
---|
378 | * Internal flag state added. |
---|
379 | |
---|
380 | 1998-11-29 Andrew T. Veliath <andrewtv@usa.net> |
---|
381 | |
---|
382 | * util.c (IDL_tree_process_forward_dcls): |
---|
383 | (IDL_tree_remove_inhibits): |
---|
384 | (IDL_tree_remove_empty_modules): Listen to IDLF_VERBOSE. |
---|
385 | |
---|
386 | * IDL.h: Add note to IDL_tree_type explaining how the enumerator |
---|
387 | ordering is subject to change, and order should not be hardcoded |
---|
388 | into programs (alternative is suggested). Separate parse flags |
---|
389 | into general and syntax extension parse flags, with the latter |
---|
390 | starting at bit sixteen. IDLF_VERBOSE: new parse flag. |
---|
391 | |
---|
392 | 1998-11-28 Andrew T. Veliath <andrewtv@usa.net> |
---|
393 | |
---|
394 | * lexer.l, parser.y, util.c, IDL.h: Change iid_ident to |
---|
395 | infotag_ident (TOK_IID_IDENT -> TOK_INFOTAG), which is more unique |
---|
396 | in scanning, and slightly more general. |
---|
397 | |
---|
398 | * util.c (IDL_tree_free): Update for interface iid, and varargs. |
---|
399 | (IDL_tree_walk_in_order): Same. |
---|
400 | (IDL_type_varargs_new): New function. |
---|
401 | |
---|
402 | * Makefile.am: Add G_LOG_DOMAIN for libIDL. |
---|
403 | |
---|
404 | * lexer.l: Add XPIDL conditional token scan for TOK_VARARGS |
---|
405 | (...). Add token scan for iid_ident, which is an extended version |
---|
406 | of a standard IDL identifier, for XPIDL IIDs. |
---|
407 | |
---|
408 | * parser.y: Add XPIDL IID interface tagging |
---|
409 | support. (interface_iid) New production, update (interface) to |
---|
410 | handle it. Generate error if XPIDL syntax is not enabled and an |
---|
411 | IID is provided. New token, TOK_IID_IDENT, iid_ident rule. |
---|
412 | |
---|
413 | * lexer.l: Only recognize TypeCode when IDLF_TYPECODES syntax |
---|
414 | flag is present. |
---|
415 | |
---|
416 | * IDL.h (IDLF_TYPECODES): New flag; IDLF_TYPECODES. New type |
---|
417 | IDLN_TYPE_VARARGS, eventually for use with XPIDL. |
---|
418 | |
---|
419 | 1998-11-27 Andrew T. Veliath <andrewtv@usa.net> |
---|
420 | |
---|
421 | * libIDL.def: New file. |
---|
422 | |
---|
423 | * util.h (alloca): Define if compiling for Win32. |
---|
424 | |
---|
425 | * Makefile.am (MAINTAINERCLEANFILES): Change to maintainer clean |
---|
426 | from dist clean for parser.c, lexer.c. It's nice to have the |
---|
427 | generated parsers around from flex and bison, especially for |
---|
428 | Win32. |
---|
429 | |
---|
430 | * util.c (IDL_parse_filename): Don't use access under Win32. |
---|
431 | IDL_EXPORT __IDL_check_type_casts. |
---|
432 | |
---|
433 | * IDL.h (IDL_IMPORT): Add definitions required for Win32. |
---|
434 | |
---|
435 | * Makefile.msc: |
---|
436 | README.win32: New files. |
---|
437 | |
---|
438 | * Makefile.am: Define YYERROR_VERBOSE for slightly better messages |
---|
439 | in unhandled error situations. |
---|
440 | |
---|
441 | 1998-11-20 Andrew T. Veliath <andrewtv@usa.net> |
---|
442 | |
---|
443 | * tstidl.c (print_ident_comments): Print out identifiers and any |
---|
444 | comments. |
---|
445 | |
---|
446 | * util.c (IDL_parse_filename): Init __IDL_new_ident_comments, then |
---|
447 | free any remaining on return from parsing. Same for |
---|
448 | IDL_parse_filename_with_input. |
---|
449 | (IDL_tree_free_real): Free comments of identifier. |
---|
450 | |
---|
451 | * parser.y (IDL_queue_new_ident_comment): New function. |
---|
452 | ns_new_ident, cur_ns_new_or_prev_ident: Assign comments to the |
---|
453 | newly created identifier if they exist. This function, called |
---|
454 | from the input callback will queue comments to be assigned to the |
---|
455 | next newly created identifier (queue order is maintained, and |
---|
456 | stored in the comments list in the identifier node). |
---|
457 | |
---|
458 | * IDL.h: Add comments list to IDL_IDENT. |
---|
459 | |
---|
460 | 1998-11-19 Andrew T. Veliath <andrewtv@usa.net> |
---|
461 | |
---|
462 | * tstidl.c (my_input_cb): Provide example of alternate input method. |
---|
463 | |
---|
464 | * lexer.l (YY_INPUT): Allow stream input from user defined |
---|
465 | callback. (__IDL_lex_init): Set __IDL_inputcb to NULL. |
---|
466 | |
---|
467 | * util.c, util.h: Add variables for input callback. |
---|
468 | (IDL_parse_filename_with_input): New function. |
---|
469 | |
---|
470 | * IDL.h: Add IDL_input_callback, IDL_input_reason, IDL_input_data. |
---|
471 | (IDL_parse_filename_with_input): Add prototype. |
---|
472 | |
---|
473 | * lexer.l: Add XPIDL inclusive start condition. Activate |
---|
474 | condition when IDLF_XPIDL is specified in the parse flags before |
---|
475 | scanning. |
---|
476 | |
---|
477 | 1998-11-16 Andrew T. Veliath <andrewtv@usa.net> |
---|
478 | |
---|
479 | * lexer.l: Had b10_int and b10_uint reversed. |
---|
480 | |
---|
481 | * tstidl.c (print_const_dcls): Update for IDL_LL. |
---|
482 | |
---|
483 | * lexer.l: Use new IDL_LL constant. |
---|
484 | (YY_INPUT): Use this now for testing. This will eventually be |
---|
485 | used for cpp input override capability. |
---|
486 | |
---|
487 | * IDL.h (IDLF_XPIDL): New parse flag, for eventual XPIDL support. |
---|
488 | (IDL_LL): Replaces old IDL_*_FMT defines. Use this in place of |
---|
489 | the conversion operator instead of the entire % construct. Rename |
---|
490 | IDL_callback to IDL_msg_callback. Note: glib currently doesn't |
---|
491 | tell me what conversion specifier to use for GINT64, so this may |
---|
492 | currently be troublesome on some platforms (it had to be changed |
---|
493 | since the hack that was in place no longer works). |
---|
494 | |
---|
495 | * Makefile.am, configure.in: Bump version number to 0.5.3. |
---|
496 | |
---|
497 | 1998-10-25 Andrew Veliath <andrewtv@usa.net> |
---|
498 | |
---|
499 | * Update version to 0.5.2 |
---|
500 | |
---|
501 | * ns.c (IDL_ns_load_idents_to_tables): Initialize |
---|
502 | struct insert_heap_cb_data just before use. |
---|
503 | |
---|
504 | 1998-10-20 Andrew Veliath <andrewtv@usa.net> |
---|
505 | |
---|
506 | * util.c (IDL_parse_filename): Try to make #includes behave more |
---|
507 | rationally when source IDL file is not in the current directory. |
---|
508 | |
---|
509 | 1998-10-14 Andrew Veliath <andrewtv@usa.net> |
---|
510 | |
---|
511 | * parser.y (IDL_resolve_const_exp): Allow return of enumerated |
---|
512 | identifiers. Trying to use an enumeration in an arithmetic |
---|
513 | expression is disallowed. |
---|
514 | |
---|
515 | 1998-10-09 Andrew Veliath <andrewtv@usa.net> |
---|
516 | |
---|
517 | * parser.y: (positive_int_const) Improve errors and warnings for |
---|
518 | nonsensical values. |
---|
519 | |
---|
520 | 1998-10-08 Andrew Veliath <andrewtv@usa.net> |
---|
521 | |
---|
522 | * IDL.h (IDLF_NO_EVAL_CONST): New flag, obsoletes IDLF_EVAL_CONST, |
---|
523 | which has been removed. The default behavior is now to evaluate |
---|
524 | constant expressions. |
---|
525 | |
---|
526 | * IDL.h, parser.y (IDL_resolve_const_exp): New function. |
---|
527 | positive_int_const changed to attempt resolution of expression to |
---|
528 | an integral value. primary_expr will attempt resolution of scoped |
---|
529 | names, so constant evaluation is now much improved. An |
---|
530 | IDL_NODE_IS_LITERAL is also now in IDL.h. |
---|
531 | |
---|
532 | Thu Aug 27 10:52:41 1998 Andrew Veliath <andrewtv@usa.net> |
---|
533 | |
---|
534 | * Update version to 0.5.0. |
---|
535 | |
---|
536 | * Updates to libIDL.texi, and renable in Makefile.am. |
---|
537 | |
---|
538 | * Integrate default maximum warning level into IDL_parse_filename. |
---|
539 | |
---|
540 | Thu Aug 27 03:30:44 1998 Andrew Veliath <andrewtv@usa.net> |
---|
541 | |
---|
542 | * parser.y: Generate error if one tries to inherit from the same |
---|
543 | interface more than once. Also use IDL_ns_ident_to_qstring to |
---|
544 | give more concise identifiers in error messages. |
---|
545 | |
---|
546 | Thu Aug 27 01:08:56 1998 Andrew Veliath <andrewtv@usa.net> |
---|
547 | |
---|
548 | * IDL.h: Removed IDL_TRUE and IDL_FALSE, so we can just use the |
---|
549 | glib TRUE and FALSE. References switched... |
---|
550 | |
---|
551 | * util.c (IDL_tree_walk_in_order): (...pre_order changed to the |
---|
552 | more accurate ...in_order). Behavior change, return value is now |
---|
553 | void, and returning TRUE from the IDL_tree_func means traverse |
---|
554 | this node, and FALSE means don't traverse this node, instead of |
---|
555 | the previous return FALSE and stop traversal all together. This |
---|
556 | is much more useful for this context, I think. |
---|
557 | |
---|
558 | Wed Aug 26 01:48:12 1998 Andrew Veliath <andrewtv@usa.net> |
---|
559 | |
---|
560 | * util.c (IDL_tree_process_forward_dcls), |
---|
561 | (IDL_tree_remove_inhibits), |
---|
562 | (IDL_tree_remove_empty_modules): Remove debugging messages. |
---|
563 | |
---|
564 | * util.c (IDL_parse_filename): Only run optimization if tree is |
---|
565 | non-NULL, and improve useless file message. |
---|
566 | |
---|
567 | * parser.y: Complete previous declaration context error messages. |
---|
568 | |
---|
569 | 1998-08-25 Andrew Veliath <andrewtv@usa.net> |
---|
570 | |
---|
571 | * Update libIDL version to 0.4.0. |
---|
572 | |
---|
573 | * Update font lock keywords in README, added support for |
---|
574 | __declspec. |
---|
575 | |
---|
576 | * Implementation of IDL_tree_free for IDLN_GENTREE hashes in |
---|
577 | place. |
---|
578 | |
---|
579 | * Makefile.am: Change libtool version to 3:2:3. |
---|
580 | |
---|
581 | * parser.y, IDL.h: Changes for global ref counting. |
---|
582 | |
---|
583 | * util.c (IDL_tree_free): Instead of ref counting only IDENTS, |
---|
584 | ref count all nodes instead (updated __IDL_tree_free, added |
---|
585 | IDL_tree_free_real). Update remove_list_node to reflect this |
---|
586 | change. |
---|
587 | |
---|
588 | * util.h: Remove __IDL_tree_free. |
---|
589 | |
---|
590 | * util.c (__IDL_tree_free): Ref count IDLN_IDENTS. |
---|
591 | |
---|
592 | Tue Aug 25 01:46:10 1998 Tom Tromey <tromey@cygnus.com> |
---|
593 | |
---|
594 | * util.c (IDL_strcase_equal): Use g_strcasecmp. |
---|
595 | (IDL_strcase_cmp): Likewise. |
---|
596 | |
---|
597 | 1998-08-24 Andrew Veliath <andrewtv@usa.net> |
---|
598 | |
---|
599 | * Save inhibited nodes and free upon IDL_ns_free so that the full |
---|
600 | trees are available to traverse from the namespace. |
---|
601 | |
---|
602 | * 'nostubs' changed to 'inhibit' |
---|
603 | |
---|
604 | 1998-08-17 Andrew Veliath <andrewtv@usa.net> |
---|
605 | |
---|
606 | * Update version to 0.3 |
---|
607 | |
---|
608 | * Create an IDLF_COMBINE_REOPENED_MODULES to have libIDL combine |
---|
609 | all the module declarations into one tree, instead of separate |
---|
610 | trees with the same ident node. |
---|
611 | |
---|
612 | * Add __declspec support. First one implemented is for |
---|
613 | interfaces, so that __declspec (nostubs) interface foo { ... }; |
---|
614 | won't generate tree node information. Had to revamp grammar |
---|
615 | slightly to get a single lookahead. |
---|
616 | |
---|
617 | * Change IDL_long_t to IDL_longlong_t (+ unsigned version). |
---|
618 | |
---|
619 | 1998-08-10 Andrew Veliath <andrewtv@usa.net> |
---|
620 | |
---|
621 | * parser.y: Catch the interface Object construct, which isn't |
---|
622 | legal, but is in some pseudo-IDL files. |
---|
623 | |
---|
624 | * lexer.l: Bring back Object token recognition. |
---|
625 | |
---|
626 | * ns.c (IDL_ns_ident_to_qstring): If given and IDLN_IDENT, |
---|
627 | quietly call IDL_IDENT_TO_NS. |
---|
628 | |
---|
629 | * util.[ch]: Change g_strcase_hash to IDL_strcase_hash (make |
---|
630 | public). Add IDL_strcase_equal, IDL_strcase_cmp, |
---|
631 | load_forward_dcls, resolve_forward_dcls, |
---|
632 | print_unresolved_forward_dcls, IDL_tree_resolve_forward_dcls. |
---|
633 | (IDL_parse_filename): Warn on unresolved forward declarations in |
---|
634 | post-parse semantic checking. Remove __IDL_tree_print, add |
---|
635 | IDL_tree_walk_pre_order. |
---|
636 | |
---|
637 | * IDL.h: Add IDL_tree_walk_pre_order prototype and callback typedef. |
---|
638 | |
---|
639 | 1998-08-09 Andrew Veliath <andrewtv@usa.net> |
---|
640 | |
---|
641 | * parser.y: enum_type: Don't generate a nested scope. |
---|
642 | |
---|
643 | 1998-08-06 Andrew Veliath <andrewtv@usa.net> |
---|
644 | |
---|
645 | * Allow for redefinition of certain items in inheritance |
---|
646 | (doesn't detect some invalid items, but still better than |
---|
647 | before). |
---|
648 | |
---|
649 | * Change the namespace data structure from a general tree using a |
---|
650 | linked list to case-insensitive string hashes for each tree |
---|
651 | level. Used g_str_hash from glib modified for |
---|
652 | case-insensitivity (g_strcase_hash). |
---|
653 | |
---|
654 | * Fix bug where some top-level redeclarations would cause a core |
---|
655 | dump. |
---|
656 | |
---|
657 | * Change references to strdup to g_strdup, and update |
---|
658 | configure.in. |
---|
659 | |
---|
660 | * Begin major cutting for libIDL 0.3, which will have new |
---|
661 | namespace code. Move lots of stuff around. |
---|
662 | |
---|
663 | 1998-08-05 Andrew Veliath <andrewtv@usa.net> |
---|
664 | |
---|
665 | * lexer.l: Change C-language warning level to warning level 2, |
---|
666 | all other warnings to level 1 |
---|
667 | |
---|
668 | * parser.y (yywarning*): Add multiple warning levels |
---|
669 | |
---|
670 | * IDL.h: Remove IDL_WARNING, add IDL_WARNING1-3 and IDL_WARNINGMAX |
---|
671 | |
---|
672 | * IDL.h: Generate a CPP error if glib.h isn't included beforehand. |
---|
673 | |
---|
674 | * IDL.h, parser.y: Integrate Sebastian Wilhelm's patch to add type |
---|
675 | cast checking, with a number of style modifications of my own |
---|
676 | (anything I broke is my fault ;-) for libIDL and add a warning |
---|
677 | on casting a NULL pointer. |
---|
678 | |
---|
679 | * lexer.l: Implement Dick's suggestion to warn or error on |
---|
680 | underscores in identifiers with underscores or ones which begin |
---|
681 | with an underscore. |
---|
682 | |
---|
683 | 1998-08-04 Andrew Veliath <andrewtv@usa.net> |
---|
684 | |
---|
685 | * Preliminary inheritance checks |
---|
686 | |
---|
687 | * Implement pragmas for prefix, ID and version |
---|
688 | |
---|
689 | * First cut at Repository ID generation |
---|
690 | |
---|
691 | 1998-08-03 Andrew Veliath <andrewtv@usa.net> |
---|
692 | |
---|
693 | * parser.y: Add many new error messages. |
---|
694 | |
---|
695 | 1998-07-28 Andrew Veliath <andrewtv@usa.net> |
---|
696 | |
---|
697 | * acinclude.m4 (revive): Create AC_CPP_ACCEPT_IDL and |
---|
698 | AC_CPP_PIPE_STDIN tests |
---|
699 | |
---|
700 | * configure.in: Add AC_CPP_ACCEPT_IDL and AC_CPP_PIPE_STDIN in |
---|
701 | configuration |
---|
702 | |
---|
703 | * util.h, parser.y, lexer.l: If HAVE_CPP_PIPE_STDIN is defined, |
---|
704 | then compile for piped CPP input, else use the more portable |
---|
705 | symlink method. Also use getcwd instead of g_getcwd, since it has |
---|
706 | been commented out in glib. |
---|
707 | |
---|
708 | 1998-07-27 Andrew Veliath <andrewtv@usa.net> |
---|
709 | |
---|
710 | * parser.y (IDL_parse_filename): g_getcwd returns a static buffer |
---|
711 | |
---|
712 | 1998-07-25 Neil Vachharajani <nvachhar@pluto.njcc.com> |
---|
713 | |
---|
714 | * parser.y: Add one more byte for / in the allocation of linkto in |
---|
715 | IDL_parse_filename |
---|
716 | |
---|
717 | 1998-07-20 Andrew Veliath <andrewtv@usa.net> |
---|
718 | |
---|
719 | * Most of inhertance is done. ChangeLog won't be updated much now |
---|
720 | in preference to CVS logs. |
---|
721 | |
---|
722 | 1998-07-01 Andrew Veliath <andrewtv@usa.net> |
---|
723 | |
---|
724 | * Fix spelling of "inheritance" :) |
---|
725 | |
---|
726 | * Add use long long type if __GNUC__ defined |
---|
727 | |
---|
728 | * Fix scoping rules (scope idents weren't being referenced |
---|
729 | properly) |
---|
730 | |
---|
731 | 1998-06-29 Andrew Veliath <andrewtv@usa.net> |
---|
732 | |
---|
733 | * Create skeleton texinfo file |
---|
734 | |
---|
735 | * configure.in improved |
---|
736 | |
---|
737 | * Wee, should now also work with standard lex with new renaming |
---|
738 | rule |
---|
739 | |
---|
740 | * Now works with standard yacc, but flex will be a requirement |
---|
741 | |
---|
742 | 1998-06-24 Andrew Veliath <andrewtv@usa.net> |
---|
743 | |
---|
744 | * Warn if identifier appears in different case |
---|
745 | |
---|
746 | * Most namespace collision detection added, except for inheritance |
---|
747 | |
---|
748 | * Use YYDEBUG |
---|
749 | |
---|
750 | * parser.y: Initial implementation of IDL_ns* stuff |
---|
751 | |
---|
752 | 1998-06-23 Andrew Veliath <andrewtv@usa.net> |
---|
753 | |
---|
754 | * Implement constant evaluation |
---|
755 | |
---|
756 | * Almost all tree generation stuff added |
---|
757 | |
---|
758 | * Implement const_dcl and const_exp |
---|
759 | |
---|
760 | * Implement type_dcl, interface and module non-terminals |
---|
761 | |
---|
762 | 1998-06-22 Andrew Veliath <andrewtv@usa.net> |
---|
763 | |
---|
764 | * Start implementing tree generation code |
---|
765 | |
---|
766 | * Add IDL_root_free, IDL_symtab_free |
---|
767 | |
---|
768 | * Modify IDL_parse_filename to include callbacks, |
---|
769 | return a symbol table |
---|
770 | |
---|
771 | * Implmenent warning/error callback functionality |
---|
772 | |
---|
773 | * Move idl.c code to parser.y, delete idl.c |
---|
774 | |
---|
775 | 1998-06-17 Andrew Veliath <andrewtv@usa.net> |
---|
776 | |
---|
777 | * Implement IDL_parse_filename |
---|
778 | |
---|
779 | * Implement supporting code for error and warning detection |
---|
780 | |
---|
781 | * Create rename.h to rename yacc/lex stuff |
---|
782 | |
---|
783 | * Add strdup definition to util.[ch] and autoconf |
---|
784 | |
---|
785 | * Create util.c, util.h |
---|
786 | |
---|
787 | * Create lexer.l, parser.l, idl.h, idl.c |
---|
788 | |
---|
789 | * Create library structure, automake and autoconf files |
---|