mkws-moved-to-github.git
9 years agotester.html re-remove reference universe WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 21:38:43 +0000 (16:38 -0500)]
tester.html re-remove reference universe WRIS-3

9 years agotester.html prevent header overflow WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 21:31:05 +0000 (16:31 -0500)]
tester.html prevent header overflow WRIS-3

9 years agoRevert "Add Reference Universe widget to tester.html WRIS-3"
Jason Skomorowski [Fri, 5 Dec 2014 21:11:59 +0000 (16:11 -0500)]
Revert "Add Reference Universe widget to tester.html WRIS-3"

This reverts commit b22b6a2bdf79b16e4f4cf30d8a1d102ef3772202.
RU changes the sp, riiight.

9 years agoPersist tester.html values WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 21:11:39 +0000 (16:11 -0500)]
Persist tester.html values WRIS-3

9 years agoImprove tester results table WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 19:16:29 +0000 (14:16 -0500)]
Improve tester results table WRIS-3

9 years agoAdd current position indicator to test harness WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 18:43:48 +0000 (13:43 -0500)]
Add current position indicator to test harness WRIS-3

9 years agotester.html aesthetics WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 18:32:16 +0000 (13:32 -0500)]
tester.html aesthetics WRIS-3

9 years agoAdd Reference Universe widget to tester.html WRIS-3
Jason Skomorowski [Fri, 5 Dec 2014 15:13:23 +0000 (10:13 -0500)]
Add Reference Universe widget to tester.html WRIS-3

9 years agoTester: display query and rename delimited output button WRIS-3
Jason Skomorowski [Thu, 4 Dec 2014 21:55:39 +0000 (16:55 -0500)]
Tester: display query and rename delimited output button WRIS-3

9 years agoWidget tester WRIS-3
Jason Skomorowski [Thu, 4 Dec 2014 21:27:58 +0000 (16:27 -0500)]
Widget tester WRIS-3

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Wed, 3 Dec 2014 14:25:00 +0000 (14:25 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

9 years agomakePz2() now sets the onStat callback if any of the "stat",
Mike Taylor [Wed, 3 Dec 2014 14:24:50 +0000 (14:24 +0000)]
makePz2() now sets the onStat callback if any of the "stat",
"firstrecords" or "complete" events is subscribed, since that callback
will publish to all of those events.

9 years agorename mis-guided name jasmine-cors-popup.html to jasmine-cms-popup.html
Wolfram Schneider [Mon, 1 Dec 2014 18:38:00 +0000 (18:38 +0000)]
rename mis-guided name jasmine-cors-popup.html to jasmine-cms-popup.html

The test is like in a CMS, with jquery modifications and use of the
production //mkws.indexdata.com/mkws-complete.js lib

9 years agoreorder JS lib tests
Wolfram Schneider [Mon, 1 Dec 2014 15:32:46 +0000 (15:32 +0000)]
reorder JS lib tests

9 years agocheck for "jQuery JSON" and "pazpar2" javascript libs
Wolfram Schneider [Mon, 1 Dec 2014 15:28:54 +0000 (15:28 +0000)]
check for "jQuery JSON" and "pazpar2" javascript libs

9 years agoindent
Wolfram Schneider [Mon, 1 Dec 2014 15:23:37 +0000 (15:23 +0000)]
indent

9 years agouse correct class name for MKWS popup widget
Wolfram Schneider [Mon, 1 Dec 2014 15:22:46 +0000 (15:22 +0000)]
use correct class name for MKWS popup widget

9 years agoenable jQuery UI check
Wolfram Schneider [Mon, 1 Dec 2014 15:20:04 +0000 (15:20 +0000)]
enable jQuery UI check

9 years agoCheck for external JavaScript libs, part of MKWS-341
Wolfram Schneider [Mon, 1 Dec 2014 15:13:31 +0000 (15:13 +0000)]
Check for external JavaScript libs, part of MKWS-341

9 years agouse new bomb shell wrapper
Wolfram Schneider [Mon, 1 Dec 2014 12:56:13 +0000 (12:56 +0000)]
use new bomb shell wrapper

9 years agoportable perl call
Wolfram Schneider [Mon, 1 Dec 2014 12:55:55 +0000 (12:55 +0000)]
portable perl call

9 years agotypo
Wolfram Schneider [Mon, 1 Dec 2014 12:54:28 +0000 (12:54 +0000)]
typo

9 years agothe regression check script bomb.pl needs to switch the process group, MKWS-340
Wolfram Schneider [Mon, 1 Dec 2014 12:53:18 +0000 (12:53 +0000)]
the regression check script bomb.pl needs to switch the process group, MKWS-340

Turn on job control. This will switch the process group
as on an interactive shell, and make sure that a signal
to the process group will not kill any parent processes.

9 years agodisplay killed process group, part of SA-689
Wolfram Schneider [Fri, 28 Nov 2014 14:10:13 +0000 (14:10 +0000)]
display killed process group, part of SA-689

9 years agoenable to set PHANTOMJS_TIMEOUT as env variable, not just a make variable
Wolfram Schneider [Fri, 28 Nov 2014 13:21:24 +0000 (13:21 +0000)]
enable to set PHANTOMJS_TIMEOUT as env variable, not just a make variable

9 years agoFor now, use jsnlog-DEV.js
Mike Taylor [Fri, 21 Nov 2014 17:14:18 +0000 (17:14 +0000)]
For now, use jsnlog-DEV.js

9 years agoSort the list of ignored files.
Mike Taylor [Fri, 21 Nov 2014 17:13:52 +0000 (17:13 +0000)]
Sort the list of ignored files.

9 years agoIgnore jsnlog-DEV.js, which I sometimes create as a symlink,
Mike Taylor [Fri, 21 Nov 2014 17:13:39 +0000 (17:13 +0000)]
Ignore jsnlog-DEV.js, which I sometimes create as a symlink,

9 years agoLast part of MKWS-239.
Mike Taylor [Fri, 21 Nov 2014 09:50:12 +0000 (09:50 +0000)]
Last part of MKWS-239.

The core code's private _log() function now uses JavaScript's
arguments pseudo-array to pass any sequence of arguments,
varargs-like, into the underlying JSNLog functions.

Unfortunately, it turns out that this doesn't get us anything right
now, as those underlying functions expect a single argument -- so if
you call mkws.info("found", n, "records"), it will only emit the
string "found".

For that reason, it's not worth the effort at this point to similarly
varargsify the team-level logging, but I am leaving this one done so
that the relevant code is in place when JSNLog gets updated.

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Thu, 20 Nov 2014 17:05:36 +0000 (17:05 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws

10 years agoAdd log_level.
Mike Taylor [Thu, 20 Nov 2014 17:02:30 +0000 (17:02 +0000)]
Add log_level.

10 years agoSet logging level when mkws-core.js is loaded, rather than during init.
Mike Taylor [Thu, 20 Nov 2014 17:00:54 +0000 (17:00 +0000)]
Set logging level when mkws-core.js is loaded, rather than during init.
Allows it to affect logging of widget registrations.

10 years agoSimplify _log(), since log_level no longer means what it expects.
Mike Taylor [Thu, 20 Nov 2014 16:45:02 +0000 (16:45 +0000)]
Simplify _log(), since log_level no longer means what it expects.

10 years agoSet the logging level _after_ the application has had a chance to set mkws_config.
Mike Taylor [Thu, 20 Nov 2014 16:09:01 +0000 (16:09 +0000)]
Set the logging level _after_ the application has had a chance to set mkws_config.

10 years agoRemove always-redundant and now-incorrect log_level setting.
Mike Taylor [Thu, 20 Nov 2014 14:40:26 +0000 (14:40 +0000)]
Remove always-redundant and now-incorrect log_level setting.

10 years agoRemove always-redundant and now-incorrect log_level setting.
Mike Taylor [Thu, 20 Nov 2014 14:40:19 +0000 (14:40 +0000)]
Remove always-redundant and now-incorrect log_level setting.

10 years agoUpdate manual with revised meaning of log_level.
Mike Taylor [Thu, 20 Nov 2014 14:39:43 +0000 (14:39 +0000)]
Update manual with revised meaning of log_level.

10 years agoRepurpose the log_level setting to be the lowest level to emit.
Mike Taylor [Thu, 20 Nov 2014 14:37:33 +0000 (14:37 +0000)]
Repurpose the log_level setting to be the lowest level to emit.
Can be any of 'trace', 'debug', 'info', 'warn', 'error' or 'fatal'.

10 years agonewline in output
Wolfram Schneider [Thu, 20 Nov 2014 12:27:08 +0000 (13:27 +0100)]
newline in output

10 years agoin case of a failure don't show $? twice
Wolfram Schneider [Thu, 20 Nov 2014 12:26:10 +0000 (13:26 +0100)]
in case of a failure don't show $? twice

10 years agoUse team.info() in place of removed team.log()
Mike Taylor [Thu, 20 Nov 2014 11:20:23 +0000 (11:20 +0000)]
Use team.info() in place of removed team.log()

10 years agoRemove legacy mkws.log() function: nothing should be using it any more.
Mike Taylor [Thu, 20 Nov 2014 11:17:33 +0000 (11:17 +0000)]
Remove legacy mkws.log() function: nothing should be using it any more.

10 years agoRemove team.log -- all invocation have now been specialised.
Mike Taylor [Thu, 20 Nov 2014 11:16:42 +0000 (11:16 +0000)]
Remove team.log -- all invocation have now been specialised.

10 years agoUse this.info() instead of now-removed this.log()
Mike Taylor [Thu, 20 Nov 2014 11:16:05 +0000 (11:16 +0000)]
Use this.info() instead of now-removed this.log()

10 years agoRemove widget.log -- all invocation have now been specialised.
Mike Taylor [Thu, 20 Nov 2014 11:13:42 +0000 (11:13 +0000)]
Remove widget.log -- all invocation have now been specialised.

10 years agoUse specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:12:33 +0000 (11:12 +0000)]
Use specific logging.

10 years agoUse specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:10:01 +0000 (11:10 +0000)]
Use specific logging.

10 years agoUse specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:01:25 +0000 (11:01 +0000)]
Use specific logging.

10 years agoUse that.info() rather then console.log() directly.
Mike Taylor [Thu, 20 Nov 2014 10:59:29 +0000 (10:59 +0000)]
Use that.info() rather then console.log() directly.

10 years agoUse info() instead of log()
Mike Taylor [Thu, 20 Nov 2014 10:59:03 +0000 (10:59 +0000)]
Use info() instead of log()

10 years agoRemove redundant "warning" captions.
Mike Taylor [Thu, 20 Nov 2014 10:57:14 +0000 (10:57 +0000)]
Remove redundant "warning" captions.

10 years agoRemove redundant "warning" caption.
Mike Taylor [Thu, 20 Nov 2014 10:56:50 +0000 (10:56 +0000)]
Remove redundant "warning" caption.

10 years agoUse specific logging functions throughout mkws-widget.js
Mike Taylor [Thu, 20 Nov 2014 10:56:01 +0000 (10:56 +0000)]
Use specific logging functions throughout mkws-widget.js

10 years agoAdd straight-through aliases for trace(), debug() etc.
Mike Taylor [Thu, 20 Nov 2014 10:53:45 +0000 (10:53 +0000)]
Add straight-through aliases for trace(), debug() etc.

10 years agoGet rid of local variable log; all invocation are explicitly on this or that.
Mike Taylor [Thu, 20 Nov 2014 10:18:18 +0000 (10:18 +0000)]
Get rid of local variable log; all invocation are explicitly on this or that.

10 years agoLocal function log() is now a simple alias to team.log(), rather than invoking it.
Mike Taylor [Thu, 20 Nov 2014 10:13:08 +0000 (10:13 +0000)]
Local function log() is now a simple alias to team.log(), rather than invoking it.

10 years agoPromote logging invocations on team objects.
Mike Taylor [Wed, 19 Nov 2014 17:35:41 +0000 (17:35 +0000)]
Promote logging invocations on team objects.

10 years agoFix currying definitions.
Mike Taylor [Wed, 19 Nov 2014 17:34:13 +0000 (17:34 +0000)]
Fix currying definitions.
Change all team-level logging in mkws-team to use non-legacy functions.

10 years agoGreeting message demoted from warning to info.
Mike Taylor [Wed, 19 Nov 2014 17:31:49 +0000 (17:31 +0000)]
Greeting message demoted from warning to info.

10 years agoAdd curried trace(), debug() etc. methods to the team object.
Mike Taylor [Wed, 19 Nov 2014 17:10:35 +0000 (17:10 +0000)]
Add curried trace(), debug() etc. methods to the team object.

10 years agoPart of MKWS-239.
Mike Taylor [Wed, 19 Nov 2014 17:07:58 +0000 (17:07 +0000)]
Part of MKWS-239.

Within mkws-team.js _log() is now a private function that calls
through to one of the MKWS core's logging functions. team.log() is now
a simple currying of that function to use mkws.log().

10 years agoPart of MKWS-239.
Mike Taylor [Wed, 19 Nov 2014 16:31:30 +0000 (16:31 +0000)]
Part of MKWS-239.

Add trace()/debug()/etc. functions to mkws object.
Use these directly for all logging within the mkws-core.js.
(It remains to update the team code and individual widgets accordingly.)

10 years agoFix comment.
Mike Taylor [Wed, 19 Nov 2014 15:52:55 +0000 (15:52 +0000)]
Fix comment.

10 years agoLogging using mkws.log notes that it is legacy output.
Mike Taylor [Wed, 19 Nov 2014 15:49:49 +0000 (15:49 +0000)]
Logging using mkws.log notes that it is legacy output.
Code should be switched to using warn(), info(), etc.

10 years agoPart of MKWS-239.
Mike Taylor [Wed, 19 Nov 2014 15:39:16 +0000 (15:39 +0000)]
Part of MKWS-239.

mkws.log() is now a trivial invocation of new underlying private function _log().
Allows us to similarly curry _log() for warn, error, info, etc.

10 years agoIgnore downloaded file jsnlog.min.js
Mike Taylor [Wed, 19 Nov 2014 12:31:05 +0000 (12:31 +0000)]
Ignore downloaded file jsnlog.min.js

10 years agoAll example pages now include jsnlog.min.js from the appropriate source
Mike Taylor [Wed, 19 Nov 2014 12:30:30 +0000 (12:30 +0000)]
All example pages now include jsnlog.min.js from the appropriate source

10 years agoUse JSNlog (at level INFO) for all logging.
Mike Taylor [Wed, 19 Nov 2014 12:22:23 +0000 (12:22 +0000)]
Use JSNlog (at level INFO) for all logging.

10 years agoAdd rules to fetch and install JSNlog.
Mike Taylor [Wed, 19 Nov 2014 12:22:01 +0000 (12:22 +0000)]
Add rules to fetch and install JSNlog.

10 years agoadd wimp demo, part of MKWS-266
Wolfram Schneider [Mon, 17 Nov 2014 16:11:58 +0000 (16:11 +0000)]
add wimp demo, part of MKWS-266

10 years agolowercase widget name: Wimp -> wimp, MKWS-266
Wolfram Schneider [Mon, 17 Nov 2014 16:05:56 +0000 (16:05 +0000)]
lowercase widget name: Wimp -> wimp, MKWS-266

forgotten in: 22a5c1a36b18bfdee55bad0d991fc5c3ed57e195

10 years agoGIT repo: private -> pub
Wolfram Schneider [Thu, 13 Nov 2014 16:56:41 +0000 (16:56 +0000)]
GIT repo: private -> pub

10 years agoreplace yui-compressor with a JS based solution, MKWS-337
Wolfram Schneider [Thu, 13 Nov 2014 16:47:41 +0000 (16:47 +0000)]
replace yui-compressor with a JS based solution, MKWS-337

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Thu, 13 Nov 2014 08:56:25 +0000 (09:56 +0100)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws

10 years agofor a release, we depend on the real yui-compressor tool, MKWS-336
Wolfram Schneider [Thu, 13 Nov 2014 08:53:54 +0000 (09:53 +0100)]
for a release, we depend on the real yui-compressor tool, MKWS-336

10 years agoPart of MKWS-336.
Mike Taylor [Wed, 12 Nov 2014 14:37:05 +0000 (14:37 +0000)]
Part of MKWS-336.

Do not use dummy do-nothing version of yui-compressor if the real one
is missing. If it's not there, we want to know that.

10 years agoAdd files from release 1.0.0 1.0.0
Mike Taylor [Tue, 11 Nov 2014 13:39:13 +0000 (13:39 +0000)]
Add files from release 1.0.0

10 years agoVersion 1.0.0.
Mike Taylor [Tue, 11 Nov 2014 13:38:25 +0000 (13:38 +0000)]
Version 1.0.0.

10 years agoChangelog for v1.0
Mike Taylor [Tue, 11 Nov 2014 13:38:14 +0000 (13:38 +0000)]
Changelog for v1.0

10 years agoThe "release" rule depends on INSTALLED_RELEASABLE, not RELEASABLE.
Mike Taylor [Tue, 11 Nov 2014 12:47:02 +0000 (12:47 +0000)]
The "release" rule depends on INSTALLED_RELEASABLE, not RELEASABLE.
Reinstate lost trailing backslash.

10 years agoPart of MKWS-329.
Mike Taylor [Tue, 11 Nov 2014 12:45:08 +0000 (12:45 +0000)]
Part of MKWS-329.
Add CSS to "make release" rule.

