eBookReaderSwitch/thirdparty/mujs
Moroni Granja 98d9d7be17 Squashed 'mupdf/' content from commit 340abaf66
git-subtree-dir: mupdf
git-subtree-split: 340abaf66f43a04477866e5df8ba9726709f43f4
2019-10-30 13:48:08 -03:00
..
docs Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
.gitattributes Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
.gitignore Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
AUTHORS Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
COPYING Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
Makefile Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
README Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
astnames.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsarray.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsboolean.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsbuiltin.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsbuiltin.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jscompile.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jscompile.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsdate.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsdtoa.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsdump.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jserror.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsfunction.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsgc.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsi.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsintern.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jslex.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jslex.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsmath.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsnumber.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsobject.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
json.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsparse.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsparse.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsproperty.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsregexp.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsrepr.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsrun.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsrun.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsstate.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsstring.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsvalue.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
jsvalue.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
main.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
mujs.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
one.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
opnames.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
pp.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
regexp.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
regexp.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
utf.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
utf.h Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00
utftype.c Squashed 'mupdf/' content from commit 340abaf66 2019-10-30 13:48:08 -03:00

README

MuJS: an embeddable Javascript interpreter in C.

ABOUT

MuJS is a lightweight Javascript interpreter designed for embedding in
other software to extend them with scripting capabilities.

LICENSE

MuJS is Copyright 2013-2017 Artifex Software, Inc.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

The software is provided "as is" and the author disclaims all warranties with
regard to this software including all implied warranties of merchantability
and fitness. In no event shall the author be liable for any special, direct,
indirect, or consequential damages or any damages whatsoever resulting from
loss of use, data or profits, whether in an action of contract, negligence
or other tortious action, arising out of or in connection with the use or
performance of this software.

COMPILING

If you are building from source you can either use the provided Unix Makefile:

	make release

Or compile the source with your preferred compiler:

	cc -O2 -c one.c -o libmujs.o

INSTALLING

To install the MuJS command line interpreter, static library and header file:

	make prefix=/usr/local install

DOWNLOAD

The latest development source is available directly from the git repository:

	git clone http://git.ghostscript.com/mujs.git

REPORTING BUGS AND PROBLEMS

Report bugs on the ghostscript bugzilla, with MuJS as the selected component.

	http://bugs.ghostscript.com/

The MuJS developers hang out on IRC in the #mupdf channel on irc.freenode.net.