Directory src/tools/genclasses/

Total Files:
8
Deleted Files:
0
Lines of Code:
2515

Browse with Trac

[root]/src/tools/genclasses

Lines of Code

src/tools/genclasses/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 109 (100.0%) 2166 (100.0%) 19.8
tboeckel 39 (35.8%) 1611 (74.4%) 41.3
damato 69 (63.3%) 547 (25.3%) 7.9
marust 1 (0.9%) 8 (0.4%) 8.0

Most Recent Commits

damato 2016-04-12 17:07 Rev.: 8381

* tools/genclasses/gc.c: reworked YAM_NewObject() once more and replaced
the ASM stub for the MorphOS build with some C-language equalivant which
copies all variable arguments into a "struct TagItem" array with a maximum
size of 128 entries. This routine is now generally used rather than using
VARARGS68K for the other platforms. In addition, it solves a still existing
problem where more than 8 arguments resulted in some undefined problems and
thus the ASM stub couldn't be usd. This refs #617.

31 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+31 -46)
damato 2016-04-11 21:23 Rev.: 8379

* tools/genclasses/gc.c: implemented an ASM stub for MorphOS compiles with
GCC > 2 because newer GCC versions unfortunately don't support VARARGS68K
anymore. This should hopefully fix recent problems with our GCC5 compiles
for MorphOS, thus closes #617.

48 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+48 -8)
damato 2016-03-28 01:03 Rev.: 8371

- bumped copyright year to 2016.

8 lines of code changed in 7 files:

damato 2015-03-25 19:29 Rev.: 8313

- copyright update

8 lines of code changed in 7 files:

tboeckel 2014-05-28 16:08 Rev.: 8013

* tools/genclasses/gc.c: set the class' name in the created custom class structure to assist MUI debugging.

5 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+5)
damato 2014-01-08 10:27 Rev.: 7465

* misc: bumped copyright year to 2014. Happy new year!

8 lines of code changed in 7 files:

damato 2013-11-18 01:20 Rev.: 7326

* *.c,*.h: replaced all real tabs by two spaces throughout the whole
repository. In addition, a pre-commit hook will now also take care that no
real tabs can be checked in any *.c,*.h,*.l,*.sd file anymore.

40 lines of code changed in 1 file:

  • src/tools/genclasses: crc32.c (+40 -40)
damato 2013-01-02 17:40 Rev.: 6495

* all: bumped the copyright year in all our source and header files to match
the new year.

8 lines of code changed in 7 files:

tboeckel 2012-10-29 20:53 Rev.: 6379

* YAM.c, tools/genclasses/gc.c: if creating a subclass fails the names of the class and of the superclass will be displayed in the error requester.

8 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+8 -1)
damato 2012-04-07 12:02 Rev.: 5815

- removed -funroll-loops as this is potentially dangerous.

1 lines of code changed in 1 file:

  • src/tools/genclasses: Makefile (+1 -1)
damato 2012-01-02 13:09 Rev.: 5788

* misc: bumped all copyright notices to 2012 and added new shell script to
semi-automatically do the job in future.

8 lines of code changed in 7 files:

tboeckel 2011-01-28 09:49 Rev.: 5610

* gc.c: the generated clean up code now checks for still living objects of
each class. This effectively points to memory leaks in case objects are
created dynamically and don't belong to the application anymore when the
final cleanup happens.

6 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+6 -1)
damato 2011-01-02 00:51 Rev.: 5562

- misc: updated all copyright strings to refelect the new year and made
them all have the same shape.

10 lines of code changed in 7 files:

tboeckel 2010-11-09 16:35 Rev.: 5440

* gc.c: each class now gets its own public header file to avoid depency of
lots of source file on one single generated classes.h file. The classes.h
file now contains the function prototypes used in classes.c only.
Furthermore added the new keyword INCLUDE to let classes specify additional
#include statements in case their method need definitions from other
headers.

244 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+244 -173)
tboeckel 2010-11-05 11:15 Rev.: 5432

* gc.c: each class now gets its own public header file to avoid depency of
lots of source file on one single generated classes.h file. The classes.h
file now contains the function prototypes used in classes.c only.
Furthermore added the new keyword INCLUDE to let classes specify additional
#include statements in case their method need definitions from other
headers.

202 lines of code changed in 2 files:

  • src/tools/genclasses: gc.c (+195 -90), gc.h (+7 -1)
tboeckel 2010-10-21 17:07 Rev.: 5389

* gc.c: multiple dependencies from a private class were not handled correctly
and rejected as a dependency loop. Additionally the parent's class name will
now be included in the error message.

5 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+5 -3)
damato 2010-08-14 09:20 Rev.: 4913

* misc: removed all unnecessary "if(X != NULL)" checks right before a free(X)
operation. free() is known to perform save even on NULL pointers. So the
additional check in our sources is really not required. In addition it
should be slightly faster and more readable under certain situations.

6 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+6 -6)
tboeckel 2010-08-05 11:09 Rev.: 4847

* 0.33 - the .crc file is now written on every run, even if the checksum did not
change. This solves some dependency issues in YAM's Makefile.

8 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+8 -6)
tboeckel 2010-08-04 10:51 Rev.: 4842

* CRC checksums are now used to check whether any class definition has
changed. Without any public change the sources will not be regenerated.

618 lines of code changed in 6 files:

damato 2010-04-17 20:48 Rev.: 4663

* misc: moved all the new (but not yet working) transfer/preselection window
related stuff to a separate SVN branch "newtransfer-2.7" and removed the changes
from the main trunk. This should make the nightly builds actually usable again
for people wanting to test other things or wanting to report on other bugs.
So until all the new stuff isn't finished and at least tested a bit we are not
going to move that to the main trunk again so that the nightly builds are at
least a bit usable again. However, please note that nightly builds are still
considered "unstable". So only use them if you can deal with that and the
potential bugs they might still have.

