Commit Graph

  • 56942fb82a New version is 3.1 Emmanuel Briot 2008-10-27 21:40:20 +00:00
  • 2883037663 Copy DLL into the bin directory. Pascal Obry 2008-10-25 09:06:07 +00:00
  • 97ae73d60b (install): do not install *.so in prefix/lib, but only *.so.<version>, to avoid problems when linking with static libraries. See HA21-023 Emmanuel Briot 2008-10-22 22:37:35 +00:00
  • 4b13f16fbc Ensure that these directories always exist, since that might generate errors in "clean" target otherwise. Discussed in HA06-009 gps-4_3-branch Emmanuel Briot 2008-10-14 19:07:14 +00:00
  • 8d838f6e5f (clean): make none of the commands fatal. It is possible that shared or static libs were not installed, as reported in HA06-009 Emmanuel Briot 2008-10-06 15:51:51 +00:00
  • 2c59aba08c Also update installation instructions, for HA06-009 Emmanuel Briot 2008-10-06 15:50:57 +00:00
  • c20b6318b1 Improve instructions on Windows as per HA06-009 Emmanuel Briot 2008-10-06 15:48:17 +00:00
  • 3b145b75e1 Take into account the default library type set by configure (H828-019) Emmanuel Briot 2008-08-28 14:10:48 +00:00
  • 66434e4653 Redo previous change: we keep the call to Initialize for compatibility with older versions of GNAT Emmanuel Briot 2008-08-20 12:41:41 +00:00
  • e90cd13979 Fix casing error reported by recent versions of GNAT Emmanuel Briot 2008-08-20 11:59:57 +00:00
  • a1472efaf6 Fix casing error reported by recent versions of GNAT Emmanuel Briot 2008-08-20 11:59:31 +00:00
  • f90b5184c4 Remove explicit initialization of GNAT.Sockets, no longer needed apparently, since Initialize is marked Obsolescent Emmanuel Briot 2008-08-20 11:57:51 +00:00
  • 28fef98c49 Add support for disabling some tests In particular, disable schZ012_a which is only correct on case-sensitive file systems, as reported by the testsuite maintainers to w3c Fixes nightly regressions on lena Emmanuel Briot 2008-08-20 11:02:04 +00:00
  • 9dd745c596 Added entry for H312-009 Emmanuel Briot 2008-08-18 08:14:58 +00:00
  • cbac28e995 (Write): Avoid writing extra blank spaces after the text of an element, as reported in H312-009 Emmanuel Briot 2008-08-18 08:12:51 +00:00
  • 634710e7d1 (Open): enhance comment Emmanuel Briot 2008-08-14 15:39:12 +00:00
  • 5bb8c112b6 Remove no longer needed with clause for Direct_IO and Sequential_IO (Open): Raise Name_Error if file cannot be found Continuation of H530-001 Vincent Celier 2008-08-12 21:59:36 +00:00
  • 62649ad117 (Fast_Read): Remove procedure, no longer used (Open): Change implementation so that it works also on VMS For H530-001 Vincent Celier 2008-08-11 21:33:51 +00:00
  • 2f1586d27b (Clone_List): Add support for cloning an empty list. Patch suggested by J. Roussel Emmanuel Briot 2008-08-04 15:29:59 +00:00
  • dda0e4c5c6 (LIBEXT): new variable to define the shared library extension. This can be overridden on systems like HP-UX which expect .sl Possible workaround for H716-018 Emmanuel Briot 2008-07-17 09:29:57 +00:00
  • 7eb3d5e8fb Remove package Linker, to avoid warnings with recent versions of GNAT Emmanuel Briot 2008-07-17 09:29:16 +00:00
  • 5b218c399b Add support for the windows-1251 encoding. For H523-017. Florian Villoing 2008-05-26 14:55:39 +00:00
  • 4dec1bb659 Update build procedures now that by default we build both shared and static libraries (H505-007) Emmanuel Briot 2008-05-14 14:57:40 +00:00
  • bb20c94321 We now build both static and shared libraries by default, although the user can use configure's --disable-shared switch to change this behavior. By default, the installation project file will now link with the static libraries (unless --enable-shared was specified), although the default can be overridden with LIBRARY_TYPE This implements H505-007 for xmlada Emmanuel Briot 2008-05-14 14:36:45 +00:00
  • de252076a7 (Remove_Child, Replace_Child): added documentation on memory management, as discussed in H312-009 Emmanuel Briot 2008-05-07 08:05:28 +00:00
  • d3e9923980 On some machines, dos2unix outputs to stdout, and we don't want to see that in the nightly output (that generates a 11Mb mail) Emmanuel Briot 2008-04-29 08:02:57 +00:00
  • 448a63d412 (Open): Now takes a 'Class as argument, so that we can more easily derive from File_Input (Eof): Take into account the case where the file has not been initialized gpl-2008-branch Emmanuel Briot 2008-04-15 10:25:16 +00:00
  • 5ef1dcac4c Revert previous patch until further discussion, since at least we need to update some scripts. H411-005 Emmanuel Briot 2008-04-13 12:17:05 +00:00
  • b8f9c61400 (install): do not try to rebuild, as suggested in H411-005, and in the GNU coding standards Emmanuel Briot 2008-04-11 08:08:47 +00:00
  • 741e8f0a7c Updated baseline after fix for H212-023 (support for default elements) Emmanuel Briot 2008-02-15 11:39:45 +00:00
  • 3be45cf300 Upgrade version number to 3.1w Emmanuel Briot 2008-02-13 15:14:57 +00:00
  • b4bb96f2b7 Fix handling of default value for elements: that value is used when validating the contents of the element, and properly inserted into the DOM tree. Automatic test added Fixes H212-023 Emmanuel Briot 2008-02-13 15:13:54 +00:00
  • 979eb731c8 Update version number to 3.0 Emmanuel Briot 2008-01-07 13:27:37 +00:00
  • 2d50ae1667 Fix build failures due to new GNAT warnings. Work for GC12-015. gnat-6_1-branch Pascal Obry 2007-12-13 17:31:19 +00:00
  • 11953a7005 Minor reformatting Pascal Obry 2007-12-12 15:34:06 +00:00
  • 47e8f68462 Minor reformatting Pascal Obry 2007-12-12 14:26:23 +00:00
  • b6033ecb1c Fix build failures due to new GNAT warnings. Work for GC12-015. Pascal Obry 2007-12-12 14:26:15 +00:00
  • 3f44b4c5e7 Test that the test baselines directory exists, otherwise exit with an error message. Avoids sending big messages as in GB26-015 Emmanuel Briot 2007-11-27 09:30:01 +00:00
  • 0650123300 (Set_System_Id): avoid further calls to getcwd() if we already have an absolute name. In the context of GPS, that saves 48 calls to getcwd on my system. Part of GB07-006 Emmanuel Briot 2007-11-16 15:22:44 +00:00
  • e80f489f3b (Set_System_Id): Do not call with Resolve_Links=>True, since that is irrelevant in this context, and slows down the start of the application. On GPS, while loading the gps project, went down from 3085 calls to readlink to 2513 Part of GB07-006 Emmanuel Briot 2007-11-16 13:26:51 +00:00
  • ab948f5e61 Add needed pragma Unreferenced reported by recent versions of GNAT Emmanuel Briot 2007-10-11 09:48:13 +00:00
  • 91d6aea85f Remove use of -gnatg, reserved for the compiler Added -gnatwe in DEBUG mode only, and make sure the default mode is not debug. Workaround issues in DB25-013 Emmanuel Briot 2007-10-10 12:16:44 +00:00
  • 4bd122e869 Remove unneeded pragma Unreferenced, since the compiler complained on the nightly run on bronx Emmanuel Briot 2007-10-09 07:09:25 +00:00
  • f8c1ffd555 Further fix for GA01-010 (Validate_Characters): the previous check in optimized the code, since in case there is no extension part we would test the base twice. However, in case there is an error we must let the exception through to report the error. There were some changes in the W3C testsuite after all, when fixing GA01-010 Emmanuel Briot 2007-10-03 13:34:34 +00:00
  • 7d476327f4 (Validate_Characters): Fix handling of mixed content when there is no specific extension part (as happens for a <complexType> with no child node for instance, as in the documentation example. Fixes GA01-010 Emmanuel Briot 2007-10-03 13:25:37 +00:00
  • dd563583b7 Fix spelling, reported in GA01-010 Emmanuel Briot 2007-10-03 13:18:56 +00:00
  • ccaf6c2048 (install): on windows, also copy *.dll into $install/lib, so that the user has a single directory to add to %PATH%, similar to what we do on linux for $LD_LIBRARY_PATH. Discussed in G917-007 Emmanuel Briot 2007-09-19 07:35:32 +00:00
  • 0f47ba1b47 Convert to unix format before the diff, hopefully to fix nightly failures on windows Emmanuel Briot 2007-09-14 10:47:03 +00:00
  • 6096773b74 Fix baseline after update in g-regpat which flags "a[]b" as an invalid regexp. Emmanuel Briot 2007-09-06 08:33:45 +00:00
  • 21917570ca Fix all remaining memory leaks (?) found when running schematest on the whole set of 40000 officials tests from w3c. Emmanuel Briot 2007-09-05 20:32:48 +00:00
  • 20a45839ea Some further memory leaks fixed Emmanuel Briot 2007-09-05 16:22:22 +00:00
  • 53d236c1fa (Parse_Instance_Test): Fix some memory leaks reported by valgrind on linux. On exit, there were still 17Mb of unfreed data, which might have impacted the running on other platforms, in the nightly runs (G808-005) Emmanuel Briot 2007-09-05 14:54:29 +00:00
  • 57ea32ffe8 Set exit status to 0 or 1, depending on whether we had errors or not. This is used to help reduce the number of mail messages sent every day Emmanuel Briot 2007-09-04 09:10:30 +00:00
  • 63f33233d6 (Test_Head): Force output in unix-style paths, to fix output error on Windows (G808-005) Emmanuel Briot 2007-09-03 08:03:53 +00:00
  • a1c6792dcb Use a @section instead of @subsection for running on vxworks, since otherwise tex complains (G903-001) Emmanuel Briot 2007-09-03 07:16:24 +00:00
  • ad2f936f70 Added note about stack usage on VxWorks (G823-009) Emmanuel Briot 2007-08-30 07:52:05 +00:00
  • 4c9d8b3a71 (clean): now also clean static libraries Emmanuel Briot 2007-08-28 10:15:43 +00:00
  • 3a42043bcd (%_inst): Fix installation of shared lib under Windows to match the new naming convention. Remove the second installation rule on Windows as bogus. Continued work for G728-001. Pascal Obry 2007-08-14 15:17:31 +00:00
  • b05a726983 (Append): parameter can be "in" instead of "in out", as reported by recent versions of GNAT Emmanuel Briot 2007-07-31 08:40:11 +00:00
  • b73e0a40a7 Run test_date_time and testnumbers everynight Emmanuel Briot 2007-07-31 07:56:06 +00:00
  • 3ca3262a1d (Image): New subprogram. floating values are now output with no trailing '0', so that the output is the same on 64 bits and 32 bits machine, fixing nightly run failures on congo and ob Emmanuel Briot 2007-07-31 07:46:23 +00:00
  • cb4af914ac Change final output of the testsuite, so that it is clearer that the errors are expected Emmanuel Briot 2007-07-31 07:31:18 +00:00
  • 92adefd75c Use "diff -c" instead of "diff -u" since the latter is not supported on ravi Emmanuel Briot 2007-07-31 07:10:07 +00:00
  • 46030defff Print NOT RUN instead of FAILURE, so that the nightly runs are less worrisome Emmanuel Briot 2007-07-31 07:07:04 +00:00
  • 196d12441d We only output basenames even for well-formedness errors now Emmanuel Briot 2007-07-30 16:23:57 +00:00
  • 0871373165 (Use_Basenames_In_Error_Messages): Moved to sax-readers, so that it is also used for well-formedness errors Emmanuel Briot 2007-07-30 16:22:49 +00:00
  • a3b62c3800 Only basenames are now output in error messages Emmanuel Briot 2007-07-30 16:03:04 +00:00
  • c16d43ce4b (To_String): New parameter Use_Basename Emmanuel Briot 2007-07-30 15:55:43 +00:00
  • 585772db25 (Use_Basenames_In_Error_Messages): new subprogram Since Ada exception messages are limited to 200 characters, we must filter out the absolute file names when creating the error message, and not once we have the (potentially already truncated) message. This ensures that we can usefully compare strings in the testsuite Emmanuel Briot 2007-07-30 15:50:34 +00:00
  • 273e816436 (Validate_Characters, for boolean): an empty string is always an invalid boolean Emmanuel Briot 2007-07-30 15:01:38 +00:00
  • a4c0fce743 Do the diff with "-u" for greater readability Emmanuel Briot 2007-07-30 14:53:37 +00:00
  • 18cde0f371 Do not output absolute file names, so that the baseline is machine- independent and can more easily be run nightly. Part of F622-004 Emmanuel Briot 2007-07-30 14:46:20 +00:00
  • 55ad9425a8 Make sure that all testsuites output at least "SUCCESS", instead of being fully silent, so that we can more easily monitor the nightly runs. Part of FC22-004 Emmanuel Briot 2007-07-30 13:58:04 +00:00
  • 3186a856a6 Print SUCCESS if the testsuite passes, instead of being silent, so that the nightly testsuite at least shows that the test was run. Part of FC22-004 Emmanuel Briot 2007-07-30 13:51:22 +00:00
  • c9c0c25e19 (run_test): do not print the name of the directories, so that the output of the nightly testsuite does not show these Emmanuel Briot 2007-07-30 13:49:04 +00:00
  • 6c1de91a63 Compact the expected output by removing redundant strings. The goal is to make the source package of xml/ada smaller, since we need to include the schematest.out file anyway, as discussed in F622-004 Emmanuel Briot 2007-07-30 13:36:17 +00:00
  • 76bffbfe8f Make should never return on error when there are differences, otherwise the nightly tests do not send the mail apparently Emmanuel Briot 2007-07-30 13:35:24 +00:00
  • c29e930d18 Do not run the testsuite if the tests directory was not found Emmanuel Briot 2007-07-30 12:56:25 +00:00
  • 66be02f8ac Do not run the "old" w3c tests if the link is not set, as is the case in the nightly runs Emmanuel Briot 2007-07-30 12:43:20 +00:00
  • 5d971627c8 (run_test): do not try to recompile the tests, so that this target can be used for the nightly builds Emmanuel Briot 2007-07-30 12:33:29 +00:00
  • 2f88cb9864 Name of tests directory has changed Emmanuel Briot 2007-07-30 12:21:15 +00:00
  • a14591a936 Change name of directory containing the tests, to avoid one extra useless copy of the whole directory in the nightly runs Emmanuel Briot 2007-07-30 12:08:11 +00:00
  • 370ff5a2e8 (Value): allow leading and trailing spaces in decimal numbers Emmanuel Briot 2007-07-30 11:04:39 +00:00
  • dc26064727 (True_Sequence, False_Sequence): new constants Emmanuel Briot 2007-07-30 10:36:23 +00:00
  • 83eb9e7c67 Remove commented code Emmanuel Briot 2007-07-30 10:35:37 +00:00
  • 2ca8f4166b "boolean" types can have leading and trailing spaces Emmanuel Briot 2007-07-30 10:31:57 +00:00
  • f9f0d3f536 ("<attribute ref="..">") can now include a namespace specification. Fixes 65 tests in w3c testsuite, part of ongoing effort for F622-004 Emmanuel Briot 2007-07-30 10:15:18 +00:00
  • 89a8b8d872 (String_List_Get_Length): Fixed off-by-one computation in previous checkin. Fixes 47 additional tests Emmanuel Briot 2007-07-30 09:31:38 +00:00
  • f0818f5f58 Fix computation of length for NMTOKENS values, since these are lists of strings, not actual strings. Fixes 32 tests in the w3c testsuite. Part of ongoing effort in F622-004 Emmanuel Briot 2007-07-30 09:25:33 +00:00
  • 2c317be14e Adapted now that we allow overriding "length" in restrictions Emmanuel Briot 2007-07-30 09:13:08 +00:00
  • 21a50df05c Add support for override the "length" facet in <restriction> This makes 1100 tests from the official w3c pass (ie valid or invalid documents are reported as such, but the error messages have not been checked). Down to 2261 failures Emmanuel Briot 2007-07-30 09:11:30 +00:00
  • e4225144ae Fix expected output now that gMonth parsing was fixed Emmanuel Briot 2007-07-30 08:57:27 +00:00
  • b44445065c Fix parsing of gMonth, since the trailing "--" is in fact optional, and should even be disallowed in future versions of schema. Fixes 201 failing tests on official w3c testsuite (2007-06) Emmanuel Briot 2007-07-30 08:55:48 +00:00
  • 1722fa63c1 Fix remaining internal errors reported when running the new w3c testsuite (F622-004) Emmanuel Briot 2007-07-27 16:13:28 +00:00
  • ceaeca9455 (Convert_Regexp): Fix handling of \ as last character in the regexp, or never-ending [... Emmanuel Briot 2007-07-27 15:21:35 +00:00
  • df2d4c38db (Convert_Regexp): Moved to spec so that we can have automatic tests. We now test when reading the .xsd file itself whether the regexp is valid, to provide more accurate error messages. Emmanuel Briot 2007-07-27 15:18:06 +00:00
  • 7ceda3680b Added basic tests for regular expression conversion Emmanuel Briot 2007-07-27 15:17:14 +00:00
  • 2d2862ebc1 Only run tests with a status of "accepted", since the others are still being discussed and it isn't clear whether they should be valid or not Emmanuel Briot 2007-07-27 14:37:53 +00:00
  • a2d8e0b7a1 (Convert_Regexp): Fix regular expressions substituted for [\c], since it contained an invalid character class. Fixes 153 tests in the new w3c testsuite (F622-004) Emmanuel Briot 2007-07-27 14:08:07 +00:00
  • 65b406c7d8 (Max_Occurs_From_Value): added support for invalid values of maxOccurs. Fixes 12 regressions in the new w3c testsuite (F622-004) Emmanuel Briot 2007-07-27 13:58:04 +00:00