Commit Graph

25703 Commits

Author SHA1 Message Date
peter
81c88bd27d * new test
git-svn-id: trunk@7305 -
2007-05-10 16:54:40 +00:00
marco
f74b832272 * socketerror for Unix now fpgeterrno.
git-svn-id: trunk@7304 -
2007-05-10 10:58:26 +00:00
peter
b3c650bd98 * fix shortstring:=char
git-svn-id: trunk@7302 -
2007-05-10 06:01:42 +00:00
michael
d2fcda4561 * Changed check for GENERICCLASSES so fpdoc can parse it correctly
git-svn-id: trunk@7301 -
2007-05-08 13:59:04 +00:00
florian
d469e3a7ef + do life dfa for exit
git-svn-id: trunk@7299 -
2007-05-07 20:30:19 +00:00
florian
c0d27b5482 * life info dfa for break and continue
git-svn-id: trunk@7298 -
2007-05-07 20:07:53 +00:00
florian
62d54389c8 + life dfa for if, label and goto
git-svn-id: trunk@7297 -
2007-05-07 19:14:21 +00:00
florian
85406e8a15 * updates from Karl-Michael Schindler
git-svn-id: trunk@7295 -
2007-05-07 12:02:32 +00:00
florian
45cda67f3f + first basically working (not all node types yet) dfa implementation determining life information
git-svn-id: trunk@7294 -
2007-05-06 21:33:39 +00:00
pierre
31a34e03c2 * do not use += syntax
git-svn-id: trunk@7290 -
2007-05-06 12:02:18 +00:00
florian
867e00dee3 * backup commit of more dfa stuff
git-svn-id: trunk@7287 -
2007-05-06 10:59:09 +00:00
michael
a3b72c1be8 Patch from Bram Kuijvenhoven
odbcsql.inc:
 - added SQLStatistics function and some associated constants
 
 odbcconn.pas:
 - implemented TODBCConnection.UpdateIndexDefs
 - implemented TODBCConnection.LoadBlobIntoBuffer
 - free Connection handle if connecting fails; fixes exception thrown on finalization if a connection failed
 - some support for reading wide string & guid fields (though untested)
 - added FmtArgs parameter to ODBCCheckResult; now a call to Format is needed only when an error actually occurred
 - if SQLGetDiagRec failed in ODBCCheckResult, this is reported in the constructed error message
 
 bufdataset.pas:
 - added code to free allocated blob buffers
 - fixed GetFieldSize for some field types

git-svn-id: trunk@7286 -
2007-05-05 23:22:14 +00:00
michael
50c70c150a * Fixed bug where read-only property was read wrongly (part 2: removed debug stuff)
git-svn-id: trunk@7284 -
2007-05-05 22:58:50 +00:00
michael
7a89280631 * Fixed bug where read-only property was read wrongly
git-svn-id: trunk@7283 -
2007-05-05 22:58:14 +00:00
florian
87bdf13f9f + first draft for dfa
git-svn-id: trunk@7282 -
2007-05-05 20:50:09 +00:00
yury
b2605b8ff6 * Internal linker now correctly links to gcc import libraries. It fixes win32 IDE with debugger support.
git-svn-id: trunk@7278 -
2007-05-05 19:21:30 +00:00
Vincent Snijders
e18966c372 * write resource object file to unit output directory
git-svn-id: trunk@7276 -
2007-05-05 19:04:43 +00:00
florian
4e375e0c38 * set ConsoleStartupMode in all startup codes
git-svn-id: trunk@7274 -
2007-05-05 15:33:34 +00:00
florian
b3b099f63c - removed accidently commited writeln
git-svn-id: trunk@7273 -
2007-05-05 15:09:59 +00:00
florian
0e429065e8 * better error message in case of parser error
git-svn-id: trunk@7272 -
2007-05-05 14:51:26 +00:00
marco
e074f9383c * typo corrected
git-svn-id: trunk@7271 -
2007-05-05 10:19:44 +00:00
pierre
115d95004f * try to fix cygwin import lib problem in internal linker
git-svn-id: trunk@7270 -
2007-05-04 22:49:56 +00:00
marco
699e231223 * more cleanup of unit unix (merge)
git-svn-id: trunk@7269 -
2007-05-04 22:39:28 +00:00
marco
cb8e361672 * removed restoration ofa compability that never existed
git-svn-id: trunk@7268 -
2007-05-04 22:09:02 +00:00
marco
2214c11330 * removed restoration ofa compability that never existed
git-svn-id: trunk@7267 -
2007-05-04 22:06:12 +00:00
tom_at_work
a42d80dbf9 * do not use R13 as available register because it is reserved for tls on ppc64/linux
git-svn-id: trunk@7266 -
2007-05-04 21:51:04 +00:00
marco
fd6f6cf7e9 * fix for 8801. mmap constants inconsistancy. Old constants are aliased for compat. non portable moved to OS specific units (merge)
git-svn-id: trunk@7265 -
2007-05-04 21:23:02 +00:00
marco
b8c21889f9 * bug , PRIO_ constants not aliased to baseunix _merge_
git-svn-id: trunk@7264 -
2007-05-04 19:16:11 +00:00
Jonas Maebe
544dd57a96 * r0 is also volatile
git-svn-id: trunk@7262 -
2007-05-04 16:52:26 +00:00
Jonas Maebe
0caee5b45b + support to use r0 for ppc/ppc64 when compiling the compiler with
-duser0. Not active by default because generates wrong code due
    to bug in the register allocator

