Commit Graph

26677 Commits

Author SHA1 Message Date
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
Jonas Maebe
2b91a9ef37 + jumptable support for darwin/ppc64
git-svn-id: trunk@8285 -
2007-08-14 17:32:24 +00:00
Jonas Maebe
eddc507a13 * disallow widechar sets (Delphi 7 compatible, and were handled wrongly
by FPC previously)
  * tbs/tb0474 now fails -> renamed to tbf/tb0201 (+ new test tbf/tb0202)

git-svn-id: trunk@8284 -
2007-08-14 14:27:59 +00:00
Jonas Maebe
eec25e454d * slightly optimized ppc jumptable code (one compare+jump replaced
by a subtraction)

git-svn-id: trunk@8283 -
2007-08-14 14:17:09 +00:00
Jonas Maebe
3a7ad5212d * removed some instructions from the list which considers r0 as 0
git-svn-id: trunk@8282 -
2007-08-14 14:15:35 +00:00
Jonas Maebe
1c71bb36a1 * also check for valid min/maxlabel range for jumptable in case
of cs_opt_size

git-svn-id: trunk@8281 -
2007-08-14 13:58:56 +00:00
peter
d0c832019c * unit and bin output dir patch from Darius Blaszijk
git-svn-id: trunk@8280 -
2007-08-14 09:03:27 +00:00
Jonas Maebe
32120569be + added (works now)
git-svn-id: trunk@8279 -
2007-08-13 15:20:23 +00:00
Jonas Maebe
fc53d14e58 * also enable .rodata for ppc64
git-svn-id: trunk@8278 -
2007-08-13 15:02:39 +00:00
Almindor
8a0eeb5e57 * make the updates also compilable (move struct down, add LPWSAMSG = PWSAMSG)
git-svn-id: trunk@8277 -
2007-08-13 11:01:04 +00:00
Almindor
3f6f91ae79 * adds WSARecvMsg and WSASendMsg along with requires structure to winsock2
git-svn-id: trunk@8276 -
2007-08-13 10:43:22 +00:00
Jonas Maebe
d73e79f163 * fixed regression of webtbs/tw4254: if a constant (wide)string can't be
converted to a pchar at compile time, remove the cstring_to_pchar node
    because it expects a stringconstn in pass_generate_code

git-svn-id: trunk@8275 -
2007-08-13 09:13:07 +00:00
Jonas Maebe
815cd2b39d + support for widestring manager based widechar conversions
(widechar<->char, widechar<>*string), based on patch from
    Rimgaudas Laucius (mantis #7758)
  * no longer perform compile-time widechar/string->char/ansi/
    shortstring conversions if they would destroy information
    (they can't cope with widechars with ord>=128). This means
    that you can now properly constant widechars/widestrings
    in source code with a {$codepage } set without risking that
    the compiler will mangle everything afterwards
  * support ESysEINVAL return code from iconv (happens if last
    multibyte char is incomplete)
  * fixed writing of widechars (were converted to char -> lost
    information)

git-svn-id: trunk@8274 -
2007-08-12 20:01:08 +00:00
Jonas Maebe
c408d9bb1d * fixed regression of webtbs/tw2789 caused by r8270 (setting vs_read
without vsf_must_be_valid means that it's not really read, but
    only used by sizeof or so)

git-svn-id: trunk@8273 -
2007-08-12 19:52:57 +00:00
Jonas Maebe
a8191abd16 * fixed parsing of "rcl/rcr rm,imm" (mantis #9025)
git-svn-id: trunk@8272 -
2007-08-12 13:50:52 +00:00
Jonas Maebe
9e46525912 + test for previous commit
git-svn-id: trunk@8271 -
2007-08-12 13:20:46 +00:00