3
I Use This!
Inactive

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
Sep 07, 2024 — Sep 07, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
* Makefile.in (SCRIPTS): Generate files with DOS line-ending convention under Windows. * doc/manual/introduction.xml: Expand. * doc/manual/test-tour.xml: Explain that Cygwin will not work with QMTest. More... over 23 years ago
* qm/attachment.py (TemporaryAttachmentStore.HandleUploadRequest): Add type attribute to <script>. * qm/web.py (DtmlPage.common_javascript): New variable. (DtmlPage.GenerateXMLHeader): New method. (DtmlPage.GenerateEndBody): Generate correctl XHTML. (DtmlPage.GenerateStartScript): New method. (DtmlPage.GenerateEndScript): Likewise. (WebRequest): Update extensions_map to map .js to text/javascript. (WebServer.__init__): Register "/common.js". (WebServer.TranslateRequest): Do not add a trailing '/' unless there is going to be something after the '/'. (make_set_control): Generate correct XHTML. (encode_set_control_contents): Likewise. (make_properties_control): Likewise. (make_help_link_html): Likewise. (make_popup_dialog): Likewise. (make_choose_control): Likewise. (_common_javascript): Remove. (_initialize_module): Likewise. * qm/test/web/web.py (QMTestPage.GenerateStartBody): Generate correct XHTML. * share/dtml: Likewise, for all files. * share/web/common.js (property_add_or_change): Change documentation text. (label_is_valid): Allow periods. * share/web/stylesheets/qm.css: Make sure it is valid CSS. More... over 23 years ago
* Merge from branch. More... almost 24 years ago
* qm/test/classes/command.py (ShellCommandTest): Use ShellCommandTest.command_shell, not just command_shell, as a context variable. (ShellScriptTest): Use ShellScriptTest.script_shell, not just script_shell. More... almost 24 years ago
* standard.mk.in (PRINTTEX): Fix -- problem with TeX formatting. * doc/qm.mod (dashdash): Remove FIXME comment. * doc/manual/common-manual.xml: Update. * doc/manual/text-manual.xml: Fix command-line reference. Spell-check. * doc/manual/test-tour.xml: Spell-check. * qm/cmdline.py (CommandParser.GetOptionsHelp): Tweak help string formatting. * qm/platform_unix.py (SignalException): Derive from RuntimeError. * qm/web.py (DtmlPage.GenerateHtmlHeader): Allow pages to insert additional headers. (WebServer.Run): Handle exceptions. (_handle_root): Fix typo. * qm/test/base.py (create_database): Raise a RuntimeError, not a ValueError, when something goes wrong. * qm/test/cmdline.py (Command._ExecuteRun): Create an ExecutionThread to run the tests. * qm/test/execution_thread.py: New file. * qm/test/run.py: Remove. * qm/test/web/web.py (DefaultDtmlPage.__init__): Remove menu logic. (DefaultDtmlPage.GenerateStartBody): Likewise. (DtmlPage): Rename to ... (QMTestPage): ... this. (QMTestPage.__init__): Include menu logic. (QMTestPage.GetServer): New method. (QMTestPage.GenerateStartBody): Likewise. (AddPrerequisitePage): Adjust to use QMTestPage. (AddResourcePage): Likewise. (ContextPage): Likewise. (DirPage): Likewise. (ExpectationsPage): Likewise. (LoadExpectedResultsPage): Likewise. (LoadResultsPage): Likewise. (NewItemPage): Likewise. (NewSuitePage): Likewise. (ResultPage): Likewise. (ShowItemPage): Likewise. (ShowSuitePage): Likewise. (StorageResultStream.__init__): Create lock to guard to __test_results and __resource_results. (TestResultsPage): Adjust to use QMTestPage. (QMTestServer): Pass server to page constructors. (QMTestServer.HandleStopTests): New method. * share/diagnostics/test.txt: Add execution terminated diagnostic. * share/dtml/test/results.dtml: Indicate incomplete vs. complete test results. * share/web/stylesheets/qm.css (span.warning): New class. More... almost 24 years ago
* doc/qm.mod (prompt): Reformat as >, not $. * doc/manual/test-tour.xml: Focus more attention on the graphical user interface. Reorganize. * qm/fields.py (Field.GetHtmlHelp): Tweak message. * qm/web.py (qm_bug_system_url): Use qm.codesourcery.com, not qm.software-carpentry.com. * qm/test/classes/python.py (ExecTest): Tweak doc string. * share/dtml/test/results.dtml: Highligh unexpected results. * share/tutorial/test/tdb/exec1.qmt: Change this test so that it FAILs, rather than ERRORs. * share/web/stylesheets/qm.css (td.unexpected): Set background-color. (tr.fail): Change background-color. More... almost 24 years ago
* qm/test/database.py (TestDescriptor.__init__): Correct documentation. * qm/test/test.py (TargetGroupField.GetDescription): Remove debugging statement. * qm/test/xmldb.py (Database.__MakeDomNodeForTest): Remove unncessary creation of target-group element. (Database.__ParseTestDocument): Do not restore it, either. (AttachmentStore.Adopt): Remove. * qm/test/web/web.py (QMTestServer.HandeSubmitItem): Remove category code. * share/dtml/test/show.dtml: Do not display categories. * share/xml/test.dtd: Remove target-group attribute. * qm/test/classes/command.py (ExecTestBase.RunProgram): Clarify error message. More... almost 24 years ago
* PyXML/xml/parsers/xmlproc/xmlproc.py (XMLProcessor.parse_start_tag): Handle out-of-data condition correctly. More... almost 24 years ago
* qm/test/web/web.py (FormatId): Add documentation. * share/dtml/test/result.dtml: Allow navigation on the test id. More... almost 24 years ago
* README: Document --prefix. Remove getting started documentation. * README.sources: Remove obsolete information. Document environment variable format. * doc/manual/test-manual.xml: Document environment variables used by QMTest. * qm/qm.sh: Use QM_PYTHON to find the Python interpreter if it is set. * qm/test/base.py (get_extension_directories): Change QMTEST_CLASSPATH to QMTEST_CLASS_PATH. * qm/test/text_result_stream.py (TextResultStream.__init__): Display "TEST RESULTS" heading. (TextResultStream.WriteResult): Display the result of the test immediately. (TextResultStream.Summarize): Use _DisplayHeading. (TextResultStream._SummarizeResults): Use _DisplayResult. (TextResultStream._DisplayResult): New method. (TextResultStream._DisplayHeading): Likewise. More... almost 24 years ago
* README.sources: Fix typo. * doc/manual/test-manual.xml: Likewise. More... almost 24 years ago
* qm/test/base.py (get_class_arguments): Retrofit to Python 1.5.2. More... almost 24 years ago
* Makefile.in (install): Quote directory names. * install.py (scripts): Use .bat extension on Windows. (install_package): Include .pyd files on Windows. * qm/Makefile.in (SCRIPTS): Generate batch files under Windows. * qm/platform.py: Treat unknown platforms as UNIX. (get_shell_for_command): New function. (get_shell_for_script): Likewise. * qm/platform_unix.py (get_shell_for_command): Remove. (get_shell_for_script): Likewise. * qm/platform_win32.py (default_shell): New variable. * qm/test/suite.py (Suite.__init__): Remove unnecessary assertion. * qm/test/classes/command.py (ReadThread): New class. (WriteThread): Likewise. (ExecTestBase.exit_code): Revise documentation. (ExecTestBase.Run): Rename to ... (ExecTestBase.RunProgram): ... this. Support Windows. (ExecTest.RunProgram): Rename to ... (ExecTest.Run): ... this. (ShellCommandTest.RunProgram): Rename to ... (ShellCommandTest.Run): ... this. (ShellScriptTest.RunProgram): Rename to ... (ShellScriptTest.Run): ... this. More... almost 24 years ago
* qm/web.py (WebServer.RegisterPathTranslation): Do not require the target path to be an extant directory. More... almost 24 years ago
* Makefile.in (QM_SRPM): Remove target. * qm.spec.in: Make relocatable, use build root. More... almost 24 years ago
* Makefile.in (QM_TAR_GZ): Modify logic. * install.py (bin_handler): Remove. More... almost 24 years ago
* Makefile.in (QM_MAJOR_VER): New variable. (QM_MINOR_VER): Likewise. (QM_VERSION): Likewise. (QM_TAR_GZ): Likewise. (CVS_SERVER): Likewise. (CVS_REPOSITORY): Likewise. (CVS): Likewise. (RPM_ARCH): Likewise. (RPM_BASE): Likewise. (QM_RPM): Likewise. (QM_SRPM): Likewise. (dist): New target. (rpm): Likewise. (release): Likewise. * configure.in (QM_MAJOR_VER): Substitute it. (QM_MINOR_VER): Likewise. (QM_RELEASE_VER): Likewise. (QM_VERSION): Likewise. (DOCBOOK_DTD): Revisit logic. (AC_OUTPUT): Generate qm.spec. * configure: Regenerated. * qm.spec: Remove. * qm.spec.in: New file. More... almost 24 years ago
* Makefile.in (check): New target. * doc/qm-html.dsl: Fix typo. * doc/manual/test-manual.xml: Update for simplifications below. * qm/test/base.py (get_class_arguments): New method. * qm/test/cmdline.py (Command.Execute): Fix thinko. * qm/test/context.py (Context.get): New method. (ContextWrapper.get): Likewise. * qm/test/database.py (ItemDescriptor.GetClassArguments): New method. (ItemDescriptor._MakeItem): Use it. * qm/test/resource.py (Resource.arguments): Update documentation. (Resource.__init__): Simplify. * qm/test/test.py (Test.arguments): Update documentation. (Test.__init__): Simplify. (Test.GetTargetGroup): Update. * qm/test/xmldb.py (Database.__GetArgumentsFromDomNode): Use get_class_arguments. * qm/test/classes/command.py: Update test classes. * qm/test/classes/file.py: Likewise. * qm/test/classes/python.py: Likewise. * qm/test/classes/temporary.py: Update resource classes. * qm/test/web/web.py (ShowItemPage.__init__): Update documentation. (QMTestServer.HandleSubmitItem): Use get_class_arguments. (QMTestServer.MakeNewTest): Use get_class_arguments. (QMTestServer.MakeNewResource): Use get_class_arguments. More... almost 24 years ago
* qm/track/memory_issue_store.py (IssueStore.__Write): Store issues safely. * qm/track/triggers/notification.py (NotifyFixedTrigger.property_declarations): New attribute. (NotifyFixedTrigger.GetRecipientAddresses): Handle empty list. (NotifyFixedTrigger.GetRecipientUids): Likewise. (NotifyByUidFieldTrigger.Preupdate): Use field_name property. More... almost 24 years ago
* qm/platform_unix.py (send_email): Reimplement, with support for attachments. More... almost 24 years ago
* qm/test/database.py (TestDescriptor.GetTargetGroup): Robustify. More... almost 24 years ago
* doc/manual/test-tour.xml: Clarify command sequence for running tests. * qm/common.py (find_program_in_path): Use the PATH environment variable if no path is specified. * qm/test/cmdline.py (Command.HasGlobalOption): Remove. (Command.Execute): Normalize the database path. * qm/test/database.py (TestDescriptor.__init__): Remove target_group parameter. (TestDescriptor.GetTargetGroup): Reimplement. * qm/test/qmtest.py (print_error_message): Tidy up the message. (program_name): Use only the basename. * qm/test/xmldb.py (Database.__ParseTestDocument): Correct typo. * qm/test/classes/Command.py (ExecTest.Run): Report the expected standard output when a test fails. Do not use the "path" context variable. * qm/test/web/web.py (QMTestServer.MakeNewTest): Correct typos. (QMTestServer.MakeNewResource): Likewise. * share/diagnostics/test.txt: Reformat some error messages. More... almost 24 years ago
* COPYING: Fix typo. More... almost 24 years ago
* doc/manual/test-manual.xml: Fix typos. * qm/test/base.py (CommandFailedError): Remove. (Context): Remove. (ContextWrapper): Remove. (set_up_resource): Use Result.ACTION, not action, to when constructing the result. (clean_up_resource): Likewise. * qm/test/cmdline.py (Command.commands_spec): Add -C and -c options to the GUI interface. (Command.GetTargets): Remove response_queue parameter. (Command.__ExecuteServer): Adjust. (Command.__ExecuteRun): Likewise. * qm/test/context.py: New file. * qm/test/qmtest-remote.py: Likewise. * qm/test/result.py (Result.ACTION): New constant. * qm/test/run.py (TestRun.Run): New method. (test_run): Remove. * qm/test/target.py (Target.__init__): Remove response_queue parameter. (Target.IsInGroup): New method. (Target.Start): Add response_queue parameter. * qm/test/classes/rsh_target.py (RSHThread._RunTest): Robustify. (RSHThread._SetUpResource): Likewise. (RSHThread._CleanUpResource): Likewise. (RSHThread._Stop): Likewise. (RSHTarget.__init__): Adjust documentation. (RSHTarget.Start): Add response_queue parameter. (ThreadTarget.__init__): Remove response_queue parameter. (ThreadTarget.Start): Add response_queue parameter. * qm/test/web/web.py (QMTestServer.__init__): Remove response_queue parameter. (QMTestServer.HandleRunTests): Use TestRun. More... almost 24 years ago
* doc/manual/test-manual.xml: Add command-line reference for "qmtest gui". * doc/manual/track-tour.xml: Fix typo. * qm/test/base.py (ItemDescriptor): Remove. (TestDescriptor): Likewise. (ResourceDescriptor): Likewise. (Suite): Likewise. * qm/test/cmdline.py (Command.commands_spec): Add -T and -j options to the GUI interface. (Command.GetTargets): New method. (Command.__ExecuteRun): Use it. Adjust call to test_run. (Command.__ExecuteServer): Use GetTargest. * qm/test/database.py (ItemDescriptor): New class. (TestDescriptor): Likewise. (ResourceDescriptor): Likewise. * qm/test/directory_suite.py: Adjust module from which to import Suite. * qm/test/qmtest-remote.py: Simplify target creation. * qm/test/run.py (ProtocolError): Remove. (TargetSpec): Remove. (test_run): Accept Targets, not TargetSpecs. (load_target_specs): Remove. (_target_spec_from_dom): Remove. * qm/test/target.py (Target.__init__): Remove target_spec parameter and replace with several others. (Target.GetName): Adjust. (Target.GetGroup): Likewise. (Target.GetConcurrency): Likewise. (Target.GetProperties): Likewise. (Target.Start): New method. (CommandThread.run): Simplify dynamic dispatch. * qm/test/xmldb.py: Adjust for changes in locations of descriptors. * qm/test/classes/rsh_target.py (RSHTarget.__init__): Adjust to match changes to Target.__init__. (RSHTarget.Start): New method. (RSHTarget.Stop): Join the thread. * qm/test/classes/thread_target.py (ThreadTarget.__init__): Adjust to match changes to Target.__init__. (ThreadTarget.Start): New method. * qm/test/web/web.py (QMTestServer.__init__): Accept targets as a parameter. (QMTestServer.HandleRunTests): Use them. More... almost 24 years ago
* qm/test/base.py (InstanceBase): Rename to ... (InstanceDescriptor): ... this. (TestDescriptor): Derive from InstanceDescriptor. (ResourceDescriptor): Likewise. (extension_kinds): Add "target". * qm/test/cmdline.py: Use "ThreadTarget" not "SubprocessTarget". * qm/test/qmtest-remote.py: Adjust for reworking of target machinery. * qm/test/run.py (CommandThread): Remove. (Target): Likewise. (LocalThread): Likewise. (SubprocessTarget): Likewise. (RemoteThread): Likewise. (RemoteShellTarget): Likewise. (TestRun.Schedule): Simplify. (TestRun.AddResult): Likewise. (TestRun.__TargetIsReady): Remove. (test_run): Simplify. * qm/test/target.py: New file. * qm/test/classes/rsh_target.py: Likewise. * qm/test/classes/thread_target.py: Likewise. More... almost 24 years ago
* qm/test/resource.py: New file. More... almost 24 years ago
* doc/manual/test-manual.xml: Fix typo. * qm/test/base.py (InstanceBase.__init__): Remove properties parameter. (InstanceBase.SetProperty): Remove. (InstanceBase.GetProperty): Remove. (InstanceBase.GetProperties): Likewise. (InstanceBase.MakeItem): Add target_group parameter. (TestDescriptor.__init__): Adjust accordingly. (TestDescriptor.GetTargetGroup): New method. (ResourceDescriptor.__init__): Remove properties parameter. * qm/test/run.py (Target.Stop): Adjust comment. (SubprocessTarget.Stop): Remove assertion. (RemoteShellTarget.Stop): Likewise. (TestRun.Schedule): Use GetTargetGroup, not properties, to get the tests target group. (TestRun.GetTestResults): Remove. (TestRun.GetResourceResults): Remove. (TestRun.__ValidateTest): Always check the target group. (TestRun.__FindBestTarget): Adjust documentation. Simplify handling of target groups. (test_run): Adjust documentation. Do not return results. Terminate targets in the event of an exception. * qm/test/test.py: Fix comments. (Test.arguments): Add target_group field. (Test.__init__): Adjust accordingly. (Test.GetTargetGroup): New method. * qm/test/xmldb.py (Database.__ParseTestDocument): Retrieve the target group. Do not look for properties. (Database.__ParseResourceDocument): Likewise. (Database.__MakeDomNodeForItem): Do not write out properties. * qm/test/classes/command.py (ExecTest.arguments): Include Test.arguments. (ExecTest.__init__): Adjust accordingly. (ShellCommandTest.__init__): Likewise. (ShellScriptTest.__init__): Likewise. * qm/test/classes/file.py (FileContentsTest): Derived from Test. (FileContentsTest.arguments): Include Test.arguments. (FileContentsTest.__init__): Adjust accordingly. * qm/test/classes/python.py (ExecTest.arguments): Include Test.arguments. (ExecTest.__init__): Adjust accordingly. (BaseExceptionTest.arguments): Include Test.arguments. (BaseExceptionTest.__init__): Adjust accordingly. (ExceptionTest.arguments): Include Test.arguments. (BaseExceptionTest.__init__): Adjust accordingly. * qm/test/classes/temporary.py (TempDirectoryResource): Derive from Resource. * qm/test/web/web.py (QMTestServer.HandleSubmitItem): Do not deal with properties. * share/dtml/test/show.dtml: Remove properties handling. * share/xml/resource.dtd: Remove properties. * share/xml/test.dtd: Likewise. Add target-group. More... almost 24 years ago
* doc/manual/track-manual.xml: Revise section on issue IDs. * doc/manual/track-tour.xml: Likewise. * qm/track/cmdline.py (Command.__PerformCreate): Assign issue IDs automatically. (Command.__HandleServerOptions): Add default_port parameter. (Command.__PerformConfigureIdb): By default, only allow connections from localhost. * qm/track/issue_class.py (IssueClass.__init__): Add next_id parameter. Make the iid field hidden. (IssueClass.AllocateNextId): New method. (IssueClass.MakeDomNode): Write out the next available ID. (from_dom_node): Read it back in. * qm/track/web/show.py (handle_submit): Assign issue IDs automatically. * share/diagnostics/track.txt: After creating an issue database, tell the user how to configure it. * share/xml/issue-classes.dtd (issue-class): Add next-id attribute. More... almost 24 years ago
* doc/manual/test-manual.xml: Note that -D is no lnoger required. * doc/manual/test-tour.xml: Likewise. * qm/test/cmdline.py (Command.Execute): If no database is specified, assume the database is in the current directory. * qm/test/xmldb.py (GetResource): Fix typo. * qm/test/web/web.py (DirPage.__init__): Do not show implicit test suites. (DirPage.MakeRunUrl): New method. * share/dtml/test/dir.dtml (run_dir): New method. More... almost 24 years ago