10 years agoPart of MKWS-329.
Mike Taylor [Tue, 11 Nov 2014 12:42:54 +0000 (12:42 +0000)]
Part of MKWS-329.
Note that the CSS is also part of the release.

10 years agoReinstate specific rules to copy VERSION and NEWS into $(DEST).
Mike Taylor [Tue, 11 Nov 2014 12:42:08 +0000 (12:42 +0000)]
Reinstate specific rules to copy VERSION and NEWS into $(DEST).

This was no longer being done as Jason found the generic rule was
causing problems with GNU Make 4.0, and removed it. (I wonder how he
was getting the build to succeed, then?)

10 years agoWe don't need the empty src/releases area; we keep old releases in tools/htdocs/relea...
Mike Taylor [Tue, 11 Nov 2014 12:38:27 +0000 (12:38 +0000)]
We don't need the empty src/releases area; we keep old releases in tools/htdocs/releases, where they're needed

10 years agoNew file, tools/htdocs/releases/mkws-0.9.1.css.
Mike Taylor [Tue, 11 Nov 2014 12:33:55 +0000 (12:33 +0000)]
New file, tools/htdocs/releases/mkws-0.9.1.css.
Rescued from tools/htdocs/mkws.css as at tag v0.9.1.
This is part of the old v0.9.1 release, retro-fitted.

10 years agoFix MKWS-227.
Mike Taylor [Tue, 11 Nov 2014 12:30:30 +0000 (12:30 +0000)]
Fix MKWS-227.

Finish the events section.
And therefore finish the developer documentation.
And therefore finish ALL the documentation.

10 years agoRemove entries for resize-wide and resize-narrow events.
Mike Taylor [Tue, 11 Nov 2014 12:16:00 +0000 (12:16 +0000)]
Remove entries for resize-wide and resize-narrow events.

10 years agoFormat list of events. No description yet.
Mike Taylor [Tue, 11 Nov 2014 12:15:06 +0000 (12:15 +0000)]
Format list of events. No description yet.

10 years agoAdd list of events (not yet formatted).
Mike Taylor [Tue, 11 Nov 2014 12:13:59 +0000 (12:13 +0000)]
Add list of events (not yet formatted).

10 years agoRemove redundant statement.
Mike Taylor [Tue, 11 Nov 2014 12:09:52 +0000 (12:09 +0000)]
Remove redundant statement.

10 years agoNew section on event passing.
Mike Taylor [Tue, 11 Nov 2014 12:09:36 +0000 (12:09 +0000)]
New section on event passing.

10 years agoReword on future API changes.
Mike Taylor [Tue, 11 Nov 2014 11:35:25 +0000 (11:35 +0000)]
Reword on future API changes.

10 years agoRework discussion.
Mike Taylor [Tue, 11 Nov 2014 11:17:10 +0000 (11:17 +0000)]
Rework discussion.

10 years agoRework the subwidget() description, remove Credo example.
Mike Taylor [Tue, 11 Nov 2014 11:16:32 +0000 (11:16 +0000)]
Rework the subwidget() description, remove Credo example.

10 years agoRemove expandValue from the documentation: it's not actually exposed
Mike Taylor [Tue, 11 Nov 2014 11:08:59 +0000 (11:08 +0000)]
Remove expandValue from the documentation: it's not actually exposed
in the API and doesn't need to be.

10 years agoRemove hideWhenNarrow from the developer documentation.
Mike Taylor [Tue, 11 Nov 2014 10:40:17 +0000 (10:40 +0000)]
Remove hideWhenNarrow from the developer documentation.
We don't want to encourage people to use this, as Jason insists there
are better ways to do it using CSS.

10 years agoClarify parts of the widget API.
Mike Taylor [Tue, 11 Nov 2014 10:39:37 +0000 (10:39 +0000)]
Clarify parts of the widget API.

10 years agos/TODO/FIXME/
Mike Taylor [Tue, 11 Nov 2014 09:49:42 +0000 (09:49 +0000)]
s/TODO/FIXME/

10 years agoUpdate the section on inheritance.
Mike Taylor [Tue, 11 Nov 2014 09:49:01 +0000 (09:49 +0000)]
Update the section on inheritance.

10 years agoThe "records" widget supports the new optional "summary-template"
Mike Taylor [Tue, 11 Nov 2014 09:41:38 +0000 (09:41 +0000)]
The "records" widget supports the new optional "summary-template"
setting, which tells it to use a template other than the default
"template" when rendering summary records. For example,
<div class="mkws-records" summary-template='details'></div>
will render all records in detailed view.