Debian Codegraph @

ChangeLogs/ChangeLog-ACEXML

raw
1 Tue Feb 28 03:03:38 UTC 2012 Douglas C. Schmidt <[email protected]>
2
3 * parser/parser/Parser.cpp (ACEXML_Parser::parse_reference_name):
4 Expression 'ch != '_' || ch != ':'' is always true. Used the
5 '&&' operator instead. Thanks to Andrey Karpov <karpov at
6 viva64 dot com> for reporting this.
7
8 Fri Oct 21 09:50:19 UTC 2011 Johnny Willemsen <[email protected]>
9
10 * parser/parser/Parser.cpp:
11 Initialise variable with 0
12
13 Fri Oct 21 09:48:21 UTC 2011 Johnny Willemsen <[email protected]>
14
15 * common/Attributes.h:
16 * common/AttributesImpl.h:
17 * common/Attributes_Def_Builder.h:
18 * common/CharStream.h:
19 * common/ContentHandler.h:
20 * common/DTDHandler.h:
21 * common/DTD_Manager.h:
22 * common/DefaultHandler.h:
23 * common/Element_Def_Builder.h:
24 * common/Encoding.h:
25 * common/EntityResolver.h:
26 * common/ErrorHandler.h:
27 * common/Exception.h:
28 * common/HttpCharStream.h:
29 * common/InputSource.h:
30 * common/Locator.h:
31 * common/LocatorImpl.h:
32 * common/Mem_Map_Stream.h:
33 * common/NamespaceSupport.h:
34 * common/SAXExceptions.h:
35 * common/StrCharStream.h:
36 * common/StreamFactory.h:
37 * common/Transcode.h:
38 * common/URL_Addr.h:
39 * common/Validator.h:
40 * common/XMLFilterImpl.h:
41 * common/XMLReader.h:
42 Doxygen changes, fix some Klocwork reports
43
44 Tue Aug 3 16:50:57 UTC 2010 Johnny Willemsen <[email protected]>
45
46 * common/DTD_Manager.h:
47 Fixed compile error
48
49 * common/SAXExceptions.inl:
50 Fixed fuzz
51
52 Tue Aug 3 11:58:06 UTC 2010 Johnny Willemsen <[email protected]>
53
54 * common/Makefile.am:
55 * common/common.mpc:
56 Updated because of the removed files
57
58 Tue Aug 3 11:52:06 UTC 2010 Johnny Willemsen <[email protected]>
59
60 * apps/svcconf/Svcconf.cpp:
61 * apps/svcconf/Svcconf_Handler.h:
62 * apps/svcconf/Svcconf_Handler.cpp:
63 * common/Attributes_Def_Builder.h:
64 * common/CharStream.h:
65 * common/ContentHandler.h:
66 * common/DTDHandler.h:
67 * common/DTD_Manager.h:
68 * common/DefaultHandler.h:
69 * common/DefaultHandler.cpp:
70 * common/Element_Def_Builder.h:
71 * common/EntityResolver.h:
72 * common/ErrorHandler.h:
73 * common/Exception.h:
74 * common/SAXExceptions.inl:
75 * common/Validator.h:
76 * common/XMLFilterImpl.h:
77 * common/XMLFilterImpl.cpp:
78 * common/XMLReader.h:
79 * examples/SAXPrint/Print_Handler.h:
80 * examples/SAXPrint/Print_Handler.cpp:
81 * examples/SAXPrint/SAXPrint_Handler.h:
82 * examples/SAXPrint/SAXPrint_Handler.cpp:
83 * examples/SAXPrint/main.cpp:
84 * parser/debug_validator/Debug_Attributes_Builder.h:
85 * parser/debug_validator/Debug_Attributes_Builder.cpp:
86 * parser/debug_validator/Debug_DTD_Manager.h:
87 * parser/debug_validator/Debug_DTD_Manager.cpp:
88 * parser/debug_validator/Debug_Element_Builder.h:
89 * parser/debug_validator/Debug_Element_Builder.cpp:
90 * parser/parser/Parser.h:
91 * parser/parser/Parser.cpp:
92 * tests/ContentHandler_Test.cpp:
93 * tests/Transcoder_Test.cpp:
94 Removed support for emulated exceptions
95
96 * common/Env.h:
97 * common/Env.inl:
98 * common/Env.cpp:
99 * common/XML_Macros.h:
100 Removed these files.
101
102 Thu Mar 25 19:41:57 UTC 2010 Douglas C. Schmidt <[email protected]>
103
104 * parser/parser/Parser.cpp (ACEXML_Parser::parse_encoding_decl):
105 Changed ACE_OS::strcmp() to ACE_OS::strcasecmp(). Thanks to Tim
106 Pinkawa <tpinkawa at eagleseven dot com> for reporting this.
107
108 Tue Oct 13 09:37:48 UTC 2009 Johnny Willemsen <[email protected]>
109
110 * apps/svcconf/Svcconf_Handler.cpp:
111 Fixed compile problems with unicode enabled. Thanks to
112 Christian Freund <freund at wrz dot de> for reporting this. This
113 fixes bugzilla 3745.
114
115 Mon Jul 30 08:38:12 UTC 2007 Johnny Willemsen <[email protected]>
116
117 * apps/svcconf/Svcconf_Handler.cpp:
118 Layout changes
119
120 Mon Jul 16 10:19:51 UTC 2007 Abdullah Sowayan <[email protected]>
121
122 * apps/svcconf/Svcconf_Handler.h:
123 * apps/svcconf/Svcconf_Handler.cpp:
124 * common/Attributes_Def_Builder.h:
125 * common/ContentHandler.h:
126 * common/DTDHandler.h:
127 * common/DefaultHandler.h:
128 * common/DefaultHandler.cpp:
129 * common/Element_Def_Builder.h:
130 * common/EntityResolver.h:
131 * common/ErrorHandler.h:
132 * common/Validator.h:
133 * common/XMLFilterImpl.h:
134 * common/XMLFilterImpl.cpp:
135 * common/XMLReader.h:
136 * examples/SAXPrint/Print_Handler.h:
137 * examples/SAXPrint/Print_Handler.cpp:
138 * examples/SAXPrint/SAXPrint_Handler.h:
139 * examples/SAXPrint/SAXPrint_Handler.cpp:
140 * parser/debug_validator/Debug_Attributes_Builder.h:
141 * parser/debug_validator/Debug_Attributes_Builder.cpp:
142 * parser/debug_validator/Debug_Element_Builder.h:
143 * parser/debug_validator/Debug_Element_Builder.cpp:
144 * parser/parser/Parser.h:
145 * parser/parser/Parser.cpp:
146 * tests/ContentHandler_Test.cpp:
147
148 Fixed Fuzz warnings. Zap the usage of exception specification.
149
150 Sun Jun 3 20:02:32 UTC 2007 Olli Savia <[email protected]>
151
152 * common/FileCharStream.cpp:
153 Replaced ungetc with ACE_OS::ungetc.
154
155 Fri May 18 02:50:42 UTC 2007 Abdullah Sowayan <[email protected]>
156
157 * common/Mem_Map_Stream.cpp:
158
159 It makes no sense to have code after a return statement
160 (such as ACE_ERROR_RETURN). It causes some builds to have
161 "statement is unreachable" warning.
162
163 * examples/SAXPrint/main.cpp:
164
165 Enhanced the "#ifndef" macros used to avoid "statement is
166 unreachable" warning.
167
168 Tue May 15 17:36:23 UTC 2007 Johnny Willemsen <[email protected]>
169
170 * parser/parser/ParserInternals.h:
171 Removed msg_ member, it is not used at all. Thanks to Rajiv K. Shukla
172 <rajiv_shukla at yahoo dot com> for reporting this
173
174 Tue Feb 27 21:15:23 UTC 2007 Ossama Othman <ossama_othman at symantec dot com>
175
176 * common/FileCharStream.cpp (open):
177
178 s/ACE_Utils::Truncate/ACE_Utils::truncate_cast/g. The former is
179 deprecated.
180
181 Tue Feb 20 17:26:28 UTC 2007 Krishnakumar B <[email protected]>
182
183 * common/InputSource.cpp:
184 * parser/parser/ParserContext.h:
185 * parser/parser/ParserContext.inl:
186 Use std::swap instead of ACE_Swap
187
188 Tue Feb 13 20:17:28 UTC 2007 Krishnakumar B <[email protected]>
189
190 * apps/svcconf/Svcconf_Handler.cpp: Fixed a problem with
191 ACE_Module getting unloaded prematurely due to
192 ACEXML_Svcconf_Handler failing to register it with the service
193 repository. Thanks to [email protected] for providing the fix.
194
195 Wed Jan 03 14:20:00 UTC 2007 Simon Massey <[email protected]>
196
197 * common/XML_Macros.h:
198 With MFC, must delete any caught and eaten "out of memory" exceptions.
199
200 Fri Oct 28 02:29:57 UTC 2006 Ossama Othman <ossama_othman at symantec dot com>
201
202 From Russell Mora <russell_mora at symantec dot com>
203 * common/ContentHandler.h:
204 * common/DefaultHandler.h:
205 * common/DefaultHandler.cpp:
206 * common/FileCharStream.cpp:
207 * common/FileCharStream.h:
208 * common/HttpCharStream.cpp:
209 * common/HttpCharStream.h:
210 * common/Mem_Map_Stream.cpp:
211 * common/Mem_Map_Stream.h:
212 * common/XMLFilterImpl.cpp:
213 * common/XMLFilterImpl.h:
214 * common/ZipCharStream.cpp:
215 * common/ZipCharStream.h:
216 * common/StrCharStream.cpp:
217 * examples/SAXPrint/Print_Handler.cpp:
218 * examples/SAXPrint/Print_Handler.h:
219 * examples/SAXPrint/SAXPrint_Handler.cpp:
220 * examples/SAXPrint/SAXPrint_Handler.h:
221 * parser/parser/Parser.cpp:
222 * parser/parser/Parser.h:
223 * tests/ContentHandler_Test.cpp:
224
225 Added support for 64-bit file offsets.
226
227 Addressed 64-bit conversion warnings.
228
229 Tue Oct 24 18:00:15 UTC 2006 Ossama Othman <ossama_othman at symantec dot com>
230
231 * common/common.mpc:
232 * parser/parser/parser.mpc:
233
234 Re-disabled ACEXML when ace_for_tao is enabled. ACEXML needs
235 the ACE_Configuration and memory map classes that are not found
236 in the ace_for_tao subset.
237
238 Mon Oct 24 02:26:32 UTC 2006 Ossama Othman <ossama_othman at symantec dot com>
239
240 * common/common.mpc:
241 * parser/parser/parser.mpc:
242
243 No longer any need to explicitly disable ACEXML in the
244 ace_for_tao configuration.
245
246 * common/HttpCharStream.cpp:
247
248 Fixed Coverity OVERRUN_STATIC and FORWARD_NULL errors.
249
250 Improved const-correctness.
251
252 * common/codecs.mpb:
253
254 Disable ACEXML codecs support if ace_for_tao is enabled.
255
256 * common/Mem_Map_Stream.cpp:
257
258 Fixed Coverity NEGATIVE_RETURNS error.
259
260 * common/SAXExceptions.cpp (_downcast):
261
262 Removed redundant type checking code.
263
264 (~ACEXML_SAXNotSupportedException):
265 (~ACEXML_SAXNotRecognizedException):
266
267 Addressed Coverity USE_AFTER_FREE errors.
268
269 (exception_name_):
270 * common/SAXExceptions.h (exception_name_):
271
272 Declare this static constant as an array rather than a pointer.
273 Allows the compiler to perform additional optimizations.
274
275 Tue Jun 20 08:23:12 UTC 2006 Johnny Willemsen <[email protected]>
276
277 * parser/parser/Parser.cpp:
278 64bit fix
279
280 Thu Mar 30 13:14:12 UTC 2006 Johnny Willemsen <[email protected]>
281
282 * common/NamespaceSupport.cpp:
283 Fixed value might be unitialized warnings
284
285 Tue Mar 14 20:58:12 UTC 2006 jiang,shanshan <[email protected]>
286
287 * common/FileCharStream.cpp
288 * common/HttpCharStream.cpp
289 * common/Transcode.cpp
290 * common/XML_Macros.h
291 * parser/parser/Parser.cpp
292 * parser/parser/Parser.i
293
294 Updated these files to solve the warnings when setting up "VC
295 level 4 warnings" on Windows. These warnings include
296 "unreachable code", "assignment within conditional expression",
297 "conversion from some type to another type, possible loss of
298 data", "local variable may be used without having been
299 initialized" and so on. Thanks to Lukas Gruetzmacher
300 <gruetzmacher at ais-dresden dot de> for motivating the fix to
301 these "VC level 4 warnings".
302
303 Fri Feb 10 23:45:14 UTC 2006 Steve Huston <[email protected]>
304
305 * common/NamespaceSupport.cpp: Add missing template instantiations to
306 match change below.
307
308 Fri Feb 10 12:22:12 UTC 2006 Johnny Willemsen <[email protected]>
309
310 * common/NamespaceSupport.cpp:
311 Fixed compile error in unicode build
312
313 Thu Feb 9 22:49:18 UTC 2006 Krishnakumar B <[email protected]>
314
315 * common/NamespaceSupport.h:
316 * common/NamespaceSupport.cpp: Use a normal ACE_Unbounded_Stack
317 instead of yet another custom stack.
318
319 * parser/parser/Parser.h:
320 * parser/parser/Parser.cpp:
321
322 Fixed a mismatched push/pop of the namespace context due to
323 popping namespace contexts without matching the end of the
324 element that caused a push. This resulted in more pops that
325 push and corrupting the memory. Also fixed an indirection into
326 a pointer that might have been corrupt when calling
327 startNamespacePrefix().
328
329 Tue Jan 24 23:09:08 UTC 2006 Krishnakumar B <[email protected]>
330
331 * apps/svcconf/Svcconf.cpp:
332 * apps/svcconf/Svcconf.h:
333
334 Removed the overridden operator new/delete. I don't think that
335 they serve any purpose, and end up hiding the default variations.
336
337 Mon Jan 23 14:11:12 UTC 2006 Johnny Willemsen <[email protected]>
338
339 * common/ZipCharStream.h:
340 Updated include of zziplib.h to zzip/zzip.h to get rid of deprecated
341 warnings
342
343 Wed Jan 4 22:44:38 UTC 2006 J.T. Conklin <[email protected]>
344
345 * ChangeLog:
346
347 Untabify.
348 Delete-trailing-whitespace.
349
350 Changed "add-log-time-format" to a really ugly lambda expression
351 that formats changelog timestamps in UTC and works with both GNU
352 Emacs and XEmacs.
353
354 Thu May 26 07:35:12 UTC 2005 Johnny Willemsen <[email protected]>
355
356 * common/XML_Util.h:
357 Fixed pragma once warning
358
359 Tue May 24 18:39:02 2005 J.T. Conklin <[email protected]>
360
361 * common/Makefile.am:
362
363 Regenerate.
364
365 * common/common.mpc:
366
367 Added XML_Util.h to Header_Files section.
368
369 Tue May 24 09:18:34 2005 Justin Michel <[email protected]>
370
371 * tests/util/test.cpp:
372
373 Fixed for loop scoping problem for non-standard compilers.
374
375 Mon May 23 14:52:19 2005 Justin Michel <[email protected]>
376
377 * tests/util/util.mpc:
378
379 Add missing $ Id tag.
380
381 Mon May 23 13:02:25 2005 Justin Michel <[email protected]>
382
383 * common/XML_Util.h:
384 * common/XML_Util.cpp:
385
386 Added new ACEXML_escape_string() functions to allow replacement of
387 illegal characters, (', ", &, <, >, etc.) with the escaped versions.
388 (&quot;, &lt;, etc.)
389
390 * tests/util/test.cpp:
391 * tests/util/util.mpc:
392
393 This is a performance test used while making the above functions, and
394 testing performance with ACE_String_Base.
395
396 Fri Apr 22 21:34:19 2005 Ossama Othman <[email protected]>
397
398 * parser/parser/Parser.cpp (parse_entity_decl):
399
400 Fixed "variable may be used uninitialized" warning.
401
402 Fri Apr 22 11:09:59 2005 J.T. Conklin <[email protected]>
403
404 * parser/parser/Makefile.am:
405 * common/Makefile.am:
406
407 Regenerated.
408
409 * parser/parser/parser.mpc:
410 * common/common.mpc:
411
412 Add Pkgconfig_Files section.
413
414 Wed Apr 20 12:20:26 2005 Ossama Othman <[email protected]>
415
416 * common/Attributes.h:
417 * common/ContentHandler.h:
418 * common/DTDHandler.h:
419 * common/EntityResolver.h:
420 * common/ErrorHandler.h:
421 * common/Locator.h:
422 * common/XMLReader.h:
423
424 Added virtual destructors to address g++ 4.0 warnings.
425
426 * common/Attributes.cpp:
427 * common/ContentHandler.cpp:
428 * common/DTDHandler.cpp:
429 * common/EntityResolver.cpp:
430 * common/ErrorHandler.cpp:
431 * common/Locator.cpp:
432 * common/XMLReader.cpp:
433
434 New files containing destructors.
435
436 * common/NamespaceSupport.cpp (getURI):
437
438 Fixed "variable may be used uninitialized" warning.
439
440 Mon Apr 18 14:10:12 UTC 2005 Johnny Willemsen <[email protected]>
441
442 * parser/parser/Entity_Manager.cpp:
443 Removed not uses static const
444
445 * parser/parser/Entity_Manager.i:
446 Initialise pointer with 0
447
448 Sun Feb 13 23:54:25 2005 Ossama Othman <[email protected]>
449
450 From Lothar Werzinger <lothar at xcerla dot com>
451 * apps/svcconf/Svcconf_Handler.cpp:
452
453 Enhanced error messages.
454
455 Wed Jan 5 14:08:12 UTC 2004 Johnny Willemsen <[email protected]>
456
457 * common/DefaultHandler.{h,cpp,i}:
458 * common/NamespaceSupport.{h,cpp,i}:
459 * common/Transcode.{h,cpp,i}:
460 * examples/SAXPrint/Print_Handler.{cpp,i}:
461 Removed .i file and updated h/cpp file
462
463 * common/Makefile.am:
464 Updated
465
466 Tue Aug 17 19:07:11 2004 J.T. Conklin <[email protected]>
467
468 * common/NamespaceSupport.cpp:
469
470 Changed ACE_NEW_RETURN to use "NS_Node_T" instead of "struct
471 NS_Node_T" --- the latter triggers a gcc 3.3 parser bug when
472 used with the "new (std::nothrow)" version of ACE_NEW_RETURN.
473 Fortunately, the "struct" is unnecessary.
474
475 Sat Feb 21 23:51:25 2004 Krishnakumar B <[email protected]>
476
477 * common/Exception.h:
478 * common/Exception.cpp:
479 * common/SAXExceptions.h:
480 * common/SAXExceptions.cpp:
481
482 Fixed a few bugs in the way the exceptions were set-up in the
483 case when exceptions=0. Provided implementations for operator
484 assignment and duplicate(). This should fix problems with
485 throwing and catching exceptions when exceptions=0.
486
487 Sat Jan 31 20:06:57 2004 Krishnakumar B <[email protected]>
488
489 * parser/parser/Parser.cpp (parse_PE_reference): Added ACE_TEXT
490 to satisfy WCHAR windows builds. Thanks to Johnny for reporting
491 these errors.
492
493 Fri Jan 30 16:04:43 2004 Krishnakumar B <[email protected]>
494
495 * parser/parser/Parser.cpp: Rewrote a simple string manipulation
496 involving ACE_String_Base<char>::operator +() to use const char*
497 instead of char, so that we don't need an explicit template
498 instantiation for it.
499
500 * examples/SAXPrint/main.cpp: Added missing explicit template
501 instantiations for ACE_Auto_Basic_Ptr.
502
503 Thanks to Olli Savia <[email protected]> for reporting problems with
504 explicit template instantiation on LynxOS.
505
506 Thu Jan 8 18:40:34 2004 Krishnakumar B <[email protected]>
507
508
509 * common/CharStream.h: Added a new rewind() method so that we can
510 reuse the same parser instance to parse the same file multiple
511 times.
512
513 * common/FileCharStream.cpp:
514 * common/HttpCharStream.h:
515 * common/HttpCharStream.cpp:
516 * common/StrCharStream.cpp:
517 * common/ZipCharStream.cpp:
518
519 Fixed implementation of rewind().
520
521 * common/Mem_Map_Stream.cpp:
522
523 Fixed memory leak caused by the Svc_Handler not getting deleted.
524
525 * apps/svcconf/Makefile.ACEXML_XML_Svc_Conf_Parser:
526 * parser/parser/Makefile.ACEXML_Parser:
527 * examples/SAXPrint/Makefile.SAXPrint:
528 * common/Makefile.ACEXML:
529 * tests/Makefile.ContentHandler_Test:
530 * tests/Makefile.HttpCharStream_Test:
531 * tests/Makefile.NamespaceSupport_Test:
532 * tests/Makefile.Transcoder_Test:
533
534 Updated dependencies.
535
536 * examples/SAXPrint/main.cpp:
537
538 Added code to test the parser to parse the same file multiple
539 times. This still needs some cleaning.
540
541 * parser/parser/Entity_Manager.h:
542 * parser/parser/Entity_Manager.i:
543 * parser/parser/Entity_Manager.cpp:
544
545 Use a pointer to ACE_Hash_Map_Manager_Ex and delete it on every
546 reset() of the Entity_Manager. This should fix all the problems
547 with SIGFPE's when we try to recover from a parse error.
548
549 * parser/parser/Parser.cpp:
550 * parser/parser/ParserContext.h:
551 * parser/parser/ParserContext.inl:
552
553 Fixed memory leaks reported by Ken Sedgewick <[email protected]>.
554 This should fix Bugzill bug 1694. While at it, fix bugs in
555 handling of entity references in INCLUDE/IGNORE sections,
556 ATTLIST sections.
557
558
559 Thu Dec 18 13:13:57 2003 Krishnakumar B <[email protected]>
560
561 * common/Transcode.h (ACEXML_Transcoder):
562 * common/Transcode.cpp (ACEXML_Transcoder):
563
564 Renamed the ACEXML_Transcoder::STATUS enum to use ACEXML
565 prefixes. Thanks to Johnny Willemsen <[email protected]> for
566 reporting the clash with native #defines on Tru64.
567
568 Sat Jul 19 18:38:50 UTC 2003 Don Hinton <[email protected]>
569
570 * apps/svcconf/Svcconf.h:
571 * common/*.h:
572 * parser/*.h:
573 * parser/parser/*.h:
574 Added "/**/" between the #include and filename for pre.h and
575 post.h so Doxygen won't include them in the file reference tree
576 graphs.
577
578 Fri Jul 18 10:29:55 2003 Krishnakumar B <[email protected]>
579
580 * tests/NamespaceSupport_Test.cpp (ACE_TMAIN): Added
581 initialization of ACEXML_NamespaceSupport so that we don't
582 crash.
583
584 * tests/ContentHandler_Test.cpp: Removed "</xml>" at the end of
585 the ACEXML_StrCharStream. XML is not HTML. Added a print
586 statement to the catch clause so that we know what is happening
587 when exception occurs.
588
589 Mon Jul 14 18:49:01 UTC 2003 Johnny Willemsen <[email protected]>
590
591 * apps/svcconf/Makefile:
592 * common/Makefile:
593 * examples/SAXPrint/Makefile:
594 * parser/parser/Makefile:
595 * tests/Makefile:
596 Removed windows specific rules. They are not needed and only
597 cause problems when using a different command shell then cmd
598 like msys. This solves errors in the MinGW build.
599 Sat Jul 5 13:33:36 UTC 2003 Johnny Willemsen <[email protected]>
600
601 * Makefile:
602 Removed windows specific rules. They are not needed and only
603 cause problems when using a different command shell then cmd
604 like msys. This solves errors in the MinGW build.
605
606 Fri Jun 27 12:55:33 UTC 2003 Johnny Willemsen <[email protected]>
607
608 * parser/parser/Entity_Manager.h:
609 * parser/parser/Entity_Manager.i:
610 Removed not useful const return qualifier to resolve intel
611 compiler warnings.
612
613 Thu Jun 26 01:47:03 UTC 2003 Don Hinton <[email protected]>
614
615 * parser/parser/Parser.i:
616 Added (int) cast to table index to get rid of a warning.
617
618 Tue Jun 24 23:31:44 2003 Nanbor Wang <[email protected]>
619
620 * apps/svcconf/Svcconf.cpp: Turned off validation temporarily when
621 handling svc.conf files. All of the converted svc.conf.xml
622 files do not have associate doctype at the moment.
623
624 Tue Jun 24 15:38:49 UTC 2003 Don Hinton <[email protected]>
625
626 * common/NamespaceSupport.i:
627 Added include of ACE.h.
628
629 Sun Jun 1 09:09:22 2003 Balachandran Natarajan <[email protected]>
630
631 * parser/parser/Parser.cpp:
632 * parser/parser/Entity_Manager.cpp: Added explicit template
633 instantiations.
634
635 Fri May 30 14:16:33 2003 Krishnakumar B <[email protected]>
636
637 * examples/svcconf/.depend.Makefile.Svcconf:
638 * examples/svcconf/Makefile:
639 * examples/svcconf/Makefile.Svcconf:
640 * examples/svcconf/Makefile.Svcconf.bor:
641 * examples/svcconf/Makefile.bor:
642 * examples/svcconf/README:
643 * examples/svcconf/Svcconf.dsp:
644 * examples/svcconf/Svcconf.dsw:
645 * examples/svcconf/Svcconf.mpc:
646 * examples/svcconf/Svcconf_Handler.cpp:
647 * examples/svcconf/Svcconf_Handler.h:
648 * examples/svcconf/Svcconf_Handler.i:
649 * examples/svcconf/main.cpp:
650
651 Removed directories causing problems with Win XP release.
652
653 * ACEXML.dsw:
654 * Makefile:
655 * Makefile.bor:
656 * apps/svcconf/Makefile:
657 * apps/svcconf/Makefile.ACEXML_XML_Svc_Conf_Parser.bor:
658 * apps/svcconf/Makefile.bor:
659 * common/Makefile:
660 * common/Makefile.ACEXML.bor:
661 * common/Makefile.bor:
662 * examples/SAXPrint/Makefile:
663 * examples/SAXPrint/Makefile.SAXPrint.bor:
664 * examples/SAXPrint/Makefile.bor:
665 * parser/parser/Makefile:
666 * parser/parser/Makefile.ACEXML_Parser.bor:
667 * parser/parser/Makefile.bor:
668 * tests/.depend.Makefile.ContentHandler_Test:
669 * tests/.depend.Makefile.HttpCharStream_Test:
670 * tests/.depend.Makefile.NamespaceSupport_Test:
671 * tests/.depend.Makefile.Transcoder_Test::
672 * tests/Makefile:
673 * tests/Makefile.ContentHandler_Test:
674 * tests/Makefile.ContentHandler_Test.bor:
675 * tests/Makefile.HttpCharStream_Test.bor:
676 * tests/Makefile.NamespaceSupport_Test.bor:
677 * tests/Makefile.Transcoder_Test.bor:
678 * tests/Makefile.bor:
679
680 More build related delicacies needed updating because of the
681 previous change.
682
683 Fri May 30 13:56:40 2003 Krishnakumar B <[email protected]>
684
685 * common/XML_Common.dsp: Removed old dsp left over from previous
686 merge.
687
688 Fri May 30 13:54:57 2003 Krishnakumar B <[email protected]>
689
690 * parser/parser/Parser.dsp: Removed this erroneous dsp file left
691 over from the merge.
692
693 Fri May 30 13:50:11 2003 Krishnakumar B <[email protected]>
694
695 * common/ZipCharStream.h: Removed broken logic to undefine macro
696 version of read. We don't want read to be a macro in ACEXML.
697 Present because of brokenness in ZZIPLIB.
698
699 Fri May 30 13:36:39 2003 Krishnakumar B <[email protected]>
700
701 * parser/parser/Parser.cpp (parse_ignoresect): Fixed a couple of
702 warnings. Break out of infinite loop.
703
704 * apps/svcconf/.depend.Makefile.ACEXML_XML_Svc_Conf_Parser:
705 * common/.depend.Makefile.ACEXML:
706 * examples/SAXPrint/.depend.Makefile.SAXPrint:
707 * examples/svcconf/.depend.Makefile.Svcconf:
708 * parser/parser/.depend.Makefile.ACEXML_Parser:
709
710 Added missing dependency files. This should clear out the red.
711
712 * examples/svcconf/main.cpp:
713 * common/HttpCharStream.cpp:
714 * parser/parser/Parser.i:
715
716 Fixed warnings with BCB. Thanks to Johnny for reporting these.
717
718 Thu May 29 23:13:40 2003 Krishnakumar B <[email protected]>
719
720 * examples/SAXPrint/SAXPrint_Handler.cpp: Fixed some minor
721 warnings.
722
723 Thu May 29 23:09:27 2003 Krishnakumar B <[email protected]>
724
725 * parser/parser/Makefile.Parser:
726
727 Removed extra file left over by mistake.
728
729 Thu May 29 23:00:24 2003 Krishnakumar B <[email protected]>
730
731 * tests/Makefile.ContentHandler_Test:
732 * tests/Makefile:
733
734 This file got left out by mistake during the big merge.
735
736 Thu May 29 22:03:40 2003 Krishnakumar B <[email protected]>
737
738 * ACEXML.mwc:
739 * ChangeLog:
740 * apps/svcconf/ACEXML_XML_Svc_Conf_Parser.dsp:
741 * apps/svcconf/Makefile.ACEXML_XML_Svc_Conf_Parser:
742 * apps/svcconf/Makefile.ACEXML_XML_Svc_Conf_Parser.bor:
743 * common/ACEXML.dsp:
744 * common/Makefile.ACEXML:
745 * common/Makefile.ACEXML.bor:
746 * examples/SAXPrint/Makefile.SAXPrint:
747 * examples/SAXPrint/Makefile.SAXPrint.bor:
748 * examples/svcconf/Makefile:
749 * examples/svcconf/Makefile.Svcconf:
750 * examples/svcconf/Makefile.Svcconf.bor:
751 * examples/svcconf/Svcconf.mpc:
752 * parser/parser/ACEXML_Parser.dsp:
753 * parser/parser/Makefile.ACEXML_Parser:
754 * parser/parser/Makefile.ACEXML_Parser.bor:
755 * parser/parser/Makefile.Parser:
756 * tests/Makefile.ContentHandler_Test.bor:
757 * tests/Makefile.HttpCharStream_Test:
758 * tests/Makefile.HttpCharStream_Test.bor:
759 * tests/Makefile.NamespaceSupport_Test:
760 * tests/Makefile.NamespaceSupport_Test.bor:
761 * tests/Makefile.Transcoder_Test:
762 * tests/Makefile.Transcoder_Test.bor:
763
764 New files to build ACEXML generated using MPC.
765
766 * apps/svcconf/svcconf.dtd:
767
768 Moved the DTD from a hidden location to a prominent one.
769
770 * examples/SAXPrint/namespaces.xml:
771
772 New file to test namespace support.
773
774 * common/ZipCharStream.cpp:
775 * common/ZipCharStream.h:
776
777 New files to support reading files from within a ZIP archive as
778 a stream.
779
780 * parser/parser/ParserContext.cpp:
781 * parser/parser/ParserContext.h:
782 * parser/parser/ParserContext.inl:
783
784 New files to support a per stream context encountered when
785 parsing references.
786
787 * parser/parser/ParserInternals.cpp:
788 * parser/parser/ParserInternals.h:
789
790 Move some common functions from Parser.cpp to these files.
791
792 * ACEXML.dsw:
793 * Makefile:
794 * Makefile.bor:
795 * apps/svcconf/Makefile:
796 * apps/svcconf/Makefile.bor:
797 * common/Makefile:
798 * common/Makefile.bor:
799 * examples/SAXPrint/Makefile:
800 * examples/SAXPrint/Makefile.bor:
801 * examples/SAXPrint/SAXPrint.dsp:
802 * examples/SAXPrint/SAXPrint.mpc:
803 * examples/svcconf/Makefile.bor:
804 * examples/svcconf/Svcconf.dsp:
805 * parser/parser/Makefile:
806 * parser/parser/Makefile.bor:
807 * tests/ContentHandler_Test.cpp:
808 * tests/ContentHandler_Test.dsp:
809 * tests/HttpCharStream_Test.cpp:
810 * tests/HttpCharStream_Test.dsp:
811 * tests/Makefile:
812 * tests/Makefile.bor:
813 * tests/NamespaceSupport_Test.dsp:
814 * tests/Transcoder_Test.dsp:
815
816 Build related files changed with the introduction of MPC to
817 build ACEXML.
818
819 * examples/SAXPrint/ns.svc.conf.xml:
820 * examples/SAXPrint/svc.conf.xml:
821
822 New files to test specific features of the parser.
823
824 * apps/svcconf/Svcconf.cpp:
825 * common/Attributes.h:
826 * common/Attributes_Def_Builder.h:
827 * common/CharStream.h:
828 * common/DefaultHandler.cpp:
829 * common/Encoding.cpp:
830 * common/Encoding.h:
831 * common/Exception.cpp:
832 * common/FileCharStream.cpp:
833 * common/FileCharStream.h:
834 * common/HttpCharStream.cpp:
835 * common/HttpCharStream.h:
836 * common/InputSource.cpp:
837 * common/InputSource.h:
838 * common/LocatorImpl.cpp:
839 * common/LocatorImpl.h:
840 * common/Mem_Map_Stream.cpp:
841 * common/NamespaceSupport.cpp:
842 * common/NamespaceSupport.h:
843 * common/SAXExceptions.cpp:
844 * common/StrCharStream.cpp:
845 * common/StrCharStream.h:
846 * common/StreamFactory.cpp:
847 * common/Transcode.cpp:
848 * common/Transcode.h:
849 * common/Transcode.i:
850 * examples/SAXPrint/Print_Handler.cpp:
851 * examples/SAXPrint/SAXPrint_Handler.cpp:
852 * examples/SAXPrint/main.cpp:
853 * examples/svcconf/main.cpp:
854 * parser/parser/Parser.cpp:
855 * parser/parser/Parser.h:
856 * parser/parser/Parser.i:
857 * parser/parser/Entity_Manager.cpp:
858 * parser/parser/Entity_Manager.h:
859 * parser/parser/Entity_Manager.i:
860
861 Merge from the Validator branch. It is not close to conformance
862 related to Validation but is quite stable as a parser which
863 recognizes the complete XML grammar.
864
865 Fri Jan 24 20:28:22 2003 Krishnakumar B <[email protected]>
866
867 * parser/parser/Parser.cpp (pop_context): Bail out if there is
868 only one element on the context stack. Bad things [TM] will happen
869 if we pop the only context available.
870
871 Mon Nov 25 04:25:15 2002 Krishnakumar B <[email protected]>
872
873 * parser/parser/Parser.cpp (reset):
874 * parser/parser/Parser.h:
875
876 Fixed a bunch of compilation errors. Removed unnecessary
877 creation and destroyal of ACEXML_Strings which seems to speed up
878 the parser quite a bit.
879
880 * examples/SAXPrint/SAXPrint_Handler.cpp:
881 * examples/SAXPrint/main.cpp:
882
883 Don't report startPrefixMapping() and endPrefixMapping() as they
884 obstruct the pretty-printing of SAXPrint. They are bogus anyway.
885
886 Wed Nov 20 22:58:12 2002 Krishnakumar B <[email protected]>
887
888 * parser/parser/Parser.cpp (parse_char_reference):
889
890 Fixed stupid thinko in conditional parsing of a hex character
891 reference.
892
893 * common/Mem_Map_Stream.cpp:
894
895 We can use the old way of fetching on-demand and don't need to
896 use a while loop.
897
898 * common/NamespaceSupport.cpp:
899
900 Fixed a long-standing bug with core dumping. With these changes,
901 we are able to parse the XML specification itself. Is this
902 called Meta or what ?
903
904 Wed Nov 20 20:44:56 2002 Krishnakumar B <[email protected]>
905
906 * common/Mem_Map_Stream.cpp (grow_file_and_remap):
907
908 Fixed bug where we were trying to remap two different files at
909 the same location without closing the first.
910
911 * common/HttpCharStream.cpp (get_url):
912
913 Don't try to parse an empty file. Removes a nasty SIGSEGV.
914
915 Wed Nov 20 01:06:26 2002 Krishnakumar B <[email protected]>
916
917 * common/Mem_Map_Stream.cpp:
918
919 Minor indenting changes.
920
921 * tests/HttpCharStream_Test.cpp:
922
923 Modified test to show bug in ACE_File_Addr.
924
925 Tue Nov 19 20:46:35 2002 Krishnakumar B <[email protected]>
926
927 * examples/SAXPrint/Print_Handler.cpp (warning):
928
929 Missed syncing the function prototypes last time.
930
931 Tue Nov 19 20:18:09 2002 Krishnakumar B <[email protected]>
932
933 * parser/parser/Parser.h:
934 * parser/parser/Parser.cpp (normalize_systemid):
935
936 Fix an off-by-one error in normalization. The document's base
937 URI is never empty. Now we parse relative document URI
938 correctly.
939
940 Implement the previously unimplemented parsing from a systemId.
941
942 * common/InputSource.cpp:
943 * common/InputSource.h:
944
945 Implement creating an InputSource from a systemId.
946
947 * common/CharStream.h:
948
949 Added a new method getSystemId().
950
951 * common/FileCharStream.cpp:
952 * common/FileCharStream.h:
953 * common/HttpCharStream.cpp:
954 * common/HttpCharStream.h:
955 * common/ZipCharStream.cpp:
956 * common/ZipCharStream.h:
957 * common/StrCharStream.cpp:
958 * common/StrCharStream.h:
959
960 Added implementation for getSystemId().
961
962 * examples/SAXPrint/Print_Handler.cpp:
963 * examples/SAXPrint/SAXPrint_Handler.cpp:
964
965 Synched up the printing of exception messages.
966
967 * examples/SAXPrint/main.cpp:
968
969 Fixed broken internal string version of a sample XML file.
970
971 Tue Nov 19 15:02:06 2002 Krishnakumar B <[email protected]>
972
973 * apps/svcconf/XML_Svc_Conf_Parser.dsp:
974 * common/XML_Common.dsp:
975 * examples/SAXPrint/SAXPrint.dsp:
976 * parser/debug_validator/Debug_Validator.dsp:
977 * parser/parser/Parser.dsp:
978
979 Modified to accomodate zlib and zziplig. Will probably change
980 before the merge.
981
982 * parser/parser/Parser.cpp:
983
984 Try to parse external DTD only if validation is required.
985
986 Mon Nov 18 22:29:39 2002 Krishnakumar B <[email protected]>
987
988 * Makefile:
989
990 Deleted this file in the previous check-in. Re-add it.
991
992 Mon Nov 18 22:19:47 2002 Krishnakumar B <[email protected]>
993
994 * common/common.mpc:
995 * parser/parser/parser.mpc:
996 * parser/debug_validator/validator.mpc:
997 * apps/svcconf/svcconf.mpc:
998 * examples/svcconf/Svcconf.mpc:
999 * examples/SAXPrint/saxprint.mpc:
1000 * tests/tests.mpc:
1001 * ACEXML.mwc:
1002
1003 New MPC files and Workspace file.
1004
1005 * common/Makefile.XML_Common:
1006 * apps/svcconf/Makefile.XML_Svc_Conf_Parser:
1007 * parser/parser/Makefile.Parser:
1008 * parser/debug_validator/Makefile.Validator:
1009 * examples/SAXPrint/Makefile.SAXPrint:
1010 * examples/svcconf/Makefile.Svcconf:
1011 * tests/Makefile.HttpCharStream_Test:
1012 * tests/Makefile.NamespaceSupport_Test:
1013 * tests/Makefile.Transcoder_Test:
1014
1015 New Makefiles generated by MPC.
1016
1017 * common/Makefile:
1018 * parser/parser/Makefile:
1019 * parser/Makefile:
1020 * examples/Makefile:
1021 * apps/Makefile:
1022 * apps/svcconf/Makefile:
1023 * examples/SAXPrint/Makefile:
1024 * tests/Makefile:
1025
1026 Removed old Makefiles.
1027
1028 * parser/parser/Parser.cpp:
1029 * common/StreamFactory.cpp:
1030 * common/ZipCharStream.cpp:
1031 * common/ZipCharStream.h:
1032
1033 Fixed compilation errors.
1034
1035 Mon Nov 18 20:30:30 2002 Krishnakumar B <[email protected]>
1036
1037 * common/CharStream.h:
1038 * common/Encoding.cpp:
1039 * common/FileCharStream.cpp:
1040 * common/FileCharStream.h:
1041 * common/StrCharStream.cpp:
1042 * common/StrCharStream.h:
1043 * common/HttpCharStream.cpp:
1044 * common/HttpCharStream.h:
1045
1046 Fixed a number of minor typos and debugging statements.
1047
1048 * common/LocatorImpl.cpp: Check for a valid string before
1049 assigning it to the new Locator.
1050
1051 * common/NamespaceSupport.cpp:
1052
1053 Make sure that we don't have a null prefix before trying to
1054 dereference the prefix.
1055
1056 * common/ZipCharStream.cpp:
1057 * common/ZipCharStream.h:
1058
1059 New stream which reads files from a ZIP archive.
1060
1061 * common/StreamFactory.cpp:
1062
1063 Modified to accomodate ZipCharStream.
1064
1065 * examples/SAXPrint/Print_Handler.cpp:
1066 * examples/SAXPrint/SAXPrint_Handler.cpp:
1067 * examples/SAXPrint/main.cpp:
1068
1069 Commented out a lot of unnecessary debug statements.
1070
1071 * parser/parser/Parser.cpp:
1072 * parser/parser/Parser.h:
1073
1074 Lots of bugfixes. Finally we parse the XML version of XHTML
1075 specification without dumping core.
1076
1077 Sat Nov 16 21:18:55 2002 Krishnakumar B <[email protected]>
1078
1079 * parser/parser/Parser.cpp:
1080 * parser/parser/Parser.h:
1081
1082 More bugs fixed. Add support for parsing PE references within
1083 attribute list declarations and clean up the same. Add support
1084 for parsing PE references within element declarations.
1085
1086 Tue Nov 12 19:48:34 2002 Krishnakumar B <[email protected]>
1087
1088 * parser/parser/ParserContext.cpp:
1089 * parser/parser/ParserContext.h:
1090 * parser/parser/ParserContext.inl:
1091
1092 New files which hold the ParserContext needed to handle the
1093 switching of input streams on the fly.
1094
1095 * parser/parser/ParserInternals.cpp:
1096 * parser/parser/ParserInternals.h:
1097
1098 Moved some generic code from Parser.cpp to here.
1099
1100 * apps/svcconf/Makefile:
1101 * common/Makefile:
1102 * parser/parser/Makefile:
1103
1104 Updated dependencies.
1105
1106 * common/Attributes_Def_Builder.h:
1107
1108 No need to typedef in C++.
1109
1110 * common/DefaultHandler.cpp:
1111
1112 Minor typos.
1113
1114 * common/Encoding.cpp:
1115
1116 If auto-detection of encoding fails, assume that it is UTF-8.
1117
1118 * common/Exception.cpp:
1119
1120 Change the error message from ACE_DEBUG to ACE_ERROR.
1121
1122 * common/FileCharStream.cpp: Handle BOM of UTF-8 in
1123 addition to UTF-16. Cleanup unnecessary parens.
1124
1125 * common/HttpCharStream.cpp:
1126 * common/HttpCharStream.h:
1127
1128 Add support for auto-detection of encoding.
1129
1130 * common/InputSource.cpp:
1131 * common/InputSource.h:
1132
1133 Fixes for use with ACEXML_Parser_Context.
1134
1135 * common/LocatorImpl.cpp:
1136 * common/LocatorImpl.h:
1137
1138 Fixed bug in copy constructor which resulted in locator
1139 information not getting set properly.
1140
1141 * common/NamespaceSupport.cpp:
1142 * common/NamespaceSupport.h:
1143
1144 Implement reset() method.
1145
1146 * common/SAXExceptions.cpp:
1147
1148 Change the error message from ACE_DEBUG to ACE_ERROR.
1149
1150 * common/StrCharStream.cpp:
1151
1152 Handle copying of bytes according to sizeof (ACE_WCHAR).
1153
1154 * common/StreamFactory.cpp: Create the appropriate stream
1155 given an URI. We don't try to normalize the URI here. It is done
1156 in the Parser.
1157
1158 * common/Transcode.cpp:
1159 * common/Transcode.i:
1160
1161 Moved some very big functions from .i to .cpp.
1162
1163 * examples/SAXPrint/SAXPrint_Handler.cpp:
1164 * examples/SAXPrint/main.cpp:
1165
1166 Updates to reflect the new calling convention in the Parser.
1167
1168 * parser/parser/Entity_Manager.cpp:
1169 * parser/parser/Entity_Manager.h:
1170 * parser/parser/Entity_Manager.i:
1171
1172 Implemented support for resolving SYSTEM and PUBLIC ids from
1173 the Entity_Manager.
1174
1175 * parser/parser/Parser.cpp:
1176 * parser/parser/Parser.h:
1177 * parser/parser/Parser.i:
1178
1179 Implemented support for external parameter and entity
1180 references. Rewrote a lot of the basic parsing functionality to
1181 adhere to the standard. Implment partial support for validation
1182 of XML files.
1183
1184
1185 Fri Oct 25 15:44:04 2002 Krishnakumar B <[email protected]>
1186
1187 * parser/parser/Parser.i: Handle end-of-line as required by
1188 the spec. Specifically any sequence of 0x0D or 0x0D 0x0A should
1189 be normalized to a 0x0A before passing to the XML processor.
1190
1191 * parser/parser/Parser.cpp: Remove checks for 0x0D as it is
1192 handled tranparently now.
1193
1194 Thu Oct 24 21:06:44 2002 Krishnakumar B <[email protected]>
1195
1196 * common/NamespaceSupport.cpp: Define strings normally and
1197 not as an array.
1198
1199 * common/Attributes_Def_Builder.h: No need to typedef in C++.
1200
1201 Thu Oct 24 01:52:46 2002 Krishnakumar B <[email protected]>
1202
1203 * ACEXML\parser\parser\Parser.cpp: Moved out the declaration of
1204 variables outside case labels. MSVC doesn't like it.
1205
1206 Wed Oct 23 22:24:59 2002 Krishnakumar B <[email protected]>
1207
1208 * parser/parser/Parser.cpp: Fixed a stupid thinko in array
1209 initialization.
1210
1211 Wed Oct 23 17:27:14 2002 Krishnakumar B <[email protected]>
1212
1213 * common/Encoding.cpp:
1214 * common/Encoding.h:
1215
1216 Use UTF-16 instead of UTF-16LE/UTF-16BE as the specification
1217 doesn't require mentioning the endianness of the input.
1218
1219 * common/Transcode.h: Fixed some minor typos.
1220
1221 * examples/SAXPrint/namespaces.xml: New file which tests
1222 out the namespaces feature much better.
1223
1224 * apps/svcconf/Makefile:
1225 * parser/parser/Makefile:
1226
1227 Updated dependencies.
1228
1229 * parser/parser/ParserErrors.h: New file which contains the
1230 error codes of all the error spit out by the parser.
1231
1232 * examples/SAXPrint/Print_Handler.cpp:
1233 * examples/SAXPrint/SAXPrint_Handler.cpp:
1234
1235 Make sure that the characters() function describes the arguments
1236 as start and length instead of start and end.
1237
1238 * parser/parser/Parser.dsp: Added ParserErrors.h to the
1239 project file.
1240
1241 * parser/parser/Parser.cpp:
1242 * parser/parser/Parser.h:
1243
1244 Use minor codes when reporting error in the parser. This cleans
1245 up a lot of repeated error messages and indenting so that we
1246 don't need to spill over 80 columns and have a standardized way
1247 of reporting errors. Rewrote parse_cdata() so that is is much
1248 simpler. Removed try_grow_cdata() as it is no longer needed.
1249 Handle the case when the parser was accepting invalid character
1250 references().
1251
1252 Local Variables:
1253 mode: change-log
1254 add-log-time-format: (lambda () (progn (setq tz (getenv "TZ")) (set-time-zone-rule "UTC") (setq time (format-time-string "%a %b %e %H:%M:%S %Z %Y" (current-time))) (set-time-zone-rule tz) time))
1255 indent-tabs-mode: nil
1256 End: