irspy-moved-to-github.git
18 years agoIntegrated back into edit.mc
Mike Taylor [Thu, 16 Nov 2006 12:26:08 +0000 (12:26 +0000)]
Integrated back into edit.mc

18 years agoIntegrated back into edit.mc
Mike Taylor [Thu, 16 Nov 2006 12:26:08 +0000 (12:26 +0000)]
Integrated back into edit.mc

18 years agoXHTML 1.0 Strict
Mike Taylor [Thu, 16 Nov 2006 12:15:29 +0000 (12:15 +0000)]
XHTML 1.0 Strict

18 years agoXHTML 1.0 Strict
Mike Taylor [Thu, 16 Nov 2006 12:15:29 +0000 (12:15 +0000)]
XHTML 1.0 Strict

18 years agoRefactor to include form.mc inline.
Mike Taylor [Thu, 16 Nov 2006 11:53:33 +0000 (11:53 +0000)]
Refactor to include form.mc inline.
(So form.mc is now redundant)
This clarifies the flow of logic.

18 years agoRefactor to include form.mc inline.
Mike Taylor [Thu, 16 Nov 2006 11:53:33 +0000 (11:53 +0000)]
Refactor to include form.mc inline.
(So form.mc is now redundant)
This clarifies the flow of logic.

18 years agoDOn't use ZOOM -- layout.mc does that.
Mike Taylor [Thu, 16 Nov 2006 11:50:03 +0000 (11:50 +0000)]
DOn't use ZOOM -- layout.mc does that.
Refactor to make only a single call to form.mc

18 years agoDOn't use ZOOM -- layout.mc does that.
Mike Taylor [Thu, 16 Nov 2006 11:50:03 +0000 (11:50 +0000)]
DOn't use ZOOM -- layout.mc does that.
Refactor to make only a single call to form.mc

18 years agouse ZOOM
Mike Taylor [Thu, 16 Nov 2006 11:49:30 +0000 (11:49 +0000)]
use ZOOM

18 years agouse ZOOM
Mike Taylor [Thu, 16 Nov 2006 11:49:30 +0000 (11:49 +0000)]
use ZOOM

18 years agoDOn't use ZOOM -- layout.mc does that.
Mike Taylor [Thu, 16 Nov 2006 11:48:40 +0000 (11:48 +0000)]
DOn't use ZOOM -- layout.mc does that.

18 years agoDOn't use ZOOM -- layout.mc does that.
Mike Taylor [Thu, 16 Nov 2006 11:48:40 +0000 (11:48 +0000)]
DOn't use ZOOM -- layout.mc does that.

18 years agoRemove extraneous @addafter from hosturl entry.
Mike Taylor [Wed, 15 Nov 2006 17:58:35 +0000 (17:58 +0000)]
Remove extraneous @addafter from hosturl entry.
Skip "new" and "copy" parameters when assembling %data.
"The record has need created" (not "updated") for new records.
Correct element of dropdowns is selected based on current value.
Undefined "id" is not submitted; instead "new=1".

18 years agoRemove extraneous @addafter from hosturl entry.
Mike Taylor [Wed, 15 Nov 2006 17:58:35 +0000 (17:58 +0000)]
Remove extraneous @addafter from hosturl entry.
Skip "new" and "copy" parameters when assembling %data.
"The record has need created" (not "updated") for new records.
Correct element of dropdowns is selected based on current value.
Undefined "id" is not submitted; instead "new=1".

18 years agoEditing a not-yet-existant ID is now OK.
Mike Taylor [Wed, 15 Nov 2006 17:56:23 +0000 (17:56 +0000)]
Editing a not-yet-existant ID is now OK.

18 years agoEditing a not-yet-existant ID is now OK.
Mike Taylor [Wed, 15 Nov 2006 17:56:23 +0000 (17:56 +0000)]
Editing a not-yet-existant ID is now OK.

18 years agoReorder and reformat "This Record" submenu.
Mike Taylor [Wed, 15 Nov 2006 17:44:35 +0000 (17:44 +0000)]
Reorder and reformat "This Record" submenu.
Add "copy record" item.

18 years agoReorder and reformat "This Record" submenu.
Mike Taylor [Wed, 15 Nov 2006 17:44:35 +0000 (17:44 +0000)]
Reorder and reformat "This Record" submenu.
Add "copy record" item.

18 years agoTitle is "Copy" if copy param is set.
Mike Taylor [Wed, 15 Nov 2006 17:43:50 +0000 (17:43 +0000)]
Title is "Copy" if copy param is set.

18 years agoTitle is "Copy" if copy param is set.
Mike Taylor [Wed, 15 Nov 2006 17:43:50 +0000 (17:43 +0000)]
Title is "Copy" if copy param is set.

18 years agoRolling
Mike Taylor [Wed, 15 Nov 2006 17:43:10 +0000 (17:43 +0000)]
Rolling

18 years agoRolling
Mike Taylor [Wed, 15 Nov 2006 17:43:10 +0000 (17:43 +0000)]
Rolling

18 years agoRolling
Mike Taylor [Wed, 15 Nov 2006 14:55:33 +0000 (14:55 +0000)]
Rolling

18 years agoRolling
Mike Taylor [Wed, 15 Nov 2006 14:55:33 +0000 (14:55 +0000)]
Rolling

18 years agoAdd new elements "type", "country" and "hosturl" requested by Per.
Mike Taylor [Wed, 15 Nov 2006 13:20:32 +0000 (13:20 +0000)]
Add new elements "type", "country" and "hosturl" requested by Per.

18 years agoAdd new elements "type", "country" and "hosturl" requested by Per.
Mike Taylor [Wed, 15 Nov 2006 13:20:32 +0000 (13:20 +0000)]
Add new elements "type", "country" and "hosturl" requested by Per.

18 years agoucfirst(title)
Mike Taylor [Wed, 15 Nov 2006 13:15:19 +0000 (13:15 +0000)]
ucfirst(title)

18 years agoucfirst(title)
Mike Taylor [Wed, 15 Nov 2006 13:15:19 +0000 (13:15 +0000)]
ucfirst(title)

18 years agoProtocol is now chosen from a dropdown.
Mike Taylor [Wed, 15 Nov 2006 13:10:42 +0000 (13:10 +0000)]
Protocol is now chosen from a dropdown.

18 years agoProtocol is now chosen from a dropdown.
Mike Taylor [Wed, 15 Nov 2006 13:10:42 +0000 (13:10 +0000)]
Protocol is now chosen from a dropdown.

18 years agoDefensive use of xml_encode()
Mike Taylor [Tue, 14 Nov 2006 16:23:11 +0000 (16:23 +0000)]
Defensive use of xml_encode()

18 years agoDefensive use of xml_encode()
Mike Taylor [Tue, 14 Nov 2006 16:23:11 +0000 (16:23 +0000)]
Defensive use of xml_encode()

18 years agoXml_encode() accepts fallback string.
Mike Taylor [Tue, 14 Nov 2006 16:21:49 +0000 (16:21 +0000)]
Xml_encode() accepts fallback string.

18 years agoXml_encode() accepts fallback string.
Mike Taylor [Tue, 14 Nov 2006 16:21:49 +0000 (16:21 +0000)]
Xml_encode() accepts fallback string.

18 years agoAdd code to generate ID automatically, when missing, from host, port
Mike Taylor [Tue, 14 Nov 2006 16:21:08 +0000 (16:21 +0000)]
Add code to generate ID automatically, when missing, from host, port
and database, when present.

18 years agoAdd code to generate ID automatically, when missing, from host, port
Mike Taylor [Tue, 14 Nov 2006 16:21:08 +0000 (16:21 +0000)]
Add code to generate ID automatically, when missing, from host, port
and database, when present.

18 years agoClarify reporting
Mike Taylor [Tue, 14 Nov 2006 16:18:51 +0000 (16:18 +0000)]
Clarify reporting

18 years agoClarify reporting
Mike Taylor [Tue, 14 Nov 2006 16:18:51 +0000 (16:18 +0000)]
Clarify reporting

18 years agoDefensive xml_encode() calling.
Mike Taylor [Tue, 14 Nov 2006 16:09:14 +0000 (16:09 +0000)]
Defensive xml_encode() calling.

18 years agoDefensive xml_encode() calling.
Mike Taylor [Tue, 14 Nov 2006 16:09:14 +0000 (16:09 +0000)]
Defensive xml_encode() calling.

18 years agoComment out debugging warn()s
Mike Taylor [Tue, 14 Nov 2006 16:04:36 +0000 (16:04 +0000)]
Comment out debugging warn()s

18 years agoComment out debugging warn()s
Mike Taylor [Tue, 14 Nov 2006 16:04:36 +0000 (16:04 +0000)]
Comment out debugging warn()s

18 years agoDo not try to xml_encode() undefined values.
Mike Taylor [Tue, 14 Nov 2006 16:00:28 +0000 (16:00 +0000)]
Do not try to xml_encode() undefined values.

18 years agoDo not try to xml_encode() undefined values.
Mike Taylor [Tue, 14 Nov 2006 16:00:28 +0000 (16:00 +0000)]
Do not try to xml_encode() undefined values.

18 years agoLots of tasties. Most importantly, dom_add_element() is now renamed
Mike Taylor [Tue, 14 Nov 2006 14:57:41 +0000 (14:57 +0000)]
Lots of tasties.  Most importantly, dom_add_element() is now renamed
dom_add_node() and can handle adding attributes as well as elements,
and find_or_make_node() now works at the top level of the documnent.

18 years agoLots of tasties. Most importantly, dom_add_element() is now renamed
Mike Taylor [Tue, 14 Nov 2006 14:57:41 +0000 (14:57 +0000)]
Lots of tasties.  Most importantly, dom_add_element() is now renamed
dom_add_node() and can handle adding attributes as well as elements,
and find_or_make_node() now works at the top level of the documnent.

18 years agoTitle different when use for adding new records.
Mike Taylor [Tue, 14 Nov 2006 14:55:28 +0000 (14:55 +0000)]
Title different when use for adding new records.

18 years agoTitle different when use for adding new records.
Mike Taylor [Tue, 14 Nov 2006 14:55:28 +0000 (14:55 +0000)]
Title different when use for adding new records.

18 years agoAdd A Target now uses edit form.
Mike Taylor [Tue, 14 Nov 2006 14:55:08 +0000 (14:55 +0000)]
Add A Target now uses edit form.

18 years agoAdd A Target now uses edit form.
Mike Taylor [Tue, 14 Nov 2006 14:55:08 +0000 (14:55 +0000)]
Add A Target now uses edit form.

18 years agoRefactor -- move most code out into form.mc
Mike Taylor [Tue, 14 Nov 2006 14:54:41 +0000 (14:54 +0000)]
Refactor -- move most code out into form.mc

18 years agoRefactor -- move most code out into form.mc
Mike Taylor [Tue, 14 Nov 2006 14:54:41 +0000 (14:54 +0000)]
Refactor -- move most code out into form.mc

18 years agoNew
Mike Taylor [Tue, 14 Nov 2006 14:54:06 +0000 (14:54 +0000)]
New

18 years agoNew
Mike Taylor [Tue, 14 Nov 2006 14:54:06 +0000 (14:54 +0000)]
New

18 years agoNew utiltiy find_or_make_node() finds a node within an XPathContext,
Mike Taylor [Mon, 13 Nov 2006 18:03:34 +0000 (18:03 +0000)]
New utiltiy find_or_make_node() finds a node within an XPathContext,
or, if it doesn't yet exist, makes it within its parent and returns
it.  This calls itself recursively as necessary to make the parent,
grandparent, etc., but catches deep recursion and dies (currently
defined as ten levels which seems like plenty).

dom_add_element() now uses this.

18 years agoNew utiltiy find_or_make_node() finds a node within an XPathContext,
Mike Taylor [Mon, 13 Nov 2006 18:03:34 +0000 (18:03 +0000)]
New utiltiy find_or_make_node() finds a node within an XPathContext,
or, if it doesn't yet exist, makes it within its parent and returns
it.  This calls itself recursively as necessary to make the parent,
grandparent, etc., but catches deep recursion and dies (currently
defined as ten levels which seems like plenty).

dom_add_element() now uses this.

18 years agoRemove completed tasks from TODO list.
Mike Taylor [Mon, 13 Nov 2006 17:00:03 +0000 (17:00 +0000)]
Remove completed tasks from TODO list.

18 years agoRemove completed tasks from TODO list.
Mike Taylor [Mon, 13 Nov 2006 17:00:03 +0000 (17:00 +0000)]
Remove completed tasks from TODO list.

18 years agoLinks to both quick and full tests.
Mike Taylor [Mon, 13 Nov 2006 16:49:08 +0000 (16:49 +0000)]
Links to both quick and full tests.

18 years agoLinks to both quick and full tests.
Mike Taylor [Mon, 13 Nov 2006 16:49:08 +0000 (16:49 +0000)]
Links to both quick and full tests.