git-svn-id: trunk@7261 -
2007-05-04 14:52:05 +00:00
Jonas Maebe
63f80f3472 * do not require exactly the same range type for indexed properties
referring to an array field, but instead simply convert the index
    to the array range type (mantis )

git-svn-id: trunk@7260 -
2007-05-04 14:21:39 +00:00
Jonas Maebe
3a4508b1bb * fixed compile error when assigning to a widestring property which
directly writes to a field for tf_winlikewidestring targets (caused
    by the stricter property checks)

git-svn-id: trunk@7259 -
2007-05-04 13:15:11 +00:00
mazen
0f73d54ac8 + Added ATT assmebler mode directive to override any default in fpc.cfg. Otherwise we need to override it in makefile.
git-svn-id: trunk@7258 -
2007-05-04 10:59:30 +00:00
Jonas Maebe
76b190b723 - removed caretn and related code
git-svn-id: trunk@7257 -
2007-05-04 10:53:25 +00:00
Jonas Maebe
065b9c39f7 * fixed compilation
git-svn-id: trunk@7256 -
2007-05-04 08:26:38 +00:00
pierre
390a4236e2 * do not use F field to get TObjectReader FileName as it is freed inside openfile method
git-svn-id: trunk@7255 -
2007-05-03 23:55:55 +00:00
daniel
41d171bda0 - Comment out duplicate entries (F11/F12 <--> Shift+F1/F2)
git-svn-id: trunk@7254 -
2007-05-03 22:54:12 +00:00
pierre
551498b8d5 * correct Read/write methods to use same parameter type as TStream ancestors
git-svn-id: trunk@7253 -
2007-05-03 22:01:49 +00:00
daniel
3ad8257ecb * Fix replace spilling of shld/shrd.
git-svn-id: trunk@7252 -
2007-05-03 20:56:09 +00:00
Jonas Maebe
82e01b4ad9 + support for refcounted records returned by functions in 2 registers
(mantis )

git-svn-id: trunk@7251 -
2007-05-03 15:05:44 +00:00
Jonas Maebe
de1af478c3 * do not allow passing properties as var parameters (mantis )
* do not allow assignments to fields of structured properties (e.g.
    property prop: trec read frec; ... instance.prop.frec.a:=5) 
  * clarified some related error messages
  + several extra tests for the above and related things

git-svn-id: trunk@7250 -
2007-05-03 14:08:03 +00:00
Jonas Maebe
21f87ef1de * fixed instances of passing properties as var parameter
git-svn-id: trunk@7249 -
2007-05-03 11:02:38 +00:00
yury
5fc31d96e0 * replaced "var R:RECT" to "const R:RECT" in WinAPI functions parameters according to MS PSDK.
git-svn-id: trunk@7248 -
2007-05-02 22:03:01 +00:00
yury
7110ecdf7e * replaced "var R:RECT" to "const R:RECT" in WinAPI functions parameters according to MS PSDK.
git-svn-id: trunk@7247 -
2007-05-02 22:01:26 +00:00
Jonas Maebe
ae54e01b72 * don't use inc/dec on a property with a write method
git-svn-id: trunk@7245 -
2007-05-02 17:31:02 +00:00
Jonas Maebe
4e8fba9423 * synchronised with r204 of the universal interfaces (r201-202 were
tests of the move of the svn server):
...
r204 | jonas | 2007-05-02 16:20:32 +0200 (Wed, 02 May 2007) | 2 lines

  * fixed CFSwapInt64 for FPC

...
r203 | gale | 2007-04-18 15:08:43 +0200 (Wed, 18 Apr 2007) | 5 lines

As a temporary trial fix, fixed record field identifier related
redeclaration warnings by declaring and using additional type declarations
with a "_GAP_Private_field_type_fix" suffix added to conflicting record
field type identifiers.

git-svn-id: trunk@7243 -
2007-05-02 14:28:11 +00:00
yury
7f6dec9db4 * fix: Return Default value by TRegIniFile.ReadXXX methods if requested registry value does not exist.
git-svn-id: trunk@7242 -
2007-05-02 11:54:28 +00:00
Jonas Maebe
73f3b5163a - removed ide building for darwin again (basic functionality works, but
it is not supported by anyone)

git-svn-id: trunk@7238 -
2007-05-02 08:38:13 +00:00
micha
09a60a4019 * tiny optimization to heap manager: implement freeoslist as a fifo (instead of lifo) which should allow more os chunks to keep their fixed size formatting in case of diverse fixed size usage
git-svn-id: trunk@7237 -
2007-05-02 05:20:44 +00:00
micha
9c727d1762 * tiny optimization to heap manager, avoid repeated removing/readding to freeoslist overhead
git-svn-id: trunk@7236 -
2007-05-01 21:04:18 +00:00