Commit Graph

69899 Commits

Author SHA1 Message Date
mattias
8726dd48e7 ide: find/rename identifier: allow conflict and check if FNode is valid 2025-02-11 16:17:22 +01:00
zeljan1
f83078ff61 Qt5,Qt6: do not set QGuiApplication_applicationDisplayName(), since Qt have another meaning about it. issue #41417 2025-02-11 15:53:22 +01:00
zeljan1
8605e5252d Qt5,Qt6: fixed layout of ListView vsIcon and vsSmallIcon. 2025-02-11 15:38:57 +01:00
zeljan1
683afd5cbb Qt5,Qt6: use floating point functions for primitives drawing on scaled displays. issue #41422 2025-02-11 14:44:05 +01:00
mattias
79707cbc54 codetools: find declaration of middle namespace 2025-02-11 14:15:14 +01:00
zeljan1
82f47a7b6f Gtk3: fixed loading smallimages in TistView.ViewStyle = vsSmallIcon 2025-02-11 09:58:54 +01:00
zeljan1
291a9fd3dd Qt5,Qt6: fixed distorted image creation from device (screenshoot) on HiDpi screens. 2025-02-11 09:40:54 +01:00
zeljan1
32c1370c50 Gtk3: fixed TGtk3DeviceContext.GetPixel() so it works on wayland too. Patch by Anton Kavalenka. issue #41413 2025-02-10 19:59:52 +01:00
Maxim Ganetsky
dfb0c3bf81 Merge branch 'LCL/KeyAliasConsts' into 'main'
LCL: Additional key constant aliases VK_LCL_*

See merge request freepascal.org/lazarus/lazarus!409
2025-02-10 16:48:04 +00:00
n7800
bbb52ae727 LCL: Additional key constant aliases VK_LCL_* 2025-02-10 16:15:07 +00:00
Maxim Ganetsky
f1b8d1ece0 Merge branch 'fix-lazbuild-path' into 'main'
ProjectGroups: Fix lazbuild path macro

