Commit Graph

56027 Commits

Author SHA1 Message Date
maxim
f4e5f3f56a Merged revision(s) 62474 #6f1497ade1 from trunk:
revert 61976 #ec34c3f2f1:
lazutils: lazutf8: fixed TStringList.LoadFromFile load UTF8 by default
* not needed any more because the latest FPC trunk has TEncoding.Default=SystemEncoding that is UTF-8 in Lazarus/LazUTF8
........

git-svn-id: branches/fixes_2_0@62617 -
2020-02-07 22:11:21 +00:00
maxim
4f57011244 Merged revision(s) 62451 #7b571df356 from trunk:
TAChart: Improved and scaled layout of TChartListbox demo.
........

git-svn-id: branches/fixes_2_0@62616 -
2020-02-07 22:10:15 +00:00
maxim
1b233c929f Merged revision(s) 62405 #4640c96ffc from trunk:
IdeIntf: Add ForceUpdate parameter for selecting items in GridColumns editor. Prevents an AV when deleting a column. Issue #36260.
........

git-svn-id: branches/fixes_2_0@62615 -
2020-02-07 22:05:28 +00:00
maxim
702a8b2588 Merged revision(s) 61111 #7de7e2642e, 62486 #ec8029f42d from trunk:
LCL: Fix some data control regressions. Issue #35458, patch from Michal Gawrycki.
........
LCL/FlowPanel: Fix AutoSize issue (issue #36514).
........

git-svn-id: branches/fixes_2_0@62614 -
2020-02-07 22:02:11 +00:00
dmitry
b25c8c2021 Merged revision(s) 62557 #36ff050ad7 from trunk:
cocoa: fix setting a new state for cocoa checkbox.
........

git-svn-id: branches/fixes_2_0@62558 -
2020-01-15 03:46:38 +00:00
dmitry
36b9cd3dbc Merged revision(s) 62539-62541 #f588bfbd67-#f588bfbd67, 62545 #7c70ec7fc5 from trunk:
cocoa: fixes for pattern brush drawing, by Yuriy Sydorov. bug #36565
........
cocoa: manual scroller no longer reports any mouse events (to prevent double events). This matches the TCocoaScrollView implementation. Forcefully syncing scroll position with position of scrollers :) before reporting to LCL. bug #36048
........
cocoa: adding support for small and large change parameters of a scrollbar
........
cocoa: checkbox and radiobuttons initial value are now set without change notification
........

git-svn-id: branches/fixes_2_0@62546 -
2020-01-14 01:41:38 +00:00
wp
81cf2717b8 Fix compilation of LazHelpHtml for WinCE. Issue #36558.
git-svn-id: branches/fixes_2_0@62543 -
2020-01-13 11:51:05 +00:00
dmitry
7577b0e9e9 Merged revision(s) 62528-62533 #4ac51dd8f4-#4ac51dd8f4, 62537 #276621a391 from trunk:
cocoa: updating font dialog to return the selected font size. bug #33990
........
cocoa: updating font dialog initialization. bug #33990
........
Cocoa fonts: comments
........
cocoa: hiding focus ring, if borderstyle is none. bug #34828
........
cocoa: not allowing a column of TListView to be selected automatically.
........
Cocoa: font dialog:
* Make font size dependent on the dialog's Font.PixelsPerInch and not the global CocoaBasePPI because the user can change it.
* Avoid rounding errors by using the real Font.Size value.
Bug #34828
........
cocoa: updating patrons list
........

git-svn-id: branches/fixes_2_0@62538 -
2020-01-12 20:07:25 +00:00
dmitry
199a2ed24a Merged revision(s) 62497-62498 #2c9df5c82a-#2c9df5c82a, 62500 #0094808177, 62502 #eb25ab2a98 from trunk:
cocoa: implementing TCocoaWSCustomTabControl.GetTabRect
........
cocoa: implementing GetTabRect for left and right tabs
........
cocoa: releasing capture, if present on disabling or destroying a window. bug #36491
........
cocoa: checking for enabled flag of the controls hierarchy
........

