Tomas Hajny
cd236d1811
* fcl-pdf package added
...
git-svn-id: trunk@33918 -
2016-06-05 14:43:15 +00:00
Tomas Hajny
942360289f
* added short name for fcl-pdf
...
git-svn-id: trunk@33917 -
2016-06-05 14:37:26 +00:00
florian
dfe41db13f
* call GetNextInstruction only once when carrying out mov optimizations
...
git-svn-id: trunk@33916 -
2016-06-05 12:40:41 +00:00
michael
022e099e41
* Corrected implementation of ServiceRunning and WaitForServicecompletion
...
git-svn-id: trunk@33913 -
2016-06-05 08:40:50 +00:00
michael
ef7c327c7a
* Revert rev r33905, started from too old version
...
git-svn-id: trunk@33912 -
2016-06-05 08:27:55 +00:00
michael
d37dfecbd5
* Fix unit name
...
git-svn-id: trunk@33911 -
2016-06-05 08:25:16 +00:00
Károly Balogh
2eeb078f3e
m68k: removed obsolete and wrong comment. the '881 extended type is actually 12 bytes during load/store, not 10, which means longword alignment is fine. no functional changes.
...
git-svn-id: trunk@33910 -
2016-06-05 07:11:23 +00:00
florian
d05222990e
* while updating used register sets, all labels can/must be skipped
...
git-svn-id: trunk@33909 -
2016-06-04 19:45:12 +00:00
florian
ba54f7243e
* moved all i386 mov peephole optimization code into OptPass1MOV
...
git-svn-id: trunk@33908 -
2016-06-04 19:34:18 +00:00
florian
49f63d67b2
* correctly check left.location instead of left.expectloc when generating
...
code for not nodes, resolves #30208
git-svn-id: trunk@33906 -
2016-06-04 15:54:17 +00:00
michael
c026dab430
* Added ServiceRunning and WaitForServiceCompletion functions
...
git-svn-id: trunk@33905 -
2016-06-04 15:48:39 +00:00
svenbarth
7523e97d83
Fix compilation of JVM platform after recent changes to Delete() and Insert()
...
git-svn-id: trunk@33904 -
2016-06-04 10:42:09 +00:00
svenbarth
fd66d70449
innr.inc:
...
+ add constants for the Delete and Insert intrinsics
compproc.inc:
* use the new constants instead of magic values to denote the relationship of the compilerprocs to the intrinsics
git-svn-id: trunk@33901 -
2016-06-04 08:58:38 +00:00
svenbarth
17bb29ddc3
Check for tf_winlikewidestring in the target's flags instead of relying on the target being a Windows system when determining whether the system as the WideString type that's separate from UnicodeString
...
git-svn-id: trunk@33900 -
2016-06-04 08:45:22 +00:00
Tomas Hajny
293d9be6b6
* fix compilation after UnicodeString ExecuteProcess related changes
...
git-svn-id: trunk@33899 -
2016-06-03 23:57:51 +00:00
Tomas Hajny
3732ad18d1
* package libmicrohttpd is not compatible to anything but MS Windows and Unix platforms in its current state - disabled for OS/2 and Symbian
...
git-svn-id: trunk@33898 -
2016-06-03 23:28:38 +00:00
svenbarth
aaff6d0b97
Allow Delete() and Insert() to be used with generic types as arguments.
...
+ added test
git-svn-id: trunk@33897 -
2016-06-03 21:45:23 +00:00
svenbarth
9fb2a8bba9
+ added simple test to check whether Delete() and Insert() still work correctly (though a mistake there would probably have broken the cycling totally anyway...)
...
git-svn-id: trunk@33896 -
2016-06-03 21:38:29 +00:00
svenbarth
a2c9c75e97
Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures.
...
Since overloading compilerprocs does not work each procedure got its own unique name, but they are using the new compilerproc extension to map them to the Insert and Delete symbol so that error messages can be shown with the respective name for the procedure declarations instead of fpc_shortstr_delete for example.
git-svn-id: trunk@33895 -
2016-06-03 21:25:49 +00:00
Tomas Hajny
c1afb4b63b
* avoid FindFirst failing due to Attribute parameter bigger than $FF
...
git-svn-id: trunk@33894 -
2016-06-03 21:16:35 +00:00
svenbarth
046614948c
+ new utility routine to print all parameter declarations for a specified system routine
...
git-svn-id: trunk@33893 -
2016-06-03 21:11:13 +00:00
svenbarth
b4354aff5e
tprocdef.customprocname:
...
* if we have a compilerproc with a syssym then use the syssym's name when generating the name
git-svn-id: trunk@33892 -
2016-06-03 20:55:48 +00:00
svenbarth
8ec2d5478c
Regenerated after r33890
...
git-svn-id: trunk@33891 -
2016-06-03 20:53:58 +00:00
svenbarth
88108bc4df
Extend "compilerproc" with the optional ability to specify an index (same syntax as for "internproc") which allows to map the routine to a syssym.
...
git-svn-id: trunk@33890 -
2016-06-03 20:53:33 +00:00
svenbarth
2ed7a6de68
New class function tsymsym.find_by_number() to find a tsymsym instance based on it's number. The list containing the mapping from the indices to the symbols is created and freed using the init/done registration mechanism.
...
git-svn-id: trunk@33889 -
2016-06-03 20:49:06 +00:00
svenbarth
15ff68e144
Fix formatting of the output of unit import symbols.
...
git-svn-id: trunk@33888 -
2016-06-03 16:09:07 +00:00
svenbarth
b073d2dac5
Fix a bug in ppudump that seems to be there since revision 1.
...
compiler/utils/pputils/ppudump.pp, readsymbols:
* ibstartsyms only contains one longint, namely the count of the symbols, not two
git-svn-id: trunk@33887 -
2016-06-03 16:07:54 +00:00
svenbarth
99189db897
hlcgobj.pas, thlcgobj:
...
* g_call_system_proc: if we directly call a symbol of the system unit from another unit then it must be considered as imported as well
git-svn-id: trunk@33886 -
2016-06-03 14:50:42 +00:00
svenbarth
6c3dd6b601
Another system, another regression... (this time tests/test/tgenfunc15.pp on i386-win32)
...
pgenutil.pas:
* generate_specialization_phase2 & generate_specialization_procs: don't add pending specializations if we're currently parsing a generic
git-svn-id: trunk@33885 -
2016-06-03 12:36:27 +00:00
svenbarth
8c96fbed8f
Fix for Mantis #28832
...
ninl.pas, tinlinenode:
* pass_typecheck: let code pass on to simplify() for undefineddefs in Low() and High()
* simplify: create a constant 0 as fallback
+ added test
git-svn-id: trunk@33884 -
2016-06-03 12:14:30 +00:00
marco
869d24f7d1
* spelling mistakes fpc repo part, mantis #30233
...
git-svn-id: trunk@33882 -
2016-06-02 20:01:09 +00:00
svenbarth
af26a31251
psub.pas, read_proc_body:
...
* reset _FAIL directly after parsing the routine
git-svn-id: trunk@33881 -
2016-06-02 19:31:47 +00:00
svenbarth
dc5d9c7001
rtl/objpas/classes/classes.inc, TThread:
...
* Synchronize: fill the syncentry using the correct size
git-svn-id: trunk@33879 -
2016-06-02 18:48:41 +00:00
florian
20807f4148
* factored out V<Op> optimizations into OptPass1VOP
...
* call OptPass1VOP also for i386
git-svn-id: trunk@33878 -
2016-06-01 20:49:35 +00:00
florian
180e0e7561
* avoid spilling of 2nd and 3rd operand of avx instructions
...
git-svn-id: trunk@33877 -
2016-06-01 20:48:08 +00:00
svenbarth
04adcf2a12
Fix for Mantis #30179 and #30203 .
...
pexpr.pas:
* handle_factor_typenode: rework code for records and objects so that Delphi style specializations are handled as well
* sub_expr.generate_inline_specialization: also do a typecheck pass on pload to be sure that we have a resultdef
+ added tests
git-svn-id: trunk@33876 -
2016-06-01 20:06:40 +00:00
svenbarth
c3c345d569
Fix for Mantis #30202 .
...
pexpr.pas, sub_expr.generate_inline_specialization:
* do_member_read() needs to happen independently of whether we're calling a method of the same object (was incorrectly copypasted code... :/ )
+ added test
git-svn-id: trunk@33875 -
2016-06-01 20:03:59 +00:00
florian
a7516dfb50
* fix modification information of VCOMISS and VCOMISD
...
git-svn-id: trunk@33874 -
2016-06-01 19:58:43 +00:00
svenbarth
fd98ec56e9
Fix (hopefully last) regression introduced due to the reworking specialization of routine bodies.
...
pgenutil.pas:
* process_abstractrecorddef & generate_specialization_procs: also check for a forward def is the other module is still compiling (thus an access to tprocdef.forwarddef should still be possible); this might happen due to circular references like in tests/test/tgeneric91.pp
git-svn-id: trunk@33872 -
2016-06-01 19:03:54 +00:00
Károly Balogh
77318be022
m68k: fix build errors with some assemblers on modulo calculation on 020+
...
git-svn-id: trunk@33867 -
2016-06-01 10:50:22 +00:00
florian
04a68d9b94
* fix compilation with -Oodfa
...
git-svn-id: trunk@33865 -
2016-05-31 21:14:53 +00:00
svenbarth
d5cc59c22e
Avoid the creation of a TExternalThread instance for Synchronize() and Queue() (Delphi does the same).
...
Note: the Sender parameter of WakeMainThread will be Nil for such threads. This is Delphi compatible.
rtl/objpas/classes/classesh.inc, TThread:
+ TThreadQueueEntry: new field ThreadID so that entries with Thread = Nil can be removed
rtl/objpas/classes/classes.inc, TThread:
* InitSynchronizeEvent: setup ThreadID field
* Synchronize: use a local TThreadQueueEntry if no TThread instance was passed in
* Queue: setup ThreadID
* RemoveQueueEvents: also check for ThreadID when trying to find the current thread
git-svn-id: trunk@33863 -
2016-05-31 20:01:52 +00:00
Károly Balogh
a561ffe836
m68k: fixed initial offset adjustment for the unaligned store
...
git-svn-id: trunk@33860 -
2016-05-31 00:47:57 +00:00
yury
c392c6eb2b
* pas2jni: Explicitly release JNI local refs while executing method pointers.
...
git-svn-id: trunk@33859 -
2016-05-30 17:14:55 +00:00
Károly Balogh
4fba4cab15
added m68k vasm to the list of assemblers
...
git-svn-id: trunk@33855 -
2016-05-29 21:29:56 +00:00
Károly Balogh
b4fd85f19c
m68k: unaligned handling for math and typeconv nodes
...
git-svn-id: trunk@33854 -
2016-05-29 18:48:24 +00:00
Károly Balogh
2d6736e40e
m68k: fixed unaligned stores' predecrement addressing. also removed an unnecessary sign-extension of the tmpreg for 16bit stores
...
git-svn-id: trunk@33853 -
2016-05-29 18:25:33 +00:00
Károly Balogh
a8ad51e96f
m68k: unaligned access support in add nodes
...
git-svn-id: trunk@33852 -
2016-05-29 18:12:36 +00:00
marcus
c4a0c08c8d
AmigaOS4: OS4 needs socketbase and interface as threadvars (like all other Amiga-systems)
...
git-svn-id: trunk@33848 -
2016-05-29 15:55:45 +00:00
Károly Balogh
a756609a27
m68k: added a simple VASM writer frontend for the GNU AS writer (as VASM has a compatiblity mode)
...
git-svn-id: trunk@33847 -
2016-05-29 15:52:43 +00:00