Commit Graph

35231 Commits

Author SHA1 Message Date
pierre
b6de7f0d6b * Suppress Comaprison might be always false if first_mm_imreg is zero
git-svn-id: trunk@19584 -
2011-11-03 10:13:26 +00:00
pierre
97559ea92a * Define MAX_OPER_X to avoid warnings about array index past maximum value
git-svn-id: trunk@19583 -
2011-11-03 10:12:31 +00:00
pierre
531d3808fc Override abstract method to abvoid warning at compilation time
git-svn-id: trunk@19582 -
2011-11-03 10:10:40 +00:00
pierre
8319972722 Override abstract method to abvoid warning at compilation time and suppress warning about macos_direct_globals constant
git-svn-id: trunk@19581 -
2011-11-03 10:10:11 +00:00
pierre
695556fe23 * Avoid warnings about use_PR constant boolean
git-svn-id: trunk@19580 -
2011-11-03 10:09:20 +00:00
pierre
44f8bb35b7 Override abstract method to abvoid warning at compilation time
git-svn-id: trunk@19579 -
2011-11-03 10:08:37 +00:00
pierre
42c98f3cd5 Override abstract method to abvoid warning at compilation time
git-svn-id: trunk@19578 -
2011-11-03 10:08:12 +00:00
pierre
fc9dd61f03 Avoid warning about missing fields in embedded_controllers array
git-svn-id: trunk@19577 -
2011-11-03 10:07:35 +00:00
pierre
3a7af29d3a Use aint type local variable in read_index_shift to avoid wrong typecast
git-svn-id: trunk@19576 -
2011-11-03 10:06:36 +00:00
pierre
33800a0b59 * Avoid warnings and add create_varargs_paraloc_info method
git-svn-id: trunk@19575 -
2011-11-03 10:04:54 +00:00
paul
26f66897cd compiler:
- warn if compiler finds implicit or explicit string type conversion from a form of ansi string to a form of unicode string and vice versa
  - mark explicit warnings as OFF by default
  - warn if compiler finds an assignment of an unicode char const to ansi string or char type (warn for assignment of unicode string const to be implemented)
  - revert a piece of code from r19457 regards shortstring handling because shortstring handling should not differ from ansistring in this paticular case

git-svn-id: trunk@19574 -
2011-11-03 00:39:22 +00:00
pierre
2b4e2dc164 * Fix ChangeMessageVerbosity by adingd a recordpendingmessagestate call
git-svn-id: trunk@19573 -
2011-11-02 22:08:14 +00:00
michael
2625b1dfa4 * Improved efficiency of Now/Date/Time
git-svn-id: trunk@19572 -
2011-11-02 14:33:33 +00:00
pierre
da62249d6b * Fix code to avoid use of unitialized rv local variable in tmoddivnode.simplify method
git-svn-id: trunk@19571 -
2011-11-02 11:22:45 +00:00
paul
aba10cd184 compiler:
- allow turning some messages off by default by prefixing verbosity type with '-' sign (in error.msg)
  - interpret -vm- as a switch which changes message verbosity to *on* by default
  * appropriate error.msg file changes will come later

git-svn-id: trunk@19570 -
2011-11-02 09:20:59 +00:00
michael
86c0b324fd * Added ReReadTimeZone
git-svn-id: trunk@19569 -
2011-11-01 18:05:38 +00:00
paul
82dd2e28d5 tests:
- fix twide6.pp: 
    1. remote unicodestring part because tunistr6.pp already test it
    2. remove ansistring function tests because it depended on the fact that WideString->AnsiString conversions replaced all unsupported characters with "?" which is not true now - those unsupported characters are transliterated currently.
  - apply similar fix to tunistr6.pp

