Commit Graph

26824 Commits

Author SHA1 Message Date
florian
de47ba3ac8 * fixed GetKeyData
git-svn-id: trunk@8729 -
2007-10-03 11:13:27 +00:00
joost
fae59501a7 * Patch from Jesus Reyes with better fix for r8726
git-svn-id: trunk@8728 -
2007-10-03 08:26:43 +00:00
joost
7d6a23090c * Terminate strings in recordbuffer if size of supplied string is larger then the field-size
git-svn-id: trunk@8726 -
2007-10-02 21:01:13 +00:00
peter
c767df348f * idata must be aligned on 4 bytes to prevent a corrupt
idata2 section where the entries are always 20 bytes

git-svn-id: trunk@8725 -
2007-10-02 18:41:47 +00:00
peter
488c06d275 * don't reuse emptyint
git-svn-id: trunk@8724 -
2007-10-02 18:41:07 +00:00
Jonas Maebe
e0a45eaf28 * r8717 for ppc64 (fixed compilation after r8715)
git-svn-id: trunk@8720 -
2007-10-02 08:31:04 +00:00
micha
89b5825029 * only use ld -T in case of cross-link (-XR), because not all platforms have complete link script yet
git-svn-id: trunk@8718 -
2007-10-01 21:10:51 +00:00
Jonas Maebe
d766707278 * fixed compilation after r8715 (+ aasmbase to uses clause)
git-svn-id: trunk@8717 -
2007-10-01 20:01:41 +00:00
peter
1e28adac60 * there can be a tai_stab between lock/rep and the next opcode
git-svn-id: trunk@8716 -
2007-10-01 19:23:49 +00:00
peter
9f0ca44c94 * new tf_smartlink_library flag
* use create_smartlink[_sections|_library] to check what to 
    do for smartlinking

git-svn-id: trunk@8715 -
2007-10-01 16:55:08 +00:00
Tomas Hajny
34e8576452 + stdconvs and fmtbcd now compiled too (the latter needed for fcl-db)
git-svn-id: trunk@8709 -
2007-09-30 23:24:55 +00:00
Tomas Hajny
97d878cde8 * missing AF_INET added
git-svn-id: trunk@8708 -
2007-09-30 21:35:36 +00:00
micha
c3e587355d * fix default dynamic linker location for 64 bit targets in linux
git-svn-id: trunk@8707 -
2007-09-30 21:20:04 +00:00
Tomas Hajny
cd82fd376f * workaround for yet another #%$#@#^ EMX LD.EXE bug (link.res path must not be quoted)
git-svn-id: trunk@8706 -
2007-09-30 21:11:10 +00:00
peter
9715eceee7 * fixed expectloc setting for x86_64
git-svn-id: trunk@8704 -
2007-09-30 21:02:33 +00:00
joost
66c6ba7b64 * Fixed mysql ftLargeInt support+test (mantis 9744)
git-svn-id: trunk@8703 -
2007-09-30 20:55:16 +00:00
peter
76b23821e1 * missing recalculation of relative constant
* if aligntype=1 then no alignment fillsize guessing is required

git-svn-id: trunk@8701 -
2007-09-30 20:28:41 +00:00
Jonas Maebe
232efef956 * synchronised with r209 of the common interfaces:
...
r209 | adriaan | 2007-06-11 05:46:07 +0200 (Mon, 11 Jun 2007) | 1 line

made kPMPrintAllPages unsigned
...
r208 | gale | 2007-06-10 18:20:15 +0200 (Sun, 10 Jun 2007) | 4 lines

Changed all temporary trial "_GAP_Private_field_type_fix" suffixes to
permanent "_fix" suffixes for fixing record field identifier related
redeclaration warnings.

...
r207 | adriaan | 2007-06-10 09:30:05 +0200 (Sun, 10 Jun 2007) | 1 line

renamed FreeMem to MacFreeMem
...
r206 | gale | 2007-05-30 11:06:04 +0200 (Wed, 30 May 2007) | 3 lines

Fixed errors in CGImage.pas declarations kCGBitmapByteOrder16Big and
kCGBitmapByteOrder32Big to match those in MacOSX10.4u.sdk CGImage.h.

...
r205 | gale | 2007-05-22 10:59:23 +0200 (Tue, 22 May 2007) | 71 lines

Updated CMApplication.pas, CMICCProfile.pas, CMTypes.pas, and Quickdraw.pas
to correspond with MacOSX10.4u.sdk respective headers.

1.  Moved from CMApplication to CMTypes declarations for type
CMChromaticAdaptation and constants cmUseDefaultChromaticAdaptation,
cmLinearChromaticAdaptation, cmVonKriesChromaticAdaptation, and
cmBradfordChromaticAdaptation.

2.  Moved from CMApplication to CMICCProfile declarations for types
CMProfileMD5 and CMProfileMD5Ptr.

