Commit Graph

4038 Commits

Author SHA1 Message Date
Jonas Maebe
3ca3276400 * changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another
change is that it is now also allowed to specify an external name for
    formal external class definitions, but if they are later mixed with
    regular class definitions the external names have to match.
   o because the "external" status of methods is now set while parsing the
     class rather than afterwards, some procdir compatibility checks had to
     be inlined because they only have to be performed for 
  * also adapted the syntax for external cppclasses in the same way
  * fixed return type of NSObject.retainCount and NSObject.hash
    (NSUInteger instead of cint)
  * moved "patches" directory from cocoaint/src to cocoaint/utils/cocoa-skel
    so they are used by the conversion script when re-parsing the headers
  * updated Objective-C header parser script to
   o use the new external class syntax
   o not write inheritance information for root classes (NSObject, NSProxy)
   o use internal translation tables for some conflicting method names that
    are named specially in objcbase.pp
   and updated parsed headers
  * fixed rtl/inc/objcbase.pp and tests to conform to the new external class
    syntax

git-svn-id: trunk@16684 -
2011-01-02 14:50:46 +00:00
marco
dbb2a44286 * tconnectevent added to comobj
git-svn-id: trunk@16673 -
2010-12-31 15:50:19 +00:00
Jonas Maebe
482a244f30 * version 2.13 of the parser, by Ryan Joseph: mainly restructuring and
cleanup

