Jonas Maebe
fe5cf94e10
* moved generation of initialisation/finalisation nodes from the code
...
generator to psub and ngenutil
o removed dependence of hlcgobj on pass_1
git-svn-id: trunk@33737 -
2016-05-21 14:48:34 +00:00
Jonas Maebe
60d75fa97e
* fixed (harmless) range error in 64 bit BSD-based RTLs
...
git-svn-id: trunk@33736 -
2016-05-21 14:48:32 +00:00
michael
bd06efefa2
* Support for AcceptIdleTimeout, correct termination when running threaded (bug ID 29879)
...
git-svn-id: trunk@33735 -
2016-05-21 10:59:09 +00:00
michael
c05373bfe1
* Do not raise error if a connection was created during accept, silently drop the connection
...
git-svn-id: trunk@33734 -
2016-05-21 10:58:08 +00:00
Jonas Maebe
46166c89cb
- removed no longer used and unsafe ttemprefnode.create_offset()
...
functionality
git-svn-id: trunk@33733 -
2016-05-21 10:28:28 +00:00
Jonas Maebe
712e4f90d6
- removed (unnecessary) use of ctemprefnode.create_offset() while parsing
...
array constructors
git-svn-id: trunk@33732 -
2016-05-21 10:28:25 +00:00
Jonas Maebe
661be0baad
* replaced ctemprefnode.create_offset() usage in variant array indexing
...
operations
git-svn-id: trunk@33731 -
2016-05-21 10:28:22 +00:00
michael
6a07c59280
* Implement idle timeout demo
...
git-svn-id: trunk@33730 -
2016-05-21 09:44:39 +00:00
michael
e39a964239
* Implement Idle timeout for accepting connections
...
git-svn-id: trunk@33729 -
2016-05-21 09:43:31 +00:00
michael
a03999cb79
* Implement Idle timeout for accepting connections
...
git-svn-id: trunk@33728 -
2016-05-21 09:42:44 +00:00
marcus
a25663d64f
MorphOS: fixed sockets inside threads
...
git-svn-id: trunk@33727 -
2016-05-20 20:53:24 +00:00
Jonas Maebe
9d2bba1917
* create a separate type and def for the LLVM "i1" type, because reusing
...
pasbool8type for this results in too much trouble (we mustn't use i1
for parameters, because then LLVM will try to apply the ABI convention
for passing "1 bit" values, or in records because then this may
result in unwanted bitpacking). Downside: the new LLVMBool1 type is
also exposed in the system unit, because we need it to define LLVM
intrinsics...
git-svn-id: trunk@33726 -
2016-05-20 20:51:44 +00:00
Jonas Maebe
a29524800f
* converted variant dispatch parameter construction from a hacked temp
...
to a plain record (gets rid of ttemprefnode.create_offset())
git-svn-id: trunk@33725 -
2016-05-20 20:51:41 +00:00
Jonas Maebe
abe8d44f37
* changed allocating a temp with type sinttype and size sinttype*dims for
...
with a ctemprefnode.create_offset() hack into a proper array, because
the old way does not work at all with LLVM (and is ugly)
git-svn-id: trunk@33724 -
2016-05-20 20:51:38 +00:00
Jonas Maebe
ffe4e7fada
* addition to r32779: also fix the type correctness of the array parameter
...
to fpc_initialize_array()
git-svn-id: trunk@33723 -
2016-05-20 20:51:35 +00:00
Jonas Maebe
04c5d2ee6e
* generate indirect symbols for LLVM too
...
git-svn-id: trunk@33722 -
2016-05-20 20:51:31 +00:00
Jonas Maebe
44839ba0c0
* handle AB_INDIRECT and AB_EXTERNAL_INDIRECT in the llvm assembler writer
...
git-svn-id: trunk@33721 -
2016-05-20 20:51:28 +00:00
Jonas Maebe
4fff9645af
* use tasmbind for llvm aliases and derive llvm flags from that
...
git-svn-id: trunk@33720 -
2016-05-20 20:51:25 +00:00
svenbarth
e15816e35b
Fix for Mantis #30110 . Speed up finalization of array of primitive/simple records (aka records not containing managed types).
...
rtl/inc/dynarr.inc:
+ add elType field to tdynarraytypedata (this tells us whether a finalization is needed)
* fpc_dynarray_clear: don't finalize the array elements if elType is Nil
* fpc_dynarray_setlength: only call int_addref() and int_finalizearray() if elType is set
* fpc_dynarray_copy: don't check for tkManagedTypes, but instead check whether elType is assigned
git-svn-id: trunk@33719 -
2016-05-20 16:04:14 +00:00
pierre
7fd805c5d8
* Fix compilation for win16 OS with -dSYSTEMDEBUG
...
git-svn-id: trunk@33718 -
2016-05-20 15:58:27 +00:00
pierre
e4a9e0ceea
* Fix compilation for msdos OS with -dSYSTEMDEBUG
...
git-svn-id: trunk@33717 -
2016-05-20 15:46:46 +00:00
pierre
14359cffec
Fix system compilation for win16 OS by setting FPC_NO_DEFAULT_MEMORYMANAGER and adding dummy FinalizeHeap
...
git-svn-id: trunk@33716 -
2016-05-20 15:20:46 +00:00
pierre
06b0bb56c1
Disable SysFreeMem call for argv for win16 OS, which does not use SysFreeMem
...
git-svn-id: trunk@33715 -
2016-05-20 15:19:18 +00:00
svenbarth
e522affbf6
Regenerate NativeNT Makefile after recent Makefile.fpc changes in r33711, r33712 and r33713
...
git-svn-id: trunk@33714 -
2016-05-20 13:22:39 +00:00
svenbarth
8a42ef764d
Fix compilation of NativeNT target, patch by Karl-Michael Schindler. Fixes Mantis #30149 .
...
rtl/nativent/Makefile.fpc:
+ add rule for ISO Extended Pascal unit
rtl/nativent/sysutils.pp:
* add dummy implementations of the RawByteString and UnicodeString variants of ExecuteProcess
packages/fcl-pdf/fpmake.pp:
* don't compile fcl-pdf for NativeNT
git-svn-id: trunk@33713 -
2016-05-20 13:21:08 +00:00
svenbarth
d3b936073a
+ add rule for the ISO Pascal unit
...
git-svn-id: trunk@33712 -
2016-05-20 13:18:21 +00:00
svenbarth
8927b8f6b1
* use the dummy DOS unit from the Embedded target so that we can use it for the ExtPas unit
...
git-svn-id: trunk@33711 -
2016-05-20 13:17:46 +00:00
Jonas Maebe
f1dad33217
* file forgotten to commit in r33708
...
git-svn-id: trunk@33710 -
2016-05-20 07:09:45 +00:00
Károly Balogh
25c34aedc2
m68k: implemented tcpucasenode.genlinearlist. 68k doesn't need cmp after sub, as sub sets the flags as expected. results in simpler, faster and more compact code
...
git-svn-id: trunk@33709 -
2016-05-19 21:33:45 +00:00
Jonas Maebe
f0753d85ad
* fix the Upgrade to Unicode version 7 and CLDR 27 from r32814
...
(mantis #29659 , fixes tuca* tests)
git-svn-id: trunk@33708 -
2016-05-19 15:44:22 +00:00
Károly Balogh
b6242d14ed
* use currpara.paraloc[calleeside].def instead of currpara.vardef when copying parameters to local registers in ncgutil. this mimics hlcgobj behavior and fixes parameters passed by reference to be allocated into intregs on m68k. among others, this has a big impact on OOP code, because of self, for example
...
git-svn-id: trunk@33707 -
2016-05-19 02:39:45 +00:00
pierre
01358a9989
Fix compilation for Windows OS after commit 33702
...
git-svn-id: trunk@33706 -
2016-05-18 08:54:42 +00:00
michael
365a246c9a
* Allow server to run message queue in a thread
...
git-svn-id: trunk@33705 -
2016-05-17 20:09:23 +00:00
michael
253589b0b6
* Fix compilation for msdos
...
git-svn-id: trunk@33704 -
2016-05-17 18:41:33 +00:00
michael
d2ce69a98c
* Allow to specify a number of messages to send
...
git-svn-id: trunk@33703 -
2016-05-17 10:43:35 +00:00
michael
ca8929b930
* All platforms use a queue now
...
git-svn-id: trunk@33702 -
2016-05-17 10:43:11 +00:00
florian
35b18fbf85
* change address related variables from aint to PInt to avoid range check errors
...
git-svn-id: trunk@33701 -
2016-05-16 19:24:09 +00:00
michael
8e75ac64f1
* Patch from Graeme GeldenHuys to implement UnicodeString versions of MatchStr() and IndexStr() (bug ID 30113)
...
git-svn-id: trunk@33700 -
2016-05-16 16:40:27 +00:00
michael
5e3b22ab15
* Patch to Split AdvancedIPC and AdvancedSingleInstance, by Luiz Americo (Bug ID 30141)
...
git-svn-id: trunk@33699 -
2016-05-16 16:25:50 +00:00
michael
5f8fd810b8
* Test programs for crashing IPC server
...
git-svn-id: trunk@33698 -
2016-05-16 16:22:39 +00:00
michael
d53c4b4153
* Fix compilation of pipesipc
...
git-svn-id: trunk@33697 -
2016-05-16 16:18:44 +00:00
michael
7c91516b24
* Remove old stale file checking mechanism
...
git-svn-id: trunk@33696 -
2016-05-16 15:33:23 +00:00
michael
a5d38c7ba6
* Added TStringBuilder
...
git-svn-id: trunk@33695 -
2016-05-16 15:23:40 +00:00
florian
6f9d74b83e
+ define FPC_NO_DEFAULT_HEAP for the embedded target as well
...
git-svn-id: trunk@33694 -
2016-05-16 13:26:39 +00:00
florian
b2f15e2736
* first check for ait_instruction before checking opcode
...
git-svn-id: trunk@33693 -
2016-05-16 13:10:20 +00:00
florian
f950dca8a5
* use PUInt for passing around sizes in ogbase as the width of the data type should dependent on the address size and not the ALU size
...
git-svn-id: trunk@33692 -
2016-05-16 07:55:09 +00:00
marco
d67dee1d2d
* remove win9xmanager also from .fpcmake
...
git-svn-id: trunk@33689 -
2016-05-14 10:42:05 +00:00
pierre
47a10f0b18
Fix build error after commit 33687
...
git-svn-id: trunk@33688 -
2016-05-14 09:33:13 +00:00
marco
dd2aae023e
* delete win9xwsmanager, conform bugreport #29108
...
git-svn-id: trunk@33687 -
2016-05-13 18:52:02 +00:00
svenbarth
b5d984da7a
pkgutil.pas, createimportlibfromexternals:
...
* only process a unit's imports if the unit is not already from a package
git-svn-id: trunk@33686 -
2016-05-13 15:20:08 +00:00