18 years agoPage title includes test name if specified.
Mike Taylor [Mon, 13 Nov 2006 16:48:49 +0000 (16:48 +0000)]
Page title includes test name if specified.

18 years agoPage title includes test name if specified.
Mike Taylor [Mon, 13 Nov 2006 16:48:49 +0000 (16:48 +0000)]
Page title includes test name if specified.

18 years agoComment
Mike Taylor [Mon, 13 Nov 2006 16:47:57 +0000 (16:47 +0000)]
Comment

18 years agoComment
Mike Taylor [Mon, 13 Nov 2006 16:47:57 +0000 (16:47 +0000)]
Comment

18 years agoCleaner presentation of changes.
Mike Taylor [Thu, 9 Nov 2006 16:32:54 +0000 (16:32 +0000)]
Cleaner presentation of changes.

18 years agoCleaner presentation of changes.
Mike Taylor [Thu, 9 Nov 2006 16:32:54 +0000 (16:32 +0000)]
Cleaner presentation of changes.

18 years agoSimplify due to correctly functioning modify_xml_document()
Mike Taylor [Thu, 9 Nov 2006 16:15:14 +0000 (16:15 +0000)]
Simplify due to correctly functioning modify_xml_document()
Add new -x command-lineoption to show modified XML document.

18 years agoSimplify due to correctly functioning modify_xml_document()
Mike Taylor [Thu, 9 Nov 2006 16:15:14 +0000 (16:15 +0000)]
Simplify due to correctly functioning modify_xml_document()
Add new -x command-lineoption to show modified XML document.

18 years agoAdd irspy_namespace()
Mike Taylor [Thu, 9 Nov 2006 16:09:35 +0000 (16:09 +0000)]
Add irspy_namespace()
Both it and now irspy_xpath_context() now use private hash.
Comment out intrusive debugging in modify_xml_document() and
dom_add_element()
New element added in dom_add_element() has its namespace explicitly
set, which enables it to be found by subsequent $xc->find()
calls.

18 years agoAdd irspy_namespace()
Mike Taylor [Thu, 9 Nov 2006 16:09:35 +0000 (16:09 +0000)]
Add irspy_namespace()
Both it and now irspy_xpath_context() now use private hash.
Comment out intrusive debugging in modify_xml_document() and
dom_add_element()
New element added in dom_add_element() has its namespace explicitly
set, which enables it to be found by subsequent $xc->find()
calls.

18 years agoTypo in comment.
Mike Taylor [Thu, 9 Nov 2006 15:18:14 +0000 (15:18 +0000)]
Typo in comment.

18 years agoTypo in comment.
Mike Taylor [Thu, 9 Nov 2006 15:18:14 +0000 (15:18 +0000)]
Typo in comment.

18 years agoClearer reporting.
Mike Taylor [Wed, 8 Nov 2006 17:42:11 +0000 (17:42 +0000)]
Clearer reporting.
Still needs stupid second XPath-context like test-xml-update.pl

18 years agoClearer reporting.
Mike Taylor [Wed, 8 Nov 2006 17:42:11 +0000 (17:42 +0000)]
Clearer reporting.
Still needs stupid second XPath-context like test-xml-update.pl

18 years agoirspy_xpath_context() may now take a textual XML record instead of a
Mike Taylor [Wed, 8 Nov 2006 17:41:27 +0000 (17:41 +0000)]
irspy_xpath_context() may now take a textual XML record instead of a
DOM tree.
dom_add_element() now correctly inserts a new _element_ with specified
value, rather than just inserting the value itself.
Slightly changed debugging output for modify_xml_document() and
dom_add_element().

18 years agoirspy_xpath_context() may now take a textual XML record instead of a
Mike Taylor [Wed, 8 Nov 2006 17:41:27 +0000 (17:41 +0000)]
irspy_xpath_context() may now take a textual XML record instead of a
DOM tree.
dom_add_element() now correctly inserts a new _element_ with specified
value, rather than just inserting the value itself.
Slightly changed debugging output for modify_xml_document() and
dom_add_element().

18 years agoAll sort of improvments, many command-line flags.
Mike Taylor [Wed, 8 Nov 2006 17:19:18 +0000 (17:19 +0000)]
All sort of improvments, many command-line flags.

18 years agoAll sort of improvments, many command-line flags.
Mike Taylor [Wed, 8 Nov 2006 17:19:18 +0000 (17:19 +0000)]
All sort of improvments, many command-line flags.