git-svn-id: branches/fixes_2_0@62503 -
2020-01-07 05:03:10 +00:00
dmitry
61b50a74b1 Merged revision(s) 62481 #11fb196904, 62490 #5301fa49cb from trunk:
cocoa: forcing focusing of the content view, if window gets focused
........
cocoa: ShowHide only activates non hint window. Hint window are brought to front, but not getting focus. bug #36516
........

git-svn-id: branches/fixes_2_0@62499 -
2020-01-05 07:14:49 +00:00
ondrej
08a6145ef0 merge r62477 #61ff6d46d1: Fix compilation with FPC trunk
git-svn-id: branches/fixes_2_0@62478 -
2020-01-03 10:24:51 +00:00
maxim
b812427da7 Merged relevant parts of revisions 62359 #655b966c04, 62367 #9307a89215, 62449 #ce0447a6e0 from trunk:
LCL: regenerated translations and updated Russian translation
........
Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #36413
........
Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #36476
........

git-svn-id: branches/fixes_2_0@62476 -
2020-01-02 22:09:14 +00:00
maxim
062b0e4ee4 LCL: regenerated translations
git-svn-id: branches/fixes_2_0@62475 -
2020-01-02 21:49:09 +00:00
dmitry
c9d2229b7b Merged revision(s) 61059-61060 #59587a0452-#59587a0452, 61107 #9c59e031fc, 61135 #2b46c6d5e0, 61536 #9bf589f433, 61739 #f13e53bf2f, 61767 #159d5cc8cc, 62188 #7ec219a05b from trunk:
opengl: adding support for Cocoa mouseMove events for Right and Middle mouse buttons. Based on the patch by Chris Rorden. bug #34938
........
opengl: forcing painting even with NSgraphicContext currentContext assigned. Seems to be Mojave specific behaviour not to provide context. bug #34983
........
opengl: update cocoa compilation for the latest update with keyhandling
........
opengl: prevent double mouse-down events for cocoa. bug #35480
........
opengl: fix cocoa compilation
........
opengl: cocoa: removing Dummy type declarations as they are not in the code. Yet the type declarations changed in trunk FPC version (3.2.0). bug #35974
........
opengl: getting rid of cocoa GetNSObjectView
........
opengl: remove gl unit used from glcocoanscontext unit
........

git-svn-id: branches/fixes_2_0@62469 -
2019-12-30 06:46:56 +00:00
dmitry
9e2610ab5d Merged revision(s) 61018 #085e081476 from trunk:
docs: adding Zoë Peterson for ongoing cocoa patching
........

git-svn-id: branches/fixes_2_0@62460 -
2019-12-29 21:06:23 +00:00
dmitry
47ad0f79ca Merged revision(s) 61708 #facd13195f from trunk:
cocoa: checking if coordinates flip in needed, when showing popup menu. bug #35975
........

