Mike Taylor [Fri, 21 Nov 2014 17:14:18 +0000 (17:14 +0000)]
For now, use jsnlog-DEV.js
Mike Taylor [Fri, 21 Nov 2014 17:13:52 +0000 (17:13 +0000)]
Sort the list of ignored files.
Mike Taylor [Fri, 21 Nov 2014 17:13:39 +0000 (17:13 +0000)]
Ignore jsnlog-DEV.js, which I sometimes create as a symlink,
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.
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
Mike Taylor [Thu, 20 Nov 2014 17:02:30 +0000 (17:02 +0000)]
Add log_level.
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.
Mike Taylor [Thu, 20 Nov 2014 16:45:02 +0000 (16:45 +0000)]
Simplify _log(), since log_level no longer means what it expects.
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.
Mike Taylor [Thu, 20 Nov 2014 14:40:26 +0000 (14:40 +0000)]
Remove 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.
Mike Taylor [Thu, 20 Nov 2014 14:39:43 +0000 (14:39 +0000)]
Update manual with revised meaning of log_level.
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'.
Wolfram Schneider [Thu, 20 Nov 2014 12:27:08 +0000 (13:27 +0100)]
newline in output
Wolfram Schneider [Thu, 20 Nov 2014 12:26:10 +0000 (13:26 +0100)]
in case of a failure don't show $? twice
Mike Taylor [Thu, 20 Nov 2014 11:20:23 +0000 (11:20 +0000)]
Use team.info() in place of removed team.log()
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.
Mike Taylor [Thu, 20 Nov 2014 11:16:42 +0000 (11:16 +0000)]
Remove team.log -- all invocation have now been specialised.
Mike Taylor [Thu, 20 Nov 2014 11:16:05 +0000 (11:16 +0000)]
Use this.info() instead of now-removed this.log()
Mike Taylor [Thu, 20 Nov 2014 11:13:42 +0000 (11:13 +0000)]
Remove widget.log -- all invocation have now been specialised.
Mike Taylor [Thu, 20 Nov 2014 11:12:33 +0000 (11:12 +0000)]
Use specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:10:01 +0000 (11:10 +0000)]
Use specific logging.
Mike Taylor [Thu, 20 Nov 2014 11:01:25 +0000 (11:01 +0000)]
Use specific logging.
Mike Taylor [Thu, 20 Nov 2014 10:59:29 +0000 (10:59 +0000)]
Use that.info() rather then console.log() directly.
Mike Taylor [Thu, 20 Nov 2014 10:59:03 +0000 (10:59 +0000)]
Use info() instead of log()
Mike Taylor [Thu, 20 Nov 2014 10:57:14 +0000 (10:57 +0000)]
Remove redundant "warning" captions.
Mike Taylor [Thu, 20 Nov 2014 10:56:50 +0000 (10:56 +0000)]
Remove redundant "warning" caption.
Mike Taylor [Thu, 20 Nov 2014 10:56:01 +0000 (10:56 +0000)]
Use specific logging functions throughout mkws-widget.js
Mike Taylor [Thu, 20 Nov 2014 10:53:45 +0000 (10:53 +0000)]
Add straight-through aliases for trace(), debug() etc.
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.
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.
Mike Taylor [Wed, 19 Nov 2014 17:35:41 +0000 (17:35 +0000)]
Promote logging invocations on team objects.
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.
Mike Taylor [Wed, 19 Nov 2014 17:31:49 +0000 (17:31 +0000)]
Greeting message demoted from warning to info.
Mike Taylor [Wed, 19 Nov 2014 17:10:35 +0000 (17:10 +0000)]
Add curried trace(), debug() etc. methods to the team object.
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().
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.)
Mike Taylor [Wed, 19 Nov 2014 15:52:55 +0000 (15:52 +0000)]
Fix comment.
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.
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.
Mike Taylor [Wed, 19 Nov 2014 12:31:05 +0000 (12:31 +0000)]
Ignore downloaded file jsnlog.min.js
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
Mike Taylor [Wed, 19 Nov 2014 12:22:23 +0000 (12:22 +0000)]
Use JSNlog (at level INFO) for all logging.
Mike Taylor [Wed, 19 Nov 2014 12:22:01 +0000 (12:22 +0000)]
Add rules to fetch and install JSNlog.
Wolfram Schneider [Mon, 17 Nov 2014 16:11:58 +0000 (16:11 +0000)]
add wimp demo, part of 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
Wolfram Schneider [Thu, 13 Nov 2014 16:56:41 +0000 (16:56 +0000)]
GIT repo: private -> pub
Wolfram Schneider [Thu, 13 Nov 2014 16:47:41 +0000 (16:47 +0000)]
replace yui-compressor with a JS based solution, MKWS-337
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
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
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.
Mike Taylor [Tue, 11 Nov 2014 13:39:13 +0000 (13:39 +0000)]
Add files from release 1.0.0
Mike Taylor [Tue, 11 Nov 2014 13:38:25 +0000 (13:38 +0000)]
Version 1.0.0.
Mike Taylor [Tue, 11 Nov 2014 13:38:14 +0000 (13:38 +0000)]
Changelog for v1.0
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.
Mike Taylor [Tue, 11 Nov 2014 12:45:08 +0000 (12:45 +0000)]
Part of MKWS-329.
Add CSS to "make release" rule.
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.
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?)
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
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.
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.
Mike Taylor [Tue, 11 Nov 2014 12:16:00 +0000 (12:16 +0000)]
Remove entries for resize-wide and resize-narrow events.
Mike Taylor [Tue, 11 Nov 2014 12:15:06 +0000 (12:15 +0000)]
Format list of events. No description yet.
Mike Taylor [Tue, 11 Nov 2014 12:13:59 +0000 (12:13 +0000)]
Add list of events (not yet formatted).
Mike Taylor [Tue, 11 Nov 2014 12:09:52 +0000 (12:09 +0000)]
Remove redundant statement.
Mike Taylor [Tue, 11 Nov 2014 12:09:36 +0000 (12:09 +0000)]
New section on event passing.
Mike Taylor [Tue, 11 Nov 2014 11:35:25 +0000 (11:35 +0000)]
Reword on future API changes.
Mike Taylor [Tue, 11 Nov 2014 11:17:10 +0000 (11:17 +0000)]
Rework discussion.
Mike Taylor [Tue, 11 Nov 2014 11:16:32 +0000 (11:16 +0000)]
Rework the subwidget() description, remove Credo example.
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.
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.
Mike Taylor [Tue, 11 Nov 2014 10:39:37 +0000 (10:39 +0000)]
Clarify parts of the widget API.
Mike Taylor [Tue, 11 Nov 2014 09:49:42 +0000 (09:49 +0000)]
s/TODO/FIXME/
Mike Taylor [Tue, 11 Nov 2014 09:49:01 +0000 (09:49 +0000)]
Update the section on inheritance.
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.
Mike Taylor [Mon, 10 Nov 2014 17:05:39 +0000 (17:05 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Mike Taylor [Mon, 10 Nov 2014 16:59:55 +0000 (16:59 +0000)]
Rewrite "defining new kinds of widget" section.
Mike Taylor [Mon, 10 Nov 2014 16:55:59 +0000 (16:55 +0000)]
New section on four-layer structure of the code.
Mike Taylor [Mon, 10 Nov 2014 16:08:52 +0000 (16:08 +0000)]
Add new introduction.
Remove obsolete section on downloading Handlebars
Jason Skomorowski [Mon, 10 Nov 2014 15:05:17 +0000 (10:05 -0500)]
Make Makefile compatible with Make 4.x MKWS-331
Removes catch-all rule to remove $DEST and copy things over it.
Mike Taylor [Mon, 10 Nov 2014 13:21:26 +0000 (13:21 +0000)]
Newer date :-(
Mike Taylor [Mon, 10 Nov 2014 13:21:15 +0000 (13:21 +0000)]
Newer date :-(
Mike Taylor [Mon, 10 Nov 2014 13:21:08 +0000 (13:21 +0000)]
Newer date :-(
Mike Taylor [Mon, 10 Nov 2014 12:37:52 +0000 (12:37 +0000)]
Rewrite compatibility roadmap section.
The MKWS Manual is now finished for v1.0
Mike Taylor [Mon, 10 Nov 2014 11:51:05 +0000 (11:51 +0000)]
Completely redo "Structure of HTML generated by widgets" section.
Mike Taylor [Mon, 10 Nov 2014 11:11:40 +0000 (11:11 +0000)]
Remove data-mkws-config.
Mike Taylor [Mon, 10 Nov 2014 10:40:01 +0000 (10:40 +0000)]
Make <input> tags self-closing.
Mike Taylor [Mon, 10 Nov 2014 10:10:52 +0000 (10:10 +0000)]
Rework the table about the popup widget.
Mike Taylor [Sat, 8 Nov 2014 00:36:39 +0000 (00:36 +0000)]
Clarification on popups.
Mike Taylor [Fri, 7 Nov 2014 23:11:25 +0000 (23:11 +0000)]
Remove trailing whitespace.
Mike Taylor [Fri, 7 Nov 2014 23:11:06 +0000 (23:11 +0000)]
Rework the section of providing new translations.
Mike Taylor [Fri, 7 Nov 2014 22:20:45 +0000 (22:20 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
Wolfram Schneider [Fri, 7 Nov 2014 22:15:35 +0000 (22:15 +0000)]
Merge remote branch 'origin/master' into wosch
Wolfram Schneider [Fri, 7 Nov 2014 22:15:21 +0000 (22:15 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
Wolfram Schneider [Fri, 7 Nov 2014 22:12:57 +0000 (22:12 +0000)]
add apache2 package
Mike Taylor [Fri, 7 Nov 2014 22:02:45 +0000 (22:02 +0000)]
Update list of translatable fieldnames.
Wolfram Schneider [Fri, 7 Nov 2014 22:01:45 +0000 (23:01 +0100)]
mkws testing on MacOS 10.10, MKWS-332
Wolfram Schneider [Fri, 7 Nov 2014 22:00:49 +0000 (23:00 +0100)]
general support for apache 2.4, MKWS-332
Mike Taylor [Fri, 7 Nov 2014 21:53:55 +0000 (21:53 +0000)]
Language names needn't be ISO codes.
Wolfram Schneider [Fri, 7 Nov 2014 17:34:59 +0000 (18:34 +0100)]
Merge remote-tracking branch 'origin/master' into wosch