User Changes 3.2.2: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: User Changes 3.2.2
| Old | New | Line | |
|---|---|---|---|
| 1 | + | ## About this page | |
| 2 | + | ||
| 3 | + | Listed below are intentional changes made to the FPC compiler (3.2.2) since the [[User Changes 3.2.0|previous release]] that may break existing code. The list includes reasons why these changes have been implemented, and suggestions for how you might adapt your code if you find that previously working code has been adversely affected by these recent changes. | |
| 4 | + | ||
| 5 | + | The list of new features that do not break existing code can be found [[FPC New Features 3.2.2|here]]. | |
| 6 | + | ||
| 7 | + | Please add revision numbers to the entries from now on. This facilitates moving merged items to the user changes of a release. | |
| 8 | + | ||
| 9 | + | ## All systems | |
| 10 | + | ||
| 11 | + | ### Usage Changes | |
| 12 | + | ||
| 13 | + | ### Language changes | |
| 14 | + | ||
| 15 | + | ### Implementation changes | |
| 16 | + | ||
| 17 | + | ##### TBufferedFileStream.Seek(0,soBeginning) | |
| 18 | + | ||
| 19 | + | - **Old behaviour**: TBufferedFileStream.Seek(0,soBeginning) returned -1. | |
| 20 | + | - **New behaviour**: Now TBufferedFileStream.Seek(0,soBeginning) returns 0. | |
| 21 | + | - **Reason:** Delphi-compatibility | |
| 22 | + | - **svn**: 48282 | |
| 23 | + | ||
| 24 | + | ##### Fix matching of Boyer-Moore algorithm for periodicity | |
| 25 | + | ||
| 26 | + | - **Old behaviour**: Pattern "abcab" and the text "abcabcabcabcabcabcab" indicates matches at positions 1, 7, and 13. | |
| 27 | + | - **New behaviour**: Now the pattern "abcab" and the text "abcabcabcabcabcabcab" indicates matches at positions 1, 4, 7, 10 and 13. | |
| 28 | + | - **svn**: 48752 | |
| 29 | + | ||
| 30 | + | ##### SeekEof | |
| 31 | + | ||
| 32 | + | - **Old behaviour**: If *SeekEof* did not find the end of the file, it tried to restore the input to its original state/position. | |
| 33 | + | - **New behaviour**: Data consumed by *SeekEof* while looking for the end of the file (such as spaces) will remain consumed. | |
| 34 | + | - **Reason:** improved TP/BP/Delphi compatibility | |
| 35 | + | - **svn**: 46946 | |
| 36 | + | ||
| 37 | + | ### Unit changes | |
| 38 | + | ||
| 39 | + | ## Darwin/iOS | |
| 40 | + | ||
| 41 | + | ### The Darwin targets corresponding to iOS have been renamed to iOS | |
| 42 | + | ||
| 43 | + | - **Old behaviour:** The Darwin/ARM and Darwin/AArch64 (ARM64) targets generated code for iOS running on those architectures. | |
| 44 | + | - **New behaviour:** The Darwin/AArch64 (ARM64) target generates code for macOS running on AArch64. To generate code for iOS, use the new iOS target (-Tios) | |
| 45 | + | - **Reason for change:** The switch of the macOS platform to AArch64 | |
| 46 | + | - **svn**: 45762 | |
| 47 | + | ||
| 48 | + | ## Previous release notes | |
| 49 | + | ||
| 50 | + | --- | |
| 51 | + | *From the Free Pascal wiki, page "User Changes 3.2.2", as it stood on 2022-08-06 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 52 | + | Category: FPC User Changes by release | |
| 53 | + | Category: Release Notes |
