Commit Graph

123 Commits

Author SHA1 Message Date
ivost
0438667eed * fixed bug #5800
* const s: string = icorbainterface; is possible now
* as operator is working now with corba interfaces
* supports helper function is working now with corba interfaces

git-svn-id: trunk@12729 -
2009-02-09 00:35:09 +00:00
ivost
0f519439b5 * reverted r12690 and r12691
* but extended ptconst so that a com interface maybe assigned to a TGuid const

git-svn-id: trunk@12692 -
2009-02-06 02:56:13 +00:00
ivost
7f2c77a407 * temporarly disabled GetInterface(iidstr: .... to keep fpc compiling
git-svn-id: trunk@12691 -
2009-02-06 01:37:52 +00:00
yury
15d0521f39 * Inlining is not supported for formal parameters. Disable inlining to prevent warning.
git-svn-id: trunk@11579 -
2008-08-14 14:56:28 +00:00
florian
1fa70f7a0a * proper support for tobject.getinterface with raw/corba interfaces, resolves #6798 and #6036
git-svn-id: trunk@11497 -
2008-08-01 15:27:58 +00:00
florian
d79851dc1b * patch by Sergei Gorelkin to improve class creation speed and make objpas.inc more readable
git-svn-id: trunk@11036 -
2008-05-22 11:49:40 +00:00
tom_at_work
94ead30261 * fix padding on 64 bit big endian CPUs in TInterfaceEntry: wrong offset of a member caused memory corruption and then access violations during object creation. Fixes timplements* tests.
git-svn-id: trunk@11031 -
2008-05-21 21:29:58 +00:00
micha
83b7f81f81 + add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone)
git-svn-id: trunk@10422 -
2008-03-02 12:59:02 +00:00
florian
c46b44b797 resolves #10509
* fixed SetInterfaceProp
+ PInterface
* extended trtti1

git-svn-id: trunk@10334 -
2008-02-15 20:54:10 +00:00
marco
5e95516323 * ancestor of TContainedObject fixed
git-svn-id: trunk@9651 -
2008-01-06 15:16:56 +00:00
marco
eb2a80d272 * TContainedObject 10496. First implementation copied from TInterfacedObject
git-svn-id: trunk@9569 -
2007-12-29 15:30:57 +00:00
Jonas Maebe
5cffd5d22b * marked TObject.InitInstance as inline
git-svn-id: trunk@8400 -
2007-09-08 09:19:13 +00:00
daniel
6491a6e914 * Make vtype signed again to prevent unnecessary 64 bit promotions.
Should be okay as it isn't a pointer.

git-svn-id: trunk@7893 -
2007-07-01 10:25:10 +00:00
daniel
ea47fcfc97 * ptrint -> ptruint
git-svn-id: trunk@7892 -
2007-07-01 10:14:19 +00:00
Jonas Maebe
b52c4f821a * make sure the size of tinterfaceentry is correct, regardless of
the maxrecordalign setting of the target

git-svn-id: trunk@6591 -
2007-02-21 19:26:09 +00:00
ivost
c0e9be49b8 * fixed bug related to IMPLEMENTS keyword. The interface type was stored inside the interface defintion what was wrong! now it's set per TImplementedInterface$
* merged IOffset and EntryOffset of TInterfaceEntry. The meaning of IOffset depends now on IType
    * to optimize: IOffset and FieldOffset of TImplementedInterface can be merged also! fpc still generate an interfacetable entry even for interfaces that aren't implemented in the current class (redirected by IMPLEMENTS keyword)

git-svn-id: trunk@6206 -
2007-01-26 20:58:46 +00:00
florian
49796e5151 + TAggregatedObject, fixes #8149
git-svn-id: trunk@6089 -
2007-01-20 20:28:29 +00:00
florian
21955282d0 + infrastructure for DispInterface call dispatching
git-svn-id: trunk@5793 -
2007-01-02 23:06:17 +00:00
ivost
0a63d12099 * added RFC4122 fields to TGuid (those are used by uuid.pas, an implementation of RFC4122 functions)
git-svn-id: trunk@5609 -
2006-12-16 11:32:35 +00:00
chrivers
fca5f6fc5e Added EntryOffset field for _IMPLEMENTS
git-svn-id: trunk@4361 -
2006-08-06 01:02:32 +00:00
chrivers
3e1c0cc8a5 Added type TInterfaceEntryType, EntryType field in TInterfaceEntry. Used in "implements"-implementation
git-svn-id: trunk@4354 -
2006-08-05 20:08:19 +00:00
florian
5a29c69982 * fixed previously broken IDispatch declaration
git-svn-id: trunk@3385 -
2006-04-30 15:38:10 +00:00
florian
c4aed2c424 * result type of IDipatch methods is HResult
git-svn-id: trunk@3384 -
2006-04-30 14:49:34 +00:00
tom_at_work
f86ee115d8 * more fixes for 64 bit compilation after Peter's changes
* updated and added a warning notice about changing structures in this file to objpash.inc

git-svn-id: trunk@2547 -
2006-02-12 20:33:33 +00:00
peter
d7692a588e * fix alignments in vmt, remove all explicit 16 and 32 bit values
git-svn-id: trunk@2521 -
2006-02-11 20:46:28 +00:00
peter
767291ca5f * refactor reading and setting of parent classes
git-svn-id: trunk@1992 -
2005-12-19 12:24:45 +00:00
tom_at_work
b2e1cf2610 * powerpc64 port now (manually) cycles, most test programs in tests/test are fine too
* fixed bug in ncal.pas which in some circumstances treated the hidden length parameter for open arrays as 32 bit integer

