Difference between revisions of "Lazarus 1.2 fixes branch"

From Lazarus wiki
(Merged revisions for 1.2.4)
(Submitted by developer / committer)
Line 13: Line 13:
 
*r44842 Gtk2: fixed linespacing in DrawText().Patch by Boris.{{MantisLink|26090}}
 
*r44842 Gtk2: fixed linespacing in DrawText().Patch by Boris.{{MantisLink|26090}}
 
*r44839 ShellTreeView: fix SetPath ({{MantisLink|0026088}}).
 
*r44839 ShellTreeView: fix SetPath ({{MantisLink|0026088}}).
*r44852 QuestionDlg: fix wrong ModalResult if dialog has buttons with both mrCancel and mrAbort as ModalResult ({{MantisLink|#0026094}}).
+
*r44852 QuestionDlg: fix wrong ModalResult if dialog has buttons with both mrCancel and mrAbort as ModalResult ({{MantisLink|0026094}}).
 
*r44854 win32: correctly set default button in TWin32WidgetSet.AskUser().
 
*r44854 win32: correctly set default button in TWin32WidgetSet.AskUser().
 
*r44860 TAChart: fix rare arithmetic overflow in logarithmic axis labelling
 
*r44860 TAChart: fix rare arithmetic overflow in logarithmic axis labelling
 
*r44866 TCustomComboBox: call inherited (Utf8)KeyPress before changing the case (when CharCase <> ecNormal)
 
*r44866 TCustomComboBox: call inherited (Utf8)KeyPress before changing the case (when CharCase <> ecNormal)
*r44530 FpcUnit, GuiTestRunner: show green balls for ignored tests ({{MantisLink|#25921}})
+
*r44530 FpcUnit, GuiTestRunner: show green balls for ignored tests ({{MantisLink|25921}})
 +
*r44867 lcl: ensure that reset is Modified in TFieldDataLink.UpdateData even if an exception occurs ({{MantisLink|26081}})
  
 
==== Submitted by others ====
 
==== Submitted by others ====

Revision as of 15:17, 1 May 2014

This page contains the revisions to be merged from trunk to the Lazarus 1.2 fixes branch.
This are only fixes made after the branch was created. For other fixes made since the previous release (1.0) see SVN and Lazarus_1.0_fixes_branch

Release notes can be found here

Fixes for 1.2.4

Merge requests

Submitted by developer / committer

  • r44831 Qt: return correct size of QScrollBar when widget isn't mapped yet.Issue #26084
  • r44841 Qt: do not call unnecessary invalidate in TQtScrollingWinControl.ScrollBy(). DO NOT MERGE YET. WAITING FEEDBACK
  • r44842 Gtk2: fixed linespacing in DrawText().Patch by Boris.Issue #26090
  • r44839 ShellTreeView: fix SetPath (Issue #0026088).
  • r44852 QuestionDlg: fix wrong ModalResult if dialog has buttons with both mrCancel and mrAbort as ModalResult (Issue #0026094).
  • r44854 win32: correctly set default button in TWin32WidgetSet.AskUser().
  • r44860 TAChart: fix rare arithmetic overflow in logarithmic axis labelling
  • r44866 TCustomComboBox: call inherited (Utf8)KeyPress before changing the case (when CharCase <> ecNormal)
  • r44530 FpcUnit, GuiTestRunner: show green balls for ignored tests (Issue #25921)
  • r44867 lcl: ensure that reset is Modified in TFieldDataLink.UpdateData even if an exception occurs (Issue #26081)

Submitted by others

  • r44348, 44360 : LazReport: Report does not respect Orientation (poLandscape) when printed, bug 25802
  • r44374: LazReport: OnUserFunction event handler is not called for nested function, bug 25803

Merged revisions for 1.2.4

  • r44761 Debugger: add option to disable loading library symbols (auto-solib-add = off)
  • r44470 TAChart: add sources of bar series tutorial
  • r44559 TAChart: fix wmf drawer crashing due to missing canvas in TADrawerWMF
  • r44583 TAChart: Add event OnDrawLegend to TChart
  • r44588 TAChart: add code to legenddemo to demonstrate the ownerdrawn legend, fix some layout issues.
  • r44609 TAChart: Fix TFitSeries not working correctly in demo/distance/distancedemo.lpi
  • r44610 TAChart: fix divide-by-zero error in demos/distance/distancedemo project, minor layout changes.
  • r44706 TAChart: initial implementation of Calculate(x) for TBSplineSeries
  • r44764 IDE, Debugger: Fixed crash in Asm dialog (dialog closed, while running (F9) from dlg)
  • r44765 Qt: fixed wrong resize event from lineedit of combobox.Issue #26040
  • LazReport: Patch for lr_desgn.diff attached to bug report Issue #25896
  • r44775 Grids, redraw grid on changing TitleFont where there are no Custom Columns, Issue #25878
  • r44802 IDE, SourceEditor: Hide CodeContext hint on tab-change, minimize and app-deactivate
  • r44803 LCL, fix (grid's) cell hot-tracking regression
  • r44832 codetools: findunusedunits: check generic types, bug 26085
  • r44855,44858 LCL: fixed TTextStrings.Exchange
  • r44869 LCL: TCustomGrid: fixed range check error when scrolling editor control

Fixes for 1.2.2 (Merged)

Note-icon.png

Note: This release contains an upgrade of FPC to version 2.6.4. Please read User_Changes_2.6.4

RevisionCategoryDescription
r44316 Carbonfixed crash with overrided InsertItem() with fpc > 2.6.2
r44729 Carbonfixed duplicate strings in TListBox with fpc 2.7.1
r44353 Codetoolsfixed typo
r44513 CodetoolsPrevent a wrong error message about ancestor having same name. Issue #24502
r44411 DebuggerGDBMIDebugger: fix watchpoints.
r44543,​r44544 DebuggerGDBMI, fix range check
r44738 DebuggerAllow to add RunError to ignored exceptions
r44740 DebuggerAsk to add RunError to ignored exceptions
r44269 Docsadded Peter Gabor to contributors list
r44204 Gtk2sync scrollbars positions of form when using mouse wheel.Issue #25479
r44405 Gtk2fixed returning correct result from TGtk2WSCustomTabControl.GetTabRect. Issue #18926
r44504 Gtk2fixed TScrollingWinControl positions update.Issue #25909
r44507 Gtk2do not report syskey for AltGr+Shift+Key for TCustomControl.Issue #22703 Issue #25874
r44528 Gtk2fixed crash because of uninitialized object (regression from r44504). Issue #25925
r44697 Gtk2fixed scim-bridge doubled chars input.Issue #0015185 Issue #0023140
r44698 Gtk2fixed setting imageindex in gtkcolumn in runtime, when there's no images in column during design time.Issue #0022811
r44715 Gtk2fixed mess with form sizes while being designed under compositing manager.Issue #0025473
r44338 IDEfixed typo, Issue #25816
r44354 IDEcode explorer: catch codetool exception when fetching params
r44409 IDEEditorOptions, user colors fixed frame init. Issue #0025853
r44455 IDEIntfset free notification for TPropertyEditorHook.LookupRoot, changed TPropertyEditorHook to TComponent, set freenotification for TCustomPropertiesGrid.TIObject, Issue #25872
r44509 IDEdesigner: fixed change parent for TControl
r44687 IDE, Setupsearch debugger (gdb) according to path in gdbmidebugger class "ExePath()". Issue #0025997
r44733 IDEdesigner: snap to nearest grid, instead of form grid, Issue #18579
r44398 Installer, WinFrench translation update by ChrisF, Issue #25846
r44692 Installer, WinDisplay name for add on installer. Issue #0025787
r44361 LCLfix stringgrid autoedit on pressing RETURN key, Issue #25810
r44404 LCLTCustomListView.OnDeletion must trigger even when destroying component since we might have assigned objects in data property of item. Issue #25431
r44415 LCL, gridsfix cbsEllipsis editor not allowing focus change, Issue #25824 (and Issue #25937)
r44451 LCLmake TCustomButton.Click public. Issue #25870
r44454 LCLFix Sigsegv when assigning images to Tlistview columns. Issue #25844
r44469 LCLPageControl, set tab index to widgetset. This was skipped if handle-creation was forced (by other controls) during csLoading. Issue #0025555
r44505 LCLReset TFieldDataLink when a key field changes.Issue #25876
r44566 LCL, ValEditFix InsertRow (Issue #0025881)
r44713,​r44714 LCLPrevent an out of bounds error in ValueListEditor when adding rows automatically in Value-column.
r44726 LCLTCustomComboBox: fixed AddHistoryItem and case sensitivity.patch by Vojtech Cihak.Issue #26020
r44369 LazReportfix preview's find button always visible, Issue #25831
r44407 LazReportat lazarus design time fix datafields not available if report is not on same form, Issue #21050
r44416 LazReportDefaultCopies should be set to 1 by default, Issue #25840. Plus patch 25840.diff from Issue #25840 (do not accept non integer values in Copies edit box).
r44418 LazReportfix compilation with FPC 2.6.5, patch from Julio Jiménez Borreguero
r44591 LazUtilsfixed TrimFilename, Issue #25965
r43275,​r44315 Qtfixed crash with fpc-2.6.4
r44362 Qtfixed wrong scaling result in drawImage(). Issue #25830
r44459 Qtfixed bad behaviour of Linux Mint 16 window manager called Mutter.
r44460 Qtfixed visibility of TQtTreeWidget.ItemDelegatePaint.
r44502 QtScrollable forms enabled by default.Registered TScrollingWinControl in wsfactory.
r44503 Qtdo not scroll scrollable form if scrollbars aren't visible.
r44541 Qtset proper text palette when control is disabled and regular font.color <> clDefault, Issue #25922
r44667 Qtfixed extra mousewheel events on TQtAbstractControl based widgets.Issue #25992
r44672 Qtcleanup
r44693 Qtfixed clipping in stretchDraw.issue Issue #0026004
r44723,​r44724,​r44731,​r44732 Qt, Gtk2fixed showing of popup window over fsStayOnTop form.issue Issue #26018
r44744 Qtset focus policy to QtNoFocus if ControlStyle contains csNoFocus for TQtMainWindow class too.
r44345 SynEditMarkup-IfDef; fix crash. Issue #0025811
r44462 SynEditFixed current line highlight, for use of synedit outside the IDE.
r44487 SynEditpublish MouseTextActions
r44488 SynEditfix designer (correct inherited)
r44665 SynEdit, IDEFixed crash in "Class/Proc Hint". Issue #25989
r44755 SynEdit, IDEFix phys/logic char pos in autocomplete. Issue #0026038
r44681 TabControlSet FTab's internal NoteBook.TabStop to False, otherwise TTabControl can always be tabbed into (Issue ##0021332)
r43581 TranslationsHungarian. Originally from Fehér Dávid (dfeher), Gábor, Athomas and others.
r43582 Translations, IDECode changes for Hungarian translation of Lazarus IDE.
r43583 TranslationsRegenerated translations; updated Russian translation
r44263 TranslationsComponents, compilers: added Russian translation
r44265 TranslationsComponents, LeakInfo: translations cleanup
r44266 TranslationsHungarian translation update by Péter Gábor, Issue #25789
r44325 Translationsimproved Russian translation
r44364 Translationsimproved Russian translation
r44373 TranslationsImprovements for Finnish translation.
r44751 win32fixed pixelated TCheckListBox at 120 ppi.Patch by wp. Issue #26036

Fixes for 1.2 (Merged)

RevisionCategoryDescription
r43805 ActiveXlocalized, improved dialog layout and added Russian translation
r43793 CHMHelpadded Russian translation
r43751,​r43752 Codetoolsread var postfix modifiers without first semicolon, Issue #25537
r43789 ConverterConvert also function SameStr. For some reason SysUtils does not have it.
r43807,​r43808 Debuggerimproved localization, updated Russian translation
r43834 DebuggerAdd timeout on kill
r43836,​r43837 DebuggerFixed and improved: Stop/Kill GDB when debugger stops
r43848 Debuggerresourcestring typos and minor improvements
r43849 Debuggerregenerated translations; updated Russian translation
r44004 DebuggerFixed potential crash with writing (system.move) to empty string
r44054 Debuggerfixed wrong timeout detection on Mac during startup
r44095 Debuggerfix updating watches, after changing a variable in the target
r43731 Examples, translationfix compilation on Linux, comment out old BiDi workaround, patch by wp, Issue #25541
r43777 ExamplesGrid Columneditors, added Option goTabs for convenience.
r44056 Gridscorrect shorctut keys for Copy/Paste/Cut. Issue #0025708.
r43719 Gtk2Fixed TGtk2WidgetSet.Polygon overwriting points array.Patch by Bart. Issue #25507
r44093 Gtk2fixed regression in TGtk2WidgetSet.InvalidateRect() for GtkFixed widgets (TGroupBox, TTabSheet).issue Issue #25572
r43727 IDEIn compiler options -> Other -> Defines, catch an exception when parsing an invalid option.
r43735 IDEPrevent AV with typing a non-existent file name for Convert Delphi Unit. Issue #25538
r43804 IDEIn all compiler options, allow one char options combined like -Criot.
r43851 IDEAll compiler options, remember and synchronize with original user options when generating options from GUI.
r43860 IDEIn All Compiler Options, improve the order of generated options when original data was on the same line.
r43921 IDEFixed crash due to fpc optimizer issue Issue #0020827 / Lazarus issue Issue #0025588
r43923 IDEdisable optimization stackframe for units with for..in
r43948 IDEEditorMacros: Fix saving macro, after editing in source-editor
r43952 IDEpackage links: show missing lpk as invalid
r43954 IDEinstall pkg dialog: fixed updating available list if lpk cache already valid on start and update on idle
r44002 IDEIn All compiler options parser, add a 'NO'-variation for options that support it.
r44057 IDETProjectIcon: do not set icon twice when loading
r44058 IDEcheck if project icon on disk needs update
r44059 IDEcheck if project needs build: check if file is in unit/include path
r44071 IDEreading environment options: omit window layouts with invalid names
r44234 IDEallow adding to inherited form and to child-controls on inherited forms (but not frames)
r44226 IDEIntfTOIPropertyGrid: distinguish calling property Edit and changing the value
r44298 Installer, Windo not append lazarus do user chosen install dir. issue Issue #0025796
r44011 LCL, DbGridsfixed compilation with FPC 2.7.1, patch from Udo Schmal and Dennis Fehr, bug Issue #25647
r44231 LCL, gridscheck for changes in ClientRect, issue Issue #24724, Issue #25489
r43870 LCL, gtk2fixed parameter type, bug Issue #25670
r43687,​r43703 LazBuildread pcp from lazarus.cfg file
r43778 LazUtilsfix DebuglnEnter with list of 1 argument
r43820 LazReportremoved PowerPDF and Cairo export requirements from editor sample
r44296 LazLoggerfixed logfile with relative path
r43795 MacroScriptimproved resourcestrings
r43796 MacroScriptenabled i18n; added Russian translation
r43797 MacroScriptimproved layout; now using default cursor
r43985 MaskEditfix possible crash in PasteFromClipBoard.
r43873 PascalScriptfix crash when compiled for 64 bit
r44199 PoCheckerTextual fixes. Patch by Reinier.
r44250 PoCheсkerdo not increment WarningCount in CheckStatistics.
r43790 Qtfixed conversion of QImage::RGB32 without mask. issue Issue #25590
r43961 Qtfixed copy-paste between TSynEdits in different applications. issue Issue #0025692
r44094 Qtdraw rotated text on buttons via Themes. Second part of issue Issue #25253.
r44249 Qtfixed triggering contextmenu event when widget is hidden and shown on mousedown under mswindows.issue Issue #22943
r43765 SynEditclean up ifdef debug code
r43722 TAChartmake TChart GetChartHeight return height and GetChartWidth return width, note vice versa, patch by Michael Fuchs, Issue #25437
r43737 TAChartdon't crash when making legend for PolarSeries visible, patch from wp, Issue #25456
r43738 TAChartdon't eat OnMouseMove event when AllowZoom = false, patch from wp, Issue #25439
r43739 TAChartfix checkboxes drawing in TChartListbox on Linux and Mac OS X, patch from wp, Issue #25452
r43922 TAChartFixed crash due to fpc optimizer issue Issue #0020827 / Lazarus issue Issue #0025681
r43680,​r43705 TranslationsGerman: updates from Swen Heinig; removed invalid listemplateeditparamcellhelp translation from lazaruside.de.po (last POChecker error in this file)
r43712,​r43716 TranslationsGerman: updates from Swen Heinig
r43729 TranslationsImprovements for Finnish translation. Patch from delfion.
r43824 TranslationsNew Finnish translation for ActiveX. Patch from ocean.
r43829,​r43830 TranslationsLazReport: German: updates from Swen Heinig und Michael Fuchs
r43975 TranslationsJapanese translation update by Yuichiro Takahashi, bug Issue #25699
r43771 Win32update combobox dropdownlist (nr. of items displayed) when using AddStrings. Issue #0025556.
r43784 lazchmhelpcreating po files
r43785 lazchmhelpadded po files
r44017 lazbuildfixed listing build modes

Fixes for 1.2 RC2 (Merged)

RevisionCategoryDescription
r43384 carbonfix selecting an item in a TListView on Carbon when OwnerDraw is true.patch by Joost van der Sluis. Issue #25274
r43469 carbonfix for freez if wakemainthread is called from the main thread prior to event loop initialization.Issue #23393
r43511 carbondropfiles on form fixed Issue #18486
r43457 Cocoafix default GDI objects construction/destruction
r43461 Cocoafix TMemo creation
r43467 Cocoafix winapi Rectangle() implementation
r43475 Cocoasome corrections to window creation
r43378 codetoolsfixed TCustomCodeTool.ReadBackTilBracketOpen when there is no bracket
r43432 codetoolsasking compiler for config files: expand relative file names
r43549 Codetoolsfix return value of TFindDeclarationTool.BuildInterfaceIdentifierCache
r43550 Codetoolsmake CheckLfm report an object which is missing from pascal source. Fixes Issue #24473 andIssue #25425
r43371 Componentsfixed Lazarus Package Manager compilation with FPC >= 2.6.3
r43601 CustomDrawnfix incorrect {%MainUnit } header, which prevented codetools from working correctly
r43362 DebuggerAdd timeout protection for breakpoints during start up. Issue #0025277
r43364 Debuggerprevent messing up the environment on windows, due to gdb bug (gdb not setting debuggee environment) / introduced in rev 42419
r43366 Debuggerbetter pid detection for attach. Issue #0025273
r43380 Debuggerfix internal type for gdb request (eval vs ptype)
r43381 Debuggertaborder for watch-properties
r43464 DebuggerUpdate registers, if stackframe changes
r43502 DebuggerDefaultTimeout in attach code. Issue #25386
r43621 DialogsDo not show an icon in MessageDlg is DialogType = mtCustom Issue #25475.
r43579 Docsadded Werner Pamler aka wp to contributors list
r43398 EditorMacroScriptAdd some more try except dealing with self-test. Save reason of failure
r43472 ExamplesTSQLScript database sample program.Issue #25350
r43571 Examplesadded translation example by Mike Sapsard and wp, bug 25376
r43503 Fix typoEmtpy -> Empty, bug 25382
r43431 IDEtest file for compiler, expand temp directory
r43458 IDEremoved unused resourcestrings, based on patch by Howard Page-Clark, bug 25325
r43505 IDEfixed resourcestring name: lisEMDEmtpyMethods -> lisEMDEmptyMethods
r43506 IDEregenerated translations; updated Russian translation
r43513 IDEimproved localization
r43590,​r43591,​r43592,​r43609 IDEWhen adding the path of a new file to project search path, ask which build modes to add it to. Issue #19689,Issue #23714.
r43612 IDEMake Project Inspector remember its settings for dir hierarchy and sorting. Issue #22448,Issue #22609
r43613 IDEMake Package Editor remember its settings for dir hierarchy and sorting. Issue #18804,Issue #22448
r43615 IDEFix button order in FindReplaceDialog using ButtonPanel. Issue #13561
r43641 IDEAdjust column widths in IDE Options to prevent text clipping. Issue #18398.
r43434 IDEIntfregenerated some translations
r43450 IdeIntf, IdeMenuLess verbose
r43600 InterfacesFix compilation of CustomDrawn on Windows Issue #0024329
r43495 LazFileUtilsFix encoding of locale-specific characters in GetAppConfigDirUtf8 and GetAppConfigFileUtf8 on Windows (Issue #0010850)
r43560 LazReportfixed typos (patch by Reinier Olislagers, bug 25429), regenerated translations and updated Russian translation
r43562 LazReportmore typos (gradian -> gradient), regenerated translations and updated Russian translation
r43395 LazUtilsallow ReleaseRef on nil
r43453 lazutilsadded conversion KOI8U and KOI8RU
r43610,​r43611 LazUtilsFix for encoding of string returned by GetAppConfigFileUTF8
r43637 LazUtilsMasks.pas: implement handling of UTF8 codepoints for mask matching. Issue #0024373.
r43689 LazUtilsFixed compile on wince. Broken by r43495 (localize special dir)
r43692 LazUtilsyet another attempt to fix compilation for WinCE implementation of GetAppConfigDirUtf8.
r43693 LazUtilsWinCE use CSIDL_LOCAL to fix compilation error.
r43496,​r43497 LCLgraphics: Rewrite RLE4 code. FixesIssue #0025366
r43480 LCL, win32make UpdateWindowsVersion detect Windows 8, patch by Tomasz Wieckowski, Issue #25374
r43587 LCLTCheckListBox: Change text direction in accordance with BiDiMode, Issue #25450
r43642 LCLObjectInspector: Prevent triggering double-click when expanding ComboBox quickly. Issue #19918.
r43443 LCLTControlCanvas, do not flood terminal about painting outside of paint event for widgetsets which actually supports painting outside of paint event.
r43456 LCLfix types for GDI objects (fixes crash on 64bit)
r43476 LCLdo not try to open closed dataset in lookup controls since the moment of opening is unpredictable and can lead to crashes. See this report
r43478 LCLreset controldatalink after listsource changes in lookup controls to ensure proper sync between control display and dataset content
r43479 LCLcall RecordChanged in TFieldDataLink.LayoutChanged to match Delphi behavior
r43482 LCLNew method ForceFilter for FilterEdit. Issue #25258
r43483 LCLClear the filter edit when leaving package editor. Issue #25258
r43512 LCLupdate lookup list in DatasetChanged event. Fix Issue #25400
r43576 LCLBiDiMode and FlipChildren fixes for TRadioGroup, TCheckGroup and TCheckListbox, patch by wp, Issue #25408
r43595 LCLonly reset controldatalink after listsource changes when controldatalink is active. Issue #25454
r43644 LCLFix GTK2 image transparency issues for common cases. Fixes Issue #25491 and many others.
r43660 LCLfixed TComboBox autocompletion with numeric (non-numpad) keys, patch from Gilson Nunes, Issue #25495
r43532 LCLLCLType Fix typo, MB_ICONASTERICK -> MB_ICONASTERISK Issue #0025411
r43361 LCLTApplication: set THintWindow.BidiMode. Issue #0022048.
r43368 LCLTApplication: adjust position of THintWindow depending on LTR or RTL alignment.
r43367 LCLTHintWindow: adjust for BidiMode in CalcHintRect. Issue #0025275.
r43373 LCLTHintWindow: adjust for BidiMode in CalcHintRect. Slight improvement on r43367.
r43521 LCLValEdit: In TValueListEditor.ValidateEntry when validation fails, don't continue searching for more violations. Issue #0025161.
r43545 LCLValEdit: Remove duplicate line in TItemProp.AssignTo (Issue #0025428)
r43631 Package editorFix a bug that prevented moving files up/down.
r43632 Package editordisable Up/Down buttons when a removed file is selected.
r43634,​r43639 Package editoradd shortcut keys VK_DELETE and VK_INSERT. Part of Issue #20140 (LFM changed in r43639)
r43451 PoCheckeradd option to check translation statistics.
r43541 Printers, Carbondo not use PMPrinterOutputResolution when compiling for PowerPC
r43544,​r43553,​r43554 Printers (Windows)do not use a compiler directive to enable printing on Win9x systems (introduced in r39125) Issue #0025315.
r43638 ProjectInspectorAdd shortcuts for VK_RETURN, VK_DELETE and VK_INSERT, like package editor has.
r43385 Qtfixed changing font color of themed text draw. Issue #25253
r43386 Qtrestore pen color if we change it during draw themed text. regression of r43385. Issue #25253
r43387 Qtfixed another regression introduced with r43385 and r43386
r43441 Qtcleanup
r43442 Qtchanged defines for TQtFloatSpinEdit and CPU64
r43623,​r43625 QtCalculate the preferred size of BitBtn correctly in TQtBitBtn.preferredSize even if AutoSize=False. Added the cleanup patch, too.
r43629 rSqlDbRemove wrong {$IFDEF VER2_5_1}. Now SQL Parser is enabled again.
r43558 SQLDbfixed incorrect versioning directive (apparently nobody tried to compile bigide with FPC 2.6.0 since August)
r43604,​r43616 SQLdbadded TMySQL56Connection (Issue #25430 and Issue #25471), unified MySQL icons text (Arial, 11, red/$FF0000, Gimp)
r43486 SourceEditoradded nil check for top-info
r43630 SqlDbcommit generated .po files.
r43671 SqlDbImprove SQL editor. Patch by Reinier Olislagers.
r43375 SynEditHighlight-all, fix index for last element
r43424 SynEditFixed painting highlight frame-borders. (do not paint extra left/right borders)
r43551 SynEdittest, fix for big/little-endian, part of Issue #23703 , patch by Mark Morgan Lloyd
r43614 SynEditpas highlighter improve handling "otherwise" in case ... of
r43577 Testsadded BiDiMode and FlipChildren test by wp, Issue #25408
r43429 TranslationsJapanese translation update by Haruyuki Fujimaki
r43433 TranslationsPolish translation update by Tomasz Wieckowski, Issue #25308
r43459 TranslationsComponents, PoChecker: regenerated translations; updated Russian translation
r43460 Translationsregenerated translations; updated Russian translation
r43498 TranslationsPolish translation update by Darek Mazur, Issue #25323
r43504 TranslationsFinnish translations
r43514 Translationsregenerated translations; updated Russian translation
r43527 translationsGerman, updates from Swen Heinig
r43529 Translationsregenerated German translation
r43531,​r43533 TranslationsFinnish translation improvements. Issue #25413
r43546 TranslationsJapanese translation update by Yuichiro Takahashi, Issue #25423
r43575 TranslationsMinor improvements to Finnish translation
r43580 TranslationsFinnish improvements
r43640 TranslationsComponents, SQLdb: updated Russian translation
r43654 Translationscorrected hotkey in LCL Slovak translation, Issue #25496
r43675 TranslationsComponents, SQLdb: updated Russian translation
r43676 TranslationsComponents, SQLdb: improved localization, updated Russian translation
r43396 Win, installerdelete correct conf folder, if updating 2ndary install and choose to clear conf
r43397 Win, installerconvert Spanish to ansi
r43510 win32updated the popup menu creation flag by using TPM_LAYOUTRTL for RtL mode. Issue #25330
r43650 win32 intfdocumented that TColorDialog.Title cannot be set Issue #0022491.

Fixes for 1.2 RC1 (Merged)

RevisionCategoryDescription
r42850,​r42851 carbonfix linear gradient drawing
r42843 codetoolssyntax error if parameter type is missing
r42844 codetoolsfixed parsing var type deprecated bracket close
r42846 codetoolsfix parsing of "specialize SomeGeneric<TypeParams>" as function/operator result (this fixes error with parsing of new objpas generics)
r42859 codetoolsfixed removing first unit from second line
r42868 codetoolsfixed checking if resolving edged bracket open is allowed, bug 25045
r42910 ConverterDefine PUREPASCAL for units during conversion when simulate Delphi defines is set.
r43076 Components, Lazreportupdated Russian translation
r43195 ConverterFix a crash when a replaced function had brackets '()' without parameters.
r43201,​r43202,​r43203,​r43204,​r43205,​r43208,​r43209,​r43214,​r43215codetoolsparsing new modifiers and keywords, needed for parsing FPC sources
r43337 ComCtrlschange signature of TDrawTabEvent to avoid compilation error due to duplicatie identifier. Issue 0025245.
r42856 DebuggerDisable logging of stackdump during unit lookup
r42913,​r42917 Debuggerreset thread on start/init
r42931 DebuggerOptions, disable add/remove buttons on signal opts. Not implemented
r42932 DebuggerOptions, mark project as modified, when exceptions are enabled/disabled. Issue 0025074
r42988 DebuggerSpelling
r42989 Debuggerfix disassembler, check if offset can be used
r42990 Debuggerfix race condition, stopping the debugger could lead to debugger error
r43038 Debuggerforce gdb to use lang=pascal. (set after attach / needed in some environment, such as cgi in webserver)
r43189 DebuggerFix handling of single quote in strings returned by gdb
r43197 DebuggerFix handling of backslash in strings returned by gdb (used for classname resolving)
r43240 DebuggerTry filename in app bundle for newer gdb
r43255 Debuggerparse version / mac file encoding depends on version
r43294 DebuggerFix getting min callstack depth in some cases.
r43302 Debuggerimprove cache / fix compare none case-sensitive
r43303 Debuggerfix disassembler testcase
r43304 Debuggerfix adding watch via dialog. Open watch view window
r43306 DebuggerChange ExceptionList to one list (no master/slave), fix debugger follows config which exceptions to ignore.
r43317,​r43318 DebuggerFix parsing class with nested record / array of record
r43329 DebuggerFix mem leak in disassembler
r42842 dmgversions with letters and minus
r43253 Docsadded Yuichiro Takahashi and Haruyuki Fujimaki to contributors list
r43122 Gtk2implemented TListView.OwnerDraw + OnDrawItem. part of issue 25149
r43156 Gtk2implemented themed draw of combobox.issue 25151
r43174 Gtk2Gtk2Themes: return correct size value for checkbox and radiobutton
r43176 Gtk2fixed combobox themed paint (separated combo button from combo root).issue 25151
r43178 Gtk2pass TCheckListBox.OnDrawItem when Style <> lbStandard.issue 14071
r42835 IDEmode matrix: fixed showing targets
r42865 IDEfixed complete block, bug 24935
r42866 IDEfixed complete block on char, fixed codebrowser check if something changed
r42886 IDEIntfChange TComponentPropertyEditor back to original behavior so it lists all components from all forms.
r42909 IDEadd PowerPc processor types to selection list.
r42916 IDEImprove the All Compiler Options GUI filter. It lost focus because it was disabled. Not any more.
r42945 IDEdesigner: fixed adding components on inherited form, bug 25084
r42946 IDEwhen closing a modified package and user does not save mods, clear modified, bug 22956
r43028 IDERespect the Use Comments setting also when editing defines.
r43078 IDEregenerated Brazilian Portuguese translation
r43182 IDECompare TargetOS without case sensitivity. The default value is lowercase.
r43219 IDEsave package main source: ignore case, bug 25173
r43351 IDEFix the check for conflicting sequential (multi-stage) shortcuts. Issue 25085
r43352 IDEUpdate popup menu item Enabled state correctly in Keymapping options. Sender is PopupMenu, not TreeView.
r42825 Installer, Winallow "pre-release" in version name (inno setup)
r42994,​r42995,​r42996LazReportseveral template fixes including fix crash on loading template, issue 14137
r43040 LazReportfix hyphenation helper mem leak
r43046 LazReportimprove error message on missing classes, was about FRF format while in reality is about LRF format
r43047 LazReportfix error in dialogs when object is deleted and then a new one inserted, issue 25097
r43063 LazReportrestored accidentally removed translations
r43162 LazReportseveral fixes by Alexey Lagunov
r43271 Lazreportfix Report shape tool has black shadow, issue 14127
r43272 LazReportsome times objects that are hidden by others in upper layer show up because clipping region of moving object enable them, make sure they are visible or not
r43273 LazReportenable native print dialog in Mac OS X by default + option to disable it
r43341 lazcontrolsfixed crash on freeing TFileNameItem
r43348 LazUtf8implement Utf8 versions of LeftStr and RightStr.
r42845 LCLminor corrections of comments in clipbrd.pp (thanks to Mike Thompson), bug 25033
r42854 LCLadded TPairSplitter.Constraints
r42877 LCLTTreeView: check OverlayIndex upper bound
r42912 lcldbgrids: fixed memleak of KeyBookmark, patch from Luca Olivetti, bug 24412
r42923 LCLGtk2, fix grid editing problem on ALT+TAB forward and back, issue 22475
r42924 LCLGtk2, force redraw of GTKWinApiWidgets on focus changes so they can reflect focused/unfocused state (for grids in this case)
r42936 LCLgrids, handle the first key in keypress, fixes issue 24893
r42943 LCLfix grids focus where OnEnter occurs twice, issue 25010
r42948 LCLgtk2, check if widget is still valid (avoid a CRITICAL warning)
r42954 LCLgrids, modify editor bounds in case it's affected by modifying default Col width or Row height
r42958 LCLfix ValueListEdit not showing key column at runtime, issue 24780
r42985,​r42986,​r42991LCLgrids, fixed selection by mouse if editor is visible and focused
r42992 LCLgrids, allow the RETURN key to go to OnKeyPress
r42993 LCLgrids, implemented InsertRowWithValues from Everton Vieira, issue 21176
r43052 LCLgrids, reformat some code that SHIFT+CTRL+C keeps reminding is different
r43054 lclgrid: initialize var
r43061 LCL, carbonfix filterindex and add trigger some missing dialog events, fix issue 25086
r43115 LCLimplemented TListView.OwnerDraw + OnDrawItem. part of issue 25149
r43222 LCLwslclclasses, increased VIRTUAL_VMT_COUNT const from 100 to 128, to be able to add more methods to ws classes.
r43244 LCLTCustomListView: implemented SelectAll & ClearSelection for delphi compatibility. issue 19812
r43245 LCLTCustomListView: added TCustomListView.AddItem for delphi compatibility. issue 25092
r43251 LCLJapanese translation by Yuichiro Takahashi, bug 25123
r43269 LCL, carbonfix CombineRgn when op=diff and dst=src2, dst(src2) ended with a copy of src1 and result is src1 op src1
r43270 LCL, carbonimplements CreateEllipticRgn
r44051 LCLgrids, do not trigger CellButton click if MouseDown is OutBounds, mdified patch from malcome, issue 25127
r43350 MaskEditavoid calling OnChange when setting initial values for Mask and Text. Issue 0019029.
r42950,​r42951,​r42952,​r42953Object Inspectorshow collections referenced multiple times only once, show TFieldDefs without owner
r42832 Propeditsremove a test version of TCoolBarControlPropertyEditor.CheckNewValue
r43024 Printerswindows, do not open and setup printer if it's being destroyed, issue 23026
r43140 Printers, carbonfix context origin (the origin should be the imageable area not the paper rect)
r43141 Printers, Carbonsupport for printing at higher resolution, issue 23339
r43164 Printerscups, fix PrintDialog does not set Copies and Colate properties, from Petr-K, issue 24959
r42905 QtTQtComboBox fix for call IntfGetItems when we are non-editable combobox.
r42906 Qtcall OnDropDown imediatelly after IntfGetItems, so our events are in expected order and there's no disturbing of QListWidget while showing.issue 25032
r42940 Qtfixed TQtCheckListBox double click event duplication.issue 25089
r42941 Qtchange current row of TQtCheckListBox for Qt >= 4.8 since it does not change ItemIndex when checkbox is clicked.
r43041 Qtupdated Qt bindings to version 2.5
r43043 Qtfixed application closing when session manager is used. issue 18910
r43053 Qtfixed compilation with fpc 2.7.1. issue 25125
r43062 Qtfix conditional switches. issue 25139
r43116 Qtimplemented TListView.OwnerDraw + OnDrawItem. part of issue 25149
r43135 Qtimplemented TCustomListView OnCustomDraw, OnCustomDrawItem, OnCustomDrawSubItem. part of issue 7059
r43146 Qtimproved qt themes. Added tab drawing.
r43149 Qtimproved qt themes text drawer.
r43150 Qtimplemented teProgress in qt themes.
r43152 Qtpartially implemented teListView in qt themes.
r43154 Qtimplemented teSpin in qt themes.
r43158 QtTQtListWidget, TQtTreeWidget.itemDelegatePaint() draw background of item by default.related to issue 24941
r43166 Qtfixed TQtCheckListBox triggering OnItemClick when TCheckListBox.Style <> lbStandard.
r43167 Qtimproved QtThemes.GetDetailSize by returning sizes of checkbox and radiobutton.
r43168 Qtimproved teTreeView theme drawer, trigger IntfDoOnThemeChange when theme is changed.
r43169 Qtfixed TQtListWidget behaviour when it's owner drawn and checkable = true.
r43170 Qtfixed checked item state and custom painting cdsChecked when TQtTreeWidget is ownerdrawn (assigned OnCustomDrawXXX).
r43171 QtTQtTreeWidget: added odChecked to drawstate when OnDrawItem is assigned and we are checkable listview.
r43172 Qtfixed wrong DrawState param for TQtListWidget when OnDrawItem is assigned (ownerdraw).
r43173 Qtfixed behaviour of checkable items when key space is pressed in TQtAbstractItemView.OwnerDraw mode.
r43175 Qtfixed drawer for themed TGroupBox.
r43180 Qtfixed regression in owner drawn combobox from rev.43135. issue 25172
r43218 Qtimplemented scrollbars on forms (scrollable forms).Currently it works only if QTSCROLLABLEFORMS define is enabled in qtdefines.inc. issue 24715
r43234 Qtfixed crash when QTSCROLLABLEFORMS are enabled and reparenting form with mouse (eg undock).part of issue 24715
r43236 Qtfixed problem with clientrect sizes when QTSCROLLABLEFORMS are enabled.part of issue 24715
r43238 Qtfixed QPainter assertion when QTSCROLLABLEFORMS is enabled.Completely fixes issue 24715
r43241 Qtinvalidate clientrect cache when viewport of scrollable form is resized.QTSCROLLABLEFORMS part.
r43242 Qtdo not loop with LCL when designing TPageControl, keep LCL sizes when InUpdate.
r43243 Qtdo not invalidate client rect cache in scrollable form viewport if we are embedded form (eg. docked).
r43274 Qtfixed sizing of autosized forms by ignoring sizepolicy for centralwidget when QTSCROLLABLEFORMS is enabled.
r43308 Qtadded note about spotted bug in Qt-4.8.5 lib when using raster graphicssystem.
r43315 Qtworkaround for Qt raster engine bug when rectangle is drawn and pen is cosmetic. issue 25227
r43333 Qtimplemented SWP_SHOWWINDOW and SWP_HIDEWINDOW in TQtWidgetSet.SetWindowPos.
r42838 rpmfixed handling versions with minus
r43160 SourceEditSet ifdef (on tab change) after dec-paintlock)
r42840 Spelling
r43188 sqldbTSQLDBLibraryLoader, TPQEventMonitor, TFBEventMonitor and TFBAdmin were backported to FPC 2.6.3
r43194 sqldbenabled TSQLDBLibraryLoader, TPQEventMonitor, TFBEventMonitor and TFBAdmin for FPC 2.6.3 too in order to allow to test them before FPC 2.6.4 is released (FPC 2.6.3 built in February is OK)
r43263 sqldbTSQLDBLibraryLoader, TPQEventMonitor, TFBEventMonitor and TFBAdmin are actually available in FPC 2.6.2, bug 25200
r43307 SrcEditworkaround for Mac QueueAsync bug
r42898 SynEditIfDef Markup, fix issue with not displaying nested disabled blocks sometimes
r42987 SynEditSpelling
r43009 SynEditAllow to set ssoMatchCase for TSynEditMarkupHighlightAllCaret. Issue 0025108 Patch by Denis Golovan
r43064 SynEditIfdef highlight, more verbose assert.
r43159 SynEditAvoid highlighter scanning twice, due to trailing space changes
r43165 SynEditFixed uninitialized value in block-selection
r43332 SynEditIFDEF lowlight, fix wrong index, and fix using same nested comment setting as HL / Issue 0025244
r43342 SynEditPas HighLighter, recognize new &keyword for identifier style
r43077 TranslationsBrazilian Portuguese translation update by Marcelo B Paula, bug 25134
r43163 TRadiouGroupdo not reset FItemIndex in UpdateIyems whilst loading. Issue 0025158.
r43223 TRadioGroupfix resetting ItemIndex to -1 when calling Items.Assign (regression introduced by me in r42772).
r43344 TreeFilterEditImprove TTreeFilterBranch.RemoveChildrenData logic.
r43109 ValEditFix crash in InsertRow if Strings.Count = 0. Issue 0025144
r43110 ValEditimplement an adapted version of InsertRowWithValues
r43118 ValEditrefactor the logic behind wether or not to hide the editor when manipulating the Strings property.
r43119 ValEditfix possible error in InsertRowWithValues due to uninitialized NameValueSeparator.
r43177 ValEditfix crash on GetCells when empty rows are auto-added.
r43157 Win32implemented TListView.OwnerDraw and TListView.OnDrawItem. issue 25149

binaries

  • r43042 Qt: updated Qt4Pas5.dll to version 2.5. IMPORTANT !

Roadmap to 1.2

The release process will consist of the following steps.

  • Creation of the SVN 1.2 fixes branch (Done 15 Sept 2013)
  • Publication of Lazarus 1.1.99 pre-release (Done 18 Sept 2013)

This will be an early alpha of the upcoming 1.2. It will be available to anyone who wants to help testing. Testers should treat this release with similar caution as the daily snapshots. The testing period is scheduled to last 6 to 8 weeks.

  • Release of 1.2 RC 1 (Done 6 November 2013)

This will be the first Release Candidate. We would like to urge all users to test this version. The testing period is scheduled to last 6 to 8 weeks.

  • Release of 1.2 RC 2 (Done 11 January 2014)

The testing period is scheduled to last 6 to 8 weeks.

  • Maybe 1.2 RC 3 (Skipped)

An RC 3 may be scheduled, if necessary.

  • Release of Lazarus 1.2 (between Feb and Apr 2014)


Tests

  • Menu item exists
  • Clear pcp directory and start IDE, a new project application with a form should be visible
  • Double click on form - a FormCreate event should be created
  • Check View / IDE internals / What needs building - no package should need building, only the project
  • Restart the IDE - there should be no warning about upgrading
  • Install the package cody, after restart the component palette should show the component TCodyTreeView

Tagging release

  • Set version to 1.2 in fixes_1_2 branch
    • open lazarus/lazarus.lpi in the IDE and change the version numbers in the project options dialog 1.2.0.1 for RC1, 1.2.0.2 for RC2, 1.2.0.3 for final
    • lazarus/ide/version.inc 1.2RC1 for RC1, no spaces!
    • lazarus/lcl/lclversion.pas 1.2.0.1 for RC1, 1.2.0.2 for RC2, 1.2.0.3 for final
    • lclbase.lpk
    • lcl.lpk
    • lazarus/debian/changelog 1.2.0-1 for RC1, 1.2.0-2 for RC2, 1.2.0-3 for final
    • lazarus/lazarus.app/Contents/Info.plist v1.2 RC1
    • tools/install/linux/environmentoptions.xml same as version.inc
    • tools/install/win/environmentoptions.xml same as version.inc
    • tools/install/macos/environmentoptions.xml same as version.inc
    • check if lpl files needs updating by running ./tools/lplupdate -c
    • run ./tools/updatemakefiles
  • Tag fixes_1_2 branch to tags/release_1_2_RC1
svn copy svn+ssh://svn.freepascal.org/FPC/svn/lazarus/branches/fixes_1_2 svn+ssh://svn.freepascal.org/FPC/svn/lazarus/tags/lazarus_1_2_RC1 -m 'tagged 1.2RC1 as tags/lazarus_1_2_RC1'
  • Set version to 1.2 in trunk

How to merge

See Lazarus_1.0_fixes_branch#How_to_merge