Commit Graph

8207 Commits

Author SHA1 Message Date
michael
a43bda5052 * Added sort method to TCollection
git-svn-id: trunk@12901 -
2009-03-15 15:46:50 +00:00
Jonas Maebe
02bfd45775 * corrected properties
git-svn-id: trunk@12900 -
2009-03-15 15:21:17 +00:00
Jonas Maebe
ab8b32dafb - removed PARAOUTFILE define and ifdefs
git-svn-id: trunk@12898 -
2009-03-15 12:31:02 +00:00
Jonas Maebe
a8eb1cc30b - removed FPC_DARWIN_JMP_MAIN and FPC_DARWIN_PASCALMAIN defines and ifdefs
git-svn-id: trunk@12897 -
2009-03-15 12:21:59 +00:00
Jonas Maebe
f2ce99029b * fixed sets in rtti for big endian systems
* changed set sizes in rtti to 1 byte for Delphi compatibility
  * fixed tests/webtbs/tw12038 for the new set sizes
  * documented at http://wiki.freepascal.org/User_Changes_Trunk#Sets_in_RTTI_.28run-time_type_information.29

git-svn-id: trunk@12894 -
2009-03-15 12:06:30 +00:00
Jonas Maebe
8d2f3946e0 * fixed TextToFloat() in case ThousandSeparator = DecimalSeparator, based
on patch by Bart Broersma (mantis #13307)

git-svn-id: trunk@12885 -
2009-03-14 15:20:46 +00:00
marco
e0a5de2280 * fix typo downstream from Debian (Mazen)
git-svn-id: trunk@12873 -
2009-03-10 07:26:11 +00:00
micha
be06f28b18 - win rtl: remove unused thread window (hint by Sergei Gorelkin)
git-svn-id: trunk@12872 -
2009-03-09 19:10:00 +00:00
Jonas Maebe
6165536b5e + added {$modeswitch objectivec1}/-Mobjectivec1 mode switch to enable
the use of Objective-C 1.0 constructs. Because it is a mode switch, it
    can be used cumulatively with every syntax mode. Note that a {$mode xxx}
    statement resets all mode switches as well, so you cannot use the
    -Mobjectivec1 variant if you have such a statement in a unit. This
    modeswitch is currently only enabled for Darwin/PowerPC and Darwin/i386,
    as the backend support is not yet implemented for other platforms.
  + implemented selector() statement that can be used to create an Objective-C
    selector for the message with the specified *constant* name (in the future,
    it will also work for Objective-C method identifiers)
  + added SEL type to the system unit (the selector() statement returns it)
  + added all Objective-C segments to the assembler writers
  + (currently mostly dummy) objc1 unit that is automatically included if the
    {$modeswitch objectivec1} statement is used
  + some tests for the selector() statement

git-svn-id: trunk@12870 -
2009-03-08 18:40:32 +00:00
Jonas Maebe
f13006c7f2 * changed the output parameters of a bunch of *tofloat() and
trystrtocurr() from var to out (mantis #13289)

git-svn-id: trunk@12862 -
2009-03-07 15:17:58 +00:00
Jonas Maebe
b92df02778 * new Intbasicevent*() implementation based on pthread_cond_signal by
Fabio Luis Girardi (mantis #9895)

git-svn-id: trunk@12857 -
2009-03-04 20:15:27 +00:00
Jonas Maebe
be5709fcfd + pthread_cond_broadcast() definition
git-svn-id: trunk@12856 -
2009-03-04 20:10:05 +00:00
Jonas Maebe
c943c609bd + support for vaString when reading variant properties
* fixed support for vaUString when reading variant properties (call
    ReadUnicodeString instead of ReadWideString)

git-svn-id: trunk@12853 -
2009-03-02 16:19:45 +00:00
yury
08b551b504 + Added extapi and imm wince api units by Vasil Maximov.
* Updated some existing wince api units by Vasil Maximov.

git-svn-id: trunk@12839 -
2009-03-01 11:10:10 +00:00
ivost
e98850c5c5 * added TFPGObjectList
git-svn-id: trunk@12834 -
2009-03-01 00:08:27 +00:00
Jonas Maebe
4bf254bc32 * added .txt extensions to all README, TODO and COPYING files
(mantis #12358)

git-svn-id: trunk@12825 -
2009-02-28 17:34:08 +00:00
Jonas Maebe
e9fcae46d9 * replaced "tvardata" with "variant" in the interface for streaming
variants (without pulling in the variants unit)

git-svn-id: trunk@12824 -
2009-02-28 17:08:47 +00:00
Károly Balogh
ddad9f320d * fixed typo
git-svn-id: trunk@12822 -
2009-02-28 12:14:59 +00:00
Károly Balogh
ca28c013af * added right mousebutton support
* removed superverbose debug for snapshot release
* added Enter to rawkey table

git-svn-id: trunk@12821 -
2009-02-28 12:12:19 +00:00
Jonas Maebe
b95b1cc983 * variants are now stored in a stream as regular values instead of as a
secific variant type
  + support for storing qwords in streams (vaQWord, necessary for varQWord
    support)
  * moved variant serialisation from twriter into tbinaryobjectwriter so
    it can be overridden
   (all further changes for mantis #10482)

git-svn-id: trunk@12820 -
2009-02-28 12:01:18 +00:00
Jonas Maebe
fba565d666 * use statvfs/fstatvfs on solaris instead of statfs/fstatfs, because the
latter are deprecated
  * replaced (wrong) statfs record definition with the definition of statvfs

git-svn-id: trunk@12815 -
2009-02-28 10:18:36 +00:00
Jonas Maebe
f7003119d0 * fixed AddDisk() in sysutils and dos units, and fixed memory leaks
related to this functionality, based on analysis/patch by Michael
    Kamburelis (mantis #9985)

git-svn-id: trunk@12814 -
2009-02-27 22:02:24 +00:00
Jonas Maebe
9e7efd7321 * reduced waiting steps in emulated "timed wait" in basiceventwaitfor
further from 50ms to 20ms (mantis #9895)

git-svn-id: trunk@12813 -
2009-02-27 21:36:55 +00:00
florian
4bc28de96f * use different haltproc for arm-linux-eabi, this should be cleaned up by using also pascal units for the startup code for arm-linux
git-svn-id: trunk@12808 -
2009-02-27 15:20:20 +00:00
florian
8a940151a7 o patch by Sergej Gorelkin:
* When OpenExeFile is called with an empty filename argument, 
    it apparently opens stdin and crashes immediately thereafter trying to seek in non-seekable stream. 
    The filename is empty whenever GetLineInfo is called with the address that does not belong to valid module.

git-svn-id: trunk@12802 -
2009-02-26 18:34:48 +00:00
Károly Balogh
c9308d4299 * Somewhat working mouse support (left button + moves), only to be used with FV
* An attempt to optimize forced screen updates in video mode, because they really blow, and Free Vision forces a whole screen update on every window move
* Probably other stuff i already forgot

git-svn-id: trunk@12799 -
2009-02-26 00:46:27 +00:00
marco
3265ce1aa1 * small makefile fix introduced with 64-bit port?
git-svn-id: trunk@12797 -
2009-02-25 22:24:08 +00:00
Károly Balogh
a55ec3bf3b * have a larger buffer for Exec() (can't remember if this was actually an useful change, but let's have it commited, as next snapshot will have this code anyway)
git-svn-id: trunk@12795 -
2009-02-25 21:32:29 +00:00
Jonas Maebe
3884a9b065 * initialise temporary variants using fillchar instead of using varclearproc
(the latter assumes the variant has already been initialised at least
     once). Thanks to Yury.

git-svn-id: trunk@12783 -
2009-02-24 09:57:37 +00:00
Jonas Maebe
e115455ca0 * forgot to commit, part of r12781
git-svn-id: trunk@12782 -
2009-02-23 21:39:20 +00:00
Jonas Maebe
f1daa9fa73 + added support for streaming basic variant types (boolean, integer types,
floating point types, currency and string types), based on description
    by Anton Kavalenka at
    http://wiki.freepascal.org/FPC_Cleanroom#Variant_streaming_implementation
    and based on his test program (mantis #10482)

git-svn-id: trunk@12781 -
2009-02-23 21:32:12 +00:00
Vincent Snijders
acba12517b * fixed compilation on win64 by using LResult as result type of a window proc
git-svn-id: trunk@12779 -
2009-02-23 20:29:08 +00:00
Jonas Maebe
d20080c3d6 * fixed order of parameter pushing to gmon_monstartup
git-svn-id: trunk@12778 -
2009-02-23 18:03:49 +00:00
Jonas Maebe
4bb1d13d83 * fixed reading utf-8 strings from streams (based on patch by Anton
Kavalenka, mantis #13015)

git-svn-id: trunk@12777 -
2009-02-23 14:58:23 +00:00
florian
344ccfce72 * who uses C style operators in the heart of FPC ;)? fixed
git-svn-id: trunk@12764 -
2009-02-21 22:59:10 +00:00
micha
3b171cb6fb * windows rtl: fix resource leak when cleaning up last tthread without message loop (fixes issue #13173)
git-svn-id: trunk@12761 -
2009-02-21 17:42:33 +00:00
micha
82e9d9009d * fix memory leak introduced in rev 9696, orphaned os chunks are not reused for short-lived threads (fixes issue #13173)
git-svn-id: trunk@12759 -
2009-02-20 22:35:41 +00:00
florian
65b46d5821 * patch by Olivier Coursiere to fix beos building
git-svn-id: trunk@12743 -
2009-02-14 18:02:01 +00:00
florian
f0b8721f72 * Makefiles regenerated
git-svn-id: trunk@12740 -
2009-02-14 10:38:42 +00:00
florian
475cd9926d * couple of small haiku fixes by Olivier Coursiere
git-svn-id: trunk@12739 -
2009-02-14 10:36:12 +00:00
ivost
0438667eed * fixed bug #5800
* const s: string = icorbainterface; is possible now
* as operator is working now with corba interfaces
* supports helper function is working now with corba interfaces

git-svn-id: trunk@12729 -
2009-02-09 00:35:09 +00:00
Jonas Maebe
053493fbeb * fixed FahrenheitToCelsius() and CelsiusToFahrenheit() (mantis #13133)
git-svn-id: trunk@12721 -
2009-02-08 15:30:59 +00:00
Jonas Maebe
95431c57f5 * fixed variantarrays for 64 bit systems after the changes in 2.2.0 to
turn variantarray indices into longints
  * extended tw9161 to also test storing and retrieving dynamic arrays
    in/from variant arrays

git-svn-id: trunk@12713 -
2009-02-08 00:24:03 +00:00
Jonas Maebe
7950db7f2f * fixed (harmless) range check errors
git-svn-id: trunk@12710 -
2009-02-07 22:25:33 +00:00
Jonas Maebe
dc2d1c6926 * fixed (harmless) range check errors
* fixed indentation

git-svn-id: trunk@12709 -
2009-02-07 22:25:07 +00:00
florian
05fcdceb6d + list of possible feature switches
git-svn-id: trunk@12706 -
2009-02-07 21:48:43 +00:00
Jonas Maebe
ef7d9c7a41 * fixed range check errors when typecasting vBoolean to unsigned ordinals
git-svn-id: trunk@12702 -
2009-02-07 21:12:01 +00:00
florian
0c65d53f45 + added register keyword to Interlocked* definitions as suggested by Jonas, resolves #12255
git-svn-id: trunk@12698 -
2009-02-07 16:09:05 +00:00
ivost
0f519439b5 * reverted r12690 and r12691
* but extended ptconst so that a com interface maybe assigned to a TGuid const

git-svn-id: trunk@12692 -
2009-02-06 02:56:13 +00:00
ivost
7f2c77a407 * temporarly disabled GetInterface(iidstr: .... to keep fpc compiling
git-svn-id: trunk@12691 -
2009-02-06 01:37:52 +00:00
yury
8bbb39b630 * MaxBitFlags must not exceed MaxInt atm. After r12443, MaxBitFlags was $3FFFFFFE0. "unreachable code" warning indicated that something is wrong. Please fix all warning/notes to eliminate possible coding errors...
git-svn-id: trunk@12687 -
2009-02-05 12:19:02 +00:00
Jonas Maebe
6f12cb03db * if no locking is specified, also request an exclusive lock for solaris
in case the file is opened as read/write (instead of only if opened as
    write-only)

git-svn-id: trunk@12685 -
2009-02-04 11:41:18 +00:00
Jonas Maebe
78f6e5ff6e * fixed fmShareDenyNone for Solaris
git-svn-id: trunk@12684 -
2009-02-04 10:13:46 +00:00
marco
c13f553b9b * comment added previous commit
git-svn-id: trunk@12683 -
2009-02-04 09:11:25 +00:00
marco
33133d00da * polybezierto and polydraw corrected as per Mantis 13112
git-svn-id: trunk@12677 -
2009-02-03 20:38:27 +00:00
Jonas Maebe
6581c8dec5 * hopefully final fix to unix locking: specifying no locking mode again
means "exclusive lock" where supported (not on Solaris when opening
    a file in read-only mode)

git-svn-id: trunk@12675 -
2009-02-03 13:34:56 +00:00
Jonas Maebe
213c00b17f * updated check for minimum version required to build trunk (at least
FPC 2.2.2)

git-svn-id: trunk@12671 -
2009-02-03 11:43:42 +00:00
marco
017f7b2528 * log* defines.
git-svn-id: trunk@12665 -
2009-02-02 20:44:18 +00:00
marco
6ab2cae3cc * deprecated (for 2.4) some functions that take a shortstring path.
(problems with long filenames)

git-svn-id: trunk@12653 -
2009-02-02 10:06:03 +00:00
florian
1221a10ceb * some cosmetic changes
git-svn-id: trunk@12652 -
2009-02-01 22:51:19 +00:00
florian
17e62ae5e4 + build embedded rtl
git-svn-id: trunk@12646 -
2009-02-01 17:17:39 +00:00
marco
1533599426 * regionsize now ptruint, mantis 13077
git-svn-id: trunk@12638 -
2009-02-01 13:20:21 +00:00
florian
1b79f2ebcf * improved feature defines
+ basic consoleio support for the embedded target

git-svn-id: trunk@12637 -
2009-02-01 12:44:25 +00:00
florian
c127154efa o Haiku patches by Olivier Coursiere
+ add posix thread support
  * improve signal handling
  * synchronize haiku's baseunix unit with the unix one (maybe it will be possible to remove Haiku's one in a future patch, but i keep it for now)
  + add support for standard sockets
  * fix some functions import to use the right libraries under Haiku
  * fix packages compilation

git-svn-id: trunk@12636 -
2009-02-01 10:30:55 +00:00
Jonas Maebe
f9556bad39 * fixed ESysEIntr checking for fpflock
git-svn-id: trunk@12635 -
2009-01-31 21:12:17 +00:00
Jonas Maebe
4a829da2fc * fixed fileopen when not specifying any sharing (should not perform any
locking at all) (= fmShareCompat, as that one is 0)
  * fixed test for this change (and for fmShareDenyNone)

git-svn-id: trunk@12634 -
2009-01-31 18:46:11 +00:00
Jonas Maebe
9fabb0b127 * fixed file locking of files opened as read- or write-only on solaris
(locking is based on fcntl there, and that one cannot create an
     exclusive lock for a read-only file or a shared lock for a write-only
     file)

git-svn-id: trunk@12633 -
2009-01-31 18:11:58 +00:00
Jonas Maebe
6851d6d8e0 * fixed solaris flock type
* fixed and enabled solaris flock implementation based on fcntl (although
    tests/test/units/sysutils/tfile2 still fails for solaris, because
    fcntl removes all locks as soon as you close a single file descriptor
    referring to a file, while flock doesn't)

git-svn-id: trunk@12632 -
2009-01-30 16:40:43 +00:00
Jonas Maebe
57ff980bc3 * hopefully fixed beos compilation after r12630 (it doesn't have flock)
git-svn-id: trunk@12631 -
2009-01-30 16:09:08 +00:00
Jonas Maebe
a730ee7f10 + support for file locking for *nix systems based on flock (mantis #13012)
git-svn-id: trunk@12630 -
2009-01-30 15:08:30 +00:00
florian
527dd80aa2 * fixed some errors in the irq handlers
git-svn-id: trunk@12629 -
2009-01-29 16:20:47 +00:00
Jonas Maebe
9b67b6469b * fixed FpFcntl() for libc-based systems
* fixed FpIoctl() for Linux/libc (it also uses varargs)

git-svn-id: trunk@12628 -
2009-01-29 15:38:17 +00:00
Jonas Maebe
1d43a5af55 * fixed O_NOCTTY constant value
git-svn-id: trunk@12627 -
2009-01-29 15:10:43 +00:00
Jonas Maebe
b912e00440 * renamed rol/ror functions into rolbyte/rolword/roldword/rolqword
(and the same for ror), because their operation is very dependent on the
    operand size, and it's fairly easy to misjudge the bitwidth of the outcome
    of an expression in Pascal if you are not intimately familiar with the
    language (or if you don't know the exact types of all involved values in
    an expression)

git-svn-id: trunk@12621 -
2009-01-28 12:56:27 +00:00
florian
1e26e5dd3c + clear ram on startup
+ default interrupt handlers

git-svn-id: trunk@12620 -
2009-01-27 18:12:01 +00:00
florian
f76606989b + arm cpus are powerfull enough to handle soft fpu code
git-svn-id: trunk@12616 -
2009-01-26 17:23:47 +00:00
florian
40b86f9fa8 * entry code fixed
git-svn-id: trunk@12615 -
2009-01-26 17:22:54 +00:00
florian
5f9b82d38b * first compilable version
git-svn-id: trunk@12614 -
2009-01-26 14:28:46 +00:00
ivost
38bf32dddf * added csize_t and pcsize_t for non unix systems (in unix/ctypes.pp)
* added csize_t = UnixTypes.size_t in ctypes.pp for unix systems.
* reason: size_t is a C type and it's often used by C header files. Several packages define their own size_t. 

git-svn-id: trunk@12602 -
2009-01-26 12:58:20 +00:00
florian
2510af64d1 * fixed compilation of embedded system unit: path helper functions depend now on the avaibility of the textio/fileio feature
git-svn-id: trunk@12599 -
2009-01-26 08:23:38 +00:00
florian
c07a60f8e0 + experimental support unit for Phillips/NXP arm microcontroller
git-svn-id: trunk@12597 -
2009-01-25 21:56:23 +00:00
Jonas Maebe
ee05e0e740 * keep reading in getxy until the entire xterm response has been read
(mantis #8842)

git-svn-id: trunk@12593 -
2009-01-25 14:08:27 +00:00
marco
9ff8491cee * tab2space used zeroes instead of spaces. (mantis 13024)
git-svn-id: trunk@12583 -
2009-01-22 22:09:21 +00:00
Legolas
8506d8fdf1 * Changes to compiler and rtl to make it compatible with devkitARM r24
* First attempt to implement a sort of generic "gate" for adding different file access methods
* Optimized heap and stack handling

git-svn-id: trunk@12562 -
2009-01-18 16:05:44 +00:00
joost
d2d4aa22db * Fixed TryEncodeDateTime. Adding a date and a time is not valid for dates before 1899-12-30, use ComposeDateTime instead
git-svn-id: trunk@12561 -
2009-01-18 16:05:04 +00:00
Jonas Maebe
307d9745ed * adapted some field names so they correspond to the automatically
translated headers

git-svn-id: trunk@12530 -
2009-01-08 20:22:50 +00:00
Jonas Maebe
1a1fc1357d * honour the specified stack size when creating new threads on unix
platforms + test (mantis #12942)

git-svn-id: trunk@12527 -
2009-01-08 18:37:24 +00:00
Jonas Maebe
5a88be1030 * set default stack size to 4 MiB instead of to 32 KiB
git-svn-id: trunk@12526 -
2009-01-08 18:08:32 +00:00
Jonas Maebe
b7d461d0f0 * fixed generic stack checking code (the stack pointer is already decreased
before FPC_STACKCHECK is called, so don't subtract the allocated size
    again when checking)

git-svn-id: trunk@12525 -
2009-01-08 18:05:11 +00:00
Jonas Maebe
22aacd2a60 * return 0 for length(pchar(0)), like Kylix does (using corrected and
multi-platform version of patch in r12461, which caused the i386 version
    of fpc_pchar_length to return 0 in all cases, which used tabs, and did
    not include a test case)

git-svn-id: trunk@12464 -
2009-01-01 22:02:17 +00:00
ivost
8046f82416 * Undoing change commited in r12461, it looks like a feature and not a bug ;)
git-svn-id: trunk@12463 -
2009-01-01 21:45:42 +00:00
ivost
fe3263eb08 * i386 version of fpc_pchar_length did not accept NIL strings, maybe we have to check other implementations also
git-svn-id: trunk@12461 -
2009-01-01 21:18:49 +00:00
joost
4fc5d5dbef * Show provided invalid date in StroToDate error messages
* Show a proper error-message if an empty string is supplied to StrToDate

git-svn-id: trunk@12452 -
2008-12-28 22:37:59 +00:00
marco
658dc2d8cd * increased very low (64k) TBits limit to +/- 2GB, like most datastructures.
Artifact of TP times? Mantis 12431. Further increasing (e.g. for 64-bit)
     needs cleanup (ptr(u)int?) first.

git-svn-id: trunk@12443 -
2008-12-27 21:15:30 +00:00
marco
f0c236b992 * Made overloading situation ifthen more Delphi compatible. Mantis #12662
All string variants now in one unit.

git-svn-id: trunk@12442 -
2008-12-27 18:43:22 +00:00
florian
23bbb087bd * indention fixed
git-svn-id: trunk@12434 -
2008-12-24 16:17:09 +00:00
marco
b8194205af * two more culong(1) shl fixes.
git-svn-id: trunk@12419 -
2008-12-23 14:00:59 +00:00
marco
a88ebff6dd * fix for 64-bit signed<->unsigned issue, bug #12841
git-svn-id: trunk@12418 -
2008-12-23 13:57:25 +00:00
michael
a580fe60d0 * Patch from Inoussa OUEDRAOGO so it can work with Delphi2009 and unicode chars
git-svn-id: trunk@12403 -
2008-12-19 17:49:24 +00:00
Tomas Hajny
17a001354a * unicodestringmanager patch from r11743 extended to OS/2 and other platforms using system.pas instead of system.pp
git-svn-id: trunk@12394 -
2008-12-19 12:47:17 +00:00
Tomas Hajny
b873d3133f * unicodestringmanager patch from r11743 extended to OS/2 and other platforms using system.pas instead of system.pp
git-svn-id: trunk@12393 -
2008-12-19 12:46:58 +00:00
Jonas Maebe
d3923b315a * generic support for setting islibrary to true for libraries (+ changed
tlibrary1 to test this)

git-svn-id: trunk@12377 -
2008-12-17 17:49:16 +00:00
Jonas Maebe
d4d7b695c7 - removed all "islibrary:=false;" assignments from system unit
initialisation code, because that's a typed constant already initialised
    to that value and it interferes with a generic solution to set islibrary
    to true for libraries

git-svn-id: trunk@12376 -
2008-12-17 17:48:04 +00:00
Jonas Maebe
3216e8c7bc * mark produced object files as "does not require executable stack" by
default for Linux (overridable using -WX switch) (mantis #11563)

git-svn-id: trunk@12356 -
2008-12-12 16:26:25 +00:00
yury
5ffec2d876 * Fixed notes: Virtual method X has a lower visibility (protected) than parent class (public).
git-svn-id: trunk@12353 -
2008-12-12 15:07:05 +00:00
yury
aa21ff308e * Added Delphi compatible definition for VerQueryValue for wince. Bug #12716.
git-svn-id: trunk@12351 -
2008-12-12 14:03:07 +00:00
marco
8056591845 * marked domain field of Linux record with "platform" directive. under IFNDEF 2.2, do not merge
git-svn-id: trunk@12342 -
2008-12-11 17:42:36 +00:00
Jonas Maebe
afafe33266 + readded FPC_WRITE_TEXT_ANSISTR alias removed in r12322, because it's
required by the variant code

git-svn-id: trunk@12337 -
2008-12-11 12:31:23 +00:00
michael
a469e84820 * And yet another extra test plus fix
git-svn-id: trunk@12335 -
2008-12-11 09:04:48 +00:00
Jonas Maebe
d9c5cd76cd * some more darwin/arm stuff I forgot to commit earlier:
o softfloat support for bsd/system.pp (enabled when compiling for ARM)
    o include darwin/arm sigaction structs in darwin/signal.inc when
      compiling for ARM (can't commit the file itself that contains
      those structs due to licensing issues though)

git-svn-id: trunk@12327 -
2008-12-10 21:10:59 +00:00
michael
6d93a762fd * And once more fixed formatfloat. All results consistent with Delphi now
git-svn-id: trunk@12323 -
2008-12-10 20:39:16 +00:00
Jonas Maebe
53a638ad9f - removed no longer needed alias names
git-svn-id: trunk@12322 -
2008-12-10 19:24:01 +00:00
michael
87a6193f4f * Hopefully fixed formatfloat negative value bugs once and for all
git-svn-id: trunk@12303 -
2008-12-05 10:54:22 +00:00
micha
aa38b10011 * attempt to fix powerpc64-linux sync_file_range compilation
git-svn-id: trunk@12274 -
2008-11-29 15:43:09 +00:00
florian
dbd037afcc * link against libc when profiling
git-svn-id: trunk@12269 -
2008-11-29 12:28:43 +00:00
marco
52bb5ac229 * removed some old 1.0.x ->2.0.x transitional code (executeprocess)
git-svn-id: trunk@12238 -
2008-11-26 23:08:17 +00:00
joost
4fd9d7314a * Fixed wrong order of elements in psaElementSizes introduced in r12138
git-svn-id: trunk@12227 -
2008-11-25 18:16:51 +00:00
Jonas Maebe
bf7b6fd279 + darwin/arm signal handling support, except for the definition of the
signal context structure as the license of the original file isn't
    100% clear yet

git-svn-id: trunk@12196 -
2008-11-21 22:04:03 +00:00
florian
d78855cea8 + more c types
git-svn-id: trunk@12175 -
2008-11-19 11:36:43 +00:00
micha
d6b3d5dd38 * enable poll syscall in freebsd
git-svn-id: trunk@12156 -
2008-11-17 22:20:37 +00:00
micha
04d8ad3f17 * fix linux syscall numbers naming consistency #2 (overlooked some)
git-svn-id: trunk@12154 -
2008-11-17 21:48:02 +00:00
micha
176f545c3b * fix linux syscall numbers naming consistency (fixes x86_64 unit linux build)
git-svn-id: trunk@12153 -
2008-11-17 21:46:34 +00:00
florian
af133effa2 * fix of broken r12138
git-svn-id: trunk@12141 -
2008-11-17 10:18:25 +00:00
florian
7afd3ba256 * patch by Petr Kirstan to resolve #12333
git-svn-id: trunk@12138 -
2008-11-16 22:53:17 +00:00
micha
4594758ae5 + add poll support for unix
git-svn-id: trunk@12128 -
2008-11-16 17:05:47 +00:00
micha
923e5eff19 * fix lstat syscall for linux/powerpc64 (lstat64 is only for 32 bit platforms)
git-svn-id: trunk@12122 -
2008-11-16 14:22:36 +00:00
micha
1b418875b3 * fix typo
git-svn-id: trunk@12110 -
2008-11-15 20:49:18 +00:00
micha
28e614c237 * move fdatasync to linux unit
git-svn-id: trunk@12109 -
2008-11-15 20:44:44 +00:00
micha
2a1fc6723a + add fdatasync syscalls for linux
git-svn-id: trunk@12108 -
2008-11-15 17:04:27 +00:00
micha
d7e90f9e48 + add splice and sync_file_range linux-only syscalls
git-svn-id: trunk@12107 -
2008-11-15 15:43:52 +00:00
micha
341cec908d * update linux syscall numbers (merge powerpc64 to powerpc)
git-svn-id: trunk@12106 -
2008-11-15 15:42:12 +00:00
michael
f64ec1faa6 * removed debug statement
git-svn-id: trunk@12088 -
2008-11-14 13:06:45 +00:00
michael
0d53564797 * Fixed bug #12385
git-svn-id: trunk@12087 -
2008-11-14 13:04:51 +00:00
marco
c72c091277 * fix for 12619, security_descriptor_min_length now a sizeof as in the winsdk headers. (win64)
git-svn-id: trunk@12066 -
2008-11-13 08:53:50 +00:00
Jonas Maebe
dbbd75ca47 * fixed setting EInoutError.ErrorCode (mantis #12575, thanks to
Bart Broersma for the analysis)

git-svn-id: trunk@12037 -
2008-11-09 09:46:47 +00:00
florian
6dcdf5bdf4 * tabs/spaces fixed
git-svn-id: trunk@12015 -
2008-11-02 09:41:30 +00:00
marco
699a0ba70f * another part of Almindor's fix.
git-svn-id: trunk@12007 -
2008-11-01 11:53:21 +00:00
marco
e0821f6682 * pipe cleanup from Ales, also fixes TProcess for AMD64.
git-svn-id: trunk@12006 -
2008-11-01 11:43:43 +00:00
michael
65637e301f * Fixed strtotime. Last character was never taken into account
git-svn-id: trunk@12005 -
2008-11-01 11:05:21 +00:00
Almindor
dbe3cfba21 * remove unused oldfpccall from amd64 BSD syscall code
git-svn-id: trunk@12003 -
2008-10-31 18:19:44 +00:00
Almindor
bf9358efd4 * revert previous AssignPipe change, will need different approach
git-svn-id: trunk@12002 -
2008-10-31 13:28:00 +00:00
Károly Balogh
193b658325 + fixed SysUpdateScreen(true) refresh bugs
git-svn-id: trunk@12000 -
2008-10-30 21:59:59 +00:00
Károly Balogh
4a5a3e3118 + support for changing window size in keyboard and video units
* still has bugs, but good for a start

git-svn-id: trunk@11997 -
2008-10-30 20:52:22 +00:00
Almindor
600da72d75 * fix AssignPipe for FreeBSD
git-svn-id: trunk@11996 -
2008-10-30 12:42:13 +00:00
Almindor
1ed71f011c * proper fix for the kqueue struct. Use PtrUInt and PtrInt respectively...
git-svn-id: trunk@11994 -
2008-10-29 19:17:53 +00:00
marco
f042df1bdb * fix for several -W macro's.
git-svn-id: trunk@11989 -
2008-10-28 14:28:38 +00:00
marco
b96c83d5d6 * 64-bit fix for extlogpen
git-svn-id: trunk@11985 -
2008-10-27 13:43:01 +00:00
marco
e5d18aba3e * TLogBrush.lbHatch should be ulong_ptr (win64 problem)
git-svn-id: trunk@11984 -
2008-10-27 12:32:57 +00:00
Károly Balogh
eac6ce9a98 + Some keyboard unit rework
* moved more RawKeyCode handling into our nice table from custom code
  * initial sysmsg support (SysClose, for now)

git-svn-id: trunk@11983 -
2008-10-27 09:33:36 +00:00
Károly Balogh
423aca9d63 + Huge video unit rework for Amiga/MorphOS
* removed tons of Win32 unit leftovers, and other cleanups
  * cursor handling fixes, additions (like changing cursor shapes)
  * added initial support for sysmsgs

git-svn-id: trunk@11982 -
2008-10-27 09:30:46 +00:00
Károly Balogh
42871abdeb + ObtainPen()'s 2nd argument is actually a longint, not cardinal,
because -1 is a valid argument for this function there.
  This bug is also in the original AmigaOS C SDK, which specifies
  this argument as ULONG, and defines -1 as valid argument for it.

git-svn-id: trunk@11981 -
2008-10-27 09:27:07 +00:00
Károly Balogh
07f30fbd47 + more work on video and keyboard units
* less debug during init
  * SysGetShiftState() support, reworked RawKeyCode support
  * support for more keys, with qualifiers. for example some clipboard operations work now in FV.

git-svn-id: trunk@11973 -
2008-10-25 00:49:42 +00:00
Károly Balogh
b683ddf406 + added a quick'n'dirty Sysutils.Sleep() implementation
git-svn-id: trunk@11965 -
2008-10-24 00:26:20 +00:00
Károly Balogh
eb1f214c3d * fixes and optimizations in video unit
+ now properly sets ScreenColor to true
  + optimized DrawChar() to use BltTemplate() instead of WritePixel() loops
    this results in less gfx operations, major speedup, and elimination of
    possible display trashing (WritePixel() doesn't wait for blit operations
    to finish)
  + updated vgafont in videodata.inc to be in proper format for BltTemplate()
  + other tweaks here and there

git-svn-id: trunk@11964 -
2008-10-23 23:40:36 +00:00
marco
e5db5e4aa8 * regened makefiles to propagate makefile versions
git-svn-id: trunk@11947 -
2008-10-22 17:32:15 +00:00
marco
3591d54f24 * updated all makefile.fpc versions to 2.2.2 for fppkg compat.
git-svn-id: trunk@11945 -
2008-10-22 17:19:13 +00:00
Almindor
8fe91950e9 + add missing SHUT_* constants to openbsd
git-svn-id: trunk@11940 -
2008-10-20 16:59:58 +00:00
Almindor
4972ec0ae5 + add missing SHUT_* constants for fpshutdown() (aliases from winsock2)
git-svn-id: trunk@11939 -
2008-10-20 16:57:32 +00:00
florian
10e0f0e387 * keep stack aligned at 8 byte boundary inside the startup code
git-svn-id: trunk@11934 -
2008-10-18 21:20:54 +00:00
florian
2cbdf2cd61 + arm linux syscalls updated
git-svn-id: trunk@11930 -
2008-10-18 18:57:20 +00:00
florian
14a0ec4ea3 * made fptime based on usgettimeofday available
* moved defines selecting the right syscall from ossysc.inc to osdefs.inc

git-svn-id: trunk@11915 -
2008-10-18 13:50:55 +00:00
florian
037f95c451 * fixed syscall0 for arm eabi
git-svn-id: trunk@11914 -
2008-10-18 13:49:39 +00:00
florian
3b5699e488 * removed packed, the stat record should be c packed
* deprecated old fields as it is done on other architectures

git-svn-id: trunk@11912 -
2008-10-18 13:48:17 +00:00
florian
7c6e0a48e9 * arm-linux-eabi uses mmap2 and ugetrlimit
git-svn-id: trunk@11908 -
2008-10-17 19:00:58 +00:00
yury
a6bff5f077 + Some fixes to wince api units by Vasil Maximov.
git-svn-id: trunk@11905 -
2008-10-17 10:41:46 +00:00
yury
14b5b6b9f2 + New wince api units and some fixes to existing api units by Vasil Maximov.
git-svn-id: trunk@11904 -
2008-10-16 11:43:01 +00:00
Jonas Maebe
13d92bfa04 + fpmkfifo for libc
git-svn-id: trunk@11903 -
2008-10-16 11:12:37 +00:00
Károly Balogh
a096096de1 + fixed Sysutils' ExecuteProcess() to allow longer ComLine than 256 chars (smartlinking needs this badly)
git-svn-id: trunk@11867 -
2008-10-07 19:33:30 +00:00
ivost
8fe3b40070 * added helper function "FindPropInfo" with additional TypeKind filter parameter
git-svn-id: trunk@11856 -
2008-10-02 21:56:54 +00:00
ivost
456e40bde7 * fixed bug in VarSupports (accessviolation when variant was nil)
git-svn-id: trunk@11847 -
2008-10-01 22:39:16 +00:00
ivost
1ec2bf7f94 * implemented VarSupports helpers
git-svn-id: trunk@11846 -
2008-10-01 21:34:48 +00:00
yury
1fe90fe7dc * Removed unused code and unused local variable.
git-svn-id: trunk@11845 -
2008-10-01 12:25:03 +00:00
yury
3e92fc8a28 * Use MB_SETFOREGROUND and ICON_ERROR flags for unhandled exception message box on wince to prevent message box hiding when sequential error messages are displayed.
git-svn-id: trunk@11844 -
2008-10-01 12:19:55 +00:00
florian
340844b9e0 * fixes array overflow in VarTypeAsText when an 'Array of' or 'Ref to' variant type is passed
git-svn-id: trunk@11842 -
2008-09-29 19:59:27 +00:00
florian
50012c2357 * fix by Inoussa OUEDRAOGO to improve UnicodeString property handling, resolves #12224
git-svn-id: trunk@11832 -
2008-09-27 13:25:11 +00:00
florian
f64dbd70cf * make unicodechar equivalent to widechar, resolves #12233
git-svn-id: trunk@11830 -
2008-09-27 12:40:42 +00:00
florian
17e7c221fd * typo fixed
git-svn-id: trunk@11829 -
2008-09-27 12:37:30 +00:00
marco
aa4edaf074 * yet another fix for 10292, mea culpa. (identifiers were added for the wrong architecture)
git-svn-id: trunk@11826 -
2008-09-26 19:32:39 +00:00
Jonas Maebe
b2531e9883 * don't "round" 0.0 when converting to a string (mantis #12202)
git-svn-id: trunk@11823 -
2008-09-26 13:28:53 +00:00
florian
50b63884cb + applied a fix similar to 11820 to x86-64
git-svn-id: trunk@11821 -
2008-09-25 19:31:16 +00:00
florian
558cf3ef87 * reset FPU properly after an exception, resolves #12214
git-svn-id: trunk@11820 -
2008-09-25 19:15:54 +00:00
marco
6cbe4131f1 * fix for 10292, baudrates for x86_64
git-svn-id: trunk@11819 -
2008-09-24 19:57:15 +00:00
marco
15b5f150b4 * getcombobox changes dll. (12200)
git-svn-id: trunk@11818 -
2008-09-23 08:36:56 +00:00
ivost
fc6ae58b9b * added GetPropList function for TClass parameter
git-svn-id: trunk@11811 -
2008-09-21 00:56:06 +00:00
marco
2300b7a484 * csu leftovers
git-svn-id: trunk@11802 -
2008-09-18 14:29:36 +00:00
marco
ec00f1d495 * initial version
git-svn-id: trunk@11799 -
2008-09-17 21:03:44 +00:00
ivost
69bd90996b * added S_IRWXG and S_IRWXU constants to ostypes.inc of linux (defined in sys/stat.h)
git-svn-id: trunk@11797 -
2008-09-16 22:57:07 +00:00
Jonas Maebe
6b473862cf * give an error stating that you have to use the latest released compiler
to build 2.3.1 since the unicode branch merge

git-svn-id: trunk@11795 -
2008-09-16 21:59:15 +00:00
florian
efe81977e1 + dummy intassignpipe for non-i386
git-svn-id: trunk@11791 -
2008-09-16 08:36:28 +00:00
marco
3f5511661a * lots of little longint() to TSysParam() fixes. Ancient code, brr.
git-svn-id: trunk@11790 -
2008-09-15 20:01:17 +00:00
ivost
15dd98d940 * removed size_t from ctypes.pp in trunk (reverted)
git-svn-id: trunk@11786 -
2008-09-14 20:58:37 +00:00
marco
55bf13596e * correction for omfsnamelen, which hopefully fixes ostat
git-svn-id: trunk@11784 -
2008-09-14 20:42:46 +00:00
Jonas Maebe
f9b4d58e98 * set finalized dynarrays to nil (mantis #12048)
git-svn-id: trunk@11773 -
2008-09-13 20:01:47 +00:00
florian
7ab3b2e3f6 * jb -> jnb
git-svn-id: trunk@11771 -
2008-09-13 18:17:13 +00:00
tom_at_work
8a5a6db065 * rol/ror inlines for powerpc/powerpc64 (only for 32/64 bit operands for now)
git-svn-id: trunk@11770 -
2008-09-13 16:29:42 +00:00
florian
e32f13dffb * intAssignPipe is i386 only code
git-svn-id: trunk@11767 -
2008-09-13 15:37:06 +00:00
florian
9c6e831c7a * fixed several syscall stuff for x86_64-freebsd
git-svn-id: trunk@11766 -
2008-09-13 15:21:17 +00:00
florian
7f32e48fe1 + non working dummies, makes make happy though
git-svn-id: trunk@11765 -
2008-09-13 14:54:08 +00:00
florian
a696344539 * fixed typo
git-svn-id: trunk@11758 -
2008-09-13 09:18:27 +00:00
florian
af3e0148fa * fixed syntax error caused by extra :
git-svn-id: trunk@11757 -
2008-09-13 09:18:14 +00:00
florian
fa9858cec2 + FreeBSD lazarus project
git-svn-id: trunk@11756 -
2008-09-13 08:58:54 +00:00
ivost
7582f7f325 added size_t type in ctypes.pp for non unix systems
git-svn-id: trunk@11752 -
2008-09-12 21:42:12 +00:00
florian
39fb51dff3 * fix building of simple x86_64-freebsd executables
git-svn-id: trunk@11750 -
2008-09-11 20:55:18 +00:00
michael
c94843c646 * Fixed writing of default boolean values
git-svn-id: trunk@11749 -
2008-09-11 19:37:18 +00:00
michael
d77b2b2c0c * Fixed writing of default float values
git-svn-id: trunk@11748 -
2008-09-11 19:04:26 +00:00
florian
20fd2d692f o patch by Markus Beth
* improves ReadInteger speed
  * unified ChPos variable casing

git-svn-id: trunk@11746 -
2008-09-11 13:41:54 +00:00
florian
a8804cf2a6 * unified some win32/win64 code
git-svn-id: trunk@11745 -
2008-09-10 21:25:59 +00:00
florian
f97c2968f9 * fixed widestring/unicodemanager initialisiation
git-svn-id: trunk@11743 -
2008-09-10 21:02:50 +00:00
Jonas Maebe
11ede88bec * fixed compilation
git-svn-id: trunk@11741 -
2008-09-10 20:54:00 +00:00
florian
b178b08ba7 Merged revisions 11665-11738 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/unicodestring

........
  r11665 | florian | 2008-08-30 13:30:17 +0200 (Sat, 30 Aug 2008) | 1 line
  
  * continued to work on unicodestring type support
........
  r11666 | florian | 2008-08-30 19:02:26 +0200 (Sat, 30 Aug 2008) | 2 lines
  
  * expectloc for wide/ansi/unicode strings is LOC_CONSTANT or LOC_REGISTER now
........
  r11667 | florian | 2008-08-30 20:42:37 +0200 (Sat, 30 Aug 2008) | 1 line
  
  * more unicodestring stuff fixed, test results on win32 are already good
........
  r11670 | florian | 2008-08-30 23:21:48 +0200 (Sat, 30 Aug 2008) | 2 lines
  
  * first fixes for unix bootstrapping
........
  r11683 | ivost | 2008-09-01 12:46:39 +0200 (Mon, 01 Sep 2008) | 2 lines
  
      * fixed 64bit bug in iconvenc.pas
........
  r11689 | florian | 2008-09-01 23:12:34 +0200 (Mon, 01 Sep 2008) | 1 line
  
  * fixed several errors when building on unix
........
  r11694 | florian | 2008-09-03 20:32:43 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * fixed unix compilation
........
  r11695 | florian | 2008-09-03 21:01:04 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * bootstrapping fix
........
  r11696 | florian | 2008-09-03 21:07:18 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * more bootstrapping fixed
........
  r11698 | florian | 2008-09-03 22:47:54 +0200 (Wed, 03 Sep 2008) | 1 line
  
  + two missing compiler procs exported
........
  r11701 | florian | 2008-09-04 16:42:34 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  + lazarus project for the linux rtl
........
  r11702 | florian | 2008-09-04 16:43:27 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  + set unicode string procedures
........
  r11707 | florian | 2008-09-04 23:23:02 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  * fixed several type casting stuff
........
  r11712 | florian | 2008-09-05 22:46:03 +0200 (Fri, 05 Sep 2008) | 1 line
  
  * fixed unicodestring compilation on windows after recent unix changes
........
  r11713 | florian | 2008-09-05 23:35:12 +0200 (Fri, 05 Sep 2008) | 1 line
  
  + UnicodeString support for Variants
........
  r11715 | florian | 2008-09-06 20:59:54 +0200 (Sat, 06 Sep 2008) | 1 line
  
  * patch by Martin Schreiber for UnicodeString streaming
........
  r11716 | florian | 2008-09-06 22:22:55 +0200 (Sat, 06 Sep 2008) | 2 lines
  
  * fixed test
........
  r11717 | florian | 2008-09-07 10:25:51 +0200 (Sun, 07 Sep 2008) | 1 line
  
  * fixed typo when converting tunicodestring to punicodechar
........
  r11718 | florian | 2008-09-07 11:29:52 +0200 (Sun, 07 Sep 2008) | 3 lines
  
  * fixed writing of UnicodeString properties
  * moved some helper routines to unicode headers
........
  r11734 | florian | 2008-09-09 22:38:55 +0200 (Tue, 09 Sep 2008) | 1 line
  
  * fixed bootstrapping
........
  r11735 | florian | 2008-09-10 11:25:28 +0200 (Wed, 10 Sep 2008) | 2 lines
  
  * first fixes for persisten unicodestrings
........
  r11736 | florian | 2008-09-10 14:31:00 +0200 (Wed, 10 Sep 2008) | 3 lines
  
  Initialized merge tracking via "svnmerge" with revisions "1-11663" from 
  http://svn.freepascal.org/svn/fpc/trunk
........
  r11737 | florian | 2008-09-10 21:06:57 +0200 (Wed, 10 Sep 2008) | 3 lines
  
  * fixed unicodestring <-> variant handling
  * fixed unicodestring property reading
........

git-svn-id: trunk@11739 -
2008-09-10 20:14:31 +00:00
Jonas Maebe
4f5513466a * reverted r11671 because it breaks tthread.waitfor on unix
git-svn-id: trunk@11731 -
2008-09-08 21:10:38 +00:00
Jonas Maebe
bc9e7c5580 * fixed syntax errors in r11708 (and it wasn't tested in the nightly
Sparc regressions tests because Solaris is an FPC_USE_LIBC platform,
    and these use memset rather than the generic fillchar)

git-svn-id: trunk@11711 -
2008-09-05 13:14:41 +00:00
Jonas Maebe
af05770a7c * fixed alignment code in generic fillchar (not sure why
tests/test/tfillchr didn't fail in the nightly sparc tests)

git-svn-id: trunk@11708 -
2008-09-04 21:42:51 +00:00
Jonas Maebe
7aee2f3d71 * moved fplstat(ansistring,pstat) overload to bunxovl(h).inc, so all
platforms have (fixes compilation for FPC_USE_LIBC platforms after
    r11681)

git-svn-id: trunk@11693 -
2008-09-02 10:14:45 +00:00
michael
0ed810b6b0 * Fixed default value for floats (mantis #9183)
git-svn-id: trunk@11687 -
2008-09-01 16:54:05 +00:00
michael
64e6d68a64 * Implemented StrictDelimiter without the delphi bugs (mantis #8910)
git-svn-id: trunk@11686 -
2008-09-01 16:06:28 +00:00
michael
7a058a9bf2 * Added overloaded call for fplstat which has var argument (as for stat)
* Implemented support for faSymlink, as per 9915

git-svn-id: trunk@11681 -
2008-09-01 09:17:58 +00:00
michael
ca4fa01f8f * Fixed formaatfloat for negative numbers (Bug ID 11711) objpas/sysutils/sysstr.inc
git-svn-id: trunk@11680 -
2008-08-31 22:25:19 +00:00
michael
d0d3a79731 * Patch from Martin Schreiber to fix streaming inherited collections
(mantis #11774)

git-svn-id: trunk@11679 -
2008-08-31 21:57:27 +00:00
Jonas Maebe
65f217ed02 * only set dynarray pointer to nil in decref in case the last reference
has been destroyed (mantis #12000)

git-svn-id: trunk@11672 -
2008-08-31 10:07:53 +00:00
michael
c179162028 * Call EndThread manually if thread function returns (mantis #11490)
git-svn-id: trunk@11671 -
2008-08-30 21:48:39 +00:00
florian
820a9ad8e8 * merged fix for #10175 to win64
git-svn-id: trunk@11641 -
2008-08-23 13:24:31 +00:00
florian
93d86a60e4 * patch by Sergei Gorelkin improving win32 command line handling, resolves #10175
git-svn-id: trunk@11640 -
2008-08-23 13:08:30 +00:00
Vincent Snijders
783a1ce4e7 * fixed typos in comment
git-svn-id: trunk@11613 -
2008-08-18 22:23:32 +00:00
marco
03fd61b68d * booltostr overload
git-svn-id: trunk@11600 -
2008-08-17 13:26:02 +00:00
marco
24d8341ed6 * (IDE-sysutils) dateutil has now unpacktime/packtime alike to Delphi dt.
* newstr and disposestr for pshortstring in sysutils. Avoids import order
     problems because of duplicate definitions of pstring between objects
     and sysutils

git-svn-id: trunk@11598 -
2008-08-17 12:10:35 +00:00
Jonas Maebe
7b467fa2a0 * Don't inline ioresult. It's not speed critical and inlining it causes
code bloat.

git-svn-id: trunk@11596 -
2008-08-16 20:51:52 +00:00
yury
bf6bf46708 * buildrtl does not depend on macpas unit.
git-svn-id: trunk@11580 -
2008-08-14 15:03:27 +00:00
yury
15d0521f39 * Inlining is not supported for formal parameters. Disable inlining to prevent warning.
git-svn-id: trunk@11579 -
2008-08-14 14:56:28 +00:00
yury
9015e06907 * Some fixes and additions by Vasil Maximov.
git-svn-id: trunk@11578 -
2008-08-14 14:51:21 +00:00
yury
f020a0a669 * LPMSG is pointer to MSG. Spotted by Vasil Maximov.
git-svn-id: trunk@11577 -
2008-08-14 14:49:36 +00:00
florian
07182fba98 * continued work on avr-embedded
git-svn-id: trunk@11575 -
2008-08-14 14:23:25 +00:00
florian
27ff21f00e * fixed compilation of embedded system unit
git-svn-id: trunk@11559 -
2008-08-12 20:58:55 +00:00
Jonas Maebe
bbaacc593a + darwin implementation of ipc unit by Werner Bochtler (mantis #10612)
git-svn-id: trunk@11549 -
2008-08-11 21:29:49 +00:00
Almindor
4a54f15b47 * fix GetAppConfigDir and GetTmpDir for Windows(R)(c)(TM) and WinCE, unify with unix and provide pathdelim at end
git-svn-id: trunk@11529 -
2008-08-07 10:22:30 +00:00
florian
1fa70f7a0a * proper support for tobject.getinterface with raw/corba interfaces, resolves #6798 and #6036
git-svn-id: trunk@11497 -
2008-08-01 15:27:58 +00:00
florian
fe7cba52dc + support of inlined ror/rol on arm
git-svn-id: trunk@11473 -
2008-07-28 15:48:38 +00:00
florian
20e632c8d8 * reorganized ror/rol defines
git-svn-id: trunk@11472 -
2008-07-28 13:03:18 +00:00
florian
1afb1aa9cc + ror/rol functions
+ internal compiler support for ror/rol on i386

git-svn-id: trunk@11466 -
2008-07-27 17:12:32 +00:00
florian
0a26b6a129 + lazarus project to build win32 rtl
git-svn-id: trunk@11464 -
2008-07-27 09:21:03 +00:00
marco
e6410f45c1 * disable iochecking when opening terminal (to avoid RTE of #11376).
This is damage control. The prime problem (text after pid) as described in
  that bugrepo still has to be fixed.

git-svn-id: trunk@11462 -
2008-07-26 10:48:36 +00:00
Almindor
3588a9d02c * inline the ** operators since they just call functions directly
git-svn-id: trunk@11461 -
2008-07-26 10:31:23 +00:00
Jonas Maebe
0c002889b0 + fpchown() for FPC_USE_LIBC (by Tobias Giesen, mantis #11705)
git-svn-id: trunk@11432 -
2008-07-21 19:37:24 +00:00
florian
502b41a277 * fixes reading/writing of extended properties on arm-linux, by Koenraad Lelong
git-svn-id: trunk@11431 -
2008-07-21 19:01:46 +00:00
yury
65dffb0e7c * wince readme.txt is outdated. Leave link to wiki page only.
git-svn-id: trunk@11425 -
2008-07-20 21:45:00 +00:00
yury
06ba5b7c2e * Compile fpintres just after system unit.
git-svn-id: trunk@11424 -
2008-07-20 21:38:57 +00:00
Jonas Maebe
1251ec996b - removed $(SYSTEMUNIT)$(PPUEXT) from the macpas unit dependencies
(that variable is not defined for all targets and is not necessary
     anymore either)
  * fixed building of win32/win64 (different because of the buildrtl unit)

git-svn-id: trunk@11419 -
2008-07-20 13:05:03 +00:00
marco
88bf6dc8fd * Makefile didn't work anymore after Jonas' changes. Added some missing dependancies that were previously not
specified due to fact that they can change with FPC_USE_LIBC

git-svn-id: trunk@11417 -
2008-07-20 12:11:26 +00:00
marco
97cf173578 * Removed the bootstrapping related charset.pas, and merged one minor fix from it to the rtl one.
git-svn-id: trunk@11416 -
2008-07-20 12:10:31 +00:00
Jonas Maebe
f22c6870d5 * use math.SetExceptionMask() to disable floating point exceptions
in the macpas initialisation code (mantis #11516)

git-svn-id: trunk@11415 -
2008-07-20 09:07:50 +00:00