Skip to content

Commit c92aadb

Browse files
author
Leonardo Boshell
committed
First commit
Creating git repository.
0 parents  commit c92aadb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+9529
-0
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Makefile
2+
Makefile.in
3+
aclocal.m4
4+
autom4te.cache
5+
config.log
6+
config.status
7+
configure
8+
discheck.out
9+
install-sh
10+
missing

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Leonardo Boshell <[email protected]>

COPYING

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
All the source code and related files distributed with this software have
2+
been dedicated to the public domain by the authors.
3+
4+
Anyone is free to copy, modify, publish, use, compile, sell, or distribute
5+
the software, either in source code form or as a compiled binary, for any
6+
purpose, commercial or non-commercial, and by any means.
7+
8+
Thank you for reading this notice. Inspired by the enlightened words used by
9+
the authors of another software project, a very popular one, also in the
10+
public domain, here's a blessing:
11+
12+
May you find forgiveness for yourself and forgive others.
13+
May you experience and share the gift of uncoditional love.
14+
May you see light, wherever the illusion of darkness appears.

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2007-08-09 Leonardo Boshell <[email protected]>
2+
3+
=== Release 0.1.0 ===

HACKING

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
HACKING LitJSON
2+
3+
This software is dedicated to the public domain. This means that you may
4+
use, modify and distribute the code freely without having to ask for
5+
permissions of any kind and without the need to follow any particular rules
6+
or conventions.
7+
8+
If, however, you want to contribute your own changes back to the original
9+
authors to be redistributed along with any future versions, please note that
10+
the following two requirements do apply:
11+
12+
a) Your source code should be written in the same coding style used in the
13+
original files. This means that any code submitted to be included in
14+
the project has to follow the conventions already in use regarding
15+
indentation, spaces, casing, file headers and so on.
16+
17+
When in doubt, you may submit your contributions as close to the style as
18+
you can, and they can be edited before inclusion if necessary.
19+
20+
b) In order to keep this software in the public domain, all new contributors
21+
are asked to dedicate their contributions to the public domain. If you
22+
want to send a patch or enhancement for possible inclusion, please
23+
accompany the patch with the following statement:
24+
25+
The author or authors of this code dedicate any and all copyright
26+
interest in this code to the public domain. We make this dedication for
27+
the benefit of the public at large and to the detriment of our heirs
28+
and successors. We intend this dedication to be an overt act of
29+
relinquishment in perpetuity of all present and future rights to this
30+
code under copyright law.
31+
32+
If you are currently an employee, it is possible that by law your
33+
employer automatically receives the copyright to any and all work that
34+
you do, including enhancements you might want to submit to this project.
35+
In that case, there's some legal work that has to be done to ensure your
36+
patches stay in fact in the public domain. We do not have the means nor
37+
the will to handle such a process, but we're open to suggestions. Please
38+
contact us if this situation applies to you.
39+