git-svn-id: trunk@1303 -
2005-10-05 21:55:25 +00:00
florian
0b3094fdde * from Thomas Schatzl: changed result type of InstanceSize to PtrInt
* simplified some code
* small methods of tobject are now inlined

git-svn-id: trunk@1170 -
2005-09-24 08:35:43 +00:00
michael
a775d3d487 + Removed HASCURRENCY VALUEGETMEM VALUEFREEMEM defines
git-svn-id: trunk@293 -
2005-06-09 17:33:22 +00:00
michael
21425e303c + Removed HASVARIANT define
git-svn-id: trunk@244 -
2005-06-07 20:48:31 +00:00
michael
23ad0ae1ec + Removed HASINTF and VER1_0 defines
git-svn-id: trunk@239 -
2005-06-07 20:30:03 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
florian
da85b90f65 + tmethod 2005-02-01 19:32:14 +00:00
peter
7cf6eff07f * interface additions 2005-01-31 19:41:39 +00:00
peter
a68b710efd * retrieve backtrace when exception is raised
* RaiseMaxFrameCount added to limit the number of backtraces, setting
    it to 0 disables backtraces. Default is 16
2005-01-26 17:07:10 +00:00
peter
b80e1cfcdb * vtype changed to ptrint 2004-04-28 19:52:41 +00:00
peter
f66ecd70cd * class size changed to aint 2004-04-26 21:06:00 +00:00
florian
6bf70cec85 * fixed vmt issues on 64 bit systems 2004-04-25 16:32:31 +00:00
florian
badb5717e1 * widechars in tvarrec fixed for big endian machines as well 2003-12-06 00:02:34 +00:00
Jonas Maebe
8b4adf2a8e * changed tvarrec so chars and booleans work on big endian machines 2003-12-05 23:54:04 +00:00
florian
cd88850377 * fixed some arm stuff 2003-11-30 19:48:20 +00:00
marco
b15ba0a5ae * Peter's Cardinal<->Longint fixes patch 2003-11-03 09:42:27 +00:00
florian
91cd02e04e + applied patch for ref. counted exceptions by Johannes Berg 2003-10-06 15:59:20 +00:00
peter
c7786e73aa * ClassType changed to class method 2003-03-17 20:55:58 +00:00
florian
b7f8fc41d8 + tvarrec field vcurrency for compilers with hascurrency released 2002-09-26 14:43:24 +00:00
peter
01dfac4a4e * old logs removed and tabs fixed 2002-09-07 15:06:34 +00:00
florian
6476fbf2fe * fixed and added a lot of stuff to get the Jedi DX( headers
compiled
2001-08-19 21:02:01 +00:00
peter
d1d438367f * freeandnil added 2001-08-12 22:11:48 +00:00
peter
46b58ded78 * fixes for the stricter compiler 2001-04-13 23:49:48 +00:00
florian
f9e28f053f * TGUID definition from win32/wininc/struct.inc copied 2001-04-04 17:56:45 +00:00
florian
dadbc26bc8 * some types moved to systemh
+ some types like PDispatch added
2001-03-22 23:26:37 +00:00
florian
f79644d9ca + AfterConstruction and BeforeDestruction implemented
+ TInterfacedObject implemented
2000-11-07 23:42:21 +00:00
peter
94c1f86d79 * changed ver1_0 defines to temporary defs 2000-11-06 20:34:24 +00:00
florian
5c645814dc * fixed some out declarations 2000-11-04 17:31:50 +00:00
florian
747f3d9552 + interfaces support 2000-11-04 16:28:55 +00:00
sg
9048ff6354 * Added 'RaiseProc': A user-definable callback procedure which gets
called whenever an exception is being raised
2000-09-30 07:38:07 +00:00
michael
586c4cea50 + Conditionals fixed 2000-07-14 10:33:09 +00:00
michael
650fbb86aa + removed logs 2000-07-13 11:32:24 +00:00
michael
e7aca136a1 + Initial import 2000-07-13 06:29:38 +00:00
michael
bc8a454afd + Modifications for exception support in sysutils. Mainly added
RaiseList function.
2000-06-22 18:05:56 +00:00
florian
a319c0e73c * TVarRec with Int64/QWord stuff extended 2000-05-14 18:47:53 +00:00
peter
ebbf2e578f * backtraces for exceptions are now only generated from the place of the
exception
  * frame is also pushed for exceptions
  * raise statement enhanced with [,<frame>]
2000-04-24 11:11:50 +00:00
peter
6b66a55cd6 * truncated log 2000-02-09 16:59:28 +00:00
daniel
ec29a31834 * copyright 2000 2000-01-07 16:41:28 +00:00
daniel
a79b4a404b * copyright 2000 added 2000-01-07 16:32:21 +00:00
peter
9138338d04 * public added to TObject 1999-12-02 19:28:53 +00:00
peter
793b28882f * classes vmt changed to only positive addresses
* sharedlib creation is working
1999-08-09 22:19:46 +00:00
florian
e905aeea04 * most of the Object Pascal stuff moved to the system unit 1999-05-17 21:52:33 +00:00
florian
4a9ba91007 * complete Object Pascal support moved to objpas unit 1998-03-25 23:39:17 +00:00
root
d1a1f501c8 Initial revision 1998-03-25 11:18:12 +00:00