Commit Graph

1894 Commits

Author SHA1 Message Date
marco
7ad93d7e52 * reworked dependancies around the FCL. daemonapp and servicemanager are isolated into fcl-extra. This makes fcl-base have less dependancies, and other problems then solve themselves.
git-svn-id: trunk@13902 -
2009-10-17 18:41:26 +00:00
marco
deb65efd5d * delete package skeleton that was an attempt to isolate winunits
git-svn-id: trunk@13901 -
2009-10-17 18:37:51 +00:00
marco
3b3aa74731 * empty fcl-extra package that is going to contain daemonapp and ServiceManager
git-svn-id: trunk@13900 -
2009-10-17 18:30:38 +00:00
marco
d951e3de49 * empty skeleton for winunits-com
git-svn-id: trunk@13889 -
2009-10-17 11:27:35 +00:00
marco
3f75bea982 * Comobj and comserv enhancements by mspiller, #14822 (which also bears relevance to 10569,14807)
git-svn-id: trunk@13876 -
2009-10-16 20:32:59 +00:00
Jonas Maebe
dce9b3849b * fixed mantis #14729:
o add accessibility info for fields and methods (public/protected/private)
    o write method type info for methods not implemented in the current module
      (for tf_dwarf_only_local_labels systems)

git-svn-id: trunk@13833 -
2009-10-10 10:53:18 +00:00
florian
b8a83fd997 * allow reintroduce for objects, resolves #14743
git-svn-id: trunk@13832 -
2009-10-10 10:14:49 +00:00
Jonas Maebe
93171fdc23 + support for tkUString in get/setpropvalue (mantis #14617)
git-svn-id: trunk@13829 -
2009-10-09 19:47:55 +00:00
Jonas Maebe
6a0755e897 * fixed setstring for unicode/widestring: don't stop at embedded #0
characters, don't expect that buffer is null-terminated (mantis #14740)

git-svn-id: trunk@13826 -
2009-10-09 16:12:03 +00:00
florian
00049897b3 + support & to escape keywords being a solution for #14553
git-svn-id: trunk@13825 -
2009-10-09 16:06:36 +00:00
andrew
8ebab7b2c1 * added multithreaded lzx compression for lzx. Must be enabled with -dLZX_USETHREADS
* Updated makefile.fpc and Makefile for packages/chm

git-svn-id: trunk@13819 -
2009-10-09 10:50:41 +00:00
sergei
337d0b1b21 Updated Russian message file, and changed cp1251 encoding to UTF-8.
git-svn-id: trunk@13814 -
2009-10-07 17:36:27 +00:00
Jonas Maebe
da58a01ce6 * fixed stabs debug information for parameters copied into local variables
(fixes displaying value shortstring parameters on SPARC, as reported on
     fpc-devel mailing list on 20091005 by Mark Morgan Lloyd)

git-svn-id: trunk@13813 -
2009-10-06 13:51:16 +00:00
florian
bc9cffa739 * properties fixed
git-svn-id: trunk@13812 -
2009-10-06 12:04:09 +00:00
marco
b884462ac4 * winutils unit, for simple api wrapper functions.
* First function in it: isadmin, to check if an user is admin.

git-svn-id: trunk@13804 -
2009-10-04 17:43:08 +00:00
florian
515774b864 * merged armthum branch
-- Zusammenführen der Unterschiede zwischen Projektarchiv-URLs in ».«:
U    rtl/arm/setjump.inc
A    rtl/arm/thumb2.inc
U    rtl/arm/divide.inc
A    rtl/embedded/arm/stm32f103.pp
U    rtl/inc/system.inc
U    compiler/alpha/cgcpu.pas
U    compiler/sparc/cgcpu.pas
U    compiler/i386/cgcpu.pas
U    compiler/ncgld.pas
U    compiler/powerpc/cgcpu.pas
U    compiler/avr/cgcpu.pas
U    compiler/aggas.pas
U    compiler/powerpc64/cgcpu.pas
U    compiler/x86_64/cgcpu.pas
U    compiler/cgobj.pas
U    compiler/psystem.pas
U    compiler/aasmtai.pas
U    compiler/m68k/cgcpu.pas
U    compiler/ncgutil.pas
U    compiler/rautils.pas
U    compiler/arm/raarmgas.pas
U    compiler/arm/armatts.inc
U    compiler/arm/cgcpu.pas
U    compiler/arm/armins.dat
U    compiler/arm/rgcpu.pas
U    compiler/arm/cpubase.pas
U    compiler/arm/agarmgas.pas
U    compiler/arm/cpuinfo.pas
U    compiler/arm/armop.inc
U    compiler/arm/narmadd.pas
U    compiler/arm/aoptcpu.pas
U    compiler/arm/armatt.inc
U    compiler/arm/aasmcpu.pas
U    compiler/systems/t_embed.pas
U    compiler/psub.pas
U    compiler/options.pas

git-svn-id: trunk@13801 -
2009-10-04 09:03:44 +00:00
Jonas Maebe
1eceb2ca65 * don't allow properties to expose private fields of parent classes
(mantis #14650)

git-svn-id: trunk@13794 -
2009-10-02 13:50:52 +00:00
sergei
fc34dc84ff domunit.pp:
+ Added TDOMTestBase.LoadStringData method, allows loading documents from string.
* Don't return empty string from GetResourceURI when file doesn't exist. Thus we can see the problematic filename in the test output.

+ Added extras.pp, contains a few tests not present in w3.org test suite.
+ Added extras2.pp, contains some tests ported by hand because no automatic conversion possible yet. It addresses namespace fixup during serialization and canonical-form issues.

README_DOM.txt: updated to reflect the added units.

git-svn-id: trunk@13729 -
2009-09-17 09:58:15 +00:00
marco
56e15073bb * sha1test demo + fpmake
git-svn-id: trunk@13728 -
2009-09-16 20:32:07 +00:00
florian
ce773b759d + sha1 unit by Sergei Gorelkin, resolves #14604
git-svn-id: trunk@13727 -
2009-09-16 20:24:40 +00:00
Jonas Maebe
1aa1686778 * fixed varbyref in variant conversion helpers (patch+test by Paul Ishenin,
mantis #14536)

git-svn-id: trunk@13687 -
2009-09-10 16:57:06 +00:00
marco
da9458587d * GMP initial version.
git-svn-id: trunk@13667 -
2009-09-07 13:50:31 +00:00
Jonas Maebe
1f6b55290e * fixed fpsignal for linux/x86_64 and possibly some other platforms as well
(patch by Nikolay Nikolov, mantis #14514)

git-svn-id: trunk@13666 -
2009-09-06 20:03:09 +00:00
marco
f60a4e31a2 * Two demoes for htmlhelp header.
git-svn-id: trunk@13656 -
2009-09-05 23:36:19 +00:00
florian
cf215d5097 o patch by Michael V. Denisenko to handle case <string> of (see also #13700)
+ compiler implementation
  + tests

git-svn-id: trunk@13642 -
2009-09-03 20:21:30 +00:00
Jonas Maebe
ae6200ce72 + tests forgotten to commit as part of r13334
git-svn-id: trunk@13617 -
2009-08-30 08:37:53 +00:00
florian
e8dff46f8e * several small bugs in the handling of implements fixed, resolves #14418
git-svn-id: trunk@13615 -
2009-08-30 08:01:10 +00:00
florian
6d2a9dd173 + file forgotten to add in r13588
git-svn-id: trunk@13589 -
2009-08-24 17:22:25 +00:00
Legolas
3f9327d340 * NDS: updated the rtl, libnds and fixed the examples. Now it should work fine with devkitARM r26
- Removed (again) old libgba examples

git-svn-id: trunk@13585 -
2009-08-23 13:57:45 +00:00
Jonas Maebe
9a84dee059 * fixed static linking under Linux for ppc64; test still crashes under
linux/i386 and linux/x86_64 (but at least it links now, mantis #14265)

git-svn-id: trunk@13584 -
2009-08-23 11:53:00 +00:00
Jonas Maebe
a1363e95f7 * no longer perform precision correction for single precision values, because
we support writing more digits than are defined (due to Delphi-
    compatibility) and
   a) correcting the precision of undefined digits makes no sense
   b) as a result, this precision correction made some numbers that can be
      represented exactly in single precision inexact
    -- fixes mantis #14230
  * no longer perform precision correction while determining the whole part
    of numbers (usually did nothing anyway, and the rest is caught by the
    final rounding)

git-svn-id: trunk@13574 -
2009-08-22 07:49:06 +00:00
Jonas Maebe
146a819615 * fixed spilling of and operations on spilled 32 bit values for x86_64
(mantis #14403)

git-svn-id: trunk@13573 -
2009-08-21 16:20:16 +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
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
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
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
554d02c940 * unit unzip renamed to unzip51g. Updated user changes.
git-svn-id: trunk@13527 -
2009-08-13 13:32:59 +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
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