Author: muggenhor
Date: Tue Jul 22 18:15:28 2008
New Revision: 5640

URL: http://svn.gna.org/viewcvs/warzone?rev=5640&view=rev
Log:
Blocked revisions r4973, r5125, r5283, r5295, r5299:5300, r5305:5306, r5315, 
r5354:5355, r5357, r5382, r5413:5419, r5423:5424, r5430:5446, r5449:5452, 
r5458, r5460, r5464:5465, r5478:5484, r5486, r5488, r5490:5491, r5494:5495, 
r5497:5499, r5501:5502, r5505, r5509:5511, r5513, r5518:5520, r5523:5524, 
r5527, r5540:5541, r5544:5545, r5549:5552, r5554:5555, r5557, r5570:5572, 
r5578, r5586, r5588, r5626:5628 from backporting into the 2.1 branch via 
svnmerge from trunk

........
  r4973 | devurandom | 2008-05-09 12:01:56 +0200 (vr, 09 mei 2008) | 2 lines
  
  Fix typo
........
  r5125 | per | 2008-05-16 19:31:51 +0200 (vr, 16 mei 2008) | 2 lines
  
  Set proper svn eol-style on a bunch of files that did not have it.
........
  r5283 | evilguru | 2008-06-21 19:23:00 +0200 (za, 21 jun 2008) | 1 line
  
  Some more work on betawidget's event system.
........
  r5295 | evilguru | 2008-06-22 14:03:42 +0200 (zo, 22 jun 2008) | 1 line
  
  Make the drawChildren method virtual and fix some typos.
........
  r5299 | evilguru | 2008-06-22 19:53:08 +0200 (zo, 22 jun 2008) | 1 line
  
  Add EVT_MOUSE_CLICK support and fix a typo.
........
  r5300 | evilguru | 2008-06-22 19:55:52 +0200 (zo, 22 jun 2008) | 1 line
  
  Fix a typo in betawidget.
........
  r5305 | muggenhor | 2008-06-23 01:28:34 +0200 (ma, 23 jun 2008) | 3 lines
  
   * Only use TABs for indentation, not for alignment
   * No whitespace on the end of lines
........
  r5306 | evilguru | 2008-06-23 14:18:19 +0200 (ma, 23 jun 2008) | 1 line
  
  Add the beginnings of a type-checking system for betawidget.
........
  r5315 | evilguru | 2008-06-24 12:11:03 +0200 (di, 24 jun 2008) | 1 line
  
  Updates to the betawidget library; being to document vector.[ch], fix a bug 
in vectorAdd, const correctness for the widget type system, remove a rouge 
newline in geom.h
........
  r5354 | evilguru | 2008-07-03 01:18:32 +0200 (do, 03 jul 2008) | 1 line
  
  Major redesign; widgets now use compositing (rendering off-screen).
........
  r5355 | evilguru | 2008-07-03 01:23:23 +0200 (do, 03 jul 2008) | 1 line
  
  Fix indentation (tabs => spaces).
........
  r5357 | evilguru | 2008-07-03 18:19:41 +0200 (do, 03 jul 2008) | 1 line
  
  Fix a bug in vectorMap that could result in a segfault.
........
  r5382 | evilguru | 2008-07-04 15:09:23 +0200 (vr, 04 jul 2008) | 1 line
  
  Use eventMisc for FOCUS and BLUR events.
........
  r5413 | evilguru | 2008-07-07 21:10:23 +0200 (ma, 07 jul 2008) | 1 line
  
  Add experimental support for masks in betawidget. This allows for 
non-rectangular widgets.
........
  r5414 | evilguru | 2008-07-07 23:19:58 +0200 (ma, 07 jul 2008) | 1 line
  
  Add support for masking mouse click events as well as mouse movement events.
........
  r5415 | evilguru | 2008-07-08 00:39:52 +0200 (di, 08 jul 2008) | 1 line
  
  Allow widgetResizeImpl to work with containers (by re-laying them out).
........
  r5416 | evilguru | 2008-07-08 11:15:13 +0200 (di, 08 jul 2008) | 1 line
  
  Update some function prototypes for betawidget.