git-svn-id: trunk@16666 -
2010-12-30 23:28:02 +00:00
marco
b25f51e2e1 * stdcall added to ipropertysetstorage, mantis 18315
git-svn-id: trunk@16643 -
2010-12-26 16:52:10 +00:00
marco
6f1f310ee9 * fix | separator char. Bug 6262D
git-svn-id: trunk@16606 -
2010-12-21 19:30:12 +00:00
marco
cd4425aa58 * patch from Lacak2, use dbconst for errormessage, mantis #0018161
git-svn-id: trunk@16602 -
2010-12-20 15:51:39 +00:00
marco
cf49795f9e * fix for mantis 15820, override getnamepath as suggested by Paul.
git-svn-id: trunk@16592 -
2010-12-19 13:22:46 +00:00
marco
fce3a5ca30 * patch from Darius that makes lower verbosity output more FPC language independant using -vq. Mantis #18051
git-svn-id: trunk@16591 -
2010-12-19 13:17:27 +00:00
marco
c3ed1c41a1 * fix from mantis 17360, ISC_Status is 64-bit. (Lp64 vs LLp64 problem)
git-svn-id: trunk@16586 -
2010-12-18 13:36:36 +00:00
marco
d900dcb78f * patch from Andrew adding \uxxxx escapes and superscript, mantis 18245
git-svn-id: trunk@16580 -
2010-12-17 17:54:19 +00:00
michael
f3f04b3420 * Published all properties in template
git-svn-id: trunk@16578 -
2010-12-17 13:41:10 +00:00
michael
c7fe965f2c Fix for 18239
git-svn-id: trunk@16577 -
2010-12-17 11:15:13 +00:00
marco
b09ce75896 * enabled gdbint for win64 to ease ide testing.
git-svn-id: trunk@16564 -
2010-12-14 21:47:49 +00:00
Jonas Maebe
5691228fb9 * moved daemon example from fcl-base to fcl-extra, because daemonapp is
also in fcl-extra + added to makefile (mantis #18198)

git-svn-id: trunk@16563 -
2010-12-14 15:29:23 +00:00
marco
aa93519b5a * fix for bug #18196, moving teventype broke examples.
git-svn-id: trunk@16559 -
2010-12-12 22:11:08 +00:00
Jonas Maebe
29265ed672 * also compile freeglutdemo (mantis #18108)
git-svn-id: trunk@16556 -
2010-12-11 22:19:59 +00:00
michael
2f5f98d7e5 * Patch from Darius Blaszijk to make some methods protected, virtual
git-svn-id: trunk@16551 -
2010-12-11 14:03:57 +00:00
joost
6182f885f8 * Fixed detection of regular strings, so that a normal search is performed
* Strings with a braces, parentheses and pipe-symbols are always handled as regex-patterns

git-svn-id: trunk@16537 -
2010-12-10 15:40:33 +00:00
joost
af2ef60a29 * Avoid possible AV when the string-index is larger then the string-length
git-svn-id: trunk@16536 -
2010-12-10 15:32:34 +00:00
Jonas Maebe
deece746a3 + support for the freeglut extensions (patch by Michalis Kamburelis,
mantis #18108)

git-svn-id: trunk@16535 -
2010-12-10 15:29:19 +00:00
joost
e6e02a6176 * Refactored, replaced case for if, nested if for and, removed needless
comparision
 * Removed a Fillchar to clear the statetable, I don't see it's use

git-svn-id: trunk@16534 -
2010-12-10 15:27:32 +00:00
Jonas Maebe
9410f7d5d3 - obsolete, removed (handled by regular script)
git-svn-id: trunk@16532 -
2010-12-10 10:13:55 +00:00
Jonas Maebe
a880603816 * updated version of the conversion script, used to generate the previously
committed cocoa unit conversions, and which can also be used to translate
    the iOS SDK 3.2 headers
  + scripts (make-cocoa-headers.sh, make-ios-headers.sh) to (re)build the
    Cocoa/iOS headers, along with skeleton directories that contain the
    necessary helper files and a few required patches
  + frameworks.xml used by the conversion script
  * updated build instructions

git-svn-id: trunk@16522 -
2010-12-08 21:12:27 +00:00
Jonas Maebe
c132727caf * updated to Mac OS X 10.6 SDK
* generated with version 2.1.2 of the conversion script, with many
    improvements (script and instructions to regenerate headers will
    be committed separately)
   o QuartzCore framework translation
   o categories are no longer merged into classes, but separate
   o corrected several C->Pascal type definitions
   o handle pointer types for parameters, return types and property types 
   o handle struct/class fields that are arrays or pointers
   o handle pointers to id
   o handle external functions that return "void *" (they were parsed as
     procedures)
   o handle anonymous classes (@class NSAnonType, such as CIImage) using
     the "NSAnonType = objcclass; external;" syntax
   o corrected handling of opaque structs
   o fixed parsing of function pointer types
   o instance-bitfields that do not appear in a struct are now recognised
   o bitpacked structs are now translated into bitpacked records (but only
     if they only contain bitpacked fields)
   o C macros indicating deprecation are now translated into "deprecated"
     modifiers for methods/variables/functions/properties
   o no longer ignore deprecated categories, because some categories are
     deprecated in Mac OS X 10.5/10.6, and we want to support writing code
     for older systems too
   o several fixes to property and enum parsing

git-svn-id: trunk@16521 -
2010-12-08 11:27:05 +00:00
Jonas Maebe
43e57f3911 r332 | jonas | 2010-12-08 11:18:24 +0100 (Wed, 08 Dec 2010) | 3 lines
* enable parts of Security framwork for iOS because newer iOS SDK versions
    depend on them

git-svn-id: trunk@16520 -
2010-12-08 10:19:08 +00:00
ivost
0876df07f0 * changed output only parameters from var to out
git-svn-id: trunk@16517 -
2010-12-07 21:23:03 +00:00
marco
1c0e482d7d * patch for regex. Fixes exception in rcclear, some casing issues and matching of \w. Also a fix for currentpos in the old version. Mantis 15466
git-svn-id: trunk@16506 -
2010-12-05 11:10:06 +00:00
marco
b1f1c026f8 * enabled cnetdb for Linux, added a demo
git-svn-id: trunk@16503 -
2010-12-04 17:18:05 +00:00
marco
a1ebbdcee1 * compiles again ( .logger.info references changes to application.log())
git-svn-id: trunk@16501 -
2010-12-03 22:18:05 +00:00
michael
413dcde4aa * Made used SQLLite library name configurable
git-svn-id: trunk@16500 -
2010-12-03 08:59:20 +00:00
michael
627bc7f73b * Forgot to commit constants used in sqldb logging
git-svn-id: trunk@16499 -
2010-12-03 08:37:03 +00:00
michael
0ca7ca5517 * Logging facilities implemented
git-svn-id: trunk@16498 -
2010-12-02 17:35:42 +00:00
florian
07e3232fef o patch for OpenCL package by Denis Golovan, resolves #18119
+ A constant for querying OpenCL version is added.
  + A small function for converting errors code into error texts is added.

git-svn-id: trunk@16495 -
2010-12-02 17:15:21 +00:00
joost
191e83cb7e * Patch from Darius Blaszijk to support version numbers with less then three digits, bug #17833
git-svn-id: trunk@16484 -
2010-11-30 13:51:01 +00:00
Jonas Maebe
4ed666afab * reverted r8795 that saved/set/restored the fpu exception mask before
every glut call, since the gl unit (on which the glut unit depends)
    already globally disables all fpu exceptions now (mantis #18107)

git-svn-id: trunk@16483 -
2010-11-30 12:28:03 +00:00
Jonas Maebe
01a7da9817 * renamed constant "a" to GL_DEPTH24_STENCIL8_EXT (accidentally changed
after applying patch from #18054, belongs with r16442)

git-svn-id: trunk@16479 -
2010-11-29 22:34:24 +00:00
michael
066a9330fb * Added patch from Darius Blaszijk to be less verbose by default
git-svn-id: trunk@16469 -
2010-11-28 20:19:02 +00:00
michael
6954c0a598 * Added WaitFor to fix 18044
git-svn-id: trunk@16468 -
2010-11-28 20:15:22 +00:00
michael
df8413a422 * Applied patch from Darius Blaszijk to implement fpdoc building
git-svn-id: trunk@16467 -
2010-11-28 19:39:05 +00:00
pierre
cf9a7cda1c * First try to support 64-bit cpu's
git-svn-id: trunk@16466 -
2010-11-28 19:35:43 +00:00
joost
b5e590e732 * Added ability to override which files should be stored in the archive of a package
git-svn-id: trunk@16464 -
2010-11-28 17:12:34 +00:00
joost
141dc50adc * Fixed mem-leak
* Added BuildEngine.CmdRenameFile
 * Added TPackage.IsFPMakeAddIn, when this flag is set, the package can be 
   needed when compiling fpmake.pp files. 
 * Added ability to override TCustomInstaller.Packages
 * GetInstallFiles and GetInstallSourceFiles are virtual now

git-svn-id: trunk@16461 -
2010-11-28 12:26:06 +00:00
pierre
110e3a6988 * improve script
git-svn-id: trunk@16453 -
2010-11-26 23:35:34 +00:00
pierre
e5e5cfdc2a * Try to fix VideoMode change problem
git-svn-id: trunk@16452 -
2010-11-26 23:34:14 +00:00
michael
10f25d6605 * Added flush to TBase64Encoder
git-svn-id: trunk@16450 -
2010-11-26 16:19:26 +00:00
Jonas Maebe
eec6d74ac0 * fixed alphablending for drawing freetype fonts on transparent backgrounds
(patch by Darius Blaszijk, mantis #17736)

git-svn-id: trunk@16446 -
2010-11-26 13:21:18 +00:00
michael
74098a8f7d * Fix for bug #18044
git-svn-id: trunk@16445 -
2010-11-26 13:02:55 +00:00
michael
43b6b58ea3 * Fix by Graeme Geldenhuys: map blob subtype 1 to ftMemo
git-svn-id: trunk@16444 -
2010-11-26 12:48:00 +00:00
michael
a8e4234aca * Patch from Graeme Geldenhuys to check for XMLDocument before typecasting it
git-svn-id: trunk@16443 -
2010-11-26 12:44:23 +00:00
Jonas Maebe
3650944d9e + EXT_packed_depth_stencil support (patch by Michalis Kamburelis, mantis
#18054)

git-svn-id: trunk@16442 -
2010-11-26 10:57:48 +00:00