Commit Graph

31173 Commits

Author SHA1 Message Date
ivost
d111f9220d * be more verbose on exceptions
git-svn-id: trunk@14119 -
2009-11-09 01:01:20 +00:00
marco
8dd4f48294 * haiku treated as general Unix in makefiles.
git-svn-id: trunk@14118 -
2009-11-08 18:41:46 +00:00
marco
05f831fe17 * fuse package + 1 test, Mantis 12218
git-svn-id: trunk@14117 -
2009-11-08 16:48:30 +00:00
marco
b3ea1668db * improvements to sysuitls date/time formatting routines: (Mantis 14905,Sergei)
- Adds threadsafe (Delphi-compatible) versions of DateToStr, 
	TimeToStr, DateTimeToStr, FormatDateTime.
   - Core functionality moved to DateTimeToString, which directly 	
	uses 'out' parameter in order to avoid unnecessary result copying.
   - Modified the code so no temporary AnsiStrings are used (speed).
   - Fixes a bug which would cause infinite recursion if 
     (Short|Long)DateFormat variable would contain 'd' character or, 
      likewise, (Short|Long)TimeFormat would contain 't'.
   - Fixes numerous small Delphi compatibility issues, like: empty format 
      string has the same effect as 'C'; overlong tokens treated as the 
      longest possible ones (e.g. 'ddddddddd' is the same as 'dddddd'); 
      'AM/PM' is output preserving its case, etc.
   - minor reformating

git-svn-id: trunk@14116 -
2009-11-08 15:07:00 +00:00
marco
e018effcd2 * non-resolved methods are not written. Mantis 13846(laz) / 14798(fpc)
git-svn-id: trunk@14115 -
2009-11-08 14:21:03 +00:00
Jonas Maebe
62c1781bea + mw_pascal calling convention support for ARM, ppc64 and x86_64: identical
to cdecl, except that all const record parameters are passed by reference
    (required for Mac OS X interfaces)

git-svn-id: trunk@14114 -
2009-11-08 13:42:11 +00:00
ivost
0b57ceef21 * implemented highspeed str to float (xml schema types)
git-svn-id: trunk@14113 -
2009-11-08 13:17:27 +00:00
ivost
b9eb513791 * enhanced xml schema datatype parsers (booltostr is twice as fast)
git-svn-id: trunk@14112 -
2009-11-08 12:38:44 +00:00
marco
27114853b4 * TStream.Read/writeqword. Mantis 15023
git-svn-id: trunk@14111 -
2009-11-08 11:47:50 +00:00
marco
887d8a9d92 * replace encodedate/time by try variants mantis 14969
git-svn-id: trunk@14110 -
2009-11-08 11:43:01 +00:00
joost
33a26ab16a * Added protected procedure THTTPContentProducer.SetRequest
git-svn-id: trunk@14108 -
2009-11-08 11:04:59 +00:00
joost
5ad78c59b1 * When there is no content, do not raise an unsupported content exception
git-svn-id: trunk@14106 -
2009-11-08 09:25:04 +00:00
joost
945712ce99 * Set the cookie only when a new session is created
git-svn-id: trunk@14105 -
2009-11-08 09:23:43 +00:00
ivost
ceff25fd3d * enhanced xml schema type parsers
git-svn-id: trunk@14104 -
2009-11-08 01:50:48 +00:00
andrew
9ab97445b9 * Split TChmWriter to TITSFWriter and TChmWriter
* Some endian fixes for chm binary index

git-svn-id: trunk@14103 -
2009-11-07 19:36:08 +00:00
marco
77fcc27837 * Patch for gettext empty string problem, Mantis 14902
git-svn-id: trunk@14102 -
2009-11-07 16:24:06 +00:00
marco
58287faa88 * fix winspool name, mantis 10619.
git-svn-id: trunk@14101 -
2009-11-07 15:10:58 +00:00
giulio2
58eb923ff5 Allow negative offset in segment:offset declarations, if the resulting
address is valid (fixes webtbs/tw1622.pp on go32v2).

git-svn-id: trunk@14100 -
2009-11-07 14:38:13 +00:00
joost
5bfbd8e15d * Implemented TBufDataset.Refresh + simple test/fixed test
git-svn-id: trunk@14099 -
2009-11-07 13:51:17 +00:00
ivost
a2ca16be91 * regenrated fpmake includes
git-svn-id: trunk@14098 -
2009-11-07 13:04:34 +00:00
Jonas Maebe
70909d60d0 + add KeyEvents unit to MacOSAll
* fixed make install after previous changes

git-svn-id: trunk@14097 -
2009-11-07 12:48:48 +00:00
ivost
27ce2c747e * added zorba to build tree
git-svn-id: trunk@14096 -
2009-11-07 11:39:58 +00:00
paul
e520a2b941 compiler: for-in loop: fix temporary array range type
git-svn-id: trunk@14095 -
2009-11-07 10:56:54 +00:00
michael
1cf64c032f * Patch to remove useless process_entry_hook from sven barth
git-svn-id: trunk@14094 -
2009-11-07 10:10:47 +00:00
paul
cc8f91f2d0 compiler: allow enumeration of multidimensional arrays with implicit array conversion + test
git-svn-id: trunk@14093 -
2009-11-07 06:21:07 +00:00
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