See merge request freepascal.org/lazarus/lazarus!436
2025-02-10 16:08:06 +00:00
Hendi
9dbc1dbe1e ProjectGroups: Fix lazbuild path macro 2025-02-10 15:59:07 +00:00
mattias
666f72b7f0 codetools: clean up 2025-02-10 16:07:30 +01:00
mattias
87d27af233 ide: save file as: check for pascal keyword in unit name and suggest retry or ampersand 2025-02-10 16:04:05 +01:00
wp_xyz
838a85bc8c LCL/TreeView: Add another sample to the ownerdraw sample project. Improved layout. 2025-02-10 15:57:58 +01:00
Maxim Ganetsky
15ab3afbc6 LazReport, AddFunction addon: don't randomly change compiler directives in frFuncNum.pas, issue #41418.
Align directive affects records, which are not used in this unit.
Also there is no apparent need to explicitly disable range checking,
coprocessor emulation and complete boolean evaluation.
2025-02-10 17:46:33 +03:00
mattias
995c81f4d0 codetools: added IdentifierHasKeywords 2025-02-10 15:31:48 +01:00
zeljan1
04f57de851 Qt5,Qt6: proper set of application title.issue #41417. 2025-02-10 15:28:43 +01:00
mattias
b042ec4560 codetools: RenameSourceNameReferences: apply ascending 2025-02-10 14:43:48 +01:00
Martin
6552d52af2 SynEdit: remove incorrect assert from 211a0a8b90, need to return empty token if skipping off-screen exceeds next markup - only then new next markup can be calculated. 2025-02-10 10:30:17 +01:00
Martin
b1ba753964 SynEdit: remove incorrect assert from 211a0a8b90, need to return empty token if skipping off-screen exceeds next markup - only then new next markup can be calculated. 2025-02-09 23:11:11 +01:00
Martin
3d01335568 SynEdit: Fix detecting combining after white-space (tab). Amend fix from commit ed45ec5224 See Issue #41228 2025-02-09 23:11:11 +01:00
Martin
696cf7c7b5 SynEdit: fixed "DX" (ETO) values for visualized tabs. An extra value was inserted, shifting subsequent values by one (noticeable when "full-width" chars were on the same line) 2025-02-09 23:11:11 +01:00
zeljan1
c50ceb5e64 Gtk3: removed unnecessary check. 2025-02-09 23:09:44 +01:00
zeljan1
9d7bd8fdd8 Gtk3: give some more time to window to configure itself. Sometimes, some forms stay invisible because it need more time to refresh and configure. Related to the issue #41412 2025-02-09 22:48:22 +01:00
dsiders
c26c03b6ae Docs: LCL/extctrls. Updates TCustomSplitter.MinSize topic to reflect valid values. Issue #41414. 2025-02-09 15:13:36 -05:00
Martin
c29347cfc7 SynEdit: Show fold indicator on last wrapped line. 2025-02-09 16:20:17 +01:00
Martin
269f304c2c SynEdit: Fix fold gutter for wrapped line with +/- fold indicator. 2025-02-09 16:20:17 +01:00
Martin
211a0a8b90 SynEdit: Textarea, TokenBreaker, add safety checks 2025-02-09 16:20:17 +01:00
Martin
137485b0ab SynEdit: DisplayView, add token origin/kind indicator 2025-02-09 16:20:17 +01:00
wp_xyz
986cea52b7 TAChart: Minor change in financial demo project. 2025-02-09 15:59:26 +01:00
wp_xyz
328192f456 LCL/TreeView: Add custom drawing demo project. Put existing add_remove demo project into separate folder. 2025-02-09 15:57:40 +01:00
wp_xyz
8f5c0d7288 LCL/TreeView: Improved custom drawing. 2025-02-09 15:56:16 +01:00
zeljan1
19ed12106d Gtk3: fixed loading bitmap from device. 2025-02-09 15:45:25 +01:00
zeljan1
03b43038f3 Gtk3: rewritten TGtk3DeviceContext.getPixel() to return correct pixel e, especially when our surface is not an image. issue #41413 2025-02-09 13:16:21 +01:00
zeljan1
07d34d83e4 Gtk3: fixed TGtk3DeviceContext.getPixel(). Patch by Anton Kavalenka. issue #41413 2025-02-08 17:44:49 +01:00
zeljan1
8e5b458e0b Gtk3: fixed case when window geometry isn't updated yet, so form is malformed or completely block showing. issue #41412 2025-02-08 16:54:54 +01:00
zeljan1
07f655053d Gtk3: hide toplevels by default when handle is created , only LCL should show it. issue #41412 2025-02-07 21:41:12 +01:00
zeljan1
fd83de7f2a Gtk3: fixed rectangle draw. Patch by Anton Kavalenka. issue #41397 2025-02-07 20:42:02 +01:00
zeljan1
f14ddd7eea Gtk3: fixed ClientHeight does not equal to Height on wayland.Patch by Anton Kavalenka. issue #41345 2025-02-07 15:52:07 +01:00
zeljan1
eba745ba63 Qt5: set mouse capture automatically. Qt4 and Qt6 works correct without such patch. issue #41341 2025-02-07 14:47:57 +01:00
Martin
84d6f2e2e3 IDE: Fix initializing option dialog. Some editors where not initialized (during read/write in TraverseSettings), due to the list being re-orderd while iterated. Issue #41380 2025-02-07 13:18:02 +01:00
mattias
e49854f895 codetools: RenameSource now also updates references in the unit, ide: SaveAs uses FindRenameSourceReferences 2025-02-07 11:26:36 +01:00
mattias
985bbdbf7f ide: find/rename identifier use for source name the new codetools methods 2025-02-07 10:07:55 +01:00
zeljan1
b0d17dbe66 Gtk3: cleanup, fixed memleaks. 2025-02-06 23:32:56 +01:00
zeljan1
8cece17ba8 Gtk3: Encapsulated PGdkCursor, fixed CreateCompatibleDC(). 2025-02-06 23:06:19 +01:00
Martin
6c2cd439b7 SynEdit: DisplayView, return PhysXPos of first token, paint wrapped sub-lines with correct Phys-X (not Viewed-X) for Markup 2025-02-06 21:42:23 +01:00
Martin
3fda8a05e9 SynEdit: Rename some type-declaration to differentiate between text-point (logical/physical/viewed/...) 2025-02-06 21:42:23 +01:00
zeljan1
42a3ff44e7 Gtk3: cleanup. 2025-02-06 20:56:33 +01:00
Juha
4a8f31afdb LCL-GTK2: Filter the messages in function PeekMessage. Issue #41407, patch by Artem Izmaylov. 2025-02-06 18:15:24 +02:00