Commit Graph

1489 Commits

Author SHA1 Message Date
Jonas Maebe
25ad8f8078 * Merged r211-r234 of the common interfaces, with one change: the ObjC
unit has been renamed ObjCRuntime, to avoid a name clash with the
    the other Objective-C translation, and this unit is also not included
    in the MacOSAll unit
  * warning: the FPCMacOSAll unit is now called MacOSAll, to avoid requiring
    ifdefs when keeping a program compilable between e.g. GPC and FPC

...
r211 | gale | 2008-03-19 07:41:36 +0100 (Wed, 19 Mar 2008) | 6 lines
Changed paths:
   A /metaPascal/trunc/MPPInterfaces/CGLTypes.pas
   A /metaPascal/trunc/MPPInterfaces/CVBase.pas
   A /metaPascal/trunc/MPPInterfaces/CVBuffer.pas
   A /metaPascal/trunc/MPPInterfaces/CVDisplayLink.pas
   A /metaPascal/trunc/MPPInterfaces/CVHostTime.pas
   A /metaPascal/trunc/MPPInterfaces/CVImageBuffer.pas
   A /metaPascal/trunc/MPPInterfaces/CVPixelBuffer.pas
   A /metaPascal/trunc/MPPInterfaces/CVPixelBufferPool.pas
   A /metaPascal/trunc/MPPInterfaces/CVPixelFormatDescription.pas
   A /metaPascal/trunc/MPPInterfaces/CVReturns.pas

Initial translations of CGLTypes.h, CVBase.h, CVBuffer.h, CVDisplayLink.h,
CVHostTime.h, CVImageBuffer.h, CVPixelBuffer.h, CVPixelBufferPool.h,
CVPixelFormatDescription.h, and CVReturn.h from MacOSX10.4u.sdk.  To avoid a GPC
identifier redeclaration problem, Pascal unit and file name corresponding to 
CVReturn.h uses a "s" suffix.

...
r212 | gale | 2008-03-19 09:55:13 +0100 (Wed, 19 Mar 2008) | 4 lines
Changed paths:
   D /metaPascal/trunc/MPPInterfaces/CGDisplayFade.pas
   A /metaPascal/trunc/MPPInterfaces/CGDisplayFades.pas (from /metaPascal/trunc/MPPInterfaces/CGDisplayFade.pas:210)
   M /metaPascal/trunc/MPPInterfaces/CoreGraphics.pas

Renamed CGDisplayFade unit to CGDisplayFades to fix a GPC gpc-20070904
redeclaration issue involving the function CGDisplayFade.  Also, updated the
CoreGraphics framework unit's uses clause to reflect the name change.

...
r213 | adriaan | 2008-03-25 09:37:06 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/fp.pas

Fix precision of pi
...
r214 | adriaan | 2008-03-25 09:50:48 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Menus.pas

Fix byte parameter of GetMenuItemModifiers, SetMenuItemModifiers, GetMenuItemIconHandle and SetMenuItemIconHandle
...
r215 | adriaan | 2008-03-25 12:19:33 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Use FourCharCode casts for FPC instead of hex numbers.
...
r216 | peter | 2008-03-25 14:20:20 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Makefile
   M /metaPascal/trunc/Scripts/GenerateFile.pl
   M /metaPascal/trunc/Scripts/GenerateMakefile.pl
   M /metaPascal/trunc/Scripts/make-common-interfaces.pl

XXXMacOSAll -> MacOSAll
...
r217 | adriaan | 2008-03-25 17:52:07 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/CFByteOrders.pas

Fix the result type of CFConvertFloat64SwappedToHost and friends for GPC and MW
...
r218 | gale | 2008-03-26 04:15:58 +0100 (Wed, 26 Mar 2008) | 2 lines
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Increment the GAP version number for tbe upcoming release.

...
r219 | adriaan | 2008-03-26 11:41:37 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Events.pas

Change KeyMap to packed array of boolean for FPC. Solve GetKeys endian issue on PowerPC for FPC and GPC.
...
r220 | adriaan | 2008-03-26 12:19:19 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/fp.pas

