Jonas Maebe
0cfc6e1cac
+ support for "univ" in macpas mode: a parameter modifier that allows
...
passing any value to that parameter which has the same size as the
parameter (it basically acts as if there is an explicit type conversion
to the parameter type around the value at the caller side). If a procvar
has an univ parameter, all procvars whose corresponding parameter
has the same size as that univ parameter are similarly compatible.
This transparent compatibility can however cause crashes in case of
of the procvars when one of the types is passed on the stack and the
other isn't (because then the called routine will a) load the parameter
from a wrong location and b) pop the wrong amount off of the stack at
then end). Therefore FPC will warn in most cases where this can happen.
(mantis #15777 )
git-svn-id: trunk@15010 -
2010-03-13 22:13:20 +00:00
michael
f39e9ba873
* Test unit for testing purposes
...
git-svn-id: trunk@15009 -
2010-03-13 16:04:19 +00:00
michael
235c3be24a
* Added support for version tag (same level as errors or seealso tags
...
git-svn-id: trunk@15008 -
2010-03-13 16:03:52 +00:00
joost
1d0db2cc85
* Map time fields to ftTime, so that field.asstring does not show the date-part, bug #14901
...
git-svn-id: trunk@15007 -
2010-03-12 20:41:35 +00:00
joost
9a543dbd1c
* According to bug #14960 , Delphi TDateTimeField.GetText uses the LongTimeFormat for displaying times
...
git-svn-id: trunk@15006 -
2010-03-12 20:24:22 +00:00
joost
33f9424d68
* Patch from Ladislav Karrach (Lacak2) to make LocateOptions work for TBufDataset.Locate + test, bug #15725
...
git-svn-id: trunk@15005 -
2010-03-12 17:12:28 +00:00
ivost
aebc2aea40
* reverted r14999
...
git-svn-id: trunk@15004 -
2010-03-11 20:02:32 +00:00
paul
a3653a968f
fcl-res: fix header comment
...
git-svn-id: trunk@15003 -
2010-03-11 09:22:04 +00:00
paul
3cd29858ba
compiler, utils: pass tlb resources to fpcres
...
git-svn-id: trunk@15002 -
2010-03-11 03:01:24 +00:00
paul
949290e62f
fcl-res: support tlb resources
...
git-svn-id: trunk@15001 -
2010-03-11 03:00:41 +00:00
Jonas Maebe
43846ca8c9
* force always printing absolute paths when using -vb (mantis #15783 )
...
git-svn-id: trunk@15000 -
2010-03-10 10:04:51 +00:00
ivost
1eb7bb27f1
* added freepascal helper function
...
git-svn-id: trunk@14999 -
2010-03-10 09:49:28 +00:00
Jonas Maebe
88f5addd1c
* do not typecheck statements before checking whether they are valid,
...
because the associated simplifications can turn invalid statements
into valid statements (based on patch by Aleksa Todorovic, mantis
#15594 )
git-svn-id: trunk@14998 -
2010-03-09 21:13:22 +00:00
Jonas Maebe
db2655459c
* fixed 255 max path length assumptions left over from when the paths were
...
shortstrings (mentioned in mantis #15783 )
git-svn-id: trunk@14997 -
2010-03-09 19:44:07 +00:00
marco
dab931c3ba
* fixed memory leak in the general exporter class. (the -settings were not freed) mantis 15934
...
git-svn-id: trunk@14996 -
2010-03-09 16:02:10 +00:00
Jonas Maebe
3ea3a41d2a
o patch from Olivier for Haiku libiconv functionality (mantis #15906 ):
...
* Haiku's nl_langinfo implementation is now used under Haiku instead of
the BeOS stub.
* Fix linking to iconv in the iconvenc package. The prefix has change
since the previous Haiku's version.
git-svn-id: trunk@14995 -
2010-03-09 09:58:14 +00:00
joost
0dd62e7d05
* Implemented a stack of javascriptstacks. InitializeJavaScriptStack creates and adds a new JSStack to this stack, FreeJavascriptStack destroys and removes it again
...
git-svn-id: trunk@14994 -
2010-03-09 08:45:45 +00:00
pierre
cee190b1f8
* shift128right last parameter should also by var type
...
git-svn-id: trunk@14993 -
2010-03-08 08:00:56 +00:00
joost
fd36dabc09
* Changed TCustomWebApplication.CreateForm's reference parameter now the compiler enforces the same type on var-parameters
...
git-svn-id: trunk@14992 -
2010-03-07 15:38:49 +00:00
joost
97207e8676
* Added logging functionality using TEventLog
...
git-svn-id: trunk@14991 -
2010-03-07 15:30:41 +00:00
olivier
54a0fbc015
* Active out support using $modeswitch under BeOS after r14965
...
git-svn-id: trunk@14990 -
2010-03-07 02:55:47 +00:00
olivier
27c99a7e13
* Active out support using $modeswitch under Haiku after r14965
...
git-svn-id: trunk@14989 -
2010-03-07 02:53:33 +00:00
marco
c3f364b0c0
* few small left over renames and typing (var/out) fixes from Mantis 14802
...
git-svn-id: trunk@14988 -
2010-03-06 13:42:41 +00:00
marco
e00c47f005
* patch from Nikolay that fixes more Tboolresult issues. Fixes mants 15891
...
git-svn-id: trunk@14977 -
2010-03-06 10:47:29 +00:00
marco
502ac4c8a5
* another fix for mantis 13171, font.gettextwidth default value
...
git-svn-id: trunk@14976 -
2010-03-05 21:03:49 +00:00
florian
df17bb95e8
* remove unneeded resource file directive, resolves #15771
...
git-svn-id: trunk@14975 -
2010-03-05 20:49:13 +00:00
pierre
7c08e5cb57
* Fix solaris problem after commit rev 14971
...
git-svn-id: trunk@14974 -
2010-03-05 13:46:36 +00:00
paul
321e6a9e1c
fcl-db: comment writeln in the paradox component code
...
git-svn-id: trunk@14973 -
2010-03-05 03:51:05 +00:00
marco
bf52e58175
* committed an old patch from M Schreiber, mantis #11855 that fixes loading 8-bit gray alpha using PNG loading.
...
git-svn-id: trunk@14972 -
2010-03-04 22:33:05 +00:00
Jonas Maebe
a7dca09535
* only refer to local symbols without GOT redirection on darwin/x86_64,
...
because on linux/x86_64
a) the resulting code crashes when using the internal assembler
b) refuses to link when using the external assembler
(and hence I don't know whether it's safe to do on other non-darwin
platforms either) -- fixes mantis #15889
git-svn-id: trunk@14971 -
2010-03-04 20:23:45 +00:00
Jonas Maebe
9cd0a2ff1e
* link to libpthread at compile time on Linux to avoid problems on some
...
newer glibc systems when it's only loaded dynamically at run time
git-svn-id: trunk@14970 -
2010-03-04 15:36:35 +00:00
paul
e2dbccf017
rtl: fix streaming of ancestor components - save/restore FRootAncestor in TWriter.WriteComponent because it can be changed by DoFindAncestor call (if IDE/or user code is connected to OnFindAncestor event)
...
git-svn-id: trunk@14969 -
2010-03-04 07:21:18 +00:00
ivost
2ddd53efc8
* fxied xsdTryParseStringLower (SetLength allocated a string but then append char was used -> resulted in leading zeros)
...
* optimized xsdTryParseStringLower
* optimized xsdTryParseString
git-svn-id: trunk@14968 -
2010-03-03 18:54:46 +00:00
Legolas
bc1bcf343e
* Updated NDS and GBA to devkitARM r28
...
* Updated libnds to 1.4.1
* Fixed NDS rtl according with last string handling changes
* Fixed nds audio examples
git-svn-id: trunk@14967 -
2010-03-02 21:56:41 +00:00
paul
71c99628d4
db: remove dummy checks in SetAfterConnect and friends - they case bugs in Lazarus because we are comparing pointers instead of TMethod (2 pointers)
...
git-svn-id: trunk@14966 -
2010-03-02 09:51:41 +00:00
marco
be98b13554
* fix for 11263, changed fileread and fd_zero to out using $modeswitch.
...
git-svn-id: trunk@14965 -
2010-03-01 22:35:14 +00:00
joost
ccce77f28b
* Forgot to commit file in r14960, fixes make all
...
git-svn-id: trunk@14964 -
2010-03-01 20:53:27 +00:00
Jonas Maebe
77d5d9435b
* corrected detection of the start of variant parts of records
...
git-svn-id: trunk@14962 -
2010-03-01 19:16:00 +00:00
Jonas Maebe
e693b47234
* don't insert bogus vmt field in forward-defined classes
...
git-svn-id: trunk@14961 -
2010-03-01 14:57:14 +00:00
joost
151fab0548
* Moved TEventType from eventlog.pp tot sysutils
...
* Added empty TCustomApplication.Log method
git-svn-id: trunk@14960 -
2010-03-01 13:15:36 +00:00
joost
f8e6a86e32
* Fixed AV in design-view
...
git-svn-id: trunk@14959 -
2010-03-01 13:06:25 +00:00
joost
805a6c3572
* Added protected, virtual TWebPage.IsAjaxCall
...
git-svn-id: trunk@14958 -
2010-02-28 17:01:42 +00:00
marco
1f1e7578c9
* ip6test errorhandling fix + parameters. (trying to reproduce mantis 4867)
...
git-svn-id: trunk@14957 -
2010-02-28 16:38:45 +00:00
marco
67e16c7472
* fixes for demise of 6bone and sockets unit changes.
...
git-svn-id: trunk@14956 -
2010-02-28 16:26:42 +00:00
marco
18cef789c6
* regenned makefile for Loesje
...
git-svn-id: trunk@14955 -
2010-02-28 16:11:01 +00:00
marco
038039674a
* alias hmonitor to windows.hmonitor. This handle moved from
...
windows unit to multimon in later delphi versions. An alias solution provides
compat to both.
git-svn-id: trunk@14954 -
2010-02-28 15:56:42 +00:00
marco
4ee7f3adee
* fix for mantis 15865 add hmonitor
...
git-svn-id: trunk@14953 -
2010-02-28 12:38:17 +00:00
paul
e2fdfc426f
compiler: fix safecall result handling if it is placed to a register
...
git-svn-id: trunk@14952 -
2010-02-28 10:50:40 +00:00
florian
e9c95ea46f
+ NvApi package for win32 and win64 by Dmitry Boyarintsev, resolves #15771
...
git-svn-id: trunk@14951 -
2010-02-28 09:56:36 +00:00
marco
e001876e2b
* fix for mantis #13171 , a default for gettextheight so that it doesn't
...
totally fall apart if no canvas is assigned.
git-svn-id: trunk@14950 -
2010-02-27 19:14:28 +00:00