Commit Graph

26592 Commits

Author SHA1 Message Date
Jonas Maebe
a5ff6ec116 + {$linkframework Carbon}
* managed to completely disable anti-aliasing, and mostly fixed getpixel
    using least mean squares to find the closest palette entry

git-svn-id: trunk@8345 -
2007-08-31 20:15:33 +00:00
Jonas Maebe
c5b3180f5f * save/load LinkOtherFrameworks to/from ppu files
git-svn-id: trunk@8344 -
2007-08-31 17:03:33 +00:00
michael
169b04a237 * Fixed issue #9528 with patch from Sergei Gorelkin
git-svn-id: trunk@8343 -
2007-08-31 13:25:47 +00:00
marco
e034788320 * two semi colon's added and compilation checked
git-svn-id: trunk@8342 -
2007-08-30 20:09:35 +00:00
Jonas Maebe
ac22ff09da * detect division by zero in tmoddiv.simplify (mantis #9499)
git-svn-id: trunk@8341 -
2007-08-30 17:21:29 +00:00
Jonas Maebe
b1631b6918 * fixed wrong uninitialized warnings with passing array elements
as out-parameters

git-svn-id: trunk@8337 -
2007-08-29 20:23:59 +00:00
michael
1235b05908 * Added support for deprecated,platform and library hints
git-svn-id: trunk@8335 -
2007-08-29 17:25:51 +00:00
yury
ae90ae077a * Added missing TPM_BOTTOMALIGN constant.
git-svn-id: trunk@8334 -
2007-08-29 16:17:02 +00:00
Jonas Maebe
cce61fa602 * fixed compilation on 64 bit cpus
git-svn-id: trunk@8333 -
2007-08-29 14:31:17 +00:00
Jonas Maebe
a57f9e0672 + added QWord overloads for IntToHex, hexStr, OctStr, binStr
git-svn-id: trunk@8332 -
2007-08-29 12:06:54 +00:00
Almindor
6a327799f8 * fix typo with [T]SysInfo record
git-svn-id: trunk@8331 -
2007-08-29 11:59:47 +00:00
Almindor
89eeb8aa63 * fix linux sysinfo struct and function (bug 9523)
git-svn-id: trunk@8330 -
2007-08-29 10:08:02 +00:00
Almindor
9525a96db7 * update winsock2 to version 2.2 regarding SO_ and AF_ constants
git-svn-id: trunk@8329 -
2007-08-29 09:38:01 +00:00
Jonas Maebe
fc078fbc29 * more 64 bit overload choosing fixes
git-svn-id: trunk@8328 -
2007-08-29 06:57:36 +00:00
Jonas Maebe
e4487e628d * fixed overload choosing error on 64 bit
git-svn-id: trunk@8327 -
2007-08-29 06:30:38 +00:00
yury
a768c29b2d * Implemented GetTempDir for wince. Bug #9348.
git-svn-id: trunk@8326 -
2007-08-28 21:17:49 +00:00
yury
1159ee9744 * Small improvement to previous commit.
git-svn-id: trunk@8325 -
2007-08-28 21:06:15 +00:00
yury
614dbe6a8c * Fixed inclusion of multiple resource files with icons or cursors. Patch by Sergei Gorelkin modified by me to reduce memory usage. Bug #9459.
git-svn-id: trunk@8324 -
2007-08-28 20:54:32 +00:00
Jonas Maebe
5bc156efea * always demote type conversions which cannot represent part of the
source value to convert_l3, instead of only those with a destination
    type whose size is < source size (like Delphi) + test -> fixes
    toperator6 along with a host of wrong tordconst typeconversions in
    the compiler sources themselves (although most are harmless)

git-svn-id: trunk@8323 -
2007-08-28 19:38:40 +00:00
Jonas Maebe
ffbb833805 * fixed inttohex overload choosing
git-svn-id: trunk@8322 -
2007-08-28 19:30:56 +00:00
Jonas Maebe
9238ea2850 * fixed potential range errors
git-svn-id: trunk@8321 -
2007-08-28 19:01:49 +00:00
Jonas Maebe
ae364ab187 * fixed win32 compilation
git-svn-id: trunk@8320 -
2007-08-28 13:33:22 +00:00
yury
685810c18c * Fixed fpc_WideCharArray_To_WideStr in case if widechar array contains empty string.
+ Test.

git-svn-id: trunk@8317 -
2007-08-28 09:53:29 +00:00
peter
65afe53eb0 * fix settimeofday timeval parameter
git-svn-id: trunk@8315 -
2007-08-28 09:29:25 +00:00
Jonas Maebe
d73582cb85 * removed svn:executable properties
git-svn-id: trunk@8314 -
2007-08-26 19:24:36 +00:00
Jonas Maebe
cfd206f897 * more sdl/graph unit reordering (win32, freebsd)
* also compile sdlgraph for darwin/ppc and i386

git-svn-id: trunk@8313 -
2007-08-26 12:08:22 +00:00
Jonas Maebe
5d219560b0 + added initial sdlgraph unit by Evgeniy Ivanov and related changes:
* also compile sdl/logger unit
   + restored sdlutils unit, since it's required for SDL_putpixel etc
   * reordered graph unit in makefiles so it's compiled after sdl

git-svn-id: trunk@8312 -
2007-08-26 11:50:53 +00:00
Jonas Maebe
0bfce99477 * fixed bug in ppc jumptable generation for case statements with
negative cases caused by wrong automatic type conversion from
    longint to unsigned tconstexprint (+ test for such jump tables)
  * fixed darwin/ppc64 jumptables in case of jmptablenorange

git-svn-id: trunk@8311 -
2007-08-26 11:15:14 +00:00
Jonas Maebe
5fbf90b1e3 + generated Makefile
git-svn-id: trunk@8310 -
2007-08-26 09:09:01 +00:00
Jonas Maebe
7c9634e0fd * moved graph from packages/base to packages/extra so it can depend
on other packages such as sdl and univint

git-svn-id: trunk@8308 -
2007-08-25 18:49:30 +00:00
michael
287c262d10 * Added copy,length and setlength
git-svn-id: trunk@8306 -
2007-08-25 13:41:22 +00:00
michael
95c712faa1 * Escaped some TeX special characters in documentation
git-svn-id: trunk@8305 -
2007-08-25 13:33:46 +00:00
Jonas Maebe
399201ad7d * removed rodata support for ppc64 again because it doesn't work on
linux/ppc64. Added explanation why it doesn't work and what's needed

git-svn-id: trunk@8304 -
2007-08-24 17:19:52 +00:00
Jonas Maebe
9b76bb94d5 * depends on fcl-base
git-svn-id: trunk@8303 -
2007-08-23 09:57:51 +00:00
yury
3cbd1fb108 * Properly implement registry API ANSI wrappers for wince.
git-svn-id: trunk@8301 -
2007-08-22 22:13:59 +00:00
yury
2e75d6726a * Fixed internal Ansi<->Wide conversion routines.
git-svn-id: trunk@8300 -
2007-08-22 22:13:07 +00:00
michael
0cc51d458d * Patch from Darius Blaszijk
- replace MatchesMask function by IsWild function from StrUtils
  - fixed listsources command

git-svn-id: trunk@8299 -
2007-08-22 16:41:54 +00:00
Jonas Maebe
cb744d37ff - reverted change for avoiding recompilation of units in subdirs,
it breaks other things

git-svn-id: trunk@8298 -
2007-08-22 08:16:10 +00:00
Jonas Maebe
30bc89cfe5 * fixed dependency checking for source files in subdirectories relative
to the makefile location + regenerated all Makefiles
  * hopefully fixed fpmkunit dependencies

git-svn-id: trunk@8297 -
2007-08-22 07:04:23 +00:00
Jonas Maebe
5ec4616c85 + forgot to commit earlier
git-svn-id: trunk@8296 -
2007-08-22 06:56:41 +00:00
Jonas Maebe
f4c0e92dd4 * fixed m1024x768x32k initialisation (noted by Evgeniy Ivanov)
git-svn-id: trunk@8295 -
2007-08-21 20:04:37 +00:00
michael
d69db0aa54 * Patch from Darius Blaszijk:
- added EXTERNALZIP define to make bootstrapping possible (missing zipper unit)
  - implemented SearchFiles method which can search recursively and with a filemask 
    (asterisk or questionmark) using MatchesMask function
  - implemented methods AddDocFiles, AddSrcFiles, AddExampleFiles, AddTestFiles in TCustomInstaller
  - implemented archiving of all files in TSources

git-svn-id: trunk@8294 -
2007-08-21 18:53:22 +00:00
joost
bc5225b8ae * Commented out some debug-code which causes problems on windows
git-svn-id: trunk@8293 -
2007-08-20 21:10:32 +00:00
michael
d041db6cb9 * Patch from Darius Blaszijk
- added a default manifest filename constant
- implemented archiving to zip using TZipper (only when no user assigned ArchiveFilesProc, because that
  overrides the command)
- moved a lot of strings to resourcestrings
- added listsources description to help screen
- added filename node to manifest file
- removed .zip from TPackage.GetFileName (reason for this is that if ArchiveFilesProc is assigned it gets a
filename without extension, possible other archive formats)
- initialized verbosity to vlInfo
- moved verbosity option check to top
- renamed WriteCmd to LogCmd (function also uses Log instead of writeln)
- renamed WriteOption to LogOption (function also uses Log instead of writeln)
- renamed WriteArgOption to LogArgOption (function also uses Log instead of writeln)
- fixed creation of sources.xml added quatationmarks in pack

git-svn-id: trunk@8292 -
2007-08-20 07:28:40 +00:00
michael
2c2e22b1a0 * Patch from Darius Blaszijk to clean up all ifdefs so it becomes a pure fpc example.
git-svn-id: trunk@8291 -
2007-08-20 07:23:33 +00:00
Almindor
7a21cb5888 * add preliminary UnixSockets with linux implementation
git-svn-id: trunk@8290 -
2007-08-19 13:35:43 +00:00
florian
a01b377e40 * patch for #9449 by Sergei Gorelkin
git-svn-id: trunk@8289 -
2007-08-17 18:39:27 +00:00
Almindor
1e4dd0685a * fix bug #9438
git-svn-id: trunk@8288 -
2007-08-16 09:58:35 +00:00
peter
78c364db94 - FPC version is not initialized to 2.0.4 by default but takes the
FPCVERSION include
  - Fixed TPackage.GetFileName when no version is set

git-svn-id: trunk@8287 -
2007-08-16 05:38:32 +00:00
michael
ad6c0f10d4 * Patch from Darius Blaszijk:
- BaseInstallDir and Prefix are now PathDelimiter limited (implemented in Setter of property), 
   this saves a lot of hassle with rest of code
  - TDefaults -> TCustomDefaults
  - added TFPCDefaults and TBasicDefaults
  - TInstaller -> TCustomInstaller
  - added TFPCInstaller and TBasicInstaller
  - Implemented BaseInstallDir property in TCustomInstaller
  - Added an overloaded Install function
  - Added license header

git-svn-id: trunk@8286 -
2007-08-14 20:04:03 +00:00