1
0
Fork 0
Commit Graph

1107 Commits (a1c2fbeaa448337da9b08325f4072a46bc2c2684)

Author SHA1 Message Date
Mike Gerwitz b74698a8eb Added initial, basic documentation for method proxies
Implementation details will follow; this has gone undocumented long enough
and it does not feel right making another release without this.
2014-01-06 00:42:32 -05:00
Mike Gerwitz 4efa6b0438 Added GNU to `ease.js' in certain manual titles
For consistency and to promote GNU
2014-01-06 00:14:02 -05:00
Mike Gerwitz 5511ef78b5 Manual corrections for class examples; overrides must be virtual
Artifact from pre-virtual days.
2013-12-25 02:04:30 -05:00
Mike Gerwitz 5ac511ab8b Added html-single target to root Makefile 2013-12-25 00:12:16 -05:00
Mike Gerwitz a11a1a4efc Corrected html dep ordering issue to ensure img files are built 2013-12-24 23:55:14 -05:00
Mike Gerwitz fdd7d0f1b2 doc Makefile modified to let automake do much of the work
Also no longer using build/ directory for output and using -o in favor of stdout
to correct @contents error.
2013-12-24 23:50:25 -05:00
Mike Gerwitz 2d928215cd automake did not seem to update version.texi when included inside header comments 2013-12-24 23:03:10 -05:00
Mike Gerwitz 8d133fd377 Added previous license change to news-ignore
No need to mention LGPL-licensing when that is no longer
2013-12-24 22:38:35 -05:00
Mike Gerwitz d864e0b0d2 Added license information to README.md
Particularily important for non-free software that uses LGPLv3+ versions.
2013-12-23 00:59:20 -05:00
Mike Gerwitz 4b5d7a2676 Reserved words section of README.md is unneeded 2013-12-23 00:51:04 -05:00
Mike Gerwitz 018351e565 [copyright] Copyright update for texinfo documents and misc. scripts 2013-12-23 00:39:48 -05:00
Mike Gerwitz 4b8139d019 Modified tools/copyright to recognize texinfo documents 2013-12-23 00:33:20 -05:00
Mike Gerwitz 884eb3a03b Added reference to REAME.hacking in README 2013-12-23 00:27:20 -05:00
Mike Gerwitz 6a063d65e9 Added ability to ignore commits in gitlog-to-news 2013-12-23 00:27:20 -05:00
Mike Gerwitz 749a49ba4f Added build directory to EXTRA_DIST
We want these files to be available in the tarball for those who do not have the
setup necessary to build (which is far more likely to be the care with
JavaScript developers).
2013-12-23 00:27:20 -05:00
Mike Gerwitz d6c522d16a AUTHORS, NEWS, and ChangeLog will now always rebuild 2013-12-23 00:27:20 -05:00
Mike Gerwitz 897b68e3e0 Tests now work properly with auto* and no longer require minified files 2013-12-23 00:27:20 -05:00
Mike Gerwitz 8b83add95f ease.js is now GNU ease.js.
On Sun, Dec 22, 2013 at 03:31:08AM -0500, Richard Stallman wrote:
> I hereby dub ease.js a GNU package, and you its maintainer.
>
> Please don't forget to mention prominently in the README file and
> other suitable documentation places that it is a GNU program.
2013-12-23 00:27:18 -05:00
Mike Gerwitz 26dffce00a [copyright] Copyright update after adding --follow to copyright script 2013-12-22 22:50:29 -05:00
Mike Gerwitz 7822f120ca copyright script will now --follow files 2013-12-22 22:50:29 -05:00
Brandon Invergo 79109304cc Version splitting for configure.ac
Thanks again to Brandon Inverson for providing this patch. All changes are his
except for the comment in configure.ac and the version.js.tpl move/changes.

Copyright-paperwork-exempt: Yes
2013-12-22 22:50:24 -05:00
Mike Gerwitz 3ca4b1c40f signchk tool now only checks merge commit (not the commits introduced) for signature
This greatly simplfies rebasing and other operations while working in a branch;
signing each and every commit that is not in master can be overkill (even if it
does give peace of mind).
2013-12-22 01:12:24 -05:00
Mike Gerwitz 996d8af015 AUTHORS, NEWS, ChangeLog, and package.json can now be cleaned 2013-12-22 01:10:31 -05:00
Mike Gerwitz bef545b425 Corrected doc Makefile EXTRA_DIST img/ 2013-12-22 01:05:31 -05:00
Mike Gerwitz b7e891d77e AUTHORS, NEWS, and ChangeLog may now be built independently 2013-12-22 01:05:30 -05:00
Mike Gerwitz 3d3cb42982 Corrected @setfilename for easejs.texi 2013-12-22 01:05:30 -05:00
Mike Gerwitz 6280186926 Added necessary EXTRA_DIST files for successful dist build 2013-12-22 01:05:30 -05:00
Mike Gerwitz e1fdc92beb package.json is now generated by configure script and included in distribution 2013-12-22 01:05:28 -05:00
Mike Gerwitz 465fe35831
Merge branch 'brandon/gnu' into gnu 2013-12-22 00:00:29 -05:00
Mike Gerwitz efc82bb9a9 {manual=>easejs}.texi
Brandon Invergo recommended the name change so that the info file was
identifiable after installation.
2013-12-21 23:58:02 -05:00
Mike Gerwitz b338a2bf0f Changed README to mention autoreconf
As suggested by Brandon Invergo.
2013-12-21 23:47:13 -05:00
Mike Gerwitz 9ec3529b60 verset will no longer update version.tex; deprecated by previous commit 2013-12-21 23:43:47 -05:00
Brandon Invergo f9bb93c54d Applied autotool-related patch by Brandon Invergo
On Sat, Dec 21, 2013 at 12:29:23PM +0000, Brandon Invergo wrote:
> - configure.ac: add "foreign" to the AM_INIT statement so you don't have
>   to do it from the command line
>
> - configure.ac: add a test for midair -p, which is standard boilerplate
>   stuff
>
> - configure.ac: let the user dictate the locations of the java, node and
>   closure-compiler executables via the JAVA, NODE and CCJAR environment
>   variables
>
> - Makefile.am: use the MKDIR_P and CCJAR environment variables insntead
>   of hard-coded paths
>
> - doc/Makefile: rename to doc/Makefile.am
>
> - doc/Makefile.am: remove manual infodoc handling; Automake can automate
>   this stuff
>
> - doc/Makefile.am: support installing the documentation (install-plain,
>   install-pdf, install-html), which gets installed usually to
>   ${prefix}/share/doc/easejs (i.e. /usr/share/doc/easejs)
>
> - doc/classes.texi: fix some @ref macros
>
> - doc/manual.texi: fix the @include location
2013-12-21 23:31:45 -05:00
Mike Gerwitz 21ae1861ad
Version set to 0.2.0-dev 2013-12-21 01:51:54 -05:00
Mike Gerwitz 6c4c2322bb
Modified tools/version to update package.json and configure.ac 2013-12-21 01:49:48 -05:00
Mike Gerwitz 10bf2540c7
Updated README to reflect that --add-missing must be provided with automake invocation 2013-12-21 01:24:34 -05:00
Mike Gerwitz e759d1f2b7
Now using automake and autoconf
This implements recommendations by Brandon Invergo for the GNU submission
process, some of which is required by the GNU Coding Standards; I thank him for
his help and swift responses during this time.
2013-12-21 01:15:32 -05:00
Mike Gerwitz ab49c53f4b
Added gitlog-to-{authors,news}
These will be used to generate, respectively, the AUTHORS and NEWS files that
are a part of GNU distributions.
2013-12-21 00:59:56 -05:00
Mike Gerwitz 3cbf4aff40
Imported gitlog-to-changelog from gnulib
This will be used to generate ChangeLog, which is recommended by GNU.
2013-12-21 00:50:27 -05:00
Mike Gerwitz 8883aa930e
[copyright] Copyright update for license templates 2013-12-20 01:17:28 -05:00
Mike Gerwitz 34a36b8e1d
Updated copyright script to place current date in license templates 2013-12-20 01:17:07 -05:00
Mike Gerwitz 13ca9cd852
[copyright] Copyright update after relicensing 2013-12-20 01:11:39 -05:00
Mike Gerwitz 9050c4e4ac
Relicensed under the GPLv3+
This project was originally LGPLv+-licensed to encourage its use in a community
that is largely copyleft-phobic. After further reflection, that was a mistake,
as adoption is not the important factor here---software freedom is.

When submitting ease.js to the GNU project, it was asked if I would be willing
to relicense it under the GPLv3+; I agreed happily, because there is no reason
why we should provide proprietary software any sort of edge. Indeed, proprietary
JavaScript is a huge problem since it is automatically downloaded on the user's
PC generally without them even knowing, and is a current focus for the FSF. As
such, to remain firm in our stance against proprietary JavaScript, relicensing
made the most sense for GNU.

This is likely to upset current users of ease.js. I am not sure of their
number---I have only seen download counts periodically on npmjs.org---but I know
there are at least a small number. These users are free to continue using the
previous LGPL'd releases, but with the understanding that there will be no
further maintenance (not even bug fixes). If possible, users should use the
GPL-licensed versions and release their software as free software.

Here comes GNU ease.js.
2013-12-20 01:10:05 -05:00
Mike Gerwitz 2a76be2461
[copyright] Copyright update 2013-12-20 00:50:54 -05:00
Mike Gerwitz 9648dc283f
Added copyright script to update copyright lines based on file history 2013-12-20 00:48:55 -05:00
Mike Gerwitz daae0c6843
Corrected bug whereby multiple override calls would clear __super too early
Before this change, __super was set to undefined. However, consider that we have two
method overrides---foo and bar---and the code for bar is:

  this.foo();
  this.__super();

foo() would set __super to undefined and so bar cannot invoke its super method
unless it stores a reference to __super before invoking foo(). This patch fixes
this issue.
2013-04-20 21:55:40 -04:00
Mike Gerwitz ae172a7a34
Corrected missing whitespace on interface instantiation error message 2013-04-13 12:34:52 -04:00
Mike Gerwitz b4fe08292f
'this' now properly binds to the private member object of the instance for getters/setters
Getters/setters did not get much attention during the initial development of
ease.js, simply because there was such a strong focus on pre-ES5
compatibility---ease.js was created for a project that strongly required it.
Given that, getters/setters were not used, since those are ES5 features. As
such, I find that two things have happened:

  1. There was little incentive to provide a proper implementation; even though
     I noticed the issues during the initial development, they were left
     unresolved and were then forgotten about as the project lay dormant for a
     while.
  2. The project was dormant because it was working as intended (sure, there
     are still things on the TODO-list feature-wise). Since getters/setters were
     unused in the project for which ease.js was created, the bug was never
     found and so never addressed.

That said, I now am using getters/setters in a project with ease.js and noticed
a very odd bug that could not be explained by that project's implementation.
Sure enough, it was an ease.js issue and this commit resolves it.

Now, there is more to be said about this commit. Mainly, it should be noted that
MemberBuilder.buildGetterSetter, when compared with its method counterpart
(buildMethod) is incomplete---it does not properly address overrides, the
abstract keyword, proxies or the possibility of method hiding. This is certainly
something that I will get to, but I want to get this fix out as soon as I can.
Since overriding ES5 getters/setters (rather than explicit methods) is more
likely to be a rarity, and since a partial fix is better than no fix, this will
likely be tagged immediately and a further fix will follow in the (hopefully
near) future.

(This is an interesting example of how glaring bugs manage to slip through the
cracks, even when the developer is initially aware of them.)
2013-01-19 22:38:35 -05:00
Mike Gerwitz 8b74ed9f1b
Corrected a bug whereby getters were being inadvertently invoked by util.propParse()
Nasty; hopefully this was found before it did any harm to anyone else! This bug was discovered accidentally while I was debugging a separate issue.
2013-01-19 22:38:31 -05:00
Mike Gerwitz 02e22e64b9
Corrected warning console output invocation 2013-01-19 22:38:26 -05:00