Commit Graph

66544 Commits

Author SHA1 Message Date
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
Martin
55475340ca Debugger: do not search source frame, if doing asm-single-steps 2023-11-28 01:40:48 +01:00
Martin
476cfd4484 FpDebug: refactor stack unwinding. Introduce TDbgStackUnwinder and new classes for X86 2023-11-28 01:40:48 +01:00
rich2014
b5db1bf52f FpDebug: fix the compilation issue introduced by 1633420 on MacOS 2023-11-28 01:48:04 +08:00
Maxim Ganetsky
c9e2e06abe IDE: cleanup of GenericCheckListForm/GenericListEditorForm/GenericListSelectForm, patch from n7800 2023-11-27 02:38:15 +03:00
Maxim Ganetsky
3fda0a9be8 LCL-Win32: Fixed blending of semi-transparent pixels of BitBtn glyph. Makes it consistent with TImage and SpeedButtons, issue #38897. 2023-11-27 02:28:48 +03:00
Martin
cbf59cc75a SynEdit: fix class-section (and strict). Only highlight in classes/objects. Fixed look-ahead for "strict". Issue #40614 2023-11-26 18:11:40 +01:00
Juha
9ed2086320 IDE: Show designer when clicking "Selection tool" in component palette. Issue #39808, patch by n7800. 2023-11-26 13:08:27 +02:00
mattias
6e0bc52cbc fpcunit: fixed mem leak 2023-11-26 10:45:53 +01:00
mattias
adc6d38b6c bigide: added testinsight 2023-11-25 22:38:52 +01:00
mattias
8c9bd916a5 fpcunit: updated makefile 2023-11-25 22:26:32 +01:00
mattias
8cd99e43ef fpcunit: less hints 2023-11-25 22:26:14 +01:00
Martin
82c00b3c28 LazEdit: Update RegExpr 2023-11-25 16:57:26 +01:00
mattias
6e973773ca updated Makefiles 2023-11-25 14:33:16 +01:00
mattias
0d886d65e4 updatemakefiles: update custom Makefiles too 2023-11-25 14:33:04 +01:00
DomingoGP
3ff5d50aaa Jedi code format: recognize "sealed" / "abstract" for inheriting objects. 2023-11-25 12:05:23 +01:00
Juha
2c1472b435 CustomDrawn: Fix TForm's MouseMove. Issue #40609. 2023-11-25 11:48:14 +02:00
Maxim Ganetsky
1e7d5e9eeb IDE: changed class of "Select profiles to build" dialog from TGenericCheckListForm to TLazarusBuildManyDialog. The former type corresponds to generic dialog and poses potential risk of name clashing when storing layout. Patch by n7800. 2023-11-25 05:27:26 +03:00
Abou Al Montacir
3256ff9246 GTK3: Fixed setting cursor on widgets.
Closes: #40374. Thanks To: Anton Kavalenka.

When the widget doesn't have a window, we fall back to parent's one.
2023-11-24 19:59:54 +01:00
Abou Al Montacir
fa8e8eeecf GTK3: Fixed rendering of images using 24 bits per pixel.
Closes: #40374. Thanks To: Anton Kavalenka.

When the image is stored in a buffer using 24 bits per pixel, we don't
need to copy pixel by pixel unless the components order is wrong.
We can use `System.move` in this case.

This is the same thing that is used for 32 bit images.
2023-11-24 19:16:06 +01:00
Maxim Ganetsky
5c5693e6be IDE: save/restore size of "Select profiles to build" window of "Build Lazarus" dialog 2023-11-24 18:41:06 +03:00
Maxim Ganetsky
b4ce8d9e06 IDE: regenerated translations and updated Russian translation 2023-11-24 18:15:46 +03:00