git-svn-id: branches/fixes_2_0@62459 -
2019-12-29 21:04:25 +00:00
dmitry
81bb1a5151 Merged revision(s) 61617 #b79e2dd90e, 61648 #2e83444e6f, 61675 #17237b6c07, 61692-61696 #cd175cddac-#cd175cddac, 61704-61705 #1437ddef5a-#1437ddef5a, 61709-61710 #013971d96c-#013971d96c, 61731 #3b11854e5c, 61741 #aedf865eae, 61760-61766 #e768107d9c-#e768107d9c, 61768 #462398fd23, 61770-61772 #ea3cda9791-#ea3cda9791, 62052-62054 #bbe61721bd-#bbe61721bd, 62060-62061 #53c619e833-#53c619e833, 62145 #5800bed098, 62155-62161 #636869401c-#636869401c, 62180 #546b5cedd7, 62183 #13ce80945c, 62187 #4f6399d3ef, 62198-62199 #0f2e400fb5-#0f2e400fb5, 62203-62205 #2616af5061-#2616af5061, 62213-62216 #3318764632-#3318764632, 62227-62228 #ffc0a1fef3-#ffc0a1fef3, 62250-62252 #e4c13cf957-#e4c13cf957, 62279-62280 #7edf0a44bc-#7edf0a44bc, 62351-62352 #79faff4c47-#79faff4c47, 62355 #4213fd0677, 62373-62374 #8535bb2ac4-#8535bb2ac4, 62407 #a21894d597, 62413-62414 #810d3c4e27-#810d3c4e27, 62433-62435 #c620145935-#c620145935, 62437-62439 #16d8971fa2-#16d8971fa2, 62452 #03d28dad0f from trunk:
cocoa: drawedge implementation
........
cocoa: softer color selection for shadows and pseudo 3d for 10.14, rather than deprecated methods call
........
cocoa: extending the list of patreons for August pledge
........
cocoa: nice look for status bar
........
cocoa: calling default NSView lclSetEnabled for tabcontrol
........
cocoa: placing a customcontrol manualscrollview into manualscrollhost. The host itself is a scrollview. But it is not used for Scroll, but rather for the feature of drawing the border. bug #34761
........
cocoa: adding support for ownerData checkbox values on TListView
........
cocoa: adding forced mouse up for buttons bug #35826
........
cocoa: adding window content invalidation on hidding of window
........
cocoa: update ScreenToLocal to support flipped controls
........
cocoa: (re)creating a scrollbar with the dimensions matching the desired kind. If kind is changed in runtime - recreating the scrollbar. bug #35968
........
cocoa: returning alpha multiplied colors in NSColorToRGB
........
cocoa: removing extra null-character from the clipboard text. Patch by Zoë Peterson. bug #35984
........
cocoa: making ManualScrollHost to pass the methods to the hosted ManualScrollView
........
cocoa: clearing selection of ListBox is itemIndex is set to negative index
........
cocoa: restoring pen and brush states for DrawEdge call. bug #35998
........
cocoa: resolve the position corruption on bringToFront call. bug #35826
........
cocoa: replacing use of GetNSObjectView with lclContentView
........
cocoa: replacing use of GetNSObjectView with lclContentView
........
cocoa: replacing use of GetNSObjectView with lclContentView
........
cocoa: getting rid of GetNSObjectView
........
cocoa: don't change buttons font, if a custom font has been selected
........
cocoa: correct horizontal scrollWheel. macOS and LCL are using reversed delta values
........
cocoa: preventing double scrollWheel message for the pair of manualHost+manualScrollView bug #36001
........
cocoa: not sending onSelectionChange notification while clearing TListBox stringlist
........
cocoa: range check errors resolution, modified patch by C Western. bug #36171
........
cocoa: updating numerical value of the spin edit on every text change notification. bug #36096
........
cocoa: changed the way MaxLength is being passed to cocoa interface (adding new method, instead of direct field access). Implemented ontextchange event for password field. bug #36158
........
cocoa: restoring the window style changes notification. patch by Zoë Peterson. bug #35622
........
cocoa: fix client frame coordinates for NSBox (groupbox). bug #36109
........
cocoa: scrollwheel events for textedit fields. bug #36221
........
cocoa: disabling main menu, while showing application modal message
........
cocoa: using scrollingDeltaAXIS methods as suggested my macOS docs for scroll method. Updated the basis of delta to LCL 120 as suggested in bug #36221 by C Western
........
cocoa: implementing customlistview.ItemGetState for lisSelected. bug #36074
........
cocoa: implementing the event to call filetypechanged for a file dialog. bug #36024
........
cocoa: implementing folderChanged and selectionChanged for opensavefile dialogs
........
cocoa: adding support for close event of a filedialog
........
cocoa: preventing sending of setFocus message to a control already focused. bug #36111
........
cocoa: revert the change of not sending focus notification for LCL focused control
........
cocoa: forcing the constant scroll step
........
cocoa: changing how date conversion utilities work. Currently following the system calendar. bug #36252
........
cocoa: prevent all windows from being enabled if modal session is active
........
cocoa: proper handling of cancel (escape) action on a prompt dialog
........
cocoa: renaming of the SaveOpenDialog delegate class. update the use of file filtering
........
cocoa: interrupting mouse event handling (by cocoa), if modal window is shown. bug #36266
........
cocoa: removing the method that is using macOS 10.9 declaration (NSErrorPointer). The method does not need to be implemented. bug #36267
........
cocoa: fix open dialog file type empty filter. bug #36272
........
cocoa: imlpementing gridlines property for tableview. bug #36263
........
cocoa: adding menu hijack specific handling of quite menu command. bug #36265
........
cocoa: making file related dialogs modal (blocking menu)
........
cocoa: update the code to be compatible fpc-trunk headers. patch by noname012
........
cocoa: corrections of NSAppKitVersionNumber10_14 to match the current Xcode headers bug #36283
........
cocoa: making togglebox consistent with the standard button. Providing configuration to make the cocoa run in backwards compatible manner
........
cocoa: update change text edit font color. bug #36313
........
cocoa: setting the default system font to a text edit on allocation
........
cocoa: making font configuration to be selector based, rather than class based
........
cocoa: checking for the rectangle to have some size before drawing
........
cocoa: supporting additional bmp formats. Patch by TK. bug #36311
........
cocoa: making mainpool lazy initialization - moving to AppInit, to prevent conflicts with dynlib loading. bug #36360
........
cocoa: making menu captions resource strings. Patch by Zoë Peterson. bug #35234
........
cocoa: using brush color for FrameRect. bug #36410
........
lcl: cocoa: fixed compile
........
cocoa: forcing focus set on Showing window through WS ShowHide method
........
cocoa: restoring the use of CocoaLoopOverride for a better control of the message loop. bug #36405
........
cocoa: sanitizing temp url selection in a dialog selection
........
cocoa: calling finishLaunching explicitly on AppInit rather than from run loop
........
cocoa: updating lclRelativePos function, based on the patch by David Jenkins. bug #36049
........
cocoa: removing unused function. related to bug #36049
........
cocoa: using the primary display (index 0) as a base for screen coordinates. Patch by David Jenkins. bug #36049
........
cocoa: changing the way undo manager is allocated. Changing handling of the text assignment to a memo. Patch by Zoë Peterson. bug #36073
........
cocoa: sanity check for undomanager reversal
........
cocoa: properly cleaning up the callback interface for the calendar
........

