florian
a58e07df38
* optimize <expr> and/or <expr> if they are equal and boolean
...
git-svn-id: trunk@14714 -
2010-01-17 14:39:58 +00:00
florian
cf5c42b596
* give a better error message and do better error recovery if too few typed constant array elements are provided
...
git-svn-id: trunk@14708 -
2010-01-17 13:04:17 +00:00
florian
e89f193bdd
* adapted instruction string length so all instructions fit
...
git-svn-id: trunk@14704 -
2010-01-17 12:30:02 +00:00
florian
5acf377e31
* enable node cse for all cpus as level 2 optimization
...
git-svn-id: trunk@14703 -
2010-01-17 12:28:28 +00:00
florian
89bf2d0257
* cleaned up cse code
...
git-svn-id: trunk@14692 -
2010-01-17 10:10:41 +00:00
florian
49f9695cf5
* handle short boolean evaluation correctly when doing node cse
...
git-svn-id: trunk@14691 -
2010-01-17 10:08:37 +00:00
florian
3c7f726f98
* typeconvnodes are only equal if also their result type is equal
...
git-svn-id: trunk@14690 -
2010-01-17 10:07:44 +00:00
olivier
22a5e7ef0a
* Add convutils and stdconvs units.
...
git-svn-id: trunk@14689 -
2010-01-17 01:45:38 +00:00
olivier
3b326d1bd1
* Fixed some declarations for Haiku. Some are needed to compile Lazarus.
...
git-svn-id: trunk@14688 -
2010-01-17 01:10:24 +00:00
paul
fa729dd252
compiler: fix calling of dispinterface procedures (issue #0015528 )
...
git-svn-id: trunk@14683 -
2010-01-16 18:02:55 +00:00
paul
74cc1e0bab
compiler: allow 'as' for dispinterface, allow comparisons of dispinterface and pointers (issue #0015530 , issue #0015529 )
...
git-svn-id: trunk@14663 -
2010-01-16 11:37:25 +00:00
joost
c9eea4ff5e
* Recognition of the XHTTPRequestedWith http header for CGI and FCGI
...
git-svn-id: trunk@14651 -
2010-01-15 19:42:23 +00:00
paul
e9214c1826
compiler: improve comparison for property and getter. it was possible to declare a class property with regular method for the getter because of cpo_ignorehidden flag
...
git-svn-id: trunk@14650 -
2010-01-15 15:49:34 +00:00
sergei
a24b84c11b
* Fixed CDATA section splitting which got broken due to excessive optimization in r14194.
...
git-svn-id: trunk@14648 -
2010-01-14 21:38:22 +00:00
marco
61f8a71380
* ishellextinit
...
git-svn-id: trunk@14647 -
2010-01-14 20:44:59 +00:00
marco
689094646e
* image_file_machine constants
...
git-svn-id: trunk@14646 -
2010-01-14 20:28:58 +00:00
marco
266f5e850a
* Delphi compat overload releasestgmedium
...
git-svn-id: trunk@14645 -
2010-01-14 20:24:26 +00:00
sergei
5dee45a6a3
* A forgotten part of r13824: the condition in assertion must be the same as the condition of calling TNodePool.AddExtent.
...
git-svn-id: trunk@14644 -
2010-01-14 16:23:54 +00:00
pierre
a1baf343b9
* Add convutils ans stdconvs units
...
git-svn-id: trunk@14643 -
2010-01-14 16:18:58 +00:00
Jonas Maebe
3cc11800e9
* guarantee at least one sleep operation in every thread
...
* write error code to output
git-svn-id: trunk@14641 -
2010-01-14 15:25:01 +00:00
paul
9513b50d26
compiler: don't allow to publish class properties + test
...
git-svn-id: trunk@14640 -
2010-01-14 15:21:13 +00:00
paul
09fd52791a
tests: add fail test for class properties
...
git-svn-id: trunk@14639 -
2010-01-14 15:04:45 +00:00
paul
56259a084c
compiler: restore occasionally removed check for sp_internal local symbols
...
git-svn-id: trunk@14633 -
2010-01-14 08:41:27 +00:00
paul
587e6142ad
compiler: write proper note about unused private class symbol (const,type,property,method instead of method only) with full class prefix. complain also about strict private members.
...
git-svn-id: trunk@14632 -
2010-01-14 04:08:46 +00:00
paul
77a2c316dd
compiler: use sp_internal instead of vo_is_internal for internal symbols used for static fields, remove vo_is_internal
...
git-svn-id: trunk@14631 -
2010-01-14 03:50:01 +00:00
Jonas Maebe
2c5ed92a4b
* fixed search path for httpd units in fpc.cft & fpccfg.inc
...
(mantis #15501 )
- removed "include path search paths" from default configs, since they
don't make sense anymore nowadays
git-svn-id: trunk@14630 -
2010-01-12 20:25:28 +00:00
Jonas Maebe
08a4ede9c4
* added str(enum,charray) and export str(enum,ansistr/widestr/unicodestr)
...
(mantis #15504 )
* fixed result parameter of str(enum,ansistr) helper (was shortstring)
git-svn-id: trunk@14629 -
2010-01-12 20:19:52 +00:00
Jonas Maebe
28cd8271c9
* initial version of internal Mach-O/i386 assembler by Dmitry Boyarintsev
...
(mantis #15163 )
git-svn-id: trunk@14628 -
2010-01-12 19:52:55 +00:00
pierre
134331f129
* more updates for test history
...
git-svn-id: trunk@14627 -
2010-01-12 17:32:39 +00:00
marco
aad151b506
* endianfixes .mo reader.
...
git-svn-id: trunk@14626 -
2010-01-12 14:05:51 +00:00
Jonas Maebe
b6a23de91e
* opencl depends on opengl
...
git-svn-id: trunk@14625 -
2010-01-12 11:00:23 +00:00
Jonas Maebe
d4864854cc
* extra typecasts to more easily catch errors with -CR if some defs are
...
not properly re-resolved (no change in generated code without -CR)
git-svn-id: trunk@14619 -
2010-01-11 20:17:26 +00:00
marco
0b7e3d14e4
* cleanup of redir. I hope this solves win32 lfn problems, while preserving execinheritshandles functionality.
...
* removed TP/1.0
* switched windows to sysutils.executeprocess using new execinheritshandles
* new execinherits executeprocess implementation local for 2.4.0 (and 2.4.1, though that is no longer necessary after merge)
git-svn-id: trunk@14618 -
2010-01-11 19:45:24 +00:00
paul
6b087799ef
compiler: nested class types:
...
- fix is_visible_for_object to work correctly if symbol is in the objectsymtable but no current_objectdef present
- fix ClassName for nested classes
+ test
git-svn-id: trunk@14617 -
2010-01-11 19:44:02 +00:00
paul
55702ed4c0
compiler: fix nested class types
...
git-svn-id: trunk@14616 -
2010-01-11 19:32:16 +00:00
paul
6e51a4d4a9
compiler: fix nested class types and consts usage outside class declaration
...
git-svn-id: trunk@14615 -
2010-01-11 18:35:08 +00:00
pierre
c39c87096a
* more updates
...
git-svn-id: trunk@14614 -
2010-01-11 15:01:10 +00:00
paul
86d8b09077
fixed test
...
git-svn-id: trunk@14613 -
2010-01-11 11:39:25 +00:00
paul
4afb3ca971
compiler: fix internal class symbol search for function result + test
...
git-svn-id: trunk@14612 -
2010-01-11 11:09:12 +00:00
paul
67ce65eb35
tests: more tests for classes
...
git-svn-id: trunk@14611 -
2010-01-11 10:07:14 +00:00
paul
fd6e2cc86e
compiler: fix internal class symbol search for method arguments
...
git-svn-id: trunk@14610 -
2010-01-11 09:55:53 +00:00
paul
166f8a63a2
compiler: implement class constants + tests
...
git-svn-id: trunk@14609 -
2010-01-11 08:43:10 +00:00
paul
c9987c296e
compiler: don't show notes for symbols which are created by static class fields, update ppudump and ppu version
...
git-svn-id: trunk@14608 -
2010-01-11 06:38:40 +00:00
paul
91ed1c6e6f
compiler: types in classes:
...
- fix type visibility (was always public)
- fix parsing of class sections after the type declaration
- allow nested classes declarations
+ tests
git-svn-id: trunk@14607 -
2010-01-11 06:22:57 +00:00
paul
8de3b267a9
compiler: fix message regards VAR and TYPE sections in objects
...
git-svn-id: trunk@14606 -
2010-01-11 02:39:10 +00:00
paul
cb54b3e7a9
compiler: allow class to have local type sections + tests
...
git-svn-id: trunk@14605 -
2010-01-11 02:35:10 +00:00
florian
39ec69f690
* contiued to fix node cse, the insertation location for the temp. assignment is still not always correct though
...
git-svn-id: trunk@14604 -
2010-01-10 22:19:27 +00:00
Jonas Maebe
a1bcc1c8d2
* turn openstring value parameters into regular shortstring parameters
...
(mantis #14940 and #14941 )
* only turn var/our shortstring parameters with a length of 255 into
openstring parameters with {$p+} (new tbf/tb0217.pp)
git-svn-id: trunk@14602 -
2010-01-10 15:36:23 +00:00
marco
d6b2b55d41
* inversed the ttime/ptime declaration to be sure, see mantis 15483.
...
git-svn-id: trunk@14601 -
2010-01-10 15:23:12 +00:00
marco
75f425f34a
* fixed some minor aliases in header. From nldelphi.
...
git-svn-id: trunk@14600 -
2010-01-10 15:15:17 +00:00