........
  r5417 | evilguru | 2008-07-08 12:15:52 +0200 (di, 08 jul 2008) | 1 line
  
  Make sure that we clear the cairo context before we begin drawing to it.
........
  r5418 | evilguru | 2008-07-08 13:19:29 +0200 (di, 08 jul 2008) | 1 line
  
  Commit hBox.[ch]; a preliminary horizontal layout container.
........
  r5419 | muggenhor | 2008-07-08 13:37:23 +0200 (di, 08 jul 2008) | 1 line
  
  Don't store the name of the struct we inherit from in the "inherit" field, 
instead store a reference to that struct
........
  r5423 | evilguru | 2008-07-08 18:46:53 +0200 (di, 08 jul 2008) | 1 line
  
  Fix a bug in the resize asserts; fix another bug in the hBox implementation 
causing sizing and positioning of child widgets to fail.
........
  r5424 | evilguru | 2008-07-08 18:55:15 +0200 (di, 08 jul 2008) | 1 line
  
  Add an initial spacer implementation.
........
  r5430 | muggenhor | 2008-07-09 14:16:55 +0200 (wo, 09 jul 2008) | 1 line
  
  For struct-fields of an enum type store references to the enum instead of 
just their name
........
  r5431 | muggenhor | 2008-07-09 14:46:53 +0200 (wo, 09 jul 2008) | 1 line
  
  Give the code generators the ability to process command line arguments 
(before the parsing begins)
........
  r5432 | muggenhor | 2008-07-09 15:04:10 +0200 (wo, 09 jul 2008) | 5 lines
  
   * Rename and modify the SQL SELECT statement code generator to a code 
generator that produces C code for loading in the contents of database tables
   * Add a template file which is used by this new code generator as a file 
"header"
   * Add a new struct-level directive to the mini database meta scheme 
language: %loadFunc which specifies that the above code generator should 
generate a loading function for this type plus what its name should be
   * Add a new entry for this code generator to the Makefile for testing 
purposes
........
  r5433 | muggenhor | 2008-07-09 15:09:53 +0200 (wo, 09 jul 2008) | 4 lines
  
  Add two new struct-level directives to the mini database scheme meta language:
   * %preLoadTable which specifies a code block to be executed just __before__ 
loading in all rows in a database
   * %postLoadRow which specifies a code block to be executed after every row 
has been succesfully loaded in a struct
........
  r5434 | muggenhor | 2008-07-09 15:49:49 +0200 (wo, 09 jul 2008) | 1 line
  
  Only shift the next parameter from ARGV if there are more than one (1) left 
in the C SQLite code generator
........
  r5435 | muggenhor | 2008-07-09 15:57:26 +0200 (wo, 09 jul 2008) | 3 lines
  
   * Print from a template for the C struct definition code generator as well
   * Add a template for the struct definition header; adds some #include 
directives required to be able to compile the generated header
........
  r5436 | muggenhor | 2008-07-09 15:59:23 +0200 (wo, 09 jul 2008) | 2 lines
  
   * Make it possible to use forward declarations to the generated struct types
........
  r5437 | muggenhor | 2008-07-09 16:36:27 +0200 (wo, 09 jul 2008) | 1 line
  
  Add line-counting code to the mini database scheme meta language parser
........
  r5438 | muggenhor | 2008-07-09 16:47:16 +0200 (wo, 09 jul 2008) | 3 lines
  
   * Add line numbers to the AST for %loadFunc directives
   * Utilize these line numbers to generate #line directives in the output file
........
  r5439 | muggenhor | 2008-07-09 16:58:04 +0200 (wo, 09 jul 2008) | 1 line
  
  Make sure to count __all__ lines, also those who start a new "scope" 
(anything that finishes with "end")
........
  r5440 | muggenhor | 2008-07-09 17:01:02 +0200 (wo, 09 jul 2008) | 1 line
  
  Wrap the "header/start/leader" template contents in #line directives for the 
SQLite C code generator's output
........
  r5441 | muggenhor | 2008-07-09 17:02:10 +0200 (wo, 09 jul 2008) | 1 line
  
  Slightly rework c_structdef_cg.pm's header-template processing code to be 