Add pi=system.pi to fp.p for FPC
...
r221 | adriaan | 2008-03-26 12:41:27 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Menus.pas

Fix GetItemMark and GetItemCmd for FPC and GPC
...
r222 | adriaan | 2008-03-26 16:42:53 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateMakefile.pl

Add support for: make GPC_COMPILER=xxx FPC_COMPILER=yyy compile
...
r223 | adriaan | 2008-03-30 17:25:57 +0200 (Sun, 30 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Implement 'const var' for GPCt
...
r224 | adriaan | 2008-04-23 18:26:04 +0200 (Wed, 23 Apr 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/AIFF.pas

Rename ID in AIFF.pas to ChunkID
...
r225 | adriaan | 2008-04-23 18:34:38 +0200 (Wed, 23 Apr 2008) | 1 line
Changed paths:
   A /metaPascal/trunc/MPPInterfaces/ObjC.pas

Add Objective-C Runtime ObjC.pas
...
r226 | adriaan | 2008-05-04 07:19:30 +0200 (Sun, 04 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Files.pas
   M /metaPascal/trunc/MPPInterfaces/Folders.pas

Introduce DirIDType = SInt32
...
r227 | adriaan | 2008-05-04 11:51:08 +0200 (Sun, 04 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/CFByteOrders.pas
   M /metaPascal/trunc/MPPInterfaces/Events.pas
   M /metaPascal/trunc/MPPInterfaces/Menus.pas
   M /metaPascal/trunc/MPPInterfaces/ToolUtils.pas

Fix MW warnings for units with an implementation part
...
r228 | adriaan | 2008-05-05 09:13:10 +0200 (Mon, 05 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/FPCStrings.pas

Fix compile error in FPCStrings.pas
...
r229 | adriaan | 2008-05-05 09:34:13 +0200 (Mon, 05 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateMacOS.pl

Add GPCStrings.pas (aka FPCStrings.pas) to MacOS.pas
...
r230 | adriaan | 2008-05-06 12:30:18 +0200 (Tue, 06 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Set GAP release version to 210 instead of 201
...
r232 | adriaan | 2008-05-07 09:09:30 +0200 (Wed, 07 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Fix GPC implemented procedures, functions and constants
...
r233 | adriaan | 2008-05-09 07:55:17 +0200 (Fri, 09 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/ObjC.pas

Add attribute(ignorable) to objc_msgSend(Super)
...
r234 | adriaan | 2008-05-16 21:09:52 +0200 (Fri, 16 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/ObjC.pas

Remove FPC implemented functions that reference the ObjC runtime
...

git-svn-id: trunk@11137 -
2008-05-31 12:36:41 +00:00
michael
5d2e9d4d4c Slovak translation from Dusan Halicky
git-svn-id: trunk@11113 -
2008-05-28 20:17:02 +00:00
Tomas Hajny
31da5363ed + Makefile for os2units/examples added
git-svn-id: trunk@11101 -
2008-05-27 21:37:59 +00:00
Tomas Hajny
74e0e90a45 * move clktest to examples
git-svn-id: trunk@11100 -
2008-05-27 21:35:28 +00:00
michael
c902915f9e * Adding it here till a solution for fpcunit-based tests exists
git-svn-id: trunk@11087 -
2008-05-26 18:31:36 +00:00
Jonas Maebe
0a79badb4e + added missing makefiles
git-svn-id: trunk@11072 -
2008-05-24 09:05:59 +00:00
Jonas Maebe
e60e078eb5 * only allow decimalseparator to be used as decimal separator in
texttofloat() and friends, rather than both '.' and decimalseparator
    (mantis #9126)

git-svn-id: trunk@11069 -
2008-05-24 08:49:34 +00:00
florian
216e468cd9 + test for #10045
git-svn-id: trunk@11065 -
2008-05-23 21:23:10 +00:00
Jonas Maebe
e4124cd070 + added test
git-svn-id: trunk@11061 -
2008-05-23 18:12:02 +00:00
florian
67ef9f20ae * test for previous commit
* fixed wrapper generation for bigger offsets as well

git-svn-id: trunk@11059 -
2008-05-23 16:16:34 +00:00
florian
33b69b0bd2 * fixed wrong naming
git-svn-id: trunk@11034 -
2008-05-22 11:08:14 +00:00
Jonas Maebe
63abaeecea + test for already fixed mantis #11309
git-svn-id: trunk@11026 -
2008-05-21 17:06:41 +00:00
Jonas Maebe
ecf4aa7f55 * use rounding correction in str_real based on smallest possible
delta for which 1.0 and 1.0+delta is different, rather than
    some power-of-10 ballpark equivalent (fixes mantis #11308)
  * print the same number of digits for doubles on systems
    which support extended as on those which don't (i.e.,
    one digit less on the former). This solves regressions after
    the previous change and is Delphi-compatible.
  * adapted tests for the previous change

git-svn-id: trunk@11025 -
2008-05-21 16:55:31 +00:00
florian
6d9eeaf0f0 + missing (empty) file
git-svn-id: trunk@11021 -
2008-05-21 07:07:58 +00:00
florian
c9433c0b1f - removed directory with non-working sources as well with copyrighted sources
git-svn-id: trunk@11019 -
2008-05-19 20:20:01 +00:00
florian
35c0f78642 + Haiku support by Olivier Coursière based on old BeOS support
git-svn-id: trunk@11014 -
2008-05-19 17:33:35 +00:00
florian
1fe749c90c + test for proper line info retrival from dlls/sos
git-svn-id: trunk@11007 -
2008-05-18 18:26:17 +00:00
florian
d7673694f1 * enable parsing of default properties when used with objects, resolves #10795
git-svn-id: trunk@11003 -
2008-05-18 13:27:59 +00:00
florian
df32d17e1a * stress testing for interface wrappers
git-svn-id: trunk@10994 -
2008-05-18 08:58:55 +00:00
joost
232ee3dfa0 * Renamed the RegExprCompat unit to RegExpr. This wrapper around the Regex unit now replaces the old RegExpr unit.
git-svn-id: trunk@10989 -
2008-05-17 19:32:47 +00:00
joost
1aef65f5c0 * Moved regexpr unit to old
git-svn-id: trunk@10987 -
2008-05-17 19:24:47 +00:00
Legolas
3a21b6e5a6 * Fixed nds rtl
* Changes for gba:
  * Random number generator is now embedded in the rtl
  * Improved heap 
  * Updated the linker script
  - Removed the outdated gbaunits library and
  + replaced by libgbafpc package

git-svn-id: trunk@10986 -
2008-05-17 18:57:14 +00:00
florian
e265393d7a * make stringconstn => open array of char a l1 conversion as it was earlier, resolves #10727
git-svn-id: trunk@10984 -
2008-05-17 18:18:51 +00:00
florian
f5ccb70a2f * commited to wrong directory
git-svn-id: trunk@10979 -
2008-05-15 18:40:05 +00:00
florian
eca558b33b * don't crash on empty ProcDefs when handling interfaces, resolves #11295
git-svn-id: trunk@10978 -
2008-05-15 18:38:24 +00:00
yury
5cfdc37662 + Added cpl unit by Vasil Maximov.
git-svn-id: trunk@10971 -
2008-05-14 16:34:19 +00:00
yury
26efe0df1d + Added sipapi unit by Vasil.
git-svn-id: trunk@10962 -
2008-05-13 10:55:53 +00:00
Jonas Maebe
6ac63bcafe * also process tcallnode.funcretnode in nutils.foreachnode*(),needed
for properly synchronizing regvars after loops. The absense of this
    causes the crash in the test program of mantis #11290 under 2.2.1,
    and while it doesn't crash under 2.3.1 due to differences in the
    code generation, the bug could cause errors in other situations
    here as well)

git-svn-id: trunk@10959 -
2008-05-12 20:50:43 +00:00
florian
8306eb4753 * compare constant sets correctly while choosing an overloaded procedure, resolves #11288
git-svn-id: trunk@10957 -
2008-05-12 12:45:55 +00:00
Jonas Maebe
87aa666768 + test I still had lying around
git-svn-id: trunk@10950 -
2008-05-12 09:51:19 +00:00
florian
88cfaf0a41 + added overload directive as requested by Paul
git-svn-id: trunk@10949 -
2008-05-12 09:15:39 +00:00
yury
b658d55980 * Renamed oleaut32 to oleauto to match corresponding C header name.
git-svn-id: trunk@10941 -
2008-05-11 10:05:48 +00:00
florian
0a4314206f * range check error checking for floats refactored
* never throw range/overflow check errors for floats in delphi mode, resolves #7584

git-svn-id: trunk@10940 -
2008-05-11 09:09:21 +00:00
florian
4a243d451f + support of -Mxxx or $modeswitch to enable single mode specific features
git-svn-id: trunk@10936 -
2008-05-10 22:04:53 +00:00
florian
c399cbc520 - unused
git-svn-id: trunk@10931 -
2008-05-10 16:13:20 +00:00
Jonas Maebe
b31a502e6e * tw9176a should fail, moved to webtbf and added { %fail }
+ added tw9176 which should succeed

git-svn-id: trunk@10924 -
2008-05-09 21:01:41 +00:00
yury
89eb913ad3 + Added htmlctrl.
git-svn-id: trunk@10920 -
2008-05-09 19:38:59 +00:00
giulio
18868ae015 Added fpmake.pp for fcl-res
git-svn-id: trunk@10919 -
2008-05-09 19:07:05 +00:00
yury
981920616f * Windows unit additions by Vasil.
+ msgqueue, pm, service, winioctl header translations by Vasil.

git-svn-id: trunk@10914 -
2008-05-09 15:25:28 +00:00
Jonas Maebe
0645313da5 * fixed wrong internal error in case a swapped set <op> setelement
addnode was processed after r10432/10433 (mantis #11255)

git-svn-id: trunk@10904 -
2008-05-07 18:11:18 +00:00
yury
1ec04dfd36 * Moved gx to packages.
git-svn-id: trunk@10903 -
2008-05-07 13:39:41 +00:00
yury
26d51730a8 + Added cesync, rapi, windbase units. rapi is builded for win32 only. cesync is builded for both wince and win32.
git-svn-id: trunk@10902 -
2008-05-07 13:16:34 +00:00
yury
4ea565e9a6 + Added gpsapi and todaycmn units by Vasil.
git-svn-id: trunk@10901 -
2008-05-07 12:54:12 +00:00
yury
9633252e30 * Fixed winceunits sources and added them to build.
git-svn-id: trunk@10900 -
2008-05-07 12:46:47 +00:00
yury
e2634e0b8d * renamed files.
git-svn-id: trunk@10898 -
2008-05-07 11:26:28 +00:00
yury
d2af7aa34a * Started moving wince extra APIs from windows unit to separate units in packages/winceunits. Similar to win32/64.
git-svn-id: trunk@10897 -
2008-05-07 11:16:05 +00:00
Jonas Maebe
edae55a3a9 + test for mantis #11182 (one which also crashed 2.3.1 before
the fix)

git-svn-id: trunk@10894 -
2008-05-06 13:45:25 +00:00
Jonas Maebe
aa4e14f96a + test for mantis #6769 (already works with 2.3.1 and 2.2.1)
git-svn-id: trunk@10892 -
2008-05-06 12:26:18 +00:00
Jonas Maebe
85b9c65f51 * fixed support in macpas mode for anonymous procedure/function types
in parameter lists after r9484 (mantis #11254)

git-svn-id: trunk@10885 -
2008-05-05 11:59:35 +00:00
marco
046de405d1 * test for enum case, on Jonas' request
git-svn-id: trunk@10881 -
2008-05-04 18:31:33 +00:00