Commit Graph

31298 Commits

Author SHA1 Message Date
pierre
e7b25e55c0 * Fix position of fpcmade file for rtl
git-svn-id: trunk@14092 -
2009-11-07 01:01:31 +00:00
pierre
2b879fcb54 MaybeSkipTimeWrap function: Change NewDate var_type to var to suppress warnings
git-svn-id: trunk@14091 -
2009-11-07 00:30:32 +00:00
pierre
d12c36ee32 * add to missing CPUs
git-svn-id: trunk@14090 -
2009-11-07 00:23:04 +00:00
Jonas Maebe
f9eb89eb98 * updated r308 of common Mac OS X interfaces:
o all headers updated to Mac OS X 10.6
   o 64 bit support (commented out unsupported routines under 64 bit, fixed
     types)
   o iPhoneOS support to the extent that this is available in the standard
     Mac OS X 10.6 headers (these are not covered under the iPhone SDK
     derivative works limitation)
   o a few new frameworks translated: CoreType, CoreVideo, AudioUnits
   o a number of changes can cause compatibility problems with existing
     programs, listed below
  * many cases where signed parameters were turned into unsigned parameters
    and vice versa, too many to list (due to differences between the classic
    Pascal headers and the new C headers)
  * ATSFontFindFromContainer: ioArray var -> ptr because array
  * ATSFontGetFileSpecification: oFile FSSpec -> ATSFSSpec (was translation
    error?)
  * CFNetworkCopyProxiesForAutoConfigurationScript: got extra CFErrorRef para
  * CMGetDeviceFactoryProfiles: defaultProfID var -> ptr, because can be nil
  * CMIterateColorDevices: seed and count var -> ptr, because can be nil
  * CMIterateDeviceProfiles: seed and count var -> ptr, because can be nil
  * CMSetDeviceProfiles: profileScope and deviceProfiles const -> ptr, because 
    can be nil
  * ConvertFromUnicodeToScriptCodeRun: oScriptCodeRuns var -> ptr because
    array
  * ConvertFromUnicodeToTextRun: oEncodingRuns var -> ptr because array
  * CreateUnicodeToTextRunInfo: iUnicodeMappings var -> ptr because array
  * DCMCreateFieldInfoRecord: findMethods var -> ptr because array
  * DCMGetFieldFindMethods: findMethods var -> ptr because array
  * GetIconRefFromFileInfo: outlabel var -> ptr because can be nil
  * HIImageViewCreate: last parameter ControlRef -> HIViewRef
  * HIViewNewTrackingArea: outRef var -> ptr because can be nil in 10.5+
  * LAGetEnvironmentList: environmentList var -> ptr because array
  * LAListAvailableDictionaries: dictionaryList and opened var -> ptr because
    array
  * LSGetApplicationForURL: outAppRef and outAppURL var -> ptr because can be
    nil
  * LocaleOperationGetLocales: localeVariantList var -> ptr because can be nil
  * MPWaitOnQueue: param1-3 value -> var because "void **" in C
  * QTVRSetBackBufferImagingProc: areasOfInterest var -> ptr because array
  * QueryUnicodeMappings: oReturnedMappings var -> ptr because array
  * TECConvertTextToMultipleEncodings: outEncodingsBuffer var -> ptr because
    array
  * TECFlushMultipleEncodings: outEncodingsBuffer var -> ptr because array
  * TECSniffTextEncoding: numErrsArray and numFeaturesArray var -> ptr because
    array
  * FSCreateResFile: catalogInfo const -> ptr because can be nil

