reiniero
cc90409dc9
* fcl-db: cosmetic: Oracle connection description/copyright
...
git-svn-id: trunk@28222 -
2014-07-15 11:13:40 +00:00
marco
9c5e150965
* patch from #26485 , haiku builds character units (and dependencies)
...
git-svn-id: trunk@28221 -
2014-07-15 10:27:22 +00:00
nickysn
9b3d41d9c7
* the default value of tpointerdef.pointer_subtraction_result_type changed to
...
ptrsinttype
git-svn-id: trunk@28220 -
2014-07-15 06:51:56 +00:00
nickysn
d86a8ebc99
* defutil.get_int_result_type_from_pointer_subtraction moved to a virtual
...
method tpointerdef.pointer_subtraction_result_type
git-svn-id: trunk@28219 -
2014-07-14 23:30:29 +00:00
nickysn
99c555cea8
+ implemented huge pointer subtraction
...
* the result of far pointer subtraction changed to word (for TP7 compatibility)
git-svn-id: trunk@28218 -
2014-07-13 23:40:43 +00:00
nickysn
200df7a136
* set expectloc correctly for far pointer comparison as well
...
git-svn-id: trunk@28217 -
2014-07-13 16:25:20 +00:00
nickysn
04234c733f
* set expectloc correctly (LOC_JUMP instead of LOC_FLAGS) for non-normalized
...
huge pointer comparison
git-svn-id: trunk@28216 -
2014-07-13 15:20:58 +00:00
nickysn
6770301fe7
+ added a normalized huge pointer comparison test
...
git-svn-id: trunk@28215 -
2014-07-13 13:07:01 +00:00
nickysn
5818451bb5
* non-normalized huge pointer comparison made unsigned
...
git-svn-id: trunk@28214 -
2014-07-13 12:54:12 +00:00
nickysn
ba1ee49b64
+ added non-normalized huge pointer comparison test
...
git-svn-id: trunk@28213 -
2014-07-13 12:39:24 +00:00
michael
a89a52310c
* Introduce class method to register a web module
...
git-svn-id: trunk@28200 -
2014-07-12 19:26:18 +00:00
michael
74955c4e20
* No longer needed, all tests are in tczipper
...
git-svn-id: trunk@28199 -
2014-07-11 12:44:39 +00:00
michael
c281c4d036
* Patch from Reinier Olislagers to let filenames conform to standard / (bug id 26468)
...
git-svn-id: trunk@28198 -
2014-07-11 12:41:22 +00:00
joost
e81593d34b
* Fixed make install: fpdispextdirect.pp does not have a resource-file
...
git-svn-id: trunk@28197 -
2014-07-11 11:19:14 +00:00
michael
c204153604
* Improved exception handling. Introduced StatusCode/Text in EHTTPError, is used to set HTTP status code/text when sending the response.
...
git-svn-id: trunk@28196 -
2014-07-11 08:19:23 +00:00
michael
6013e4d8c7
* Added copyright notice
...
git-svn-id: trunk@28195 -
2014-07-11 07:34:11 +00:00
michael
15ef9a2599
* Cleaner design refactoring: Separate out ExtDirect support in non-http part and http part
...
git-svn-id: trunk@28194 -
2014-07-11 07:32:01 +00:00
michael
ad574ca377
* Allow selectively adding handlers to reported API
...
git-svn-id: trunk@28193 -
2014-07-11 07:09:36 +00:00
michael
7db9fbc234
* APIString virtual, allow formatting
...
git-svn-id: trunk@28192 -
2014-07-11 06:58:35 +00:00
michael
0a220476a3
* Introduce ExecuteHandler in dispatcher, allows overriding
...
git-svn-id: trunk@28191 -
2014-07-11 06:55:36 +00:00
michael
c3f24cc775
* Added small improvement to JSONRPCHandlermanager to ease creating descendents with customized behaviour:
...
moved creation of defs to virtual procedure. Uses a global classvar to determine default item type.
* Implemented GetClassNames and GetMethodsOfClass
* Added Clear.
git-svn-id: trunk@28190 -
2014-07-11 06:49:19 +00:00
sergei
e65c4e13e0
* m68k: updated/fixed dllprt0.as, now able to link a shared library.
...
git-svn-id: trunk@28189 -
2014-07-09 22:59:13 +00:00
Tomas Hajny
82d62aa883
* added description for option @ and missing bracket at the end of list for -P
...
git-svn-id: trunk@28188 -
2014-07-08 22:33:18 +00:00
Tomas Hajny
109d890adf
* added description for option @ and missing bracket at the end of list for -P
...
git-svn-id: trunk@28187 -
2014-07-08 22:33:00 +00:00
Tomas Hajny
dfb44e1642
* improve identation of long options and add support for displaying parameter @
...
git-svn-id: trunk@28186 -
2014-07-08 22:30:43 +00:00
sergei
b7da785688
* m68k: support stack cleanup at caller side, fixed calculation of pushed parameters size and offsets and cleaned out another pile of junk.
...
* Parameter offsets are now calculated similar to other targets, target_info,first_parm_offset is applied only to callee side, while at caller side offsets start from 0.
* For cdecl procedures, parameters are removed by caller, for the rest it's still done by callee (resembles i386 target, except there is no 'register' calling convention).
git-svn-id: trunk@28185 -
2014-07-08 19:08:56 +00:00
sergei
6bcaa88c3a
* m68k: "or" without suffix is not accepted, must be "or.l"
...
git-svn-id: trunk@28184 -
2014-07-08 18:48:57 +00:00
sergei
cfe13734e0
* m68k: Fixed damage caused by r27573 and r28177:
...
* longjmp: restored loading of function result (d0) which got removed in r28177.
* While at the point, added test for zero, because longjmp must never return zero values.
* Assembler reader: 'fp' refers to frame pointer, not the stack pointer.
git-svn-id: trunk@28183 -
2014-07-08 15:04:54 +00:00
marco
3a7cde492e
* finance functions by wp, mantis #26459
...
git-svn-id: trunk@28182 -
2014-07-08 12:45:11 +00:00
sergei
15ff2c1236
* m68k: Fixed name of ELF interpreter, and updated cprt0.as to somewhat working state. Now a "hello world" program using libc can be linked and launched, but anything more complex needs another round of fixing the parameter passing code, in order to get the stack properly balanced.
...
git-svn-id: trunk@28181 -
2014-07-07 20:08:50 +00:00
nickysn
16c5849fc6
+ added HexStr() overload for huge pointers
...
git-svn-id: trunk@28180 -
2014-07-07 15:13:29 +00:00
nickysn
8604372da3
+ implemented far pointer comparison operating only on the offset (+ added test)
...
git-svn-id: trunk@28179 -
2014-07-06 22:45:19 +00:00
nickysn
13646c7afe
+ added rtl helper for huge pointer subtraction
...
git-svn-id: trunk@28178 -
2014-07-06 19:15:14 +00:00
Károly Balogh
f98cd634fb
m68k: reworked/cleaned setjmp/longjmp code to use the movem instruction with register lists
...
git-svn-id: trunk@28177 -
2014-07-06 13:18:56 +00:00
sergei
df60309d96
* m68k: fixed the last remaining warning and removed "$WARNINGS OFF" directive.
...
git-svn-id: trunk@28176 -
2014-07-06 11:36:33 +00:00
sergei
e4fea2ebc8
* Dummy implementations of a_bit_scan_reg_reg and g_stackpointer_alloc in tcg, removes the need to override these methods in every descendant code generator solely to avoid "constructing a class with abstract method" warning.
...
git-svn-id: trunk@28175 -
2014-07-06 11:34:04 +00:00
Károly Balogh
e5656a6f7e
m68k assembler reader: fixed parsing of slash-separated movem/fmovem register lists. only the first register was stored.
...
git-svn-id: trunk@28174 -
2014-07-06 11:29:45 +00:00
sergei
1678fcdc2d
- m68k assembler reader: removed Oper.InitRef which was causing failure of tbs/tb0142.pp and, in general, making impossible calls/jumps to non-alias procedure names.
...
git-svn-id: trunk@28173 -
2014-07-06 10:35:35 +00:00
sergei
94796e9e7e
* Output divisor in all diagnostic messages, not just some of them.
...
git-svn-id: trunk@28172 -
2014-07-06 08:26:37 +00:00
sergei
3f1d368373
* Use different exit codes to increase verbosity when the test fails.
...
git-svn-id: trunk@28171 -
2014-07-06 08:17:49 +00:00
nickysn
18246bd9ed
+ added tests for >, <, >= and <= with equal pointers in the thugeptr2.pp and
...
thugeptr2a.pp tests
git-svn-id: trunk@28168 -
2014-07-05 15:52:14 +00:00
nickysn
c8c842b857
+ added tests for >, <, >= and <= with equal pointers in the tfarptr2.pp test
...
git-svn-id: trunk@28165 -
2014-07-05 15:15:23 +00:00
nickysn
5097b90e39
+ enabled the huge pointer size test in the tptrsize.pp test
...
git-svn-id: trunk@28164 -
2014-07-05 10:30:55 +00:00
nickysn
6e9720e830
+ added tests for huge pointer normalized and non-normalized equality comparison
...
git-svn-id: trunk@28163 -
2014-07-05 10:19:26 +00:00
nickysn
fda9cfea12
+ extended test tfarptr2.pp with far pointers which are different, but point to
...
the same linear address
git-svn-id: trunk@28162 -
2014-07-05 10:01:45 +00:00
nickysn
4e2cc365d1
* while loop replaced with a repeat..until loop in InternalTinyFreeMem
...
git-svn-id: trunk@28161 -
2014-07-05 09:47:59 +00:00
svenbarth
441e6c6083
Fix for Mantis #26177 . Use the correct value for the method data when using a method pointer of a type or record helper.
...
Please note that Delphi has the exact same bug as we have and thus code working in FPC will not work in Delphi.
Additionally taking the method address of a local variable or a local/global constant for a method pointer is dangerous as the variable (in case of constants is a temporary local variable) will go out of scope once the containing procedure/function/method exits!
ncgld.pas, tcgloadnode.pass_generate_code:
* only use the value of Self if it is an implicit pointer object (class instance) or a class reference, but not for everything else (objects, records, primitive types)
+added test
git-svn-id: trunk@28160 -
2014-07-05 08:54:10 +00:00
nickysn
2b2224494b
* call first_addpointer and first_cmppointer in pass_1 for pchars as well. Fixes
...
huge pointer arithmetic/comparison on huge pchars.
git-svn-id: trunk@28159 -
2014-07-04 23:58:26 +00:00
nickysn
c8130843b2
* fixed 'cannot convert type' error when comparing two voidhugepointers with
...
= or <>
git-svn-id: trunk@28158 -
2014-07-04 23:54:47 +00:00
nickysn
3bb730d5b9
+ implemented normalized huge pointer comparison
...
git-svn-id: trunk@28157 -
2014-07-04 23:22:33 +00:00