git-svn-id: branches/fixes_2_0@62458 -
2019-12-29 20:57:29 +00:00
dmitry
7846210f02 Merged revision(s) 61288 #95b9f913d4, 61326 #fd9e22019c, 61394 #f525589cfb, 61437 #25a5e07eaf from trunk:
treeview: calling UpdateScrollbars on resizing, expand, collapse or selection move. Removed UpdateScrollbars from the darwing. Prevents Cocoa drawing (upside down) glitch. #34334
........
lcl: TreeView scrollbars needs to be updated on mouse wheel. #35677
........
lcl: updating scrollbars after scrollbars were changed
........
treeview: updating scrollbars on items addition and removal. #35738
........

git-svn-id: branches/fixes_2_0@62457 -
2019-12-29 20:43:09 +00:00
dmitry
78045d2f44 Merged revision(s) 62277 #a2486e3c42 from trunk:
mtprocs: proper len type (csize_t instead of (cint) for fpsysctl call. #36325
........

git-svn-id: branches/fixes_2_0@62456 -
2019-12-29 20:35:33 +00:00
mattias
cdbcce6410 LCL/LazHelpHtml: Fix Microsoft Edge not being detected as default browser on Windows 10. Issue #35659, patch by jamie philbrook, slightly modified.
git-svn-id: branches/fixes_2_0@62400 -
2019-12-14 18:09:11 +00:00
mattias
aba78853f5 LCL/ComboBoxEx: Use type TImageIndex for image index properties of TComboboxEx. Issue #33026, patch by Michal Gawrycki.
git-svn-id: branches/fixes_2_0@62399 -
2019-12-14 18:08:53 +00:00
mattias
a1b4bb3d0a SynEdit: MarkupFoldColor, fix crash when HL does not have config.
git-svn-id: branches/fixes_2_0@62398 -
2019-12-14 18:08:31 +00:00
mattias
e8fbe92d36 LCL: Fix TSpeedButton and TBitBtn using non-scaled icons if an Action is assigned to these controls (https://forum.lazarus.freepascal.org/index.php/topic,47574.msg340909.html)
git-svn-id: branches/fixes_2_0@62397 -
2019-12-14 18:08:14 +00:00
mattias
5f7d7361bc fpvectorial: Fix memory leak caused by TvRenderInfo.Errors. Issue #36331
git-svn-id: branches/fixes_2_0@62396 -
2019-12-14 18:07:50 +00:00
mattias
d38aa42d42 codetools: parse property; experimental; platform
git-svn-id: branches/fixes_2_0@62395 -
2019-12-14 18:05:35 +00:00
mattias
a11683df3c multithreadprocs: fixed copile darwin fpc 3.3.1
git-svn-id: branches/fixes_2_0@62376 -
2019-12-11 10:32:40 +00:00
maxim
e76999a57b Merged revision(s) 62299 #d34b0037c8 from trunk:
Translations: Slovak translation update by LacaK, bug #36357
........

git-svn-id: branches/fixes_2_0@62300 -
2019-11-25 22:52:01 +00:00
maxim
429779eee9 Merged revision(s) 62297 #85fe179abe from trunk:
IDE: improved 'Add unit to Uses' dialog layout, bug #36344
........

git-svn-id: branches/fixes_2_0@62298 -
2019-11-25 22:27:58 +00:00
maxim
92378adfe6 Merged revision(s) 62255 #410b95d666 from trunk:
TAChart: Avoid crash in unfavorable cases when cChart, NavPanel and AutoScaleAxisTransforms are on the form (https://forum.lazarus.freepascal.org/index.php/topic,47429.0.html). Patch by PaulRowntree.
........

git-svn-id: branches/fixes_2_0@62267 -
2019-11-17 21:46:57 +00:00
maxim
0d698264b6 Merged revision(s) 62237 #4f009ea169 from trunk:
fpvectorial: Fix docx writer ignoring single-character words. Issue #0036300. Patch by Dean Qin/Mike.Cornflake
........

git-svn-id: branches/fixes_2_0@62266 -
2019-11-17 21:46:04 +00:00
maxim
902ab3eff7 Merged revision(s) 62217-62218 #4116396ac9-#4116396ac9 from trunk:
Qt: Alt+Shift+[0..9] does not work under x11. issue #36274
........
Qt5: Alt+Shift+[0..9] does not work under x11. issue #36274
........

git-svn-id: branches/fixes_2_0@62265 -
2019-11-17 21:45:06 +00:00
maxim
b0498e2b23 Merged revision(s) 62177 #dfef4effb0 from trunk:
IDE: Fix access violation in IDE, when ignoring "files have changed on disc". Issue #036169
........

git-svn-id: branches/fixes_2_0@62264 -
2019-11-17 21:44:00 +00:00
maxim
0538cbd677 Merged revision(s) 62163 #9a7663f9a7 from trunk:
SynEdit: Fixed Gutter.LeftOffset
........

git-svn-id: branches/fixes_2_0@62263 -
2019-11-17 21:43:02 +00:00
maxim
9559f596dc Merged revision(s) 62125 #e7174e7ac2 from trunk:
LCL/Trackbar: Fix hanging on Win64 when Max is too large. Issue #36046, based on patch by Serge Anvarov.
........

git-svn-id: branches/fixes_2_0@62262 -
2019-11-17 21:42:14 +00:00
maxim
504e7e04ac Merged revision(s) 62068 #9236d9cb88 from trunk:
Opkman: Fix invalid URL bug. 
........

git-svn-id: branches/fixes_2_0@62261 -
2019-11-17 21:41:09 +00:00
mattias
7266d53e7d IDE+lazbuild: build IDE: pass idemake.cfg with quotes if needed
git-svn-id: branches/fixes_2_0@62210 -
2019-11-06 16:15:52 +00:00
mattias
5b4b84611a IDE+lazbuild: build IDE: pass idemake.cfg without quotes, issue #36261
git-svn-id: branches/fixes_2_0@62208 -
2019-11-06 16:13:01 +00:00
mattias
3dfd03a238 set fixes version 2.0.7
git-svn-id: branches/fixes_2_0@62130 -
2019-10-27 09:28:19 +00:00
mattias
6116c3a0ea set fixes version 2.0.6
git-svn-id: branches/fixes_2_0@62128 -
2019-10-27 09:25:32 +00:00
mattias
9719246c80 project groups: mark loaded xml as unmodified
git-svn-id: branches/fixes_2_0@62123 -
2019-10-26 11:41:22 +00:00
mattias
5fdb58f915 IDE: Do not clear out settings under "Additions and Overrides" after renaming a build mode. Issue #35572.
git-svn-id: branches/fixes_2_0@62122 -
2019-10-26 11:34:34 +00:00
mattias
8bc170fe4c IDE: Formatting for BuildMode stuff. Rename some variables.
git-svn-id: branches/fixes_2_0@62121 -
2019-10-26 11:34:09 +00:00
maxim
558b1caa9f Merged revision(s) 62095 #92a535fc1f from trunk:
Revert r57155 and r60340 #b6923ebc84 because of a regression bug. See issue #36170.
........

git-svn-id: branches/fixes_2_0@62106 -
2019-10-21 22:17:20 +00:00
maxim
254fc8b15d Merged revision(s) 61504 #5746da87b0 from trunk:
IDE: DoRunProject: reset ToolStatus only for errors on handlers, bug #35764
........

git-svn-id: branches/fixes_2_0@62105 -
2019-10-21 22:16:34 +00:00
maxim
3b06c8f7ea Merged revision(s) 62075 #fa7f6f5bbc from trunk:
Qt,Qt5: fix issue with TRadioGroup and TCheckGroup after minimizing & restoring form. issue #36195
........

git-svn-id: branches/fixes_2_0@62086 -
2019-10-18 22:10:18 +00:00
maxim
f4679f7b98 Merged revision(s) 62074 #fd094740c7, 62077 #a384c1ed14 from trunk:
MessageComposer: Improved auto-sized layout.
........
MessageComposer: Improved auto-sized layout revisited.
........

git-svn-id: branches/fixes_2_0@62085 -
2019-10-18 22:09:22 +00:00
maxim
fbe9203283 Merged revision(s) 62069-62070 #40d59fec0b-#40d59fec0b, 62073 #6d317e22dc from trunk:
TAChart: Fix chart distance tools crashing when series contains a NaN value.
........
TAChart: Replace r62069 #40d59fec0b by better solution.
........
TAChart: Fix divide-by-zero error in TFitSeries.
........

git-svn-id: branches/fixes_2_0@62084 -
2019-10-18 22:07:19 +00:00
maxim
8e223c396b Merged revision(s) 62003 #d3daac07ac, 62020 #690b7498e7, 62062 #c164409c0a from trunk:
LCL-GTK2: Improve logic for loading LibAppIndicator3 for TrayIcon. Based on research by D.Bannon. Issue #35723.
........
LCL-GTK2: Add Debian to the list of distros that need the AppIndicator lib. Optimize a little. Issue #35723.
........
LCL-GTK2: Improve the logic for loading LibAppIndicator3 lib. Support an environment variable LAZUSEAPPIND. Issue #35723, patch from David.
........

git-svn-id: branches/fixes_2_0@62083 -
2019-10-18 22:05:33 +00:00
maxim
1583512c04 Merged revision(s) 61053 #6096106179, 61740 #563a44c1d6, 61945-61947 #96eee65d5d-#96eee65d5d, 62031 #9cad1b3feb from trunk:
LCL: Handle mouse events through shaped TWinControl. Issue #35270, patch from ptvs.
........
lcl, fix TDbgrid wrong width of first column if FixedCells>1 and dgIndicator is turned off, issue #35716
........
LCL: override TSpinEdit.GetLimitedValue so it cannot return values outside the integer range. Issue #0032793.
........
LCL: fix crash in TStringGrid.InsertRowWithValues is Columns.Enabled is True. Issue #0036067
........
LCL: fix TTaskDialog.ModalResult if closebutton (in CommonButtons) is clicked. Issue #0036069.
........
LCL/grids: Fix misplaced horizontal grid scrollbar after form maximize. Issue #35472, patch by Pavol S.
........

git-svn-id: branches/fixes_2_0@62082 -
2019-10-18 22:03:17 +00:00
maxim
4455557d6e Merged revision(s) 61996 #5ff78d5320, 62001 #6362b3d71a from trunk:
Designer: Support Undo-action for changed Parent of a component. Issue #26815.
........
Designer: Fix a crash bug caused by r61974 #dcb8bd49fb. Top form has no Owner.
........

git-svn-id: branches/fixes_2_0@62081 -
2019-10-18 21:59:34 +00:00