Commit Graph

42524 Commits

Author SHA1 Message Date
sergei
76e5970993 * Clarified comments regarding TIB layout and stack bounds on OS/2.
git-svn-id: trunk@27134 -
2014-03-14 15:18:23 +00:00
lacak
1c12fd4268 fcl-db: base: CompareBookmarks() should return 0 if one of two bookmarks is nil. Test for CompareBookmarks(nil,nil) already exists.
git-svn-id: trunk@27133 -
2014-03-14 12:19:31 +00:00
michael
e3cdbbe099 * Fix redeclaration of property which is default
git-svn-id: trunk@27132 -
2014-03-14 08:33:57 +00:00
lacak
848e650189 fcl-db: tests: comment
git-svn-id: trunk@27131 -
2014-03-14 08:31:16 +00:00
lacak
c47ff6946a fcl-db: tests: set ID field value before post, because it is Required (not null)
git-svn-id: trunk@27130 -
2014-03-14 07:26:08 +00:00
lacak
02551d7129 fcl-db: tests: PostgreSQL stores unquoted identifiers in lower-case which is not compliant with SQL standard.
(and causes some tests fail)
Introduce sql server type identifier char case formating function.

git-svn-id: trunk@27129 -
2014-03-14 07:23:08 +00:00
Jonas Maebe
9420a5d7a7 * also check for targets not supporting -gc/checkpointer functionality in
compiler directives, not just on the command line (mantis #25862)

git-svn-id: trunk@27128 -
2014-03-13 20:42:18 +00:00
lacak
cf42b3bdc0 fcl-db: cosmetic
git-svn-id: trunk@27127 -
2014-03-13 13:41:29 +00:00
lacak
28e0a453c7 fcl-db: tests: add more cases into test
git-svn-id: trunk@27126 -
2014-03-13 11:49:01 +00:00
lacak
2d8c0942c7 fcl-db: tests: cosmetic (comments + grouping similar tests)
git-svn-id: trunk@27125 -
2014-03-13 11:14:33 +00:00
michael
f9bb91d722 * Fix case for negative dates (bug ID 23464)
git-svn-id: trunk@27124 -
2014-03-13 09:42:01 +00:00
Károly Balogh
ed56f3c9b1 disable the new n68kmem node for now, it needs more fixing
git-svn-id: trunk@27123 -
2014-03-13 02:08:15 +00:00
sergei
4b421c66b6 + Unit tests for TXMLReader-based XML parsing classes.
git-svn-id: trunk@27122 -
2014-03-13 00:30:57 +00:00
sergei
7cc9e5c18c * Provide distinct error messages.
git-svn-id: trunk@27121 -
2014-03-13 00:28:33 +00:00
sergei
3a55c4301e * Since StackTop=StackBottom+StackLength, any two variables are sufficient to describe stack, the third one is redundant.
* As a first part of cleanup, replaced StackTop with function returning StackBottom+StackLength.
* On Win32 and Win64, StackTop returns the stack base from TIB instead.

git-svn-id: trunk@27119 -
2014-03-12 19:48:03 +00:00
Károly Balogh
bca09a8f69 reverted parts of r27117 because it caused regressions
git-svn-id: trunk@27118 -
2014-03-12 19:22:04 +00:00
Károly Balogh
c7d1cef334 support sign/zero extension to subreg sizes, not just always to 32bit
git-svn-id: trunk@27117 -
2014-03-12 18:27:50 +00:00
Károly Balogh
73db4db6f8 use the whole reg for return values
git-svn-id: trunk@27116 -
2014-03-12 18:22:04 +00:00
Jeppe Johansen
bda6bf8137 Fix compilation of ARM-embedded RTL
git-svn-id: trunk@27115 -
2014-03-12 16:40:04 +00:00
lacak
607369f830 fcl-db: sqldb: add PSGetTableName; addition to rev.27074
git-svn-id: trunk@27114 -
2014-03-12 10:56:49 +00:00
lacak
17ad74aba4 fcl-db: base: cosmetic
git-svn-id: trunk@27113 -
2014-03-12 09:50:29 +00:00
lacak
0b56c2e237 fcl-db: tests: add STRICT_TABLES for MySQL sql_mode (required for correct tests behavior) + cosmetic
git-svn-id: trunk@27112 -
2014-03-12 08:24:58 +00:00
Károly Balogh
552ab2938e avoid some unnecessary sign extensions
git-svn-id: trunk@27111 -
2014-03-12 04:16:52 +00:00
Károly Balogh
48ceebafb1 n68kmem node for better utilization of 68k specialities in addressing
git-svn-id: trunk@27110 -
2014-03-12 02:36:40 +00:00
Károly Balogh
3a464dbdcf don't swap the base and index registers if we have a scalefactor
git-svn-id: trunk@27109 -
2014-03-12 02:34:30 +00:00
Károly Balogh
7b05113322 addressing improvements: fixref can swap base/index registers if better fits 68k pattern, less need to move around registers. also fix reference in a_op_const_ref.
git-svn-id: trunk@27108 -
2014-03-12 01:32:44 +00:00
Jonas Maebe
7ea92f48cc * cleaned up do_spill_replace()
git-svn-id: trunk@27107 -
2014-03-11 23:19:01 +00:00
Jonas Maebe
92fa75838e * honour -Oonopeephole
git-svn-id: trunk@27106 -
2014-03-11 23:18:58 +00:00
Jonas Maebe
45e03d768e * handle ARM PIC jump tables in determining the maximum offset for
pc-relative loads

git-svn-id: trunk@27105 -
2014-03-11 23:18:54 +00:00
Jonas Maebe
246caf3526 * never alias/coalesce cpu registers that are not usable by the register
allocator (such as stack/framepointers) with virtual registers, otherwise
    they can get changed in case the virtual register gets changed (read-only
    use would be ok, but we don't keep track of which virtual registers are
    only read

git-svn-id: trunk@27104 -
2014-03-11 23:18:45 +00:00
nickysn
c88cebfc97 * fix for DateTimeToJulianDate and JulianDateToDateTime for integer=smallint
git-svn-id: trunk@27103 -
2014-03-11 21:51:57 +00:00
florian
6deb0b35b5 * handle fpu_vfpv3_d16 properly for thumb2
git-svn-id: trunk@27102 -
2014-03-11 21:25:03 +00:00
florian
e5a5ae8bcb * CPUI386 => I386
git-svn-id: trunk@27101 -
2014-03-11 21:24:33 +00:00
florian
7c606ba34c * generate rfs/wfs for thumb2 only if an fpa fpu is used
git-svn-id: trunk@27100 -
2014-03-11 21:20:49 +00:00
nickysn
b6075c59c1 * changed to for loop counters in the resource string helper routines from
nativeint to objpas.integer

git-svn-id: trunk@27099 -
2014-03-11 20:52:09 +00:00
Károly Balogh
01febdd7f3 plain 68000 also doesn't support 123(dX)
git-svn-id: trunk@27098 -
2014-03-11 20:47:37 +00:00
sergei
5ddb267d57 * Clean up/refactor stack back-tracing code, reducing overall amount of checks and rejecting range from StackBottom to <current frame>.
git-svn-id: trunk@27097 -
2014-03-11 16:29:20 +00:00
sergei
3b5552ae75 - Killed 'goto'.
git-svn-id: trunk@27096 -
2014-03-11 15:16:00 +00:00
lacak
d440a05301 fcl-db: tests: pre-set testing environment for MySQL, MSSQL
git-svn-id: trunk@27095 -
2014-03-11 13:57:41 +00:00
sergei
2f05e8b389 * PushExceptObject and dump_stack: use get_caller_stackinfo instead of get_caller_addr and get_caller_frame.
git-svn-id: trunk@27094 -
2014-03-11 12:51:46 +00:00
sergei
abc1468a7a * Disabled regvars in __FPC_default_handler by adding an empty assembler block, it is necessary because RtlUnwind does not preserve registers.
* Fixed backtrace for non-language exceptions in programs without SysUtils unit.

git-svn-id: trunk@27093 -
2014-03-11 12:34:36 +00:00
reiniero
ab7e5cdda1 * fcl-db: dbtestframework: fix compilation
git-svn-id: trunk@27092 -
2014-03-11 11:01:18 +00:00
michael
26e73a4daf * Created version without classes
git-svn-id: trunk@27091 -
2014-03-11 10:50:05 +00:00
michael
c07559bbd1 * In view of recent bug, use traditional for i:=Low() to High instead of for in
git-svn-id: trunk@27090 -
2014-03-11 10:48:30 +00:00
lacak
742c590a3a fcl-db: bufdataset: when data are written to BLOB field (using TBufBlobStream) then unset field null flag when blob stream is created. When writting finishes (on destroy of blob stream) set null flag if blob is empty. + updated test TestChangeBlob. Bug #15376
git-svn-id: trunk@27089 -
2014-03-11 09:46:46 +00:00
sergei
e163a2c813 * MIPS and SPARC: determine whether case expression is in range using a single unsigned comparison (like it is done on other targets).
git-svn-id: trunk@27088 -
2014-03-10 23:02:05 +00:00
nickysn
8926a3268c * fixed TTimeStamp for integer=smallint
git-svn-id: trunk@27087 -
2014-03-10 22:31:48 +00:00
sergei
54e561dfa4 * Assign CharLengthPCharProc and CodePointLengthProc always in initunicodestringmanager, doing it in initwidestringmanager only complicates things.
git-svn-id: trunk@27086 -
2014-03-10 20:18:30 +00:00
marco
ed1d5aab37 * mantis #25841
- More missing DISPID_x consts
- OLECLOSE_x http://msdn.microsoft.com/en-us/library/windows/desktop/ms680623%28v=vs.85%29.aspx [^]
- OLEMISC_x http://msdn.microsoft.com/en-us/library/windows/desktop/ms678497%28v=vs.85%29.aspx [^]
- IPersistPropertyBag & IOleInPlaceObjectWindowless from OCIdl (removed useless function name comments, maybe existing ones could be cleaned too?)

git-svn-id: trunk@27085 -
2014-03-10 19:02:34 +00:00
Károly Balogh
a82a3ec38e let the assembler decide about the size of the Bcc and BRA instructions, this makes code generated here work on a 68000 (and probably a lot smaller in size, no more forced 32bit displacements)
git-svn-id: trunk@27084 -
2014-03-10 18:50:05 +00:00