more similar to c_sqliteload_cg.pm's header-template processing code
........
  r5442 | muggenhor | 2008-07-09 17:25:42 +0200 (wo, 09 jul 2008) | 1 line
  
  Add function prototypes for the SQLite DB load functions (declared using 
%loadFunc) to the struct definition header
........
  r5443 | muggenhor | 2008-07-09 17:25:46 +0200 (wo, 09 jul 2008) | 2 lines
  
   * Add line information to the AST of %preLoadTable and %postLoadRow 
struct-level directives
   * Use these line numbers in the output of the SQLite C loading code 
generator to produce #line directives
........
  r5444 | muggenhor | 2008-07-09 17:30:13 +0200 (wo, 09 jul 2008) | 2 lines
  
   * Don't refer to a "flame IMD" when loading an IMD_Model, refer to "the IMD 
for field \"$fieldName\"" instead
   * Reference records by their ID number (unique_inheritance_id) instead of 
some user-code dependent function
........
  r5445 | evilguru | 2008-07-09 17:46:46 +0200 (wo, 09 jul 2008) | 1 line
  
  Add a dedicated text input event. Switch to our own custom keycode enum 
rather than depending on SDLs.
........
  r5446 | muggenhor | 2008-07-09 18:05:41 +0200 (wo, 09 jul 2008) | 1 line
  
  Pass the output file as a command line parameter (and fall back to stdout if 
none is provided)
........
  r5449 | evilguru | 2008-07-09 18:51:17 +0200 (wo, 09 jul 2008) | 1 line
  
  Add keycode.h to the repository (which I forgot in r5445).
........
  r5450 | muggenhor | 2008-07-09 19:15:44 +0200 (wo, 09 jul 2008) | 1 line
  
  include (perl directive "require") code generators from the same directory as 
the language parser
........
  r5451 | muggenhor | 2008-07-09 19:45:56 +0200 (wo, 09 jul 2008) | 1 line
  
  Convert dashes (-) to undersquores (_) as well in header guards (fixes a 
syntax error with C's preprocessor)
........
  r5452 | muggenhor | 2008-07-09 19:55:18 +0200 (wo, 09 jul 2008) | 4 lines
  
  Only declare the function name of the %loadFunc directive to be declared in 
the file where the %loadFunc directive is located.
  
  Don't declare the return type and parameter list to originate from the 
"original" source file.
........
  r5458 | muggenhor | 2008-07-09 21:17:19 +0200 (wo, 09 jul 2008) | 1 line
  
  Add a field to hold a component's body points (COMPONENT now fully matches 
COMPONENT_STATS from statsdef.h)
........
  r5460 | muggenhor | 2008-07-09 22:47:17 +0200 (wo, 09 jul 2008) | 4 lines
  
  Add a new field type to the mini database scheme meta language: C-only-field
   * This is a dummy type that causes the rest of the line to be included 
literally in the struct's definition
   * Use this field type to add ppIMDList (member var of BODY_STATS in 
statsdef.h)
........
  r5464 | muggenhor | 2008-07-10 12:58:13 +0200 (do, 10 jul 2008) | 1 line
  
  don't use the file header template if it isn't available in the c_structdef 
code generator
........
  r5465 | muggenhor | 2008-07-10 13:03:39 +0200 (do, 10 jul 2008) | 3 lines
  
   * Remove TODO comment about needing to add an IMD_Model type, because that 
type already exists
   * Add a comment, describing the `flameModel` field
........
  r5478 | muggenhor | 2008-07-10 22:43:26 +0200 (do, 10 jul 2008) | 1 line
  
  c_structdef_cg.pm: Fix an error where we forgot to use the \{"name"\} member 
of the hash thus resulting in bad code being generated
........
  r5479 | muggenhor | 2008-07-10 22:44:14 +0200 (do, 10 jul 2008) | 1 line
  
  #include "lib/sqlite3/sqlite3.h" in generated SQLite loading code
........
  r5480 | muggenhor | 2008-07-10 22:52:09 +0200 (do, 10 jul 2008) | 1 line
  
  Slight change in syntax to not require (and disallow) a semi-colon after 
