Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-18 | SCI: Add setter/getter methods to reg_t's | Filippos Karapetis | |
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB) | |||
2011-05-13 | SCI: Avoid incrementing lockers of deleted script | Willem Jan Palenstijn | |
Having a deleted script with non-zero lockers had the side effect of making the deleted script re-appear in the GC's work list, including any (deleted) objects in the script. This should be the root cause of bugs #3299458 and #3295849, so also delete the workaround added for that in 35086fe1. | |||
2011-05-13 | SCI: Marked the sanity check inside processWorkList() as a workaround | md5 | |
The sanity check added in rev #35086fe17c fixes the crashes with that code when an invalid reference is about to be processed, but these references shouldn't be in the stack at all in the first place, so the root cause seems to be somewhere else. | |||
2011-05-12 | SCI: Fixed bugs #3299458 and #3295849 | md5 | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-03-20 | SCI: Moved the engine hunk pointer processing code inside the GfxPorts class | md5 | |
This allows us make _windowList private again | |||
2011-03-08 | SCI: Fixed typos | md5 | |
2011-03-08 | SCI: Cleanup | md5 | |
2011-03-07 | SCI: Constify some code | Max Horn | |
2011-03-02 | SCI: Fix garbage collection for SCI32 | Matthew Hoops | |
SCI32 has no ports | |||
2011-02-28 | SCI: Skip Ports when iterating over Windows in GC | Willem Jan Palenstijn | |
2011-02-28 | SCI: Moved hunk pointer handling to the GC, and removed some related workarounds | md5 | |
SCI scripts can contain stale pointers, which are used later on. We now delete the contents of hunk entries without invalidating the relevant pointers and let the GC clear the references. Many thanks to waltervn and wjp for all their work and help on this. | |||
2011-02-12 | JANITORIAL: Remove extraneous parentheses | Ori Avtalion | |
svn-id: r55890 | |||
2011-01-04 | SCI: Slight cleanup to the garbage collector | Filippos Karapetis | |
svn-id: r55116 | |||
2011-01-01 | SCI: debugC calls no longer require a debug level of 2 to show output | Filippos Karapetis | |
svn-id: r55086 | |||
2010-08-31 | SCI: Disabled some debug related GC code, which effectively | Filippos Karapetis | |
wastes cycles if we're not debugging the GC svn-id: r52465 | |||
2010-07-01 | SCI: Rename some more stuff | Max Horn | |
svn-id: r50553 | |||
2010-07-01 | SCI: Make SegManager::_heap private | Max Horn | |
svn-id: r50552 | |||
2010-06-29 | SCI: Some cleanup of the GC code. | Filippos Karapetis | |
The version of push() that pushes arrays inside WorklistManager has been renamed to pushArray(), so that it's more apparent where arrays are pushed. svn-id: r50486 | |||
2010-06-28 | SCI: Some more GC cleanup | Max Horn | |
svn-id: r50443 | |||
2010-06-28 | SCI: Fix DEBUG_GC mode and permanently enable it | Max Horn | |
svn-id: r50430 | |||
2010-06-28 | SCI: Revise GC interface: use Common::Array<reg_t> instead of callbacks | Max Horn | |
This means a little bit more overhead but makes the code much more readable and understandable. svn-id: r50429 | |||
2010-02-06 | SCI: Revert r47925 and put fix inside GC instead. | Walter van Niftrik | |
svn-id: r47940 | |||
2010-02-03 | SCI: Get rid of EngineState::stack_segment | Max Horn | |
svn-id: r47833 | |||
2010-01-30 | SCI: Remove extra '\n's in debugC messages | Willem Jan Palenstijn | |
svn-id: r47707 | |||
2009-10-10 | Started rewriting the Object struct into a class | Filippos Karapetis | |
svn-id: r44878 | |||
2009-10-04 | SCI: Rename EngineState::segMan to _segMan | Max Horn | |
svn-id: r44629 | |||
2009-09-21 | SCI: Replace IntMapper Script::_objIndices and Common::Array ↵ | Max Horn | |
Script::_objects by a HashMap -- goodbye, class IntMapper svn-id: r44240 | |||
2009-09-21 | SCI: Rename Object::flags and pos to _flags and _pos; tweak scriptObjInit0 ↵ | Max Horn | |
and scriptObjInit11 to be more similar svn-id: r44234 | |||
2009-09-17 | SCI: Add a global getSciVersion() function and make use of it | Max Horn | |
svn-id: r44170 | |||
2009-09-17 | SCI: Rename MemObject -> SegmentObj | Max Horn | |
svn-id: r44130 | |||
2009-09-16 | SCI: Rename Script class members, change Script from struct to class | Max Horn | |
svn-id: r44126 | |||
2009-09-06 | SCI: Rename resManager -> resMan; segManager -> segMan | Max Horn | |
svn-id: r43980 | |||
2009-09-02 | Some renaming: | Filippos Karapetis | |
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908 | |||
2009-08-25 | - Replaced more cases of EngineState parameters | Filippos Karapetis | |
- Made some version comparisons for old SCI0 versions easier to read - Removed the GET_SEL32SV macro svn-id: r43729 | |||
2009-08-25 | - Simplified the parameters of some functions | Filippos Karapetis | |
- Replaced some EngineState parameters - The SCI version is now obtained from the resource manager or the segment manager, thereby simplifying several functions - Plugged 2 leaks in the fallback detector - Renamed the segment manager and resource manager to "segmentManager" and "resourceManager" in all places, for consistency svn-id: r43722 | |||
2009-07-06 | Replaced sciprintf() calls with printf, DebugPrintf, warning and error calls | Filippos Karapetis | |
svn-id: r42167 | |||
2009-06-06 | Store long-term pointers to object variables in a new ObjVarRef struct. | Willem Jan Palenstijn | |
Storing them as reg_t* could cause the pointers to become invalid when they pointed into CloneTable since CloneTable can be re-allocated. svn-id: r41220 | |||
2009-05-30 | Moved 3 more debug commands to console.cpp ("simkey", "segment_table" and ↵ | Filippos Karapetis | |
"show_map") and removed the GFXWC macro. Some cleanup svn-id: r41032 | |||
2009-05-28 | SCI: Fix potential dangling pointer more robustly, | Willem Jan Palenstijn | |
by changing the executionStack implementation to a list. svn-id: r40971 | |||
2009-05-21 | Removed the PREG, PSTK, IS_NULL_REG and REG_EQ defines | Filippos Karapetis | |
svn-id: r40767 | |||
2009-05-18 | SCI: Got rid of EngineState::execution_stack_pos; overally, the resulting ↵ | Max Horn | |
code should be even stricter in detecting invalid VM stack access (and some bugs when loading saves might be fixed now...) svn-id: r40694 | |||
2009-05-10 | SCI: Changed object list in Script instances to use Common:::Array | Max Horn | |
svn-id: r40431 | |||
2009-05-08 | SCI: Got rid of last traces of class SegInterface | Max Horn | |
svn-id: r40377 | |||
2009-05-08 | SCI: Moved findCanonicAddress from SegInterface to MemObject | Max Horn | |
svn-id: r40376 | |||
2009-05-08 | SCI: Moved freeAtAddress from SegInterface to MemObject | Max Horn | |
svn-id: r40375 | |||
2009-05-08 | SCI: Started to merge SegInterface into MemObject | Max Horn | |
svn-id: r40373 | |||
2009-05-03 | SCI: Completed transition from MemObject (a union of various structs) to ↵ | Max Horn | |
MemObjectNEW (a baseclass for these structs) svn-id: r40294 | |||
2009-05-03 | SCI: Changed SegManager to store the heap pointers in a Common::Arrray | Max Horn | |
svn-id: r40293 | |||
2009-05-03 | SCI: Made SegManager::heap_size unsigned | Max Horn | |
svn-id: r40290 |