Maxim Ganetsky
469e1318dd
LCL: Do not force-clear mouse capture flag on creation of TCustomEdit and TCustomComboBox, issue #40379 .
...
Fixes text selection of TEdit and TComboBox on Gtk2 widgetset.
This effectively reverts the following commits:
Commit 27d0c29fb7
(introduced long time
ago to workaround Qt* widgetsets problems, which will be fixed
separately).
Commit e4494cf4cd
(workaround for Gtk2
problems caused by the first one).
2023-12-05 17:25:51 +03:00
wp_xyz
ca219eca4b
LCL/TLabeledEdit: Allow to change TLabeledEdit.EditLabel.Layout, publush TLabeledEdit.EditLabel.Alignment (see https://forum.lazarus.freepascal.org/index.php/topic,65452.msg498672.html )
2023-12-05 12:18:27 +01:00
Maxim Ganetsky
ddbf9be326
FPDebug: regenerated translations and updated Russian translation
2023-12-04 19:59:26 +03:00
Maxim Ganetsky
607e7f52c0
FPDebug: slightly improved error message
2023-12-04 19:58:27 +03:00
rich2014
119f21dcaf
Cocoa: Fix #40628 , crash when double-clicking a date from the calendar
2023-12-05 00:34:41 +08:00
rich2014
3408482979
Cocoa: Fix the issue that DatePickerForm may be covered by the ModalForm
2023-12-04 23:45:00 +08:00
rich2014
aab12c6c54
Cocoa: Control supported in TCocoaWidgetSet.GetWindowRect()
2023-12-04 23:45:00 +08:00
rich2014
4f0ec7cefa
IDE: fix typo about ofDoNotActivateSourceEditor
2023-12-04 23:45:00 +08:00
dsiders
cc813766cc
Docs: LCL/grids. Updates topics based on forum suggestions by Werner Pamler, including:
...
* TGridColumns.VisibleCount
* TGridColumns.Enabled
* TCustomStringGrid.LoadFromCSVStream
* TCustomStringGrid.LoadFromCSVFile
2023-12-04 06:57:30 +00:00
dsiders
a9a62d33f8
Docs: LCL/grids. Updates topics based on forum suggestions by Werner Pamler, including:
...
* TGridColumns.VisibleCount
* TGridColumns.Enabled
* TCustomStringGrid.LoadFromCSVStream
* TCustomStringGrid.LoadFromCSVFile
2023-12-04 06:57:17 +00:00
dsiders
7c403bb17d
Docs: LCL/grids. Updates topics based on forum suggestions by Werner Pamler, including:
...
* TGridColumns.VisibleCount
* TGridColumns.Enabled
* TCustomStringGrid.LoadFromCSVStream
* TCustomStringGrid.LoadFromCSVFile
2023-12-04 06:55:12 +00:00
Martin
2acd136518
FpDebug: Implement location-lists (Dwarf 2/3)
2023-12-04 02:19:05 +01:00
Martin
5efaac3f2f
FpDebug: find symbol for fpc_raiseexception (and similar) independent of case.
2023-12-04 02:19:00 +01:00
wp_xyz
ebd45b7c62
TAChart: Fix crash in stacked bar series due to dd3322cfc0
2023-12-03 23:17:21 +01:00
dsiders
68acca089e
Docs: LCL/shellctrls. Adds TCustomShellTreeView.GetFilesInDir topic and updates references to renamed helper routine for changes in ef8b5603be
.
...
* TCustomShellTreeView.GetFilesInDir (public visibility)
* TCustomShellTreeView.GetPathFromNode
* TCustomShellListView.Mask
2023-12-03 18:43:38 +00:00
Abou Al Montacir
f195540fe8
GTK3: Fixed cursor update when dragging.
...
Fix #40617 .
2023-12-03 18:45:41 +01:00
Maxim Ganetsky
86218cf48d
LCL-Gtk2: Correctly clear input flag in IME mode to avoid double char input. Issue #40630 , based on patch by rasberryrabbit.
2023-12-03 19:05:36 +03:00
Juha
425372ee74
LCL-GTK2: Make TrayIcon more configurable based on libraries and features provided by a distro. Issue #40629 , patch by dbannon.
2023-12-03 17:49:20 +02:00
Martin
40421d987a
LCL/WS: change LazLogger to LazLoggerBase
2023-12-03 15:58:47 +01:00
Martin
c1ab55df5f
SynEdit: ini Highlighter, support optional # comments
2023-12-03 15:16:15 +01:00
Martin
fb6cfb8344
Merge branch 'ccrause-fpd2'
2023-12-03 13:11:33 +01:00
Martin
1bec226da0
FpD: change breakpoints to TFpDbgBreakpoint
2023-12-03 13:05:18 +01:00
ccrause
f11d2744db
Cleaned up breakpoint creation.
2023-12-03 13:03:09 +01:00
Željan Rikalo
eade19d2bd
Qt: fixed mouse focus behaviour of TQtCustomControl. issue #36006,#40615
2023-12-03 12:06:27 +01:00
rich2014
1898a84c34
Cocoa: Fix #40623 , TCustomComboBox is not referenced to avoid the issue of APP directly calling TControl.Free() in event handler without using Application.ReleaseComponent()
2023-12-03 10:41:18 +08:00
Martin
b78b524b5b
Merge branch 'fpdebug-update-AVR' into 'main'
...
FpDebug: refactor stack unwinding for AVR
See merge request freepascal.org/lazarus/lazarus!256
2023-12-02 19:10:18 +00:00
ccrause
3b833564d5
FpDebug: refactor stack unwinding for AVR
2023-12-02 17:52:40 +00:00
Martin
53474705c4
FpDebug: check error in expressions, when new dbg-values are created.
2023-12-02 16:33:37 +01:00
Martin
c398363932
FpDebug: fix :refcnt for fpc 3.3.1
2023-12-02 16:33:37 +01:00
Juha
ef8b5603be
LCL: Restore a class procedure TCustomShellTreeView.GetFilesInDir. Rename a helper procedure to avoid name clash.
2023-12-02 14:54:49 +02:00
rich2014
946c47ea3c
IDE: UPD #40616 , apply ofDoNotActiveSourceEditor to TMainIDE.BeforeCodeToolBossApplyChanges()
2023-12-02 12:01:08 +08:00
rich2014
361e059ac5
IDE: ofDoNotActiveSourceEditor of TOpenFlag added
2023-12-02 12:01:08 +08:00
Martin
8208144cdf
FpDebug: test ".." intrinsic operator / Fix error checking
2023-12-02 01:10:39 +01:00
rich2014
25c7f3c141
Cocoa: Fix memory leak in TCocoaWSCustomPage.SetProperties()
2023-12-02 00:29:54 +08:00
rich2014
be1dd4686a
Cocoa: Fix #40620 release NSColumn again in TCocoaWSCustomListView.ColumnDelete()
2023-12-02 00:19:47 +08:00
Maxim Ganetsky
686e828103
Merge branch 'gtk1-fix-startup-warnings' into 'main'
...
LCL-GTK1: Fix various startup warnings and Gtk1 assertions
See merge request freepascal.org/lazarus/lazarus!255
2023-11-30 23:43:43 +00:00
Bad Sector
f5718e9f06
LCL-GTK1: Fix various startup warnings and Gtk1 assertions
...
This fixes a bunch of warnings when Gtk1 applications start. The fixes
are on keyboard initialization (make a previously statically sized array
dynamic as the old value wasn't long enough and disable an unnecessary
warning about filling the VK table as the user can't do anything about
it - nor we unless the whole thing is redesigned), module loading (this
is a side effect of an environment variable collision between Gtk1, Gtk2
and Gtk3 - all of these use the GTK_MODULES variable to load some
modules but since as of 2023 no distribution aside from Slackware comes
with Gtk1, all of these warnings are bogus, so this patch temporarily
cleans the environment variable before initializing Gtk and restores it
later so that child processes can still access it) and passing NULL
styles to gtk_style_copy (the previous code assumed the style retrieval
functions always return a valid object, which is not the case).
2023-11-30 23:13:16 +00:00
Maxim Ganetsky
8e2954328e
LCL-Win32: adjusted FPC version define
2023-12-01 02:03:03 +03:00
wp_xyz
120d66d06e
TAChart: Define bubble size in TBubbleseries as percentage - new.
2023-12-01 00:00:59 +01:00
wp_xyz
dd3322cfc0
TAChart: Extend TCustomSource with method to determine the y value ranges (separately for each y level).
2023-11-30 23:59:03 +01:00
Maxim Ganetsky
de4dd6bb5d
Merge branch 'gtk1-fix-menu-drawing' into 'main'
...
LCL-GTK1: Fix menu item drawing for menus without icons
See merge request freepascal.org/lazarus/lazarus!254
2023-11-30 17:58:24 +00:00
Bad Sector
9b8f434368
LCL-GTK1: Fix menu item drawing for menus without icons
...
When a menu does not have any icons set, the existing code drew
checkboxes over the menu icons. This patch fixes that.
The previous code relied on a function that apparently became noop in
Gtk 1.2.9 but the underlying code and private field it modified were not
changed, so this fix now changes the private field directly (this change
was made in 2001 so the chances of this breaking are a bit low :-P).
It also removes the unnecessary left side padding when no menu has any
icon or is checkable so that the menu appearance matches other
(non-Lazarus made) Gtk 1.2 programs.
2023-11-30 17:25:33 +00:00
Maxim Ganetsky
e5831fc959
LCL: more adjustments of FPC version defines
2023-11-30 20:16:48 +03:00
Maxim Ganetsky
72ea155588
LCL: fixed compilation with FPC 3.2.3
2023-11-30 19:17:17 +03:00
Maxim Ganetsky
50ae771c15
Merge branch 'gtk1-fix-opengl-control' into 'main'
...
LCL-GTK1: Fix OpenGL control compilation and functionality
See merge request freepascal.org/lazarus/lazarus!253
2023-11-30 01:21:45 +00:00
Bad Sector
79c9bba8b6
LCL-GTK1: Fix OpenGL control compilation and functionality
...
Some changes over the years broke Gtk1 compatibility with the TOpenGLControl control.
This change fixes the code so that it compiles and works under Gtk1.
2023-11-30 00:58:36 +02:00
wp_xyz
3fff0c46d3
TAChart: Fix fit series legend display in html demo.
2023-11-29 14:23:18 +01:00
Abou Al Montacir
a0ac9a9da0
GTK3: Fixed computation of default widget height bounds.
...
Closes : #40510 .
Thanks To: Anton Kavalenka.
2023-11-28 22:52:25 +01:00
Abou Al Montacir
bfc786c46c
GTK3: Fixed handling widget focus when csNoFocus is used.
...
Closes : #40037 .
When the widget has `csNoFocus` set, we don't set focus on it.
2023-11-28 22:08:15 +01:00
Martin
0922a747d7
FpDebug: fix MaskBreakpointsInReadData. Don't remove non-set breakpoints
2023-11-28 14:01:43 +01:00