Commit Graph

30831 Commits

Author SHA1 Message Date
Jonas Maebe
c6b5038d5e * removed unnecessary internalerror triggered when reading wpo info for a
program whereby no methods can be optimized for the last class in the
    contextinsensitive_devirtualization section

git-svn-id: trunk@13559 -
2009-08-19 20:25:41 +00:00
Jonas Maebe
125b9e79d7 * fixed an error with trashing (-gt) of open shortstring "out" parameters
causing crashes if strings with a maximum length < 255 were passed

git-svn-id: trunk@13558 -
2009-08-19 20:24:32 +00:00
Jonas Maebe
3ed4734f85 * fixed position where error message is given about wrong "class of"
type definitions (was at the position of the invalid x type in
    "class of x", rather than at the position of the "class of x" definition
    itself)

git-svn-id: trunk@13555 -
2009-08-18 18:04:55 +00:00
florian
3ce72907c2 + implementation of WriteBarrier
git-svn-id: trunk@13554 -
2009-08-18 16:31:18 +00:00
Jonas Maebe
e0c51caa7d * fixed compilation after r13551
git-svn-id: trunk@13553 -
2009-08-18 15:01:57 +00:00
florian
f2a1d8edf6 * moved test to proper location
git-svn-id: trunk@13552 -
2009-08-18 06:53:50 +00:00
florian
c0d4efed2e * forbid passing derived classes to call by reference parent classes (for objects, this is still allowed), resolves #13135
git-svn-id: trunk@13551 -
2009-08-17 21:46:25 +00:00
Jonas Maebe
e7c9a380f7 * fixed comment describing pshortstring2pchar
git-svn-id: trunk@13550 -
2009-08-17 18:09:43 +00:00
sergei
a4c60f81a0 Fixed buffer reloading logic which happened to crash on x64 when reading DTD with unterminated ignore section.
git-svn-id: trunk@13549 -
2009-08-17 15:57:31 +00:00
sergei
d6244f680a * InstanceSize must be rounded up to sizeof(Pointer) everywhere, fixes #14348
git-svn-id: trunk@13548 -
2009-08-17 13:41:02 +00:00
florian
dd013a8987 * updated ide copyright and version
git-svn-id: trunk@13546 -
2009-08-16 21:25:18 +00:00
Jonas Maebe
7e7e7b34e1 - disabled cs_opt_asmcse for -O2/-O3 on i386. It can still be enabled
explicitly using -Ooasmcse for now. It will probably be completely
    removed before the next major release after 2.4.0 (fixes mantis
    #14363)

git-svn-id: trunk@13545 -
2009-08-16 15:29:47 +00:00
florian
6ea40be296 * fixed more properties, I still wonder how this could be commited
git-svn-id: trunk@13543 -
2009-08-16 10:57:52 +00:00
florian
212da45205 * don't send Update messages during loading of files, makes the IDE startup much faster when a lot of files are loaded
git-svn-id: trunk@13541 -
2009-08-16 10:26:29 +00:00
florian
512d66988c * put linebuffer on the stack instead on the heap on windows makes SysUpdateScreen slightly faster
git-svn-id: trunk@13540 -
2009-08-16 10:25:35 +00:00
florian
8fc6cbf89b * reordered fields, safes 2-3 per cent of memory during compilation
git-svn-id: trunk@13539 -
2009-08-16 10:22:54 +00:00
florian
e0cf3b0478 * change result type of AddItem from integer to sw_integer
git-svn-id: trunk@13538 -
2009-08-15 21:02:22 +00:00
florian
965828b6de * fix building on wince, resolves #14345
git-svn-id: trunk@13537 -
2009-08-15 20:58:31 +00:00
marco
1a7b8eaefd * minor improvements to debuginfo, and Florian's increasing of the topic size.
git-svn-id: trunk@13536 -
2009-08-15 13:37:49 +00:00
Jonas Maebe
847354fe10 * Makefiles version 2.5.1
git-svn-id: trunk@13533 -
2009-08-13 21:21:28 +00:00
Jonas Maebe
8bd552b7b3 * version 2.5.1
git-svn-id: trunk@13532 -
2009-08-13 21:16:05 +00:00
florian
9280f60779 - alpha simulator removed: we never used it so far, fpc has no alpha support, alpha is basically dead, qemu supports alpha
git-svn-id: trunk@13530 -
2009-08-13 17:55:21 +00:00
marco
576d108e2e * error of yesterday fixed (stale "NOT"), and indicating which call fails
git-svn-id: trunk@13529 -
2009-08-13 14:06:30 +00:00
marco
6ea04bc9ac * unzip usage changed to unzip51g
git-svn-id: trunk@13528 -
2009-08-13 13:36:21 +00:00
marco
554d02c940 * unit unzip renamed to unzip51g. Updated user changes.
git-svn-id: trunk@13527 -
2009-08-13 13:32:59 +00:00
marco
5d71c6406a * adapted test for legacy socket function removal.
git-svn-id: trunk@13526 -
2009-08-12 20:21:32 +00:00
florian
a2862ce347 * cleaned up mess of r13516
git-svn-id: trunk@13524 -
2009-08-12 19:34:46 +00:00
florian
a1179733a7 + tsym.prettyname
* don't complain about unused compiler generated type symbols of generic specializations, resolves #13405

git-svn-id: trunk@13523 -
2009-08-12 18:46:32 +00:00
florian
65690b9eee * forgotten part of r13514
git-svn-id: trunk@13522 -
2009-08-12 18:42:09 +00:00
florian
e9b5bcc155 + test for #14236 so it won't popup again
git-svn-id: trunk@13521 -
2009-08-12 16:45:18 +00:00
Jonas Maebe
0ee167af14 + file belonging to r13518
git-svn-id: trunk@13520 -
2009-08-12 12:37:57 +00:00
Jonas Maebe
b44bdaa07b * updated to r241 of the common interfaces:
...
r241 | jonas | 2009-08-11 21:28:33 +0200 (Tue, 11 Aug 2009) | 2 lines
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Endian.pas

  + added implementation for FPC for Endian*LtoB() and Endian*BtoL() routines

git-svn-id: trunk@13519 -
2009-08-11 19:29:45 +00:00
Jonas Maebe
9880901dbe * updated to r240 of the common interfaces:
r240 | jonas | 2009-01-08 12:37:39 +0100 (Thu, 08 Jan 2009) | 3 lines
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Endian.pas

  * fixed Endian64_Swap_Pascal (at least for FPC on 32 bit platforms:
    "<32 bit int> shl 32" is not evaluated as a 64 bit expression there)

...
r239 | gale | 2008-07-09 17:01:16 +0200 (Wed, 09 Jul 2008) | 2 lines
Changed paths:
   A /metaPascal/trunc/MPPInterfaces/DriverServices.pas

Initial translation of DriverServices.h from MacOSX10.5.sdk.

...
r238 | gale | 2008-06-25 02:41:55 +0200 (Wed, 25 Jun 2008) | 4 lines
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/CFStream.pas

Updated CFStream.pas to correspond with the MacOSX10.5.sdk respective
header.  In particular, added declarations for routines
CFStreamCreateBoundPair, CFReadStreamCopyError, and CFWriteStreamCopyError.

...
r237 | gale | 2008-06-25 01:21:18 +0200 (Wed, 25 Jun 2008) | 10 lines
Changed paths:
   A /metaPascal/trunc/MPPInterfaces/CFHTTPAuthentication.pas
   M /metaPascal/trunc/MPPInterfaces/CFHTTPMessage.pas
   M /metaPascal/trunc/MPPInterfaces/CFHTTPStream.pas
   A /metaPascal/trunc/MPPInterfaces/CFNetDiagnostics.pas
   M /metaPascal/trunc/MPPInterfaces/CFNetServices.pas
   A /metaPascal/trunc/MPPInterfaces/CFNetworkErrorss.pas
   A /metaPascal/trunc/MPPInterfaces/CFProxySupport.pas
   M /metaPascal/trunc/MPPInterfaces/CFSocketStream.pas

Updated interfaces to correspond with CFNetwork.framework Headers from
MacOSX10.5.sdk.  Update includes:

1.  Initial translations of CFHTTPAuthentication.h, CFNetDiagnostics.h,
CFNetworkErrorss.h, and CFProxySupport.h.

2.  MacOSX10.4 and MacOSX10.5 introduced new declarations and comment
updates from CFHTTPMessage.h, CFHTTPStream.h, CFNetServices.h, and
CFSocketStream.h.

...
r236 | gale | 2008-06-24 23:59:39 +0200 (Tue, 24 Jun 2008) | 2 lines
Changed paths:
   A /metaPascal/trunc/MPPInterfaces/CFError.pas

Initial translation of CFError.h from MacOSX10.5.sdk.

...
r235 | gale | 2008-06-23 03:36:55 +0200 (Mon, 23 Jun 2008) | 2 lines
Changed paths:
   A /metaPascal/trunc/MPPInterfaces/TextInputSources.pas

Initial translation of TextInputSources.h from MacOSX10.5.sdk.

git-svn-id: trunk@13518 -
2009-08-11 18:47:16 +00:00
florian
b8ee63a715 * fixed properties
git-svn-id: trunk@13516 -
2009-08-11 18:15:56 +00:00
florian
d34061d7e4 * introduced fmShareDenyNoneFlags on windows because the meaning of fmShareDenyNone is unclear, see also #8898
git-svn-id: trunk@13514 -
2009-08-10 20:33:20 +00:00
florian
53d60f02b2 * lying around newline fixes
git-svn-id: trunk@13513 -
2009-08-10 18:56:32 +00:00
florian
10ede51609 * access static fields by a absolute sym pointing to the symbol for the space allocation, resolves #14124
git-svn-id: trunk@13512 -
2009-08-10 18:46:23 +00:00
yury
6a6a6a6e6f * Copy() with WideChar array or PWideChar parameter should use fpc_unicodestr_copy compilerproc, since fpc_widestr_copy is available only on Windows. Bug #14307.
+ test.

git-svn-id: trunk@13511 -
2009-08-10 13:09:27 +00:00
yury
e82e4ae806 * Fixed WideString on wince. WideString=UnicodeString on wince. Bug #14304.
git-svn-id: trunk@13510 -
2009-08-10 11:32:08 +00:00
florian
49cff00793 * unified ie
git-svn-id: trunk@13509 -
2009-08-09 22:22:30 +00:00
florian
a14db25c64 + procedure DivMod(Dividend: Integer; Divisor: integer; var Result, Remainder: integer); and procedure DivMod(Dividend: cardinal; Divisor: cardinal; var Result, Remainder: cardinal);, resolves #14286
+ assembler implementations of DivMod for i386

git-svn-id: trunk@13508 -
2009-08-09 20:47:06 +00:00
marco
c97a407633 * Fix a netorder issue. From mantis #12858
git-svn-id: trunk@13507 -
2009-08-09 18:47:06 +00:00
florian
e022a86c47 * update of german error message files by Karl-Michael Schindler
git-svn-id: trunk@13506 -
2009-08-09 16:35:09 +00:00
marco
bafbe5a451 * socket ->fpsocket
git-svn-id: trunk@13505 -
2009-08-09 10:30:15 +00:00
sergei
f748a01baf * Once the #14143 is fixed, I may (and actually must) remove the related workarounds.
git-svn-id: trunk@13504 -
2009-08-09 05:42:53 +00:00
marco
51072d065b * fixed right bound of statusline. Fixes mantis 13064
git-svn-id: trunk@13503 -
2009-08-08 23:10:18 +00:00
florian
a9aba39d63 * show warnings about parameter types in cdecl'ed procedures at proper locations, resolves #14283
git-svn-id: trunk@13502 -
2009-08-08 22:28:45 +00:00
florian
b98ee089a4 o accelerate testing
+ support multiple files on the dotest command line
  * tests are passed in directory wise batches on OSes supporting long command lines

git-svn-id: trunk@13501 -
2009-08-08 19:47:32 +00:00
marco
17b3b424f5 * minor fixes to get miniunz compiling under windows.
git-svn-id: trunk@13500 -
2009-08-08 17:15:55 +00:00
marco
c79a31fabf * partial patch from #12040. One of the problems was already fixed earlier.
git-svn-id: trunk@13499 -
2009-08-08 16:43:09 +00:00