Commit Graph

66478 Commits

Author SHA1 Message Date
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
Juha
db64a6240d IDE: Overload TBuildModesCheckList constructor to avoid a warning. 2023-11-24 13:23:40 +02:00
Juha
1633420b55 FpDebug: linux, add unit syscall / part of issue #40599 2023-11-24 12:16:02 +01:00
Juha
ca7c0d686b IDE: Save the size of Run / "Compile many modes" dialog. Issue #35245, patch by n7800. 2023-11-24 12:44:58 +02:00
Maxim Ganetsky
486ffc5d9a IDE: save and restore of "Delete all the files?" confirmation dialog, issue #40611 2023-11-24 03:25:52 +03:00
Martin
3991796383 LazEdit: fix textmate, attrib idb from other grammar 2023-11-24 01:14:18 +01:00
Martin
fd824cd3d6 LazEdit: fix textmate, copy from other grammar 2023-11-24 01:00:46 +01:00
DomingoGP
dedb2622b3 Jedi code format: issue #40612 Accept and "or xor class, ..." operators and improved formatting of operator overloads. 2023-11-24 00:27:13 +01:00
Maxim Ganetsky
7eb6be5a2c IDE: pass to FPC only documented assembler mode parameter values and only for relevant CPU families (i8086, i386, x86_64), issue #38786 2023-11-24 02:18:36 +03:00
rich2014
dc8475462f IDE: fix the issue in TFileOpener.OpenEditorFile() where SourceEditor was not activated when the file was already open 2023-11-24 01:07:05 +08:00
rich2014
476704c287 IDE: prevent the tab itself from becoming the focusi n SourceEditor 2023-11-24 01:03:21 +08:00
Martin
86866f09ef LazEdit: Update TextMateGrammar 2023-11-23 02:05:00 +01:00
wp_xyz
5cb240ac36 TAChart: Make sure that TAreasSeries is clipped at the plotarea boundaries. 2023-11-22 18:38:16 +01:00
Martin
327c5770ab LazEdit: update TRegExpr 2023-11-22 14:56:43 +01:00
Maxim Ganetsky
7fd8824fbc CI: Renamed Dockerfile to make code highlight to work in GitLab web interface. Also simplified it and made to terminate earlier in case of compilation errors. 2023-11-22 02:42:38 +03:00
rich2014
3561292477 Cocoa: Standardize and Simplify NS constants, Merge branch 'cocoa/const' 2023-11-21 23:35:54 +08:00
rich2014
0419fca186 Cocoa: make NS Const read-only 2023-11-21 21:24:54 +08:00