Commit Graph

35305 Commits

Author SHA1 Message Date
michael
c9cd1079d4 * More extensive examples taken from RTL
git-svn-id: trunk@19663 -
2011-11-20 22:48:29 +00:00
michael
d078996f69 * Refactoring in preparation of extended features (nested type, extended records) support
git-svn-id: trunk@19662 -
2011-11-20 22:46:54 +00:00
Jonas Maebe
3188916cda * also replace $CATRES for shared libraries (fix for r19649)
git-svn-id: trunk@19661 -
2011-11-20 20:06:43 +00:00
marco
b070a0bbbc * add NULL handling for customvariants, patch by Ludo, Mantis #20697
git-svn-id: trunk@19660 -
2011-11-20 19:45:22 +00:00
michael
a52fe3162d * Patch from Reinier Olislagers to improve blob upload times
git-svn-id: trunk@19659 -
2011-11-19 22:35:13 +00:00
marco
2e3d1a17d0 * also remove *.dbg files. Patch from Jonas, Mantis #20466
git-svn-id: trunk@19658 -
2011-11-19 13:56:43 +00:00
marco
7a7d8e27cd * set transaction of proxy via field instead of setter since that
triggers a cascade of actions. Mantis #20694

git-svn-id: trunk@19657 -
2011-11-19 13:02:31 +00:00
marco
6d830a270d * Adds methods to TBinaryField (getasvariant/setasvarvalue) Mantis #20532
git-svn-id: trunk@19656 -
2011-11-19 12:42:32 +00:00
Tomas Hajny
a2927499c8 * UNDEFINE corrected to UNDEF
git-svn-id: trunk@19655 -
2011-11-19 12:32:32 +00:00
marco
a06c466c76 * Lua libraryname fix, mantis 20705
git-svn-id: trunk@19654 -
2011-11-19 11:50:54 +00:00
marco
21e04073d8 * fixed closepipe<>pipeclose and handle<>fhandle typos reported by Jonas.
git-svn-id: trunk@19653 -
2011-11-19 11:49:59 +00:00
Tomas Hajny
38fca89c69 * TIn/OutputPipeStream gets closed on freeing
git-svn-id: trunk@19652 -
2011-11-18 22:47:06 +00:00
Jonas Maebe
84bf45f0e2 * give an error when trying to call an interface/protocol/category method
using the type name of the interface/protcol/category (they are not
    entities themselves on which you can invoke those methods,
    mantis #20661)

git-svn-id: trunk@19651 -
2011-11-18 22:33:33 +00:00
pierre
836da25e81 * Do not call with UseShell = true if CatFileContent expands the file into parameters
git-svn-id: trunk@19650 -
2011-11-18 22:08:51 +00:00
pierre
b1bd1d29ec Replace cat $RESby $CATRES and call CatFileContent method
git-svn-id: trunk@19649 -
2011-11-18 21:33:24 +00:00
pierre
5d6a7dc03d + TExternalLinker.CatFileContent method and tf_no_backquote_support tsystemflags enum value
git-svn-id: trunk@19648 -
2011-11-18 21:32:25 +00:00
pierre
8e843bc892 Regenerate msg include files
git-svn-id: trunk@19647 -
2011-11-18 21:29:40 +00:00
pierre
8f7ea8718b + Add message for TExternalLinker.CatFileContent method
git-svn-id: trunk@19646 -
2011-11-18 21:28:46 +00:00
Tomas Hajny
21179c6833 * retrieve process ID even if running under DOS
git-svn-id: trunk@19644 -
2011-11-17 20:19:00 +00:00
pierre
85862e476b Fix for test tw19368
git-svn-id: trunk@19643 -
2011-11-16 22:04:28 +00:00
pierre
b19cab9802 New test
git-svn-id: trunk@19642 -
2011-11-16 13:17:42 +00:00
paul
7f7c665e64 compiler: push nested class hierarchy for parsing nested procedures arguments and results (mantis #0020690, mantis #0020038)
git-svn-id: trunk@19641 -
2011-11-16 03:41:56 +00:00
sergei
c56ef119a1 * tcgguidconstnode: create a new object section before emitting data, otherwise data ends up in arbitrary section, causing e.g. IE 200602289 if it happens to be .bss.
git-svn-id: trunk@19640 -
2011-11-16 02:21:10 +00:00
sergei
92e0f43f5d * Changed Utf8String to AnsiString, fixes compilation after merging of cpstring.
git-svn-id: trunk@19639 -
2011-11-14 22:58:48 +00:00
sergei
8c9ad67682 + tcgexitnode,tcgbreaknode,tcgcontinuenode: added possibility to generate specialized code for leaving unwind-protected regions.
git-svn-id: trunk@19636 -
2011-11-14 22:47:37 +00:00
florian
c12a4989d0 + use cpurox define in the compiler for CPUs having internal ror/rol support
+ optimize (i shl x) or (i shr (bitsizeof(i)-x)) and friends into rol/ror(x,i)

git-svn-id: trunk@19635 -
2011-11-13 18:40:34 +00:00
michael
6ecdf3a3f8 * Fixed so it compiles also in pipesipc
git-svn-id: trunk@19634 -
2011-11-13 17:08:29 +00:00
nickysn
6a0078e38a * Updated PTCPas to version 0.99.12
git-svn-id: trunk@19633 -
2011-11-12 18:28:40 +00:00
michael
14edc4a496 * Added cleanup of stale socket files (bug 17248)
git-svn-id: trunk@19632 -
2011-11-12 14:45:16 +00:00
michael
672d7f6b63 * Implemented AS for table aliases
git-svn-id: trunk@19631 -
2011-11-12 13:05:15 +00:00
michael
7effdb1eaa * Implemented Pause/Resume, paused
git-svn-id: trunk@19630 -
2011-11-12 12:55:40 +00:00
michael
3040d9746b * Implemented OnUnknownRequestEncoding
git-svn-id: trunk@19629 -
2011-11-12 12:40:12 +00:00
michael
9fc66414b5 * Avoid code duplication in TFileStream.Create
git-svn-id: trunk@19628 -
2011-11-11 17:32:17 +00:00
michael
ab7a60a68c * Modify file permissions when global socket
git-svn-id: trunk@19627 -
2011-11-11 17:27:37 +00:00
michael
5d71bf3b60 * Output table with enumerated explanations for set
git-svn-id: trunk@19626 -
2011-11-11 17:18:21 +00:00
michael
e808b917cb * Removed debug statement
git-svn-id: trunk@19625 -
2011-11-11 17:17:58 +00:00
michael
9287724546 * Fixed some indentation
git-svn-id: trunk@19624 -
2011-11-11 17:17:35 +00:00
michael
6486057e68 * Set declaration returns type of name if named enumeration
git-svn-id: trunk@19623 -
2011-11-11 17:14:38 +00:00
michael
91a2b7ae18 * Support for generics
git-svn-id: trunk@19622 -
2011-11-11 15:08:42 +00:00
michael
5ea8e65ea2 * Support for generics
git-svn-id: trunk@19621 -
2011-11-11 15:08:17 +00:00
marco
9324726374 * const added to size (record) Mantis #20653
git-svn-id: trunk@19620 -
2011-11-11 09:32:46 +00:00
blikblum
a797a3a38a sqliteds: check FMasterLink.Active before FMasterLink.Dataset to avoid crash when FMasterLink.Dataset = nil
git-svn-id: trunk@19619 -
2011-11-10 23:29:35 +00:00
marco
0542d64a74 * shgetfolderpath copy-and-paste fix, mantis 20660
git-svn-id: trunk@19617 -
2011-11-10 10:39:44 +00:00
sergei
ce3f850a68 * x86_64, use rip-relative references when taking address of local code labels, fixes test/library/tlib1a.pp for Linux and FreeBSD and passing exception address to FPC_RAISEEXCEPTION on Darwin.
git-svn-id: trunk@19616 -
2011-11-09 05:12:59 +00:00
paul
a1e0b833b2 compiler: fix ppu read/write of property parameters symtable (bug #0020454)
- add new property option ppo_overrides for property which overrides parent class properties
  - write overriddenpropsymderef only in case if property has ppo_overrides flag
  - save/load parameters symtable only in case if property has ppo_parameters flag and has not ppo_overrides flag
  - in case if property is overrides and has parameters copy original symtable

git-svn-id: trunk@19615 -
2011-11-09 03:35:55 +00:00
Jonas Maebe
c8154860bb * open fpmake ini files with fmShareDenyNone to prevent spurious
locking errors on Linux in some cases (it seems some locks linger
    for a while even after the process that created them has finished,
    unless the makefiles are allowed to start processing a new directory
    before the fpmake invocation in a previous directory has
    finished)

git-svn-id: trunk@19614 -
2011-11-08 23:15:48 +00:00
Jonas Maebe
715c819ff7 - removed "packed" from record types that should/need not be packed
git-svn-id: trunk@19613 -
2011-11-08 23:13:16 +00:00
Jonas Maebe
aefe5acd72 - removed "packed" modifiers from record types, the C versions don't have any
__attribute__((__packed__)) either (and {$packrecords c} is always active
    when compiling this file)

git-svn-id: trunk@19612 -
2011-11-08 22:04:36 +00:00
Jonas Maebe
c7d38570fd * fixed file descriptor control and locking flags (patch by Barlone,
bug #20617)

git-svn-id: trunk@19611 -
2011-11-08 21:44:49 +00:00
Jonas Maebe
0c69afa816 * enabled tests for ppc64 and x86_64
git-svn-id: trunk@19610 -
2011-11-08 21:29:29 +00:00