git-svn-id: trunk@19568 -
2011-11-01 02:37:54 +00:00
paul
60de075ebe rtl: initialize CodePage field of ReadStr/WriteStr Text variables
git-svn-id: trunk@19567 -
2011-10-31 07:07:24 +00:00
paul
435b72bcb1 compiler: check left node to be ord const diring widechar/unicodechar to shortstring before executing the code related to tordconstn()
git-svn-id: trunk@19566 -
2011-10-31 07:00:38 +00:00
paul
8feb3806b8 tests: adapt test for codepage aware strings
git-svn-id: trunk@19565 -
2011-10-31 05:49:37 +00:00
paul
b8589d98cc compiler: Don't allow duplicate property/procedure identifiers inside object declaration. The code which allowed this for delphi mode was initially written based on invalid test from mantis #0009176. Fixes bug #0020580.
git-svn-id: trunk@19564 -
2011-10-31 05:35:40 +00:00
paul
f685d67647 compiler: correctly traverse record fields while generating record constant (bug #0020594)
git-svn-id: trunk@19563 -
2011-10-31 02:54:19 +00:00
florian
6b4a5c3cf6 * default arm-linux to linux eabi, oabi is basically dead
git-svn-id: trunk@19562 -
2011-10-30 21:33:21 +00:00
florian
5d4607f65a * ignore errors in setlength parsing inside a generic functin, resolves #20557
git-svn-id: trunk@19561 -
2011-10-30 19:22:55 +00:00
sekelsenmat
2df900652e fpvectorial is now moved to lazarus/components/fpvectorial
git-svn-id: trunk@19560 -
2011-10-30 16:42:46 +00:00
florian
5fd5770059 * load/write loadnodeflags from/to ppu
git-svn-id: trunk@19559 -
2011-10-30 16:15:54 +00:00
florian
6ec0f2549a * factored load node flags out of node flags to gain space
+ implemented iso mode mod, resolves #17685

git-svn-id: trunk@19558 -
2011-10-30 15:14:21 +00:00
florian
d6e429e871 * .lpi version update
git-svn-id: trunk@19557 -
2011-10-30 14:24:03 +00:00
joost
65b7c1b515 * Same change as in r19552 for all other packages compiled with fpmake
git-svn-id: trunk@19553 -
2011-10-28 13:10:26 +00:00
joost
58a9e40e88 * Take INSTALL_BASEDIR into account on make install, this is used by rpm-building
git-svn-id: trunk@19552 -
2011-10-28 12:54:50 +00:00
joost
14ec31daff * On go32v2, fppkg does not depend on fcl-net
git-svn-id: trunk@19551 -
2011-10-28 11:43:30 +00:00
paul
62b4ef3d1a compiler: don't create a parasymtable for property if property has no parameters
git-svn-id: trunk@19550 -
2011-10-28 01:38:55 +00:00
sekelsenmat
aaabc35058 Disables compiling fpvectorial
git-svn-id: trunk@19549 -
2011-10-27 18:55:11 +00:00
paul
5c00cdf40d rtl: correct ifdef for a code which assigns a codepage to textrec to use FPC_HAS_CPSTRING
git-svn-id: trunk@19548 -
2011-10-27 01:24:00 +00:00
florian
72425b49c9 * fixes bootstrapping with upcoming 2.6.x
git-svn-id: trunk@19547 -
2011-10-26 19:26:10 +00:00
sergei
6a3fe72de9 + Support .rva directive in AT&T reader. Put it into base class because it generally applies to all targets with COFF output, but enabled for Windows targets only (others need additional testing).
+ Support .seh_handlerdata directive in Win64.

git-svn-id: trunk@19546 -
2011-10-25 15:18:47 +00:00
paul
b7185a554c rtl:
- replace ifndef ver2_4 with ifdef FPC_HAS_CPSTRING for places with TextRec.CodePage access
  - convert codepages for Read and Write text file operations

git-svn-id: trunk@19545 -
2011-10-25 08:40:49 +00:00
paul
ef0c4a1e5c rtl: fix fpc_AnsiStr_To_AnsiStr source codepage check (less conversions should be done now from AnsiString type to the same codepage strings)
git-svn-id: trunk@19544 -
2011-10-25 07:57:31 +00:00
paul
e08c68f308 rtl: set codepages for TextRec field when Text file is opened + update this field for standard IO files when cwstring is used
git-svn-id: trunk@19543 -
2011-10-25 06:27:54 +00:00
paul
1ccf16358c rtl: init widestring and unitcodestring managers before initialization of Standard IO files (stdin,stdout,stderr)
git-svn-id: trunk@19542 -
2011-10-25 02:29:29 +00:00
paul
2254dad68a rtl: add SetTextCodePage, GetTextCodePage functions which set/get TTextRec.CodePage field
git-svn-id: trunk@19541 -
2011-10-25 02:16:34 +00:00
paul
e46e2c3ebd compiler, rtl: extend TextRec record with CodePage field
git-svn-id: trunk@19540 -
2011-10-25 02:09:57 +00:00
paul
270fb09e87 rtl: add WideStringManager.GetStandardCodePageProc method to retrieve system ansi and console code pages
git-svn-id: trunk@19539 -
2011-10-25 01:39:11 +00:00
paul
3e29f0b179 rtl: make cwstring.pp dependent of dynlibs, load iconvctl dynamically
git-svn-id: trunk@19538 -
2011-10-25 01:25:23 +00:00
Jonas Maebe
9ee27c1606 * support for iOS-specific location of "localtime" time zone file
(problem reported at http://blogs.embarcadero.com/ao/2011/10/20/39180 )

git-svn-id: trunk@19537 -
2011-10-24 19:24:57 +00:00
marco
4d00966be2 * reverted earlier change to logeventype on Michael's request.
git-svn-id: trunk@19536 -
2011-10-24 08:06:14 +00:00
marco
7daf8a19c2 * added ltnone logtype. Mantis #20544
git-svn-id: trunk@19535 -
2011-10-24 07:48:51 +00:00
florian
85b52cf8c3 - remove packed directive from jwapsapi.pas, partly resolves #20525
+ test from bug report
- remove $A+ from jedi include header: $A+ makes no sense for api headers, the records should be layouted with $packrecords c, second part to resolve #20525

git-svn-id: trunk@19533 -
2011-10-23 14:47:15 +00:00
florian
3c0256bd7b * patch by Ludo Brands to fix #20481: GetFileType cannot be used on windows to determine if a handle is a console handle because the function does not distinguish between consoles and printers, resolves #20481
git-svn-id: trunk@19532 -
2011-10-23 14:20:00 +00:00
olivier
dbaf153163 * revert part of r19256. While this declaration seems not consistent with
Haiku headers, it avoid some segmentation faults with threaded programs.

git-svn-id: trunk@19531 -
2011-10-22 23:12:20 +00:00