git-svn-id: trunk@14089 -
2009-11-06 22:57:07 +00:00
paul
aa357a5f3b compiler: fix error message positions for the for-in loop errors
git-svn-id: trunk@14088 -
2009-11-06 17:52:42 +00:00
paul
e511555d64 compiler: fix position information of the for-in loop (needs for correct debug info)
git-svn-id: trunk@14087 -
2009-11-06 17:42:55 +00:00
Jonas Maebe
f339276179 * fixed 64 bit compilation
git-svn-id: trunk@14086 -
2009-11-06 17:27:27 +00:00
pierre
b9a8592a11 * fix problem when svn is not found and add phony revision rule
git-svn-id: trunk@14085 -
2009-11-06 16:46:48 +00:00
pierre
fec158cfdf * Remove FORCE for revision.inc target, correct rule
git-svn-id: trunk@14084 -
2009-11-06 15:10:56 +00:00
pierre
a977607e49 + revision.inc rule added
git-svn-id: trunk@14083 -
2009-11-06 14:47:32 +00:00
marco
355b7cc306 * fix for 14986, unit dependancies.
git-svn-id: trunk@14082 -
2009-11-06 13:17:43 +00:00
marco
1c93e8ad9d * packrecords as per mantis 15009 + checking the packed records.
git-svn-id: trunk@14081 -
2009-11-06 11:58:45 +00:00
marco
59811e1012 * Findfirstex and findfirsttransacted as per #14924
git-svn-id: trunk@14080 -
2009-11-06 11:46:25 +00:00
pierre
3f28cfafe2 * Only update revision.inc if it is already present
git-svn-id: trunk@14079 -
2009-11-06 11:13:42 +00:00
marco
6ed7d33569 * patch from 15003 from M spiller, reverting now implemented.
git-svn-id: trunk@14078 -
2009-11-06 10:52:23 +00:00
pierre
2295a9f23b * add -dREVINC even when REVSTR is already set, needed for cycle
git-svn-id: trunk@14077 -
2009-11-06 10:34:24 +00:00
pierre
b6d0a93599 * Fix REVSTR for windows OS
git-svn-id: trunk@14076 -
2009-11-06 10:18:07 +00:00
pierre
9bd672b3e4 * Use SRCEXEEXT for svnversion as EXEEXT is for target and not defined in prerules
git-svn-id: trunk@14075 -
2009-11-06 09:35:16 +00:00
Jonas Maebe
e69c301385 * test is only for Darwin
git-svn-id: trunk@14074 -
2009-11-06 09:30:42 +00:00
pierre
a0159a9740 * Adapt script to DJGPP 2.04
git-svn-id: trunk@14073 -
2009-11-06 00:13:42 +00:00
pierre
aedf395fbe * fix some conditional ordering
git-svn-id: trunk@14072 -
2009-11-05 23:48:59 +00:00
pierre
ba555a64c7 * be sure to delete src/gdbver.inc after use for cross compilation
git-svn-id: trunk@14071 -
2009-11-05 22:52:29 +00:00
pierre
b51ef19a68 * Try to fix the target_kill linking error
git-svn-id: trunk@14070 -
2009-11-05 22:51:28 +00:00
marco
21f569391b * Patch from Sergei/Anton. Mantis 10948. Under ifndef ver2_2
git-svn-id: trunk@14069 -
2009-11-05 20:42:18 +00:00
Jonas Maebe
c1cdf1e087 * merged objc branch:
+ basic support for Objective-Pascal: objcclass, objcprotocol,
      objcselector on all Darwin platforms (ppc32/64, i386, x86_64, ARM),
      see http://wiki.freepascal.org/FPC_PasCocoa and
      http://wiki.freepascal.org/FPC_PasCocoa/Differences for some dialect
      details. Use {$modeswitch objectivec1} to activate
    + Cocoa, iPhone/UIKit and WebKit interfaces for use with the new
      syntax mode