3.  To match Mac OS X QuickDraw.h and CMApplication.h, added active
declarations for CWMatchPixMap, CWCheckPixMap, NCMBeginMatching,
CMEndMatching, NCMDrawMatchedPicture, CMEnableMatchingComment, and
NCMUseProfileComment routines to QuickDraw.pas and changed
CMApplication.pas's conditional compilation setting _DECLARE_CS_QD_API_ to
match CMApplication.h's setting to not compile the declarations in
CMApplication.pas.

4.  Additional CMApplication.pas changes:

a.  Added CMMakeProfile, CMProfileCopyICCData,
CMCopyProfileDescriptionString, and CWFillLookupTexture functions;
cmTextureRGBtoRGBX8 constant; and kCMPrefsChangedNotification CFSTR
constant.

b.  Removed TARGET_OS_MAC conditional compilation for CMGetProfileByAVID,
CMSetProfileByAVID, CMGetGammaByAVID, CMSetGammaByAVID, and
CMGetColorSyncFolderSpec functions.

c.  Removed TARGET_OS_WIN32 OR TARGET_OS_UNIX conditional compiled
CMGetColorSyncFolderPath function since it is unsupported in Carbon.

d.  Fixed a CWCheckColors function parameter type error (result needed
SInt8; was UInt32).

5.  Additional CMICCProfile.pas changes:

a.  Added constants cmICCProfileVersion4, cmBlackPointCompensationMask,
cmBlackPointCompensation, cmNativeDisplayInfoTag, cmSigCrdInfoType,
cmSigMultiFunctA2BType, cmSigMultiFunctB2AType, cmSigParametricCurveType,
cmSigProfileSequenceDescType, cmTechnologyDigitalCamera, cmYCbCrData,
cm9CLRData, cm10CLRData, cm11CLRData, cm12CLRData, cm13CLRData, cm14CLRData,
cm15CLRData, cmParametricType0, cmParametricType1, cmParametricType2,
cmParametricType3, and cmParametricType4.

b.  Added types CMFixedXYColor, CMFixedXYColorPtr, CM4Header,
CMMultiFunctLutType, CMMultiFunctLutTypePtr, CMMultiFunctLutA2BType,
CMMultiFunctLutA2BTypePtr, CMMultiFunctLutB2AType,
CMMultiFunctLutB2ATypePtr, CMMultiFunctCLUTType, CMMultiFunctCLUTTypePtr,
CMNativeDisplayInfo, CMNativeDisplayInfoPtr, CMNativeDisplayInfoType,
CMNativeDisplayInfoTypePtr, CMParametricCurveType, and
CMParametricCurveTypePtr

6.  Additional Quickdraw.pas changes:

a.  Added  QDGetPictureBounds and IsValidRgnHandle functions.

b.  Updated PrinterFontStatus.iStyle field type to used fixed Style (SInt8)
type.

c.  Updated PixMap record declaration with pixMap extension fields version
used on Mac OS X.

d.  Updated GDevice record declaration with QuickTime 3.0 private info field
version used on Mac OS X.

e.  Since LMGetHiliteRGB and LMSetHiliteRGB procedures are always available,
removed confusing, superfluous conditional compilation directives and
multiple declaration text.

git-svn-id: trunk@8700 -
2007-09-30 19:35:30 +00:00
Tomas Hajny
54caaf4335 * fix compilation by moving wrongly placed SYSTEMEXCEPTIONDEBUG defines
git-svn-id: trunk@8699 -
2007-09-30 16:14:07 +00:00
florian
655ac519d4 * fixed compilation for x86-64
git-svn-id: trunk@8698 -
2007-09-30 15:30:00 +00:00
Tomas Hajny
05e6784906 + make use of the provided CtrlBreakHandler (OS/2)
git-svn-id: trunk@8697 -
2007-09-30 15:19:59 +00:00
Tomas Hajny
85b8eeac17 + common CtrlBreakHandler for unit Keyboard
git-svn-id: trunk@8696 -
2007-09-30 15:18:37 +00:00
micha
0625040eba + add -XR switch for target root file system with libs (also used for C lib type detection)
git-svn-id: trunk@8695 -
2007-09-30 15:00:54 +00:00
micha
7d5d4ba706 + add i386-linux uclibc process startup code
git-svn-id: trunk@8694 -
2007-09-30 14:53:54 +00:00
Tomas Hajny
58ff2fb482 + Use CtrlBreakHandler infrastructure to allow processing of Ctrl-C in ReadKey (OS/2 implementation)
git-svn-id: trunk@8693 -
2007-09-30 14:17:42 +00:00
Tomas Hajny
b71f5e80b0 + RTL exception handler for OS/2
git-svn-id: trunk@8692 -
2007-09-30 14:15:37 +00:00
Tomas Hajny
58bca68e6a + infrastructure for CtrlBreakHandler added
git-svn-id: trunk@8691 -
2007-09-30 14:14:33 +00:00
Tomas Hajny
e70f1a26db * issue sleep while polling keyboard
git-svn-id: trunk@8690 -
2007-09-30 14:05:00 +00:00
marco
7429c4871b * fix for 9770
git-svn-id: trunk@8689 -
2007-09-30 11:23:33 +00:00
Tomas Hajny
f5250c6433 * missing constants for context flags added
git-svn-id: trunk@8688 -
2007-09-30 00:51:40 +00:00
florian
f290d5195d * line ending properties set
git-svn-id: trunk@8685 -
2007-09-29 22:28:27 +00:00
florian
0ebbbd5380 * spelling mistakes fixed
git-svn-id: trunk@8684 -
2007-09-29 22:26:33 +00:00
Jonas Maebe
3a60a28283 * don't try to add current_procinfo.got to used_in_proc if it's a
virtual register
  * always add EBX to used_in_proc in case pi_needs_got, because it's
    currently always used due to the geteipasebx call
  * don't explicitly free the PIC register in the exitcode because
    then the assembler optimizer assumes the load restoring it (ebx)
    can be safely removed