struct-level directives that open a new scope (terminated with "end\;"
........
  r5481 | muggenhor | 2008-07-10 22:52:57 +0200 (do, 10 jul 2008) | 1 line
  
  Update test_code.tpl as well to match r5480's change in syntax
........
  r5482 | muggenhor | 2008-07-10 23:02:58 +0200 (do, 10 jul 2008) | 3 lines
  
  Add a new enum-level directive: %max "param":
   * This will add an enumerator to the end of the generated C enum code with 
"param" as its name (prefixed by the enum's name of course)
........
  r5483 | muggenhor | 2008-07-10 23:11:24 +0200 (do, 10 jul 2008) | 4 lines
  
   * Add a new struct-level directive: %suffix
    - This directive adds a suffix to the names of structs (in the generated C 
code) and the subclasses that inherit from that struct
   * Use %suffix instead of %prefix in test_code.tpl
........
  r5484 | muggenhor | 2008-07-10 23:24:39 +0200 (do, 10 jul 2008) | 3 lines
  
   * Add a new enum-level qualifier: %valprefix; this changes the default 
prefix (which is just the enum's name with '_' appended) prefixed to all enum 
values
   * Add a new enum that uses this: COMPONENT_TYPE
........
  r5486 | muggenhor | 2008-07-11 00:23:19 +0200 (vr, 11 jul 2008) | 1 line
  
  Allow empty value prefixes as well (using the %valprefix directive)
........
  r5488 | muggenhor | 2008-07-11 00:50:23 +0200 (vr, 11 jul 2008) | 5 lines
  
   * Get rid of enumerator INVALID_SUBCLASS from WEAPON_SUBCLASS
   * Modify getWeaponSubClass's API so that we don't need to depend on enum 
WEAPON_SUBCLASS containing an "invalid" enumerator
   * Move enums WEAPON_CLASS and WEAPON_SUBCLASS from statsdef.h to 
stats-db2.tpl
   * Rename NUM_WEAPON_CLASS and NUM_WEAPON_SUBCLASS to WC_NUM_WEAPON_CLASSES 
and WSC_NUM_WEAPON_SUBCLASSES respectively
........
  r5490 | muggenhor | 2008-07-11 13:13:01 +0200 (vr, 11 jul 2008) | 1 line
  
  Don't add %valprefix to %max
........
  r5491 | muggenhor | 2008-07-11 13:17:08 +0200 (vr, 11 jul 2008) | 1 line
  
  Add a new enum-level directive: %valsuffix which (similar to %valprefix) adds 
a suffix to al enum's values
........
  r5494 | muggenhor | 2008-07-11 14:56:22 +0200 (vr, 11 jul 2008) | 4 lines
  
   * Get rid of enumerators INVALID_MOVEMENT and INVALID_WEAPON_EFFECT from 
enums MOVEMENT_MODEL and WEAPON_EFFECT respectively
   * Modify getMovementModel's and getWeaponEffect's API so that we don't need 
to depend on enums MOVEMENT_MODEL and WEAPON_EFFECT containing an "invalid" 
enumerator
   * Move enums MOVEMENT_MODEL and WEAPON_EFFECT from statsdef.h to 
stats-db2.tpl
........
  r5495 | muggenhor | 2008-07-11 15:06:02 +0200 (vr, 11 jul 2008) | 1 line
  
  Don't use a default value for %valprefix when either %valprefix or %valsuffix 
has been specified
........
  r5497 | muggenhor | 2008-07-11 15:30:25 +0200 (vr, 11 jul 2008) | 1 line
  
  Move the code for generating the forward declaration of the SQLite loading 
function to a separate function of its own: printLoadFunc
........
  r5498 | muggenhor | 2008-07-11 16:02:17 +0200 (vr, 11 jul 2008) | 3 lines
  
   * Add new %macro, %macroprefix and %macrosuffix directives to the mini 
database schema meta language
   * Generate macro definitions similar to our current "inheritance-like" 
structure as created by macros when the above %macro directive is used
........
  r5499 | muggenhor | 2008-07-11 16:48:39 +0200 (vr, 11 jul 2008) | 1 line
  
  Add copies of strings declared with the "string" type in the struct 
definitions; thus have the structs take ownership of these strings (they're 
allocated with strdup)
........
  r5501 | muggenhor | 2008-07-11 17:30:32 +0200 (vr, 11 jul 2008) | 1 line
  
  Add a transition type "UDWORD" to the mini database schema meta language
........
  r5502 | muggenhor | 2008-07-11 17:33:48 +0200 (vr, 11 jul 2008) | 1 line
  
  Declare UDWORDs as UDWORD in the C code (doh!) not as unsigned int...
........
  r5505 | muggenhor | 2008-07-11 18:41:59 +0200 (vr, 11 jul 2008) | 1 line
  
  Add a new %nomacro directive to prevent macro definition of a struct and its 
children if the parent of that struct has a %macro directive
........
  r5509 | muggenhor | 2008-07-11 21:40:49 +0200 (vr, 11 jul 2008) | 1 line
  
  Move the definitions of structs SENSOR_STATS, ECM_STATS, REPAIR_STATS and 
CONSTRUCT_STATS from statsdef.h into a single definition in stats-db2.tpl
........
  r5510 | muggenhor | 2008-07-11 23:48:34 +0200 (vr, 11 jul 2008) | 1 line
  
  Give errors when encountering unmatched struct-level and enum-level directives
........
  r5511 | muggenhor | 2008-07-11 23:53:10 +0200 (vr, 11 jul 2008) | 1 line
  
  Accept all of ([US]D?WORD|[US]BYTE) as "transition" types in the mini 
database schema meta language
........
  r5513 | muggenhor | 2008-07-12 00:14:09 +0200 (za, 12 jul 2008) | 1 line
  
  Attach line numbers to the AST of field declarations, and use it when 
reporting field-related errors
........
  r5518 | muggenhor | 2008-07-12 21:17:08 +0200 (za, 12 jul 2008) | 3 lines
  
   * Improve error message generated on type mismatch by code generator 
c_sqliteload
   * Fix a syntax error in code generator sql_tabledef and add and initialize 
the used variables to produce an error message
........
  r5519 | muggenhor | 2008-07-12 21:48:39 +0200 (za, 12 jul 2008) | 5 lines
  
  Add a new datatype to the mini database schema meta language: `struct`
   * Allows "linking" in the database to other struct instances
   * Will be represented as a pointer to the target struct in the C 
datastructures
   * Will be represented as an integer ID in tables
........
  r5520 | muggenhor | 2008-07-12 22:36:45 +0200 (za, 12 jul 2008) | 1 line
  
  Don't generate SQL code (that's SQL statements for table definitions as well 
as SQLite loading code) for fields of type C-only-field
........
  r5523 | muggenhor | 2008-07-12 23:30:05 +0200 (za, 12 jul 2008) | 5 lines
  
  Add a new struct level qualifier: %fetchByRow
   * User code can use this to provide code that the SQLite code generator can 
use to get a pointer to some other struct
   * Make it so that you can only declare member fields with a `struct` type 
when the respective struct has a %fetchByRow directive in it
   * Generate loading code for struct-type fields in the c_sqliteload 
codegenerator by means of the code provided by the %fetchByRow directive
........
  r5524 | muggenhor | 2008-07-12 23:39:49 +0200 (za, 12 jul 2008) | 1 line
  
  Make sure to use the %prefix and %suffix when declaring pointers to structs
........
  r5527 | evilguru | 2008-07-13 17:40:58 +0200 (zo, 13 jul 2008) | 1 line
  
  Make it possible for an event handler to remove itself.
........
  r5540 | evilguru | 2008-07-14 10:51:55 +0200 (ma, 14 jul 2008) | 1 line
  
  Make sure we zero a widgets user data when we initialise it.
........
  r5541 | muggenhor | 2008-07-14 16:04:28 +0200 (ma, 14 jul 2008) | 1 line
  
  Properly set the svn:eol-style property
........
  r5544 | muggenhor | 2008-07-14 17:19:08 +0200 (ma, 14 jul 2008) | 5 lines
  
   * Get rid of treapint.h which declares prototypes for functions that are 
only used in treap.c.
   * Declare these functions with static linkage instead.
   * Update autotools buildsystem, Code::Blocks project and MSVC project, raw 
win32 Makefiles don't need an update
  
  NOTE: This may require updating of buildsystems not mentioned above
........
  r5545 | muggenhor | 2008-07-14 19:49:10 +0200 (ma, 14 jul 2008) | 1 line
  
  Get rid of the unused, default comparison function for the values in treap 
nodes
........
  r5549 | muggenhor | 2008-07-14 22:41:22 +0200 (ma, 14 jul 2008) | 2 lines
  
   * Move the type definitions of TREAP_NODE and TREAP from treap.h to treap.c 
(use a forward declaration in the header instead)
   * Don't strdup strings retrieved from __FILE__ directives; just store const 
char* the pointer instead (prevents a memory leak as well)
........
  r5550 | muggenhor | 2008-07-15 00:09:15 +0200 (di, 15 jul 2008) | 1 line
  
  Fix some compile errors that occur when DEBUG_TREAP is #defined
........
  r5551 | muggenhor | 2008-07-15 00:09:31 +0200 (di, 15 jul 2008) | 2 lines
  
   * Out with the (unnecessary! as the size guarantee isn't required) WORDs 
from treap.[ch]
   * Restructure treapStringCmp to be __readable__
........
  r5552 | evilguru | 2008-07-15 01:08:37 +0200 (di, 15 jul 2008) | 1 line
  
  Fix a bug in vectorAt which could cause a segfault; add vectorHead which 
returns the last element added to the vector.
........
  r5554 | evilguru | 2008-07-15 01:19:51 +0200 (di, 15 jul 2008) | 1 line
  
  Minor cosmetic improvements to betawidget.
........
  r5555 | evilguru | 2008-07-15 01:41:53 +0200 (di, 15 jul 2008) | 1 line
  
  Make it so that the event-removal system in betawidget actually works.
........
  r5557 | evilguru | 2008-07-15 12:12:03 +0200 (di, 15 jul 2008) | 1 line
  
  Add support for timer events and fix a bug in event id generation.
........
  r5570 | evilguru | 2008-07-16 21:14:35 +0200 (wo, 16 jul 2008) | 1 line
  
  Make sure variables are defined before anything else.
........
  r5571 | evilguru | 2008-07-16 23:19:33 +0200 (wo, 16 jul 2008) | 1 line
  
  Fix some more compiler warnings.
........
  r5572 | evilguru | 2008-07-18 14:10:47 +0200 (vr, 18 jul 2008) | 1 line
  
  Prototype and document widgetAddTimerEventHandler.
........
  r5578 | evilguru | 2008-07-19 00:21:54 +0200 (za, 19 jul 2008) | 1 line
  
  Switch to an OpenGL compositing mode; some clean-up still required.
........
  r5586 | muggenhor | 2008-07-19 21:15:02 +0200 (za, 19 jul 2008) | 7 lines
  
  Make the treap code specific for string resources
  
  Because the treap management code is only used by the code for string 
resources, make it specific for these string resources and don't use casting 
back & forth from void* all over the place. This simplifies the interaction of 
string resource code with treap code.
  
  This will allow an easier cleanup and eventually a removal of string resource 
code. As the string resource code can eventually be replaced with gettext code 
instead.
  
  This closes #18
........
  r5588 | evilguru | 2008-07-19 21:34:51 +0200 (za, 19 jul 2008) | 1 line
  
  Save the current state of the cairo context before drawing and restore once 
finished.
........
  r5626 | muggenhor | 2008-07-21 02:23:36 +0200 (ma, 21 jul 2008) | 3 lines
  
   * Don't associate line number and file information with calls to 
treapCreate, as it is only called once
   * Replace use of the forwarding macro TREAP_CREATE with a direct call to 
treapCreate
   * Return the TREAP* pointer directly from treapCreate and use NULL as an 
indicator for failure
........
  r5627 | muggenhor | 2008-07-21 02:30:55 +0200 (ma, 21 jul 2008) | 3 lines
  
   * Don't associate line number and file information with calls to treapAdd, 
as it is only called once
   * Replace use of the forwarding macro TREAP_ADD with a direct call to 
treapAdd
   * Remove treap debugging code (actually that's what the above changes 
effectively accomplished)
........
  r5628 | muggenhor | 2008-07-21 02:43:33 +0200 (ma, 21 jul 2008) | 1 line
  
  Get rid of the custom TREAP* structure and instead use a pointer to a pointer 
to a TREAP_NODE** structure
........

Modified:
    branches/2.1/   (props changed)


_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits

Reply via email to