Commit Graph

  • d655737ab0 (Create_Import): Check whether the attributes are properly given, otherwise that's an exception. Fixes 30 tests in w3c testsuite Emmanuel Briot 2007-07-27 13:45:27 +00:00
  • d750828ffd New driver for running newer versions of the w3c testsuite. This now runs about 40_000 tests, although we still get internal errors in XML/Ada. Part of F622-004 Emmanuel Briot 2007-07-27 13:31:04 +00:00
  • 7f46b25873 Fix handling of <include> in schemas, which applies to the same target namespace as the original file. Fixes 12 regressions in the new w3c testsuite. Part of F622-004 Emmanuel Briot 2007-07-27 13:29:50 +00:00
  • 8b0bcec47a Fix Storage_Error that occurred in schema-validators-ur_types.adb when multiple grammars were parsed, after the first one had been deallocated. Some XML_Element were stored in a global variable, but also freed when the grammar was deallocated. Found while working on F622-004 Emmanuel Briot 2007-07-27 10:09:59 +00:00
  • 97c0550e15 (%_install): Not a failure if there is no *.ali file yet in the installation directory Emmanuel Briot 2007-07-24 14:06:30 +00:00
  • 381ce7a8db (%_install): the DLL on Windows is actually xmlada_<module>.dll, with no lib prefix, which is accepted on Windows as per G724-003 Emmanuel Briot 2007-07-24 13:12:14 +00:00
  • 5d9a93e7d8 (Diff_Output): On windows, output the last newline preceded by CR, to avoid diff in output. Fixes G322-012 Emmanuel Briot 2007-07-24 13:09:18 +00:00
  • 5d54da6fac (%_install): partial fix for G724-003: on windows, do not try to install the .so files, but the .dll files. Emmanuel Briot 2007-07-24 12:04:34 +00:00
  • 286db2a32b (install): change permission on .ali files before installing, so that cp does not complain Emmanuel Briot 2007-07-24 09:42:12 +00:00
  • ca2dbe0b7d (Open): Now requests with HTTP 1.0 instead of HTTP 1.1, since we do not need any feature from more recent versions anyway, and the former is compatible with more servers. Added debug traces. Fixes G718-020 Emmanuel Briot 2007-07-19 08:35:31 +00:00
  • 8aad8ee067 (Has_Attribute): New subprogram (Add_XML_Instance_Attribute): Do nothing if the attributes have already been added, to avoid reallocating extra memory each time a new document is parsed (even though that memory is properly freed). Fixes G510-017 Emmanuel Briot 2007-07-13 15:35:36 +00:00
  • 435784c7e9 Rewritten so that we can force the use of static libraries if the relocatable libraries were not installed (G711-003) Emmanuel Briot 2007-07-13 12:58:51 +00:00
  • b264f86810 Fix -aO output for both shared and static libraries (G711-003) Emmanuel Briot 2007-07-12 13:06:58 +00:00
  • 66eebae7ab Fix incorrect variable name, which resulted in G711-003 Emmanuel Briot 2007-07-11 08:48:37 +00:00
  • fc90451c5e (install): Use ${CP} instead ${INSTALL}, as was done in the past, since the latter does not support installing multiple files at once Emmanuel Briot 2007-07-10 08:56:16 +00:00
  • 6b74746546 (install): install-sh does not support wildcard expansion, which results in nightly build failures on dresden, porto and oslo at least (0000-999 and G710-003) Emmanuel Briot 2007-07-10 08:45:02 +00:00
  • f32d788732 (install): for backward compatibility, always try to rebuild the project. This is as opposed to what the GNU coding standards recommend, but unfortunately was already done in the past Emmanuel Briot 2007-07-09 09:26:05 +00:00
  • 70da2087ff Default library is static here Emmanuel Briot 2007-07-09 09:24:44 +00:00
  • 40b932eb17 Reorganize the installation procedure for XML/Ada (locally and in the install directory), so that both static and shared libraries can be compiled and installed at the same time, without requiring a "make clean" in between. This is using the same directory organization as for gnatlib. This also provides more sharing among the installed project files. Emmanuel Briot 2007-07-09 08:59:46 +00:00
  • 315f283a78 (Parse): Set out parameter to a valid value, to avoid GNAT warning Emmanuel Briot 2007-07-09 08:57:24 +00:00
  • 841f73ad83 Updated to latest changes in configure.in Regenerated on bonn, since that version of autoconf is best Emmanuel Briot 2007-07-08 06:24:23 +00:00
  • 2e89c055d1 Put back temporarily MAJOR_VERSION and MINOR_VERSION, since they are used by the nightly scripts to find out the version number Emmanuel Briot 2007-07-07 07:20:24 +00:00
  • b449a7ad49 Fix syntax (and build failures) Emmanuel Briot 2007-07-07 07:19:36 +00:00
  • bf172fb4f1 Store the version number in xmlada.gpr (from G705-036) Emmanuel Briot 2007-07-06 08:01:21 +00:00
  • 75421b48a6 Remove no longer needed with clause, fixes nightly build failures Emmanuel Briot 2007-06-28 08:04:00 +00:00
  • 3a43152d4f Do not declare tagged type in procedure, to avoid GNAT warning (and this also does a better job at reusing code already in string_stream.ads) Emmanuel Briot 2007-06-27 10:25:20 +00:00
  • 85f800f1a1 Always run the unicode automatic tests Added automatic tests for G522-008 (Unicode.Encodings.Convert): do nothing when converting to the same encoding Fix off-by-one indexing Emmanuel Briot 2007-05-31 13:30:43 +00:00
  • acdc29aacb Adapted to changes of API for Write Emmanuel Briot 2007-05-31 13:08:36 +00:00
  • adaca906c6 (Write): Rename Print_XML_PI into Print_XML_Declaration, to make the intent clearer, as discussed in G522-005 Emmanuel Briot 2007-05-31 09:58:56 +00:00
  • 450dc25373 (Convert): New subprogram, needed for G522-008 Updated documentation accordingly Emmanuel Briot 2007-05-31 09:58:26 +00:00
  • e93dc27c99 (Dom.Core.Nodes.Write): new parameter Pretty_Print, for G522-006 Emmanuel Briot 2007-05-30 16:39:31 +00:00
  • ab057444d8 Remove use of controlled types and smart pointers in most cases after all, since they have the following drawbacks: - less efficient code (each assignment generates extra code) - a lot more exception handlers, preventing compilation on some machines (G525-005) - there are still errors reported by valgrind, in code that is extremely hard to debug and might in fact be an error in the GNAT runtime itself. The order of calls to finalize depends on the order in which the types are declared, and with mutually dependent types this is hard to control Instead, only the XML_Grammar_NS and Locator are controlled, since they are the most likely to be used by the user. The grammar takes care of freeing all needed memory (fixed a lot of memory leaks, as reported in G510-017). All debug messages are now in a "if Debug" statement, so that we do not have to use the secondary stack to prepare their argument, often unused. This also limits memory use somewhat. There are no remaining known memory leaks when running the schema testsuite Fixes copyright notices Emmanuel Briot 2007-05-30 15:29:40 +00:00
  • b213af651e (Ide.VCS_Kind): Set to Subversion instead of CVS. Pascal Obry 2007-05-22 18:06:05 +00:00
  • 0dd554c672 Minor reformatting. Add missing file header and routine header box. Pascal Obry 2007-05-22 18:03:37 +00:00
  • 22f44991b9 Remove unused with clause. Arnaud Charlet 2007-05-21 07:56:46 +00:00
  • 3c2699aec3 Revert previous checkin, which included a test so that valgrind detects memory corruption, but is not required in the general setup Emmanuel Briot 2007-05-16 14:33:02 +00:00
  • 0b772b5e33 Make XML_Group a smart pointer Emmanuel Briot 2007-05-16 14:31:35 +00:00
  • a0c5104ef9 Fixes further memory leaks related to Choices and Restrictions, found while running the schema testsuite under valgrind. G510-017 Emmanuel Briot 2007-05-16 13:04:32 +00:00
  • c167b44139 Add support for running all tests in valgrind to test for memory leaks (G510-017) Emmanuel Briot 2007-05-16 12:17:20 +00:00
  • 2bbc1c3e11 Move the stream declaration to a separate package, so that we not extend a tagged type at a deeper level than the parent type Emmanuel Briot 2007-05-16 12:02:15 +00:00
  • ca281a0639 Adapted to new API in Sax.Readers Emmanuel Briot 2007-05-16 11:58:27 +00:00
  • b46e14d320 Further memory leak fixes (no more leak when running testschema now). G510-022 This also removes the need for recent versions of GNAT including the fix for G515-016, probably because the order of declarations has changed in the source file Emmanuel Briot 2007-05-16 11:56:55 +00:00
  • 05594cbe8c Remove commented out code Emmanuel Briot 2007-05-16 11:55:51 +00:00
  • c775e49535 Make XML_Attribute_Group a smart pointer, to fix 27 remaining memory leaks when running testschema on xmltests/msxsdtest/element/elemC001.xsd Part of G510-017 Emmanuel Briot 2007-05-16 10:39:36 +00:00
  • 5ed9e25050 Make XML_Element a smart pointer to fix memory leaks in G510-017 Change the way substitution groups are implemented, to ease memory handling and because the proper handling of group might have depended on the order in which the elements were added to the group Emmanuel Briot 2007-05-16 10:28:49 +00:00
  • 66373a0e28 (Set_Document_Locator): Make Loc parameter in out, so that users can modify it, as is done in GPS Emmanuel Briot 2007-05-16 08:01:02 +00:00
  • 695641a522 Major change in API: some types, especially in Schema module, were made ref-counted to fix memory leaks reported in G510-017. All memory leaks are however not fixed yet, further checkins will follow. This version works best with a recent version of GNAT that also fixes G515-016, or valgrind might report issues in the finalization of the applications. Added missing copyright notices Emmanuel Briot 2007-05-15 16:14:43 +00:00
  • 9ddf391ed2 Bump version number to 3.0w, since API has changed with refcounted types Emmanuel Briot 2007-05-15 16:05:57 +00:00
  • e307394840 Change name of Main units, to include extensions. This ensures "gnat clean" will correctly remove executables, and is compatible with the future gprbuild Emmanuel Briot 2007-05-15 15:58:34 +00:00
  • 0fdc3755f8 Remove unneeded with clause Emmanuel Briot 2007-05-11 11:08:23 +00:00
  • 54293aeb5b (DOM.Core.Nodes.Write): New subprogram to write a DOM tree to an Ada stream. In particular, this makes it possible to marshall a tree into a string, as requested in G508-017 and FA12-014 Emmanuel Briot 2007-05-10 16:12:15 +00:00
  • 08142d6e9a Project was renamed Emmanuel Briot 2007-05-10 12:52:40 +00:00
  • 64dc9aa6aa Rename main project Emmanuel Briot 2007-05-10 12:39:48 +00:00
  • 179ed586a1 (Check_URI): Added support for RFC 3986 Emmanuel Briot 2007-05-10 11:29:32 +00:00
  • ea99c3a59a Added various subprograms for converting from internal representation of dates and times to standard Ada types. Requested in G425-003 Emmanuel Briot 2007-05-10 11:27:16 +00:00
  • 992d013715 Added dependency on input_sources, for completeness Emmanuel Briot 2007-05-10 11:25:22 +00:00
  • 1e9ecfd437 Update revision number Emmanuel Briot 2007-05-10 11:24:46 +00:00
  • 2ee435e831 Added entry for G425-003 Emmanuel Briot 2007-05-10 11:13:49 +00:00
  • 9f4439ca9e Added entry for G404-019 Emmanuel Briot 2007-04-04 15:27:33 +00:00
  • 38455343ce (Create_Attribute): Fix handling of 'required' attributes. Fixes G404-019 Emmanuel Briot 2007-04-04 15:24:44 +00:00
  • ae791e40ae Upgrade to version 2.4w Emmanuel Briot 2007-03-19 15:50:32 +00:00
  • b0dd4cda34 Do not pass any argument to GNAT.Sockets.Initialize; do not assume that socket i/o is always thread blocking on the target platform. Found after D318-004 change. Thomas Quinot 2007-03-07 08:52:39 +00:00
  • 9216ee1b06 Fix incorrect autoconf variable reference. Thomas Quinot 2007-02-13 12:21:15 +00:00
  • 5db940f97b Fix generation of the PREFIX Makefile variable from autoconf. Thomas Quinot 2007-02-07 11:42:18 +00:00
  • cdb9cfcdec Add support for LynxOS 4.2. Thomas Quinot 2007-02-01 17:21:03 +00:00
  • 05819b9c34 Specialize installation commands according to host platform. For G124-017 Thomas Quinot 2007-01-26 14:11:09 +00:00
  • a9fa44e86b (Open_Input): Properly take base name on windows as well Emmanuel Briot 2007-01-24 11:13:46 +00:00
  • 99cdb78b01 Upgrade to version 2.4w Emmanuel Briot 2007-01-08 11:52:14 +00:00
  • 340bd5e732 Clean up these files, since the entries for the 2.2 release had been improperly marked Emmanuel Briot 2007-01-08 11:49:23 +00:00
  • 41eac3866d Partial undo of previous checkin: since the user needs to run configure anyway, the default library_type should indeed be changed in Makefile.in. Part of FC19-005 Emmanuel Briot 2007-01-04 10:06:19 +00:00
  • 2266ec98b9 Added comment on how to change default library type from the command line (FC19-005) Emmanuel Briot 2007-01-04 10:05:08 +00:00
  • 11d23d5a84 Reorder declarations, since GNAT is now checking for additional freezing rules. Fixes FB10-001 Emmanuel Briot 2006-11-10 14:32:15 +00:00
  • 88a29f36ff Add dependency on conformance Emmanuel Briot 2006-10-19 14:55:04 +00:00
  • 5c97373623 Added ??? comment Emmanuel Briot 2006-10-19 14:54:44 +00:00
  • 97d766eb3c Fix expected output after adding support for out-of-order NOTATION declaration in DTDs Emmanuel Briot 2006-10-17 07:57:29 +00:00
  • 6b8fa679be Initial revision, test with the official DOM conformance testsuite Emmanuel Briot 2006-10-16 16:09:47 +00:00
  • 7964e817ee Added entry for out-of-order notation declaration Emmanuel Briot 2006-10-16 14:58:46 +00:00
  • 51c2ca3045 Add support for out-of-order notation declaration in DTD Emmanuel Briot 2006-10-16 14:57:45 +00:00
  • 5e8123d640 Partial undo of previous check in (remove debug code) Emmanuel Briot 2006-10-16 11:20:36 +00:00
  • 0b9b353452 (Parse_Element_Model): Increase size of stacks, needed to parse the DTD for dom1 in the DOM Conformance testsuite Emmanuel Briot 2006-10-16 11:20:12 +00:00
  • d65660b808 Fix useless assignment warning Emmanuel Briot 2006-10-16 11:13:16 +00:00
  • 923d177d97 Added entry for FA16-002 Emmanuel Briot 2006-10-16 10:18:55 +00:00
  • 44a7221f00 Run test for FA16-002 Emmanuel Briot 2006-10-16 10:07:21 +00:00
  • 69473741a1 Add support for new datatypes: IDREFS, NMTOKENS, ENTITIES (part of FA16-002) Emmanuel Briot 2006-10-16 10:06:45 +00:00
  • fb483c7389 Allow xml:lang attribute for <schema>, as per FA16-002 Emmanuel Briot 2006-10-16 09:41:58 +00:00
  • 6f04be4491 Fix expected output after changes for F830-012 Emmanuel Briot 2006-09-01 10:46:40 +00:00
  • 76bc407d7b Added entry for F830-012 Emmanuel Briot 2006-09-01 09:01:19 +00:00
  • b16d6c682f (Parse_Doctype): Preserve the character read after the SYSTEM declaration. Fixes F830-012 (Check_And_Define_Namespace): Allow for empty namespaces (F830-012) Emmanuel Briot 2006-09-01 09:00:23 +00:00
  • 93639da6fd Previous check in fixed nightly runs on dresden (AIX) and prague (TRU64). This is F531-013 Emmanuel Briot 2006-08-24 09:59:39 +00:00
  • 03b141ea9d Deactivate three tests that require partial output of DOCTYPE Emmanuel Briot 2006-08-24 09:54:43 +00:00
  • 2c65e95ebe Use "diff" instead of "diff -c", since the latter prints "No difference found" on AIX (dresden) Emmanuel Briot 2006-08-24 08:04:02 +00:00
  • bda81c82be Add entries for F822-009 Emmanuel Briot 2006-08-22 15:27:58 +00:00
  • d0771ce30e (Add_Attribute_Group): New subprogram, part of F822-009 (Global_Check): Output the namespace when we have a missing definition Emmanuel Briot 2006-08-22 15:27:21 +00:00
  • bd8fd26293 (Create_Attribute_Group): Allow nested <attributeGroup>, as per F822-009 Emmanuel Briot 2006-08-22 15:26:36 +00:00
  • 3c5ca9ccaf (Get_Grammar_From_Attributes): Need to check missing definitions after we have parsed the local grammars Emmanuel Briot 2006-08-22 15:25:59 +00:00
  • b7260e6fb6 Fix expected output for missing definitions, since we now also output the namespace to make the error message more understable Emmanuel Briot 2006-08-22 15:25:27 +00:00
  • ec1001a4c3 Run tests for F822-009 Emmanuel Briot 2006-08-22 15:17:40 +00:00
  • bbc5407bf7 (Lookup_With_NS): New subprogram (Create_Attribute_Group): Fix handling of namespaces, since ref="" must contain the target namespace. Found in the context of F822-009 Emmanuel Briot 2006-08-22 14:00:40 +00:00
  • d1827c248a Add entry for F814-001 Emmanuel Briot 2006-08-16 09:19:11 +00:00
  • 4b26a10da8 (Parse): Do nothing if the grammar was already parsed (F814-001) Emmanuel Briot 2006-08-16 09:17:46 +00:00