git-svn-id: trunk@8683 -
2007-09-29 20:24:51 +00:00
Tomas Hajny
633a902565 * exception handler is a function, not procedure
git-svn-id: trunk@8680 -
2007-09-29 15:48:26 +00:00
Almindor
fdcc5f4332 * use TIOCtlRequest instead of hard ifdefs to remove warnings
git-svn-id: trunk@8679 -
2007-09-29 14:22:41 +00:00
Jonas Maebe
0a606b308d - removed unused nested do_generate_code procedure from read_proc
git-svn-id: trunk@8678 -
2007-09-29 10:28:40 +00:00
marco
54d8f93b25 * fix for 9772
git-svn-id: trunk@8677 -
2007-09-29 09:18:15 +00:00
Almindor
5474e0c987 * fix ioCtl differences between BSD and POSIX
git-svn-id: trunk@8676 -
2007-09-29 08:24:23 +00:00
Jonas Maebe
b9752680a5 * fixed crashes when combining -Cg with -g or -pg due to a missing
restore of lr in leaf procedures in that case (Darwin-only)

git-svn-id: trunk@8675 -
2007-09-28 23:27:16 +00:00
Jonas Maebe
993ec01a76 * use the gcc jumptable scheme for all ppc targets instead of only for
darwin

git-svn-id: trunk@8674 -
2007-09-28 23:00:58 +00:00
Jonas Maebe
5a0a6d0d9e * fixed and enabled smartlinking on Darwin by adding more .reference
statements (some to work around linker bugs, most because they were
    really missing)

git-svn-id: trunk@8673 -
2007-09-28 22:48:41 +00:00
marco
827d380691 * pchar(pointer()) isms that were safe.
git-svn-id: trunk@8672 -
2007-09-28 21:57:45 +00:00
marco
faa8383403 * some pchar(pointer(s)) changes (see maillist)
git-svn-id: trunk@8671 -
2007-09-28 20:24:44 +00:00
Vincent Snijders
bc7e54c3f0 * search preprocessor binary and add it as command line parameter for windres, so that the cpp doesn't need to be on the path
git-svn-id: trunk@8670 -
2007-09-28 19:53:19 +00:00
Jonas Maebe
c84744b27f * fixed a_jmp_name() for darwin/i386 (go via a stub)
* fixed g_external_wrapper for darwin/i386 (both with and without pic,
    by using a_jmp_name(), because the darwin jump stubs can always
    be called directly)

git-svn-id: trunk@8669 -
2007-09-28 14:12:46 +00:00
Jonas Maebe
559bb6226e * don't try to translate the got register if it's NR_NO (fixes
regression of webtbs/tw3402 on linux/ppc64 after r8651)

git-svn-id: trunk@8668 -
2007-09-28 11:15:16 +00:00
peter
b5fb7120b8 * fixed length calculation of leb128 constants
git-svn-id: trunk@8666 -
2007-09-27 22:40:38 +00:00
peter
c19217f846 * only for jump instructions we need to look at the relative
offset of an symbol

git-svn-id: trunk@8664 -
2007-09-27 20:10:30 +00:00
Jonas Maebe
f51bac256d * made pic-safe (by simply not accessing global variables from
assembler code anymore, as I don't see how to easily support
    PIC access to global variables for Darwin/i386)

git-svn-id: trunk@8663 -
2007-09-27 15:08:09 +00:00
Jonas Maebe
e81d4b737f * give a build-time error when trying to cross-compile the compiler from
non-i386 to i386 because that will result in internalerrors later anyway

git-svn-id: trunk@8662 -
2007-09-27 13:22:51 +00:00