Commit Graph

56025 Commits

Author SHA1 Message Date
maxim
ded3842a35 Merged revision(s) 62699 #b9e4a03603 from trunk:
fixes for is precedence change in fpc r44266 #831fd20413
........

git-svn-id: branches/fixes_2_0@63179 -
2020-05-17 15:15:38 +00:00
maxim
06537c10c1 Merged revision(s) 63127 #e3569b9c13 from trunk:
IDE: Replace palette icon of TCSVDataset to match in color and font size with the others icons on this palette. Kindly provided by Roland Hahn.
........

git-svn-id: branches/fixes_2_0@63178 -
2020-05-17 15:12:04 +00:00
mattias
a248f9b253 codetools: if fpc.exe omits last line with realcompiler, use compile in path
git-svn-id: branches/fixes_2_0@63081 -
2020-04-25 19:16:32 +00:00
mattias
61a860026f deb: remove carbon files, fixed lintian-overrides, changed copyright to new format
git-svn-id: branches/fixes_2_0@63072 -
2020-04-25 11:38:16 +00:00
mattias
4ebfa1e982 set fixes version 2.0.9
git-svn-id: branches/fixes_2_0@62945 -
2020-04-11 14:07:38 +00:00
mattias
ed8b1d30b1 set fixes version 2.0.8
git-svn-id: branches/fixes_2_0@62943 -
2020-04-11 14:05:22 +00:00
juha
09b3daa082 Packager: Fix a crash on closing package editor. Issue #36432.
git-svn-id: branches/fixes_2_0@62942 -
2020-04-11 12:42:05 +00:00
mattias
07af721275 ide: creating app bundle as a part of a build process for Cocoa WS. Issue #36780
git-svn-id: branches/fixes_2_0@62936 -
2020-04-11 08:52:58 +00:00
mattias
52abee6390 codetools: adding suppot for cblocks procedural type modifier. Based on patch by Juha Manninen. Issue #36752
git-svn-id: branches/fixes_2_0@62935 -
2020-04-11 08:46:36 +00:00
mattias
2063894dc4 Packager: For a newly created component add a package dependency only when needed. Issue #36876
git-svn-id: branches/fixes_2_0@62934 -
2020-04-11 07:25:15 +00:00
mattias
34feabd2d1 TAChart: Fix NoGuiDemo to find font in Linux.
git-svn-id: branches/fixes_2_0@62933 -
2020-04-11 07:24:35 +00:00
mattias
e622c77850 IDE: Set active project in Project Inspector when user opens it first time.
git-svn-id: branches/fixes_2_0@62932 -
2020-04-11 07:24:11 +00:00
mattias
326d243023 Designer: Fix moving multiple controls with keyboard after deselecting one. Issue #35255
git-svn-id: branches/fixes_2_0@62931 -
2020-04-11 07:23:35 +00:00
mattias
bbc8c655bd IDE: Sanity check when loading LPS run modes. Issue #35410
git-svn-id: branches/fixes_2_0@62930 -
2020-04-11 07:21:46 +00:00
dmitry
6299e12cab Merged revision(s) 62689-62691 #74b4d747cf-#74b4d747cf, 62697 #7ba5991c3b, 62701 #dfd2b9ea65, 62707-62711 #64e40526df-#64e40526df, 62724-62725 #cc3d447e35-#cc3d447e35, 62732 #965242b45e, 62776 #5a99d126b2, 62885 #e1d1474d82 from trunk:
cocoa: reverted accidental changes from cocoaint.pas made in r62216 #0e6259598f as per Dmitry's comment
........
cocoa: safe color conversion from colordialog to lcl color
........
cocoa: reverting r62568 #6758ea533d. the revision broke SPACE processing (to emulate click on buttons)
........
cocoa: handling ESC buttons on a promptuser dialog in a muted way. Patch by Zoë Peterson. bug #36760
........
cocoa: use number of items, of inserting a menu item for the first time
........
cocoa: calling updateWindows on every event sent. Removing the hacking property assignment.
........
cocoa: preventing font or color dialog from being restored on Application restart (in case of a crash while they're shown on restart)
........
cocoa: reverting undesired change of explicit closing of dialogs
........
cocoa: if closewindow button (red-x) is pressed, cancel color selection, instead of accepting the color
........
cooca: adding support for listview column text alignment
........
cocoa: introducing lclSetColumnAlign to allow set allignment for cell and view based tables
........
cocoa: invalidating header and contents of a column on alignment change
........
cocoa: updating drawing processing for cocoa table
........
cocoa: handling togglebox events as checkbox events. bug #36812
........
cocoa: fix compilation for fpc320rc1 headers. bug #36864
........

git-svn-id: branches/fixes_2_0@62901 -
2020-04-06 13:07:06 +00:00
maxim
630549ca9a Translations: Hungarian translation update by Péter Gábor, bug #36873
git-svn-id: branches/fixes_2_0@62894 -
2020-04-05 22:00:12 +00:00
martin
f01d37a4ba Merged revision(s) 62810-62811 #1f69cf465e-#1f69cf465e,62868 #9ff9f3ac82 from trunk:
FpDebug: fix typecast/deref for generated-pointer-type "^Foo($1234)", for signed values.
........
FpDebugger (all): prevent nil deref, for empty watch (auto instance class)
........
Fix leak in TLCLGlyphs.GetImageIndex (introduced in r58106 #50dc18646e). Entry name must be set, before adding to tree. Since the name is used as lookup (the tree "sorts" by the name). 
........

git-svn-id: branches/fixes_2_0@62869 -
2020-04-02 20:42:02 +00:00
mattias
bbbafe2991 LCL: Fix TDBGrid editor alignment when FixedCells>1. Issue #35715
git-svn-id: branches/fixes_2_0@62867 -
2020-04-02 16:01:13 +00:00
mattias
1159b932fb IDE: Update project inspector also when there is no active project.
git-svn-id: branches/fixes_2_0@62866 -
2020-04-02 16:00:51 +00:00
mattias
2fbaa6d712 LCL-GTK2: Use correct Brush.Color with non-default Brush.Style. Issue #36709
git-svn-id: branches/fixes_2_0@62865 -
2020-04-02 16:00:06 +00:00
mattias
e8353b7d83 Codetools: Improve parsing of recursive generics structures. Issue #34824
git-svn-id: branches/fixes_2_0@62864 -
2020-04-02 15:59:38 +00:00
mattias
9f19d60293 LazUtils: Remove UTF8Encode calls and suppress warnings in winlazfileutils.inc. Issue #35512
git-svn-id: branches/fixes_2_0@62863 -
2020-04-02 15:56:39 +00:00
mattias
040456bf0e LCL-Win32: Show images correctly in OwnerData Listview with property SubItemImages. Issue #35173
git-svn-id: branches/fixes_2_0@62862 -
2020-04-02 15:56:16 +00:00
mattias
ecf0702a88 LazUtils: Remove incorrect code dealing with strings on Windows, use SysUtils code instead. Issue #35512
git-svn-id: branches/fixes_2_0@62861 -
2020-04-02 15:51:35 +00:00
mattias
01a1033b26 Codetools: In function IsCompilerExecutable fix dcc extension check and fix return value.
git-svn-id: branches/fixes_2_0@62858 -
2020-04-02 11:24:15 +00:00
mattias
6bea3632b6 LCL: Update "Accept" flag in TCustomAbstractGroupedEdit.EditDragOver. Optimize. Issue #36685
git-svn-id: branches/fixes_2_0@62857 -
2020-04-02 11:23:39 +00:00
mattias
581e1bd67c LHelp: Fix a range error when title has sole
git-svn-id: branches/fixes_2_0@62856 -
2020-04-02 11:22:52 +00:00
mattias
4c09dc2ed2 IDE: Make sure temp dir exists before starting IPC server. Issue #35838
git-svn-id: branches/fixes_2_0@62855 -
2020-04-02 11:22:31 +00:00
mattias
6ae9bebcfe Codetools: Support Codecompletion inside "with begin end" block. May fix other cases, too. Issue #0023782
git-svn-id: branches/fixes_2_0@62854 -
2020-04-02 11:22:10 +00:00
mattias
9f79c56107 LCL: Prevent a crash when freeing a DBEdit with focus. Issue #27178
git-svn-id: branches/fixes_2_0@62853 -
2020-04-02 11:21:45 +00:00
mattias
3f95c60f40 LCL: Prevent a crash in Coolbar when clicking a Grabber in an empty band.
git-svn-id: branches/fixes_2_0@62852 -
2020-04-02 11:21:27 +00:00
mattias
851dc814ae MacOS: Improve external tool execution with an .app application. Issue #36314
git-svn-id: branches/fixes_2_0@62851 -
2020-04-02 11:21:05 +00:00
mattias
4ec00f8765 LCL: Prevent an exception in TPageControl with a disabled tab. Issue #36282
git-svn-id: branches/fixes_2_0@62850 -
2020-04-02 11:20:42 +00:00
mattias
c2436284b0 LazReport: In TfrCustomMemoView do not convert code page when loading lines from a blob field. Issue #36264
git-svn-id: branches/fixes_2_0@62849 -
2020-04-02 11:20:22 +00:00
mattias
efebefd5c2 lazutils: SysToUTF8: only UTF8_RTL, issue #35696, from Serge Anvarov
git-svn-id: branches/fixes_2_0@62848 -
2020-04-02 11:10:42 +00:00
maxim
cb59956acd Merged revision(s) 62505-62506 #fbf5621974-#fbf5621974 from trunk:
LCL: grids: don't store default TitleFont
........
Grid: fix High-DPI font scaling
........

git-svn-id: branches/fixes_2_0@62838 -
2020-03-31 21:25:27 +00:00
maxim
b110179beb Merged revision(s) 61291 #5b5ad75799 from trunk:
LazUtils: Add OnCompare func for TFreeTypeFont's AVLTree. Prevents adding glyphs many times. Issue #35627.
........

git-svn-id: branches/fixes_2_0@62837 -
2020-03-31 21:24:23 +00:00
maxim
c30586b3f9 Merged revision(s) 62621 #acc7de51bd from trunk (separate patch by Bart):
TStringGrid: also call DoCellProcess when pasting HTML. Issue #0036576.
........

git-svn-id: branches/fixes_2_0@62836 -
2020-03-31 21:23:17 +00:00
maxim
b6b334264b Merged revision(s) 62787 #4ff199e1d7, 62804 #dd9be6d9e1 from trunk:
FileIsText: only exit False if an "illegal" char is found, don't require a NewLine char being present. Resolves #0036679.
........
LazUtils/FreeType: Avoid ignoring font files after reading defective one.
........

git-svn-id: branches/fixes_2_0@62825 -
2020-03-30 19:36:42 +00:00
maxim
8f5c8b8fae Merged revision(s) 62641 #72551f3c1e, 62646 #e51bb976a4 from trunk:
LCL: WinCE: align implementation of TWinCEWSCustomEdit.GetPreferredSize with Win32. Does not use AWinControl.Caption. In WinCE7 GetTextExtentPoint32() for empty string returns 0 height (In WinCE6 returns non-zero height), which causes empty TEdit controls to shrink in height.
........
LCL: WinCE: in WinCE7 TBitBtn changes font when focused. So set font explicitly before painting Caption. Hot fix inspired by Win32 implementation.
........

git-svn-id: branches/fixes_2_0@62824 -
2020-03-30 19:33:58 +00:00
maxim
43998ec941 Merged revision(s) 62628 #d47d48cd56, 62633 #6483f57d33 from trunk:
TAChart: Fix painting of checkboxes in TChartListBox on COCOA.
........
TAChart: Fix drawing of checkboxes/radiobuttons on Cocoa, part 2.
........

git-svn-id: branches/fixes_2_0@62823 -
2020-03-30 19:32:04 +00:00
maxim
b8f25955d0 Merged revision(s) 62137 #193392dc98 from trunk:
LCL-GTK3: Implement TrayIcon for GTK3 widgetset. Issue #36209, patch from David Bannon.
........

git-svn-id: branches/fixes_2_0@62822 -
2020-03-30 19:31:02 +00:00
mattias
406ed6121f IDE: run params default for windows
git-svn-id: branches/fixes_2_0@62681 -
2020-02-27 12:04:33 +00:00
dmitry
e92a2c8d37 lcl: adding sortindicator for the listview control
git-svn-id: branches/fixes_2_0@62667 -
2020-02-24 04:12:44 +00:00
dmitry
374c0f7699 Merged revision(s) 62561-62562 #c6feb9685a-#c6feb9685a, 62568 #6758ea533d, 62589 #edd505d679, 62661-62663 #cdede4ea6f-#cdede4ea6f from trunk:
cocoa: assigning callback to a spinedits arrows
........
cocoa: getting rid of unnecessary text change notifications. bug #36578
........
cocoa: surpressing beeps on windows for unknown key presses
........
cocoa: eliminating horizontal spacing between columns to match winapi. bug #36618
........
cocoa: adding automatic largeInc determination based of the page size
........
cocoa: removing additional offset on large scroll
........
cocoa: passing scroll part information, whenever the scroll part is known
........

git-svn-id: branches/fixes_2_0@62666 -
2020-02-24 04:07:44 +00:00
mattias
8c392f47f1 codetools: parse varargs of type
git-svn-id: branches/fixes_2_0@62658 -
2020-02-22 09:01:57 +00:00
mattias
68bb23dcf7 codetools: fixed IsCompilerExecutable allowing fpc*, bug #36689
git-svn-id: branches/fixes_2_0@62652 -
2020-02-20 09:10:01 +00:00
maxim
67fb0f4032 Merged revision(s) 62211 #6fe903d537 from trunk:
LCL-GTK3: Prevent a crash with Wayland caused by allocating 0-sized surface. Issue #36220, patch from Anton Kavalenka.
........

git-svn-id: branches/fixes_2_0@62618 -
2020-02-07 22:20:39 +00:00
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