Commit Graph

65447 Commits

Author SHA1 Message Date
dsiders
d7781f06f1 Docs: LCL/lresources. Adds and updates topics for changes in cb4383bd4c.
* TLazObjectWriterString
* TLRSObjectWriter.WriteString

(cherry picked from commit df44e8f62c)
2023-07-26 03:08:48 +01:00
dsiders
e7d3585861 Docs: LazUtils/laz_xmlstreaming. Adds and updates topics for changes in cbf9d30ddf.
* TXMLObjectWriterString
* TXMLObjectWriter.WriteString

(cherry picked from commit a50d7d1dba)
2023-07-26 02:19:54 +01:00
mattias
0bd636885f fixed compile with fpc 3.3.1
(cherry picked from commit cbf9d30ddf)
2023-07-26 02:05:04 +03:00
Juha
660a29fe44 IDE: Prevent an error "Unable to find the component class ..." with an .lfm file open in editor. Part of issue #40377.
(cherry picked from commit 4ed8ff9b1c)
2023-07-26 02:05:04 +03:00
Martin
1d9959c712 VTV: Fix wrong node.TotalHeight. Issue #40401
(cherry picked from commit 24dfc32172)
2023-07-23 23:19:50 +02:00
Martin
9c31669bee FpDebug: Fix "=" and "<>" work with booleans
(cherry picked from commit 0cd1374f3c)
2023-07-23 21:08:09 +02:00
Martin
1b530896b0 IdeDebugger: Fix deleting multiple selected watches / crashed if some sub-watches were selected
(cherry picked from commit 34b7126915)
2023-07-23 14:38:14 +02:00
wp_xyz
57d8cd20ca OPM: Improved layout (overlapping label with localized strings)
(cherry picked from commit 138b8f2eae)
2023-07-23 01:20:09 +02:00
dsiders
6169eed646 Docs: LCL/forms. Clarifies content in NewFormWasCreated and AddHandlerNewFormCreated topics in TScreen. Depends on 3844d008, 5a647cd4.
(cherry picked from commit b9cdb23eed)
2023-07-21 19:49:35 +01:00
dsiders
75d2e85b25 Docs: LCL/forms. Adds TScreen, TScreenNotification topics for changes in 5a647cd4. Issue #39288.
(cherry picked from commit 3844d00814)
2023-07-21 17:25:07 +03:00
Juha
5bf11a9d31 IDE: Improve removing unknown component properties. Issue #40377.
(cherry picked from commit fd2593f05b)
2023-07-21 17:25:07 +03:00
Juha
29cf1cc37f DockedFormEditor: Solve the unrecoverable loop differently. Add a new handler for it. Issue #39288.
(cherry picked from commit 5a647cd4e1)
2023-07-21 17:25:07 +03:00
Maxim Ganetsky
fac9ae2eb0 CI: enabled 'tests-codetools' job to run by default
(cherry picked from commit 86b559253b)
2023-07-20 20:16:57 +03:00
mattias
b543a18710 codetools: fixed search atttibute
(cherry picked from commit 86c8874b0c)
2023-07-20 20:08:38 +03:00
mattias
1c0e549812 codetools: fixed pas2js tests
(cherry picked from commit c472699a81)
2023-07-20 20:08:37 +03:00
mattias
fba0c4d034 codetools: fixed two tests
(cherry picked from commit 9d18e66aa8)
2023-07-20 20:08:37 +03:00
Maxim Ganetsky
d28c00b5e7 IDE, Backup Options page: store Subdirectory comboboxes '(no subdirectory)' values language independently
(cherry picked from commit 2e5ff7abf6)
2023-07-20 19:40:41 +03:00
Maxim Ganetsky
c0e2e8f5c5 CI: added Pas2JS compiler to build image and Codetools test job (manual for now)
(cherry picked from commit 8b17a65191)
2023-07-20 19:40:41 +03:00
Maxim Ganetsky
a50f2017b9 IDE: regenerated translations
(cherry picked from commit 005710726a)
2023-07-20 19:40:41 +03:00
Juha
f2a479fc31 IDE: Load and save AutoSaveActiveDesktop value. It was left out in EnvironmentOptions refactoring.
(cherry picked from commit ed7945efe2)
2023-07-20 19:40:39 +03:00
Juha
923d69deb2 DockedFormEditor: Fix a missing Result value of TDesignForms.Add().
(cherry picked from commit a236313f5f)
2023-07-20 19:40:39 +03:00
Juha
a1daef0d6c DockedFormEditor: Prevent an eternal loop when an invalid LFM file causes a read error. Issue #39288.
(cherry picked from commit ebad154bc6)
2023-07-20 19:40:39 +03:00
Juha
d096dec93f IDE: Improve removing unknown component properties. Issue #40377.
(cherry picked from commit 27f6e20118)
2023-07-20 19:40:39 +03:00
Juha
4b4309f2c5 IDE: Improve removing unknown component properties. Issue #40377.
(cherry picked from commit d9608a3489)
2023-07-20 19:40:39 +03:00
Juha
8a21294fe2 IDE: Remove unknown component properties using the same GUI already used in other situations. Issue #40377.
(cherry picked from commit 0c056fc0d2)
2023-07-20 19:40:39 +03:00
rich2014
819e4f35e1 Cocoa: Dark mode slightly improved 2023-07-19 19:32:27 +08:00
wp_xyz
d710fb511c LCL/gtk3: Fix tiny font sizes in some specific cases. Issue #40358, patch by Anton Kavalenka.
(cherry picked from commit 051c6c7065)
2023-07-19 00:01:44 +02:00
rich2014
f8e2300d53 Cocoa: fix typos 2023-07-18 19:21:04 +08:00
rich2014
b3206724d0 Cocoa: simplify the code related to Focus 2023-07-18 19:21:04 +08:00
rich2014
6ccadfca8b Cocoa: fix the issue be introduced by b184a37
Window/Control Active Message Lost
2023-07-18 19:21:04 +08:00
Juha
c3fcb2f746 LCL-GTK2: Allow right-to-left selection of long text in TEdit with mouse. Issue #40379, patch by wavebvg.
(cherry picked from commit e4494cf4cd)
2023-07-17 02:04:51 +03:00
mattias
2c4246bedc simplewebservergui: fixed run on older windows, loading GetTcpTable2 via GetProcAddress
(cherry picked from commit bb83fdd273)
2023-07-17 02:04:51 +03:00
wp_xyz
aa0d151443 Images: Reworked dataset images, uniform style. By Roland Hahn.
(cherry picked from commit 518d35ba69)
2023-07-16 17:27:23 +02:00
rich2014
6c43507948 Cocoa: fix the issue that Modal Form may disappear when switching back from other apps
the issue fixed:
1. run your app, open Modal Form
2. switch to other apps
3. in the dock, right click your app ico and select "Show All Window", and select a window
4. the Modal Form is disappear (actually ordered behind the selected Form)
2023-07-16 23:18:28 +08:00
rich2014
213e17391f Cocoa: Async call InputClientInsertText() for non-editable LCL CustomControl
in TCocoaCustomControl, such as Form, Grid, ListView, after inputting text, another control may be focused.
in insertText_replacementRange(), Cocoa/InputContext doesn't like it, so calling InputClientInsertText() asynchronously.
2023-07-16 23:02:11 +08:00
zamtmn
ae77a6adbf Small refactoring
(cherry picked from commit 2fa20e3333)
2023-07-15 02:24:10 +03:00
zamtmn
7a1bb91402 Return HardcodedButtonSize, ButtonBorderSpacingAround to interface section
(cherry picked from commit 0c9b09585d)
2023-07-15 02:24:10 +03:00
zamtmn
9b02c35e83 Improve vertical header width, refactoring
(cherry picked from commit 6d464562d7)
2023-07-15 02:24:10 +03:00
mattias
8f77121493 updatemakefiles: read new lpk format 2023-07-14 16:44:09 +02:00
rich2014
e3a980d1a9 Cocoa: better handling of TCocoaWindow.makeFirstResponder() reentrancy 2023-07-14 22:42:40 +08:00
rich2014
289e34f466 FIX #40366: Merge branch 'cocoa/ime' 2023-07-14 22:42:39 +08:00
rich2014
434b42ab86 Cocoa: TSpeedButton: set the highlighted background color when pressed, consistent with win32
before, TSpeedButton had a white highlighted background color when it was normal, and a gray background when it was pressed, causing confusion to users.
2023-07-14 22:42:39 +08:00
rich2014
65873afae7 Cocoa: TCocoaContext.Frame3d() removed by a901a8e 2023-07-14 22:42:39 +08:00
rich2014
c9e37eea45 Cocoa: Frame3d: to be consistent with Win32
the actual purpose is:
1. to make the behavior of TPanel in MacOS consistent with Win32. avoid filling the background color of NSBox in TPanel by avoiding using NSBox to draw the Bevel effect. it will cause the background color of TPanel to be confused with the background color of other controls.
2. the effect of TDividerBevel is more consistent with Win32
2023-07-14 22:42:39 +08:00
dsiders
1816b5e580 Docs: LCL/stdctrls. Restores documentation after reverting commit 9f577dc5.
(cherry picked from commit 957d62af56)
2023-07-14 13:42:19 +01:00
Maxim Ganetsky
07e615ebc9 Revert "LCL: Add an option to NOT call TCheckbox OnChange handler when clicked. Issue #39870, patch by Arioch The."
This reverts commit 9f577dc548.

Reasons:
1. The logic of VCL_OnClick_Emulation flag (or its name) is wrong: when it is true, OnChange event gets called LCL-style (note that VCL does not have OnChange event).
2. Having such flag is unsafe: e.g. some used unit can disable it and checkboxes in the whole program will _silently_ change their behavior.
3. The code claimed as a reason for introducing this change does not work in Delphi too.

Such Delphi compatibility issues should be handled another way.

(cherry picked from commit 255bdd2bb0)
2023-07-14 03:13:29 +03:00
Juha
8757f7f929 Codetools: Support more modifiers in class method. Issue #40368, patch by Peacoor.
(cherry picked from commit 479ff9635e)
2023-07-14 03:13:29 +03:00
mattias
8346aa2ad8 IDE: fixed --no-splash-screen, #40375 2023-07-12 22:56:28 +02:00
dsiders
f2ac3f9a11 Docs: LCOL/controls. Update TControl.Notification topic for changes in c6200e29.
(cherry picked from commit b824561f12)
2023-07-12 15:05:43 +01:00
mattias
6df9d7970b lcl: clean hostdocksite 2023-07-12 14:21:59 +02:00