18 years agoComplete and should work ... but doesn't.
Mike Taylor [Tue, 7 Nov 2006 17:45:37 +0000 (17:45 +0000)]
Complete and should work ... but doesn't.

18 years agoComplete and should work ... but doesn't.
Mike Taylor [Tue, 7 Nov 2006 17:45:37 +0000 (17:45 +0000)]
Complete and should work ... but doesn't.

18 years agoCorrect HTML-encoding of debug output in dom_add_element()
Mike Taylor [Tue, 7 Nov 2006 17:18:29 +0000 (17:18 +0000)]
Correct HTML-encoding of debug output in dom_add_element()
Comment out this debugging output anyway.

18 years agoCorrect HTML-encoding of debug output in dom_add_element()
Mike Taylor [Tue, 7 Nov 2006 17:18:29 +0000 (17:18 +0000)]
Correct HTML-encoding of debug output in dom_add_element()
Comment out this debugging output anyway.

18 years agoBetter sample command-line.
Mike Taylor [Tue, 7 Nov 2006 16:29:54 +0000 (16:29 +0000)]
Better sample command-line.

18 years agoBetter sample command-line.
Mike Taylor [Tue, 7 Nov 2006 16:29:54 +0000 (16:29 +0000)]
Better sample command-line.

18 years agoCalculate named-result-set support.
Mike Taylor [Mon, 6 Nov 2006 17:43:29 +0000 (17:43 +0000)]
Calculate named-result-set support.

18 years agoCalculate named-result-set support.
Mike Taylor [Mon, 6 Nov 2006 17:43:29 +0000 (17:43 +0000)]
Calculate named-result-set support.

18 years agoCalculate explain support.
Mike Taylor [Mon, 6 Nov 2006 17:40:04 +0000 (17:40 +0000)]
Calculate explain support.
Empty support-lists now render as "[none]".

18 years agoCalculate explain support.
Mike Taylor [Mon, 6 Nov 2006 17:40:04 +0000 (17:40 +0000)]
Calculate explain support.
Empty support-lists now render as "[none]".

18 years agoCalculate record-syntaxes.
Mike Taylor [Mon, 6 Nov 2006 17:34:58 +0000 (17:34 +0000)]
Calculate record-syntaxes.

18 years agoCalculate record-syntaxes.
Mike Taylor [Mon, 6 Nov 2006 17:34:58 +0000 (17:34 +0000)]
Calculate record-syntaxes.

18 years agoCalculate supported booleans.
Mike Taylor [Mon, 6 Nov 2006 17:24:00 +0000 (17:24 +0000)]
Calculate supported booleans.

18 years agoCalculate supported booleans.
Mike Taylor [Mon, 6 Nov 2006 17:24:00 +0000 (17:24 +0000)]
Calculate supported booleans.

18 years agoDan-1 use attributes.
Mike Taylor [Mon, 6 Nov 2006 17:04:23 +0000 (17:04 +0000)]
Dan-1 use attributes.

18 years agoDan-1 use attributes.
Mike Taylor [Mon, 6 Nov 2006 17:04:23 +0000 (17:04 +0000)]
Dan-1 use attributes.

18 years agoCalculate BIB-1 use attributes.
Mike Taylor [Mon, 6 Nov 2006 17:01:03 +0000 (17:01 +0000)]
Calculate BIB-1 use attributes.

18 years agoCalculate BIB-1 use attributes.
Mike Taylor [Mon, 6 Nov 2006 17:01:03 +0000 (17:01 +0000)]
Calculate BIB-1 use attributes.

18 years agoCalculate reliability using function pointer -- cool.
Mike Taylor [Mon, 6 Nov 2006 16:22:17 +0000 (16:22 +0000)]
Calculate reliability using function pointer -- cool.

18 years agoCalculate reliability using function pointer -- cool.
Mike Taylor [Mon, 6 Nov 2006 16:22:17 +0000 (16:22 +0000)]
Calculate reliability using function pointer -- cool.

18 years ago<h2> uses database title rather than ID.
Mike Taylor [Mon, 6 Nov 2006 14:22:22 +0000 (14:22 +0000)]
<h2> uses database title rather than ID.

18 years ago<h2> uses database title rather than ID.
Mike Taylor [Mon, 6 Nov 2006 14:22:22 +0000 (14:22 +0000)]
<h2> uses database title rather than ID.