Commit Graph

1854 Commits

Author SHA1 Message Date
Jonas Maebe
0ee167af14 + file belonging to r13518
git-svn-id: trunk@13520 -
2009-08-12 12:37:57 +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
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
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
4f3bccd6d3 * Initial version of "C" netdb header. FreeBSD version.
git-svn-id: trunk@13497 -
2009-08-08 12:22:23 +00:00
florian
6c99746074 * forbid the usage of Result(x) as function call, resolves #14248
git-svn-id: trunk@13492 -
2009-08-06 19:06:23 +00:00
Jonas Maebe
c075ce13ea - removed (it's automatically generated/deleted by the makefiles)
git-svn-id: trunk@13457 -
2009-07-26 14:19:24 +00:00
florian
d38340c753 + utf-8 <-> variant type casts, resolves #11371
* ucs-4 -> variant type cast (variant -> ucs-4 is not possible due to overloading contraints of fpc and how ucs-4 is implemented)
* some newlines fixed

git-svn-id: trunk@13451 -
2009-07-26 12:58:49 +00:00
florian
380f3ac78f * fix from Nikolay Samofatov for #12987: initialize thread vars in libraries on windows correctly
* unified dll entry code between win32 and win64

git-svn-id: trunk@13445 -
2009-07-25 21:08:36 +00:00
florian
9856e548ed * avr stuff, work in progress
git-svn-id: trunk@13444 -
2009-07-25 19:31:06 +00:00
florian
b4914d063a * write class string message table correctly, resolves #14145
git-svn-id: trunk@13440 -
2009-07-25 12:17:54 +00:00
florian
11f25885a4 * test for last commit
git-svn-id: trunk@13434 -
2009-07-24 17:19:37 +00:00
michael
5b58c9aea6 * Added Classes version of BZip2 Stream
git-svn-id: trunk@13430 -
2009-07-23 15:52:29 +00:00
Jonas Maebe
63ce04fd00 * set addn resultdef when evaluating constant string concatenation
instead of letting the resulting stringconstn decide for itself
    (mantis #14174)

git-svn-id: trunk@13419 -
2009-07-22 16:16:11 +00:00
Jonas Maebe
34c985cfa6 * added register type parameter to cgsize2subreg(), as the subreg can
depend on that (and correct a number of cases where this was wrong)
  * set the correct subreg type for xmm x86_64 parameter registers
    (resolved mantis #14067)

git-svn-id: trunk@13410 -
2009-07-19 13:57:23 +00:00
marco
d837f6d83e * makefile fixes (fpmake untested), 2.3.1 fields-before-methods fix for pdfvrlexico
git-svn-id: trunk@13405 -
2009-07-17 16:32:19 +00:00
sekelsenmat
0704d007a4 Isolates fpvectorial writeln and removes lazarus specific files
git-svn-id: trunk@13404 -
2009-07-17 15:13:02 +00:00
sekelsenmat
f6e203cf3b Initial commit for the FPVectorial library
git-svn-id: trunk@13403 -
2009-07-17 14:27:35 +00:00
florian
5d8835861c + unicode functions for sysutils, makes tunistr6.pp compiling
git-svn-id: trunk@13402 -
2009-07-17 14:05:19 +00:00
Jonas Maebe
e8088fd4ec + test from mantis #14155
git-svn-id: trunk@13401 -
2009-07-17 12:22:22 +00:00
Jonas Maebe
754696d1f5 * enable converting procedure callnodes with only default parameters into
procvars in tp/delphi mode (mantis #11771)

git-svn-id: trunk@13400 -
2009-07-17 10:29:56 +00:00
Jonas Maebe
55578e8226 * fixed FloatToDecimal() for inf/nan (mantis #14143, thanks to
Sergei Gorelkin for the test program)

git-svn-id: trunk@13394 -
2009-07-16 13:11:36 +00:00
florian
9d659dc937 * accept const <guid const> = <guid string>; again, resolves #14134
git-svn-id: trunk@13384 -
2009-07-12 11:00:07 +00:00
Jonas Maebe
66bf7190dd + test for mantis #14112
git-svn-id: trunk@13379 -
2009-07-11 09:46:20 +00:00
Almindor
d09b2d91a9 * move FastCGI out of fcl-web to be standalone package
git-svn-id: trunk@13377 -
2009-07-11 08:05:16 +00:00
Jonas Maebe
79f139bff7 + tests for previous commit
git-svn-id: trunk@13373 -
2009-07-08 20:22:09 +00:00
florian
5e200ac743 * even missed a whole directory in r13365
git-svn-id: trunk@13367 -
2009-07-07 16:44:58 +00:00
florian
5c49a653c4 * added missing file of r13365
git-svn-id: trunk@13366 -
2009-07-07 16:36:57 +00:00
Jonas Maebe
d6aa5bfe36 + test for mantis #10717
git-svn-id: trunk@13344 -
2009-06-28 09:15:39 +00:00
Jonas Maebe
c6733ed9a5 * disallow placing fields after method/property definitions, because this
can create ambiguities for the parser in case the field names also exist
    as modifiers (TP- and Delphi-compatible, mantis #13971) + tests
  * fixed tests that broke because of this change

git-svn-id: trunk@13334 -
2009-06-27 12:59:46 +00:00
Jonas Maebe
e42842b31c * don't allow skipping property parameters if the getter/setter has default
parameters (mantis #13956)
  * when reporting an error about too few specified parameters to a call,
    return the column of the call itself rather than after the last parameter
    (because this ends up after the end of an indexed property in case of
     properties, which is confusing)

git-svn-id: trunk@13326 -
2009-06-26 17:31:41 +00:00
Jonas Maebe
77feb9d45c * fixed setstrprop() for shortstring properties (based on hint by Zawullon,
mantis #14040)

git-svn-id: trunk@13323 -
2009-06-26 11:34:04 +00:00
Jonas Maebe
b7235b21c9 * no longer allow assigning values to typecasted properties, because in
case the getter is a function, the result is that first the getter is
    called, and subsequently the temp holding the function result is
    overwritten (thus not changing anything). This is Delphi-compatible,
    and fixes tests/tbf/tb0214*

git-svn-id: trunk@13320 -
2009-06-23 18:42:53 +00:00
florian
c21d5765ac * fixed properties
git-svn-id: trunk@13312 -
2009-06-22 18:55:28 +00:00
florian
a7ab3d336e + first at91sam7x256 unit
* irq handlers for lpc21x4 fixed

git-svn-id: trunk@13311 -
2009-06-22 10:31:37 +00:00
Jonas Maebe
089ff79c3b + test I forgot to commit earlier
git-svn-id: trunk@13309 -
2009-06-21 12:14:14 +00:00
Jonas Maebe
25463000ac * do not mark all found files with Find* as "faHidden" if the search path
starts with './' (mantis #14020)
  * also mark files whose name starts with '.' that are found in subdirectories
    as faHidden (not reported, but was due to a similar error)
  - removed some unused variables related to the Find* functionality

git-svn-id: trunk@13307 -
2009-06-21 10:21:06 +00:00
ivost
7772f8ccbf * added testcase for bugrepport 14019 submitted by hennymcc
git-svn-id: trunk@13305 -
2009-06-20 22:32:09 +00:00
Jonas Maebe
80864ebf31 * made TDebugInfoDwarf3 inherit from TDebugInfoDwarf2 instead of from
TDebugInfoDwarf, so DWARFv2 and DWARFv3 generators can share protected
    methods.
  * fixed the debug info for sets whose language-level lower bound is not
    equal to the actual set base used when storing the data (e.g., a "set
    of 1..5" is actually stored as a "set of 0..7" or "set of 0..31")
    (mantis #13984)
  + interactive test for the above

git-svn-id: trunk@13302 -
2009-06-20 10:45:04 +00:00
Jonas Maebe
47702aa3a5 * disallow new(property) (mantis #13992)
git-svn-id: trunk@13288 -
2009-06-18 09:23:43 +00:00
Jonas Maebe
79e6ed5047 * fixed CenterPoint() function (patch by Alexander S. Klenin, mantis #13972)
git-svn-id: trunk@13274 -
2009-06-14 14:12:09 +00:00
Jonas Maebe
5c4f80d6bc * when optimizing temp assignments by simply replacing one temp with
another, it's not enough that the temp sizes are the same, because
    the assignment may only apply to part of them. In such cases,
    perform a regular copy (mantis #13948)

git-svn-id: trunk@13255 -
2009-06-10 19:14:40 +00:00
marco
2f218391d4 * initial htmlhelp header translation
git-svn-id: trunk@13249 -
2009-06-09 19:54:00 +00:00
Jonas Maebe
ba951580a2 * fixes and cleanups for tbits (patch by Sergei Gorelkin, mantis #13890)
git-svn-id: trunk@13243 -
2009-06-06 14:35:25 +00:00
Jonas Maebe
e13a708002 * fixed compiler crash when using a bitpacked array whose size was
close to high(longint) bytes

git-svn-id: trunk@13241 -
2009-06-06 12:33:18 +00:00
Jonas Maebe
41acad1d11 + keep track of called virtual methods per unit. -Owoptvtms will now replace
vmt entries of virtual methods that can never be called with references
    to FPC_ABSTRACTERROR. Some virtual methods are always considered to be
    reachable: published methods, and methods used as getter/setter for a
    published property.

git-svn-id: trunk@13238 -
2009-06-06 08:24:36 +00:00
marco
9a9b05b683 * file not added in earlier commit, and was forgotten.
git-svn-id: trunk@13233 -
2009-06-04 07:49:25 +00:00
marco
d87ba9d285 * multimon added (From Paul Ishenin), renamed dwmapi extension to .pp
git-svn-id: trunk@13232 -
2009-06-03 13:52:34 +00:00