~gustav-hartvigsson/simpletypesystem/ring_buffer

125.1.1 by Gustav Hartvigsson
* Added merge-trunk command to ./build.sh
1
NAME: --------------------------------------------------------------------------
1 by Gustav Hartvigsson
Initial Code.
2
The (Super) Simple Type System
3
125.1.1 by Gustav Hartvigsson
* Added merge-trunk command to ./build.sh
4
Authors: -----------------------------------------------------------------------
100 by Gustav Hartvigsson
* Fixed README.
5
Gustav Hartvigsson (c) 2013-2015
1 by Gustav Hartvigsson
Initial Code.
6
125.1.1 by Gustav Hartvigsson
* Added merge-trunk command to ./build.sh
7
ABOUT: -------------------------------------------------------------------------
1 by Gustav Hartvigsson
Initial Code.
8
The software (The type-system) is an experiment. It was
42 by Gustav Hartvigsson
* Updated the README.
9
written by Gustav Hartvigsson to see how to create a simple reference counting
10
type system that was super simple. (Redundancy is redundant).
1 by Gustav Hartvigsson
Initial Code.
11
100 by Gustav Hartvigsson
* Fixed README.
12
The source code in ./libssts/ and ./libsstsmm/ is what constitutes the type system.
13
14
Omission to this is ./libssts/external/ and ./libsstsmm/external/, which are
15
external headers and may or may not have the same license as the rest of
16
the project.
1 by Gustav Hartvigsson
Initial Code.
17
18
If you need a real type system for C use GLib/GObject. It
19
is a much more mature and better designed type system
125.1.1 by Gustav Hartvigsson
* Added merge-trunk command to ./build.sh
20
than mine.
21
22
HACKING: -----------------------------------------------------------------------
23
(We assume you are using a *Nix system or Cygwin/MinGW enviorment with the
24
correct tools.)
25
26
First make sure you have a place where you store your projects, say $HOME/devel/
27
or the likes and you are in that directory. And you need a launchpad account,
28
and set up your bazaar with your launchpad account.
29
30
Info on how to do this can be found here:
31
  http://doc.bazaar.canonical.com/plugins/en/launchpad-plugin.html
32
  https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair
33
34
When you start hacking it is importat to get a copy of the trunk, to do this run:
35
  $ bzr branch lp:simpletypesystem simpletypesystem_trunk
36
This will be your local trunk copy and should not be changed for the time being.
37
38
To update your trunk run:
39
  $ bzr pull
40
41
When you have your local trunk cd to it and run
42
  $ ./build.sh branch my-branch-name-here
43
this will create a branch of your _local_ trunk copy. When it is done cd into
44
that new branch:
45
  $ cd ../simpletypesystem_my-branch-name-here
46
47
Then we have to associate your branch with a branch on launchpad:
48
  $ bzr push --remember lp:~<lp-username>/simpletypesystem/my-branch-name-here
49
50
Then you can start hacking!
51
52
To commit your changes you can run:
53
  $ bzr commit
54
or
55
  $ ./build.sh commit
56
57
to push your changed run
58
  $ bzr push
59
60
to propose the changes for merge run
61
  $ bzr lp-propose-merge
62
63
ALSO: --------------------------------------------------------------------------
1 by Gustav Hartvigsson
Initial Code.
64
65
THIS SOFTWARE IS DISTRIBUTED AS IS, IT IS AN EXPERIMENT
66
AND SHOULD BE TREATED AS SUCH. ALL AND ANY CLAIMS --
67
MONETARY OR OTHERWISE -- ARE VOID.
68
42 by Gustav Hartvigsson
* Updated the README.
69
THIS SOFTWARE IS DISTRIBUTED UNDER THE BSD LICENCE.
1 by Gustav Hartvigsson
Initial Code.
70
125.1.1 by Gustav Hartvigsson
* Added merge-trunk command to ./build.sh
71
NOTE THAT INCLUDATIONS (using #include or otherwise) OF
1 by Gustav Hartvigsson
Initial Code.
72
THE HEADER FILES (files ending with .h) IS _NOT_
73
CONSIDERED AS DERIVATIVE, BUT CHANGES TO THE HEADER
74
FILES IS.
42 by Gustav Hartvigsson
* Updated the README.
75