INSTALL

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
Installation Instructions
2+
*************************
3+
4+
5+
Basic Installation
6+
==================
7+
8+
Briefly, the shell commands `./configure; make; make install' should
9+
configure, build, and install this package.
10+
11+
The simplest way to compile this package is:
12+
13+
1. `cd' to the directory containing the package's source code and type
14+
`./configure' to configure the package for your system.
15+
16+
Running `configure' might take a while. While running, it prints
17+
some messages telling which features it is checking for.
18+
19+
2. Type `make' to compile the package.
20+
21+
3. Optionally, type `make check' to run any self-tests that come with
22+
the package.
23+
24+
4. Type `make install' to install the programs and any data files and
25+
documentation.
26+
27+
5. You can remove the program binaries and object files from the
28+
source code directory by typing `make clean'. To also remove the
29+
files that `configure' created (so you can compile the package for
30+
a different kind of computer), type `make distclean'. There is
31+
also a `make maintainer-clean' target, but that is intended mainly
32+
for the package's developers. If you use it, you may have to get
33+
all sorts of other programs in order to regenerate files that came
34+
with the distribution.
35+
36+
37+
Optional Features
38+
=================
39+
40+
Some packages pay attention to `--enable-FEATURE' options to
41+
`configure', where FEATURE indicates an optional part of the package.
42+
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
43+
is something like `gnu-as' or `x' (for the X Window System). The
44+
`README' should mention any `--enable-' and `--with-' options that the
45+
package recognizes.
46+
47+
48+
`configure' Invocation
49+
======================
50+
51+
`configure' recognizes the following options to control how it operates.
52+
53+
`--help'
54+
`-h'
55+
Print a summary of the options to `configure', and exit.
56+
57+
`--version'
58+
`-V'
59+
Print the version of Autoconf used to generate the `configure'
60+
script, and exit.
61+
62+
`--cache-file=FILE'
63+
Enable the cache: use and save the results of the tests in FILE,
64+
traditionally `config.cache'. FILE defaults to `/dev/null' to
65+
disable caching.
66+
67+
`--config-cache'
68+
`-C'
69+
Alias for `--cache-file=config.cache'.
70+
71+
`--quiet'
72+
`--silent'
73+
`-q'
74+
Do not print messages saying which checks are being made. To
75+
suppress all normal output, redirect it to `/dev/null' (any error
76+
messages will still be shown).
77+
78+
`--srcdir=DIR'
79+
Look for the package's source code in directory DIR. Usually
80+
`configure' can determine that directory automatically.
81+
82+
`configure' also accepts some other, not widely useful, options. Run
83+
`configure --help' for more details.
84+

Makefile.am

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
AUTOMAKE_OPTIONS = dist-bzip2 dist-zip no-dist-gzip
2+
3+
SUBDIRS = bin src test data doc
4+
5+
dist-hook:
6+
mkdir $(distdir)/benchmarks
7+
cp -udpR $(srcdir)/benchmarks/* $(distdir)/benchmarks
8+
cd $(distdir)/benchmarks && $(MAKE) distclean
9+
@if test "x$(DISTBIN)" != "x"; then \
10+
echo "Creating binary release"; \
11+
mkdir -p $(distdir)/bin; \
12+
cd $(srcdir) && $(MAKE); \
13+
cp $(srcdir)/bin/LitJson.dll \
14+
$(distdir)/bin; \
15+
echo > $(distdir)/README.new; \
16+
echo "** Note: This is the binary distribution." >> \
17+
$(distdir)/README.new; \
18+
echo "** A pre-compiled .dll can be found in the 'bin' directory." >> \
19+
$(distdir)/README.new; \
20+
echo >> $(distdir)/README.new; \
21+
echo >> $(distdir)/README.new; \
22+
cat $(srcdir)/README >> $(distdir)/README.new; \
23+
mv -f $(distdir)/README.new $(distdir)/README; \
24+
fi

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
============= ----------
2+
LitJSON 0.1.0 | 2007-08-09
3+
============= ----------
4+
5+
First release.

README

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
LitJSON
2+
=======
3+
4+
A .Net library to handle conversions from and to JSON (JavaScript Object
5+
Notation) strings.
6+
7+
Home page: http://litjson.sourceforge.net/
8+
9+
10+
Installation
11+
------------
12+
13+
See the file INSTALL for generic building and installation instructions.
14+
15+
The 'configure' script for this package recognizes the following specific
16+
flags:
17+
18+
--disable-debug
19+
Disables the creation of debug binaries (e.g. LitJson.dll.mdb). These
20+
are enabled by default.
21+
22+
23+
Tests
24+
-----
25+
26+
This library comes with a set of unit tests using the NUnit framework. The
27+
'configure' script tries to find the necessary information in order to use
28+
them.
29+
30+
If everything is set up properly, you may run the tests with 'make check'.
31+
32+
33+
Using LitJSON from an application
34+
---------------------------------
35+
36+
Once this library is compiled and optionally installed in the root
37+
filesystem, .Net developers may use it by simply copying the .dll file into
38+
their project's directory.
39+
40+
For those developers using standard Unix tools such as pkg-config and make,
41+
this library comes with a .pc file to help in the process of consuming it.
42+
43+
One way this could work would be adding a rule in the Makefile (normally
44+
called 'update-libraries') where the necessary .dll's are copied into the
45+
project's source directory, and a text file is created with the flags that
46+
are to be passed to the compiler. Then this text file is used in the rules
47+
used to compile the project. For example:
48+
49+
50+
update-libraries:
51+
cp `pkg-config --variable=Libraries litjson` .
52+
pkg-config --libs litjson > litjson.flags
53+
54+
Demo.exe: Demo.cs litjson.flags
55+
mcs -out:$@ Demo.cs `cat litjson.flags`
56+
57+
58+
For more information on this process, please see
59+
<http://www.mono-project.com/Guidelines:Application_Deployment>, section 2.
60+
Libraries with Unstable APIs.
61+
62+
63+
Bug Reports
64+
-----------
65+
66+
Please submit all bug reports, feature requests and patches on the project's
67+
website at:
68+
http://sourceforge.net/tracker/?group_id=202631

autogen.sh

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#! /bin/sh
2+
3+
PKG_NAME="LitJSON"
4+
srcdir=${srcdir:-.}
5+
6+
7+
die ()
8+
{
9+
echo "$@"
10+
exit 1
11+
}
12+
13+
14+
want_glib_gettextize=false
15+
want_intltoolize=false
16+
want_libtoolize=false
17+
want_maintainer_mode=false
18+
19+
configure_files=$(find $srcdir -name configure.ac -print -o -name configure.in -print)
20+
21+
for configure_ac in $configure_files; do
22+
if grep "^A[CM]_PROG_LIBTOOL" $configure_ac >/dev/null || \
23+
grep "^LT_INIT" $configure_ac >/dev/null; then
24+
want_libtoolize=true
25+
fi
26+
27+
if grep "^AM_GLIB_GNU_GETTEXT" $configure_ac >/dev/null; then
28+
want_glib_gettextize=true
29+
fi
30+
31+
if grep "^AC_PROG_INTLTOOL" $configure_ac >/dev/null || \
32+
grep "^IT_PROG_INTLTOOL" $configure_ac >/dev/null; then
33+
want_intltoolize=true
34+
fi
35+
36+
if grep "^AM_MAINTAINER_MODE" $configure_ac >/dev/null; then
37+
want_maintainer_mode=true
38+
fi
39+
done
40+
41+
42+
43+
echo "Preparing $PKG_NAME .."
44+
45+
if $want_libtoolize; then
46+
echo " running libtoolize .."
47+
libtoolize --force --copy || die "libtoolize failed"
48+
fi
49+
50+
if $want_glib_gettextize; then
51+
echo " running glib-gettextize .."
52+
glib-gettextize --force --copy || die "glib-gettextize failed"
53+
fi
54+
55+
if $want_intltoolize; then
56+
echo " running intltoolize .."
57+
intltoolize --force --copy --automake || die "intltoolize failed"
58+
fi
59+
60+
conf_opts=""
61+
if $want_maintainer_mode; then
62+
conf_opts="--enable-maintainer-mode"
63+
fi
64+
65+
echo " running aclocal .."
66+
aclocal 2>/dev/null || die "aclocal failed"
67+
68+
echo " running autoconf .."
69+
autoconf 2>/dev/null || die "autoconf failed"
70+
71+
echo " running automake .."
72+
automake -a -c || die "automake failed"
73+
74+
echo " running configure .."
75+
${srcdir}/configure $conf_opts "$@" || die "the configure script failed"
76+
77+
echo "Now type 'make' and 'make install' to install $PKG_NAME"

benchmarks/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.dll

0 commit comments

Comments
 (0)