211 lines of code changed in 3 files:

  • src/tools/genclasses: gc.c (+199 -365), gc.h (+9 -11), lists.c (+3 -3)
tboeckel 2010-03-24 11:40 Rev.: 4645

* gc.c: even *VERY* dumb mistakes like a class being its own superclass are
now detected as dependency loops and will generate an "#error" statement.

13 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+13)
tboeckel 2010-03-23 11:07 Rev.: 4637

* tools/genclasses/gc.c: the ATTR() macro only creates the corresponding
full attribute name (i.e. MUIA_<class>_<attribute>) and no prepended
"case" statement anymore. This is much more intuitive if also foreign
attributes are handled in an OM_SET or OM_GET method. This also makes it
possible to use ATTR() within the class source instead of the full name
whenever an attribute is being used. Also added the METHOD() macro to
enable the same convenience as with attributes when invoking methods within
the class source.

14 lines of code changed in 2 files:

  • src/tools/genclasses: gc.c (+12 -13), gc.h (+2 -2)
tboeckel 2010-03-22 09:53 Rev.: 4634

* tools/genclasses/gc.c: classes without any instance data don't need to
specify a Data structure with an unused dummy variable anymore.

119 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+119 -96)
tboeckel 2010-03-21 17:05 Rev.: 4633

* tools/genclasses/gc.c: the classes are now sorted alphabetically.

12 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+12 -1)
tboeckel 2010-03-20 12:56 Rev.: 4632

* tools/genclasses/gc.c: renamed "SuperMCC" to "SuperMCCIndex" to make clear
that the value is in fact an index within the list structure. Also changed
the layout of the generated code a bit.

29 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+29 -18)
tboeckel 2010-03-19 14:13 Rev.: 4631

* tools/genclasses/gc.c: modified the code generation once more to detect
possible class loops and really make sure that all classes are created in
the correct order (i.e. superclasses before subclasses). In case of a loop
the generated source will contain an "#error" statement which contains the
affected classes.

84 lines of code changed in 2 files:

  • src/tools/genclasses: gc.c (+75 -64), gc.h (+9 -7)
tboeckel 2010-03-19 12:00 Rev.: 4630

* tools/genclasses/gc.c: bumped to v0.29.

4 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+4 -1)
tboeckel 2010-03-19 11:52 Rev.: 4629

* tools/genclasses/gc.c: it is now possible to create private classes which
are subclasses of other private classes. Before only public classes could
be used as superclasses. The special order in which the classes must be
created is properly respected. Possible dependency loops will not be
detected during the code generation, but at runtime of the created code
instead.

105 lines of code changed in 4 files:

tboeckel 2010-03-19 09:51 Rev.: 4628

* tools/genclasses/gc.c: reworked the source to add the usual ENTER() and
RETURN() statements to the generated class creation code. This makes it
possible to output which class exactly could not be created.

76 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+76 -77)
marust 2010-03-08 20:21 Rev.: 4577

* genclasses/gc.c: check return value of fread() to suppress compiler warning.

8 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+8 -2)
tboeckel 2010-01-07 14:31 Rev.: 4472

* tools/genclasses/gc.c: fixed slightly screwed up file contents. It got somehow converted to UTF8?!?

1 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+1 -1)
tboeckel 2010-01-07 14:26

* all: bumped the copyright of all files to 2010.

4 lines of code changed in 2 files:

  • src/tools/genclasses: gc.c (+2 -2)
tboeckel 2010-01-07 14:14 Rev.: 4469

* all: bumped the copyright of all files to 2010.

1 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+1 -1)
damato 2009-05-28 09:00 Rev.: 4294

* tools/genclasses: updated the auto-generated sources to use the new
static SDISPATCHER macro of SDI instead. This should generate static
dispatcher functions instead of global ones and thus keep the
symbols more where they belong to.
* include: updated SDI headers to their very latest versions.

6 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+6 -3)
damato 2009-01-04 15:08 Rev.: 4251

- misc: we welcome the new year by bumping all copyright notices to 2009.

2 lines of code changed in 2 files:

damato 2008-05-23 09:57 Rev.: 3998

* tools/genclasses, misc: added a parameter type check to the GenClasses
tool so that it checks for used BOOL parameters in the DECLARE()
statements of our classes. BOOL parameters are known to cause trouble
and therefore should be replaced by ULONG parameters instead.

9 lines of code changed in 1 file:

  • src/tools/genclasses: gc.c (+9 -1)
damato 2008-03-23 00:59 Rev.: 3911

- minor bugfix

1 lines of code changed in 1 file:

  • src/tools/genclasses: lists.c (+1 -1)
damato 2008-03-22 17:09 Rev.: 3910

* genclasses: fixed a bug in the list_findname() function where
after the last fix the function didn't correctly find a named
node. In addition, a new "-q" option now prevents all standard
output as only fprintf(stderr,...) will be shown upon execution.

127 lines of code changed in 2 files:

  • src/tools/genclasses: gc.c (+117 -55), lists.c (+10 -6)
tboeckel 2008-03-21 21:21 Rev.: 3909

* genclasses: fixed a memory leak due to a wrong linked list implementation.
There was always one node left in a list upon calling list_remhead() until
it returned NULL. Also added a sort functions for linked lists.

9 lines of code changed in 5 files:

damato 2008-02-24 03:41 Rev.: 3885

- minor changes to prevent echo from outputting the ' chars.

2 lines of code changed in 1 file:

  • src/tools/genclasses: Makefile (+2 -2)

(8 more)

Generated by StatSVN 0.7.0