git-svn-id: trunk@14068 -
2009-11-05 16:48:28 +00:00
paul
5c660680b7 compiler: don't allow for-in loop for the enums with jumps. test should fail.
git-svn-id: trunk@14067 -
2009-11-05 15:37:07 +00:00
paul
7db712c566 packages: add enumerator for TFields class
git-svn-id: trunk@14065 -
2009-11-05 07:09:10 +00:00
paul
eee6658a46 revert occasionally committed pp.lpi
git-svn-id: trunk@14064 -
2009-11-05 03:34:06 +00:00
pierre
209acc0251 * Reset AbortTool before each run
git-svn-id: trunk@14063 -
2009-11-05 00:45:19 +00:00
pierre
e7b84911dd + Define COMPILING_GDBINT_UNIT before including gdblib.inc file
git-svn-id: trunk@14062 -
2009-11-04 23:32:12 +00:00
pierre
eb188be8cb + Add support for gdblib.inc in libgdb directory
git-svn-id: trunk@14061 -
2009-11-04 23:30:49 +00:00
ivost
10e78efaac * removed commented code in TryStringToGUID
git-svn-id: trunk@14060 -
2009-11-04 23:04:30 +00:00
ivost
537825dee9 * fixed TryStringToGUID: this function throwed an exceptions
git-svn-id: trunk@14059 -
2009-11-04 23:02:32 +00:00
ivost
8cb89c352c * changed out parameter
git-svn-id: trunk@14058 -
2009-11-04 17:46:43 +00:00
Jonas Maebe
c1bf807df3 Initialized merge tracking via "svnmerge" with revisions "1-13161,13348,13350,13458,13598,13621,13697-13698,13762,14048,14055" from
svn+ssh://jonas@svn.freepascal.org/FPC/svn/fpc/branches/objc

git-svn-id: trunk@14057 -
2009-11-04 17:43:24 +00:00
ivost
d56dccfe47 * added XML_SAX2_MAGIC constant
git-svn-id: trunk@14056 -
2009-11-04 17:34:38 +00:00
Jonas Maebe
2b0879842e * merged r14048 - r14054 from trunk
git-svn-id: branches/objc@14055 -
2009-11-04 17:07:53 +00:00
Jonas Maebe
e9c4594a66 * make test compilable by Kylix (math->Math)
git-svn-id: trunk@14054 -
2009-11-04 16:55:20 +00:00
Jonas Maebe
c768e51cf2 * part of r13828, forgot to commit (don't stop at #0 in setstring)
git-svn-id: trunk@14053 -
2009-11-04 16:53:40 +00:00
pierre
f99cfdf6b9 * Try to fix scroll bar problems
git-svn-id: trunk@14052 -
2009-11-04 16:46:32 +00:00
pierre
acfdb1518f * fix problem with last position of scrollbar
git-svn-id: trunk@14051 -
2009-11-04 16:45:26 +00:00
Jonas Maebe
a60869fe64 + support for Objective-C classes/protols/options
git-svn-id: branches/objc@14050 -
2009-11-04 16:45:14 +00:00
Jonas Maebe
102a2a4796 * changed "optional" field (which denotes whether an objc protocol method is
required or optional) into a procoption flag
  * reordered some procdef fields to have less wasted space due to alignment

git-svn-id: branches/objc@14049 -
2009-11-04 16:29:39 +00:00
Jonas Maebe
559e284bd0 * merged r13762-14047 from trunk
git-svn-id: branches/objc@14048 -
2009-11-04 15:50:26 +00:00
pierre
583ce9c1b9 * more GDB 7.0 changes
git-svn-id: trunk@14047 -
2009-11-04 14:21:32 +00:00
michael
3cd9b17536 * Added support for $IFEND instead of $ENDIF
git-svn-id: trunk@14046 -
2009-11-04 14:02:13 +00:00
paul
cfa89b009f compiler: check that method marked by 'enumerator MoveNext' have no required arguments. correct error message.
git-svn-id: trunk@14045 -
2009-11-04 13:33:57 +00:00
paul
2f0cde4625 compiler:
- don't find MoveNext functions with the required arguments
  - add some test from Alexander S. Klenin
(issue #0014990)

git-svn-id: trunk@14044 -
2009-11-04 13:21:10 +00:00
paul
5f7bc2d3b5 compiler:
- don't allow operator enumerator with non object/class/interface result type
  - add some test from Alexander S. Klenin
(issue #0014990)

git-svn-id: trunk@14043 -
2009-11-04 12:59:05 +00:00
paul
61ec5e1417 compiler:
- fix for-in loop for empty sets
  - add some test from Alexander S. Klenin
(issue #0014990)

git-svn-id: trunk@14042 -
2009-11-04 12:25:01 +00:00