because -1 is a valid argument for this function there.
This bug is also in the original AmigaOS C SDK, which specifies
this argument as ULONG, and defines -1 as valid argument for it.
git-svn-id: trunk@11981 -
* less debug during init
* SysGetShiftState() support, reworked RawKeyCode support
* support for more keys, with qualifiers. for example some clipboard operations work now in FV.
git-svn-id: trunk@11973 -
* define Amiga and MorphOS as FSCaseInsensitve systems
* get EOL and DirSep from System unit, and do not redefine it
with tons of $ifdefs
* for temp files, use T: on Amiga and MorphOS
git-svn-id: trunk@11971 -
* GiveUpTimeSlice() now Sleep()s for shorter time
* Amiga "all files" are "*" and not "*.*", this fixes file dialogs somewhat
git-svn-id: trunk@11970 -
+ now properly sets ScreenColor to true
+ optimized DrawChar() to use BltTemplate() instead of WritePixel() loops
this results in less gfx operations, major speedup, and elimination of
possible display trashing (WritePixel() doesn't wait for blit operations
to finish)
+ updated vgafont in videodata.inc to be in proper format for BltTemplate()
+ other tweaks here and there
git-svn-id: trunk@11964 -
a) they should not be necessary and only hide the symptoms of a not
understood bug on some platforms
b) doing so breaks things on some other platforms
git-svn-id: trunk@11951 -
xmlutils.pp:
+ Added THashTable - a simple hashed container with WideString keys.
dom.pp:
* Use the hash table instead of a sorted list for storing document IDs.
* Replaced all TLists by TFPList (which is smaller and faster).
* Fixed TDOMElement.RemoveAttributeNode to throw NOT_FOUND_ERR when
the requested node is not one of the element's attributes.
+ Added node read-only checks where required by the specs, this fixes
about 50 DOM tests.
xmlread.pp:
* Got rid of TXMLCharSource.FReloadHook, the corresponding procedure may
be called directly.
* Used a separate buffer to store the entity value literals, this
enables correct including of external PEs that have a text declaration
at the beginning.
* Some refactoring: ParseAttribute has been split into a separate
procedure, ProcessTextAndRefs was merged into ParseContent.
git-svn-id: trunk@11942 -