Commit Graph

65369 Commits

Author SHA1 Message Date
Maxim Ganetsky
640eca41e2 Merge branch 'Gtk3Monitor' into 'main'
GTK3: Fixed workarea handling on systems with frequent monitor removals. Issue #40333.

See merge request freepascal.org/lazarus/lazarus!213
2023-06-24 14:42:40 +00:00
Abou Al Montacir
1b1444f245 GTK3: Fixed workarea handling on systems with frequent monitor removals.
Closes: #40333. Thanks To: Anton Kavalenka.

Check number of connected monitors and fail if none.

Fall back to first monitory id no primary monitor is defined.
2023-06-24 14:13:26 +00:00
Maxim Ganetsky
8f8892313a Merge branch 'GtkPartialMerge' into 'main'
GTK3: Passed handle of hint win control to WS inside hint data pointer.

See merge request freepascal.org/lazarus/lazarus!212
2023-06-24 14:09:10 +00:00
Abou Al Montacir
06ec2750ca GTK3: Passed handle of hint win control to WS inside hint data pointer.
Closes #40331.

GTK3 WS needs to get that handle in order to retrieve the parent window
which need to be set as transient of the newly created popup window.

This is a required by GTK3 documentation as one can see in
  https://docs.gtk.org/gtk3/method.Window.set_transient_for.html

This patch needs to touch common LCL code, but `HintData` files does
not seem to be really used.
2023-06-24 13:59:53 +00:00
Maxim Ganetsky
a040ab2201 IDE: regenerated translations and updated Russian translation 2023-06-24 16:55:49 +03:00
Maxim Ganetsky
54e3f2ca0c IDE: fixed typo in a name of a resource string, also cleaned up hacky spaces in a caption 2023-06-24 16:55:48 +03:00
Juha
1a28bdd0f9 IDE: Improve hinting in Messages window. Issue #40347, patch by Bruno K. 2023-06-24 16:53:44 +03:00
Martin
a418881237 Codetools: Added "WooBean" to contributors for "order Identifier completion by declaration (scoped)." Part of issue #40332 2023-06-24 13:40:11 +02:00
Martin
de3a85ac41 Codetools: order Identifier completion by declaration (scoped). Part of issue #40332 (Based on) Patch by WooBean007 2023-06-24 12:37:56 +02:00
mattias
4289e7ad30 lazdelphi: do not store default values 2023-06-24 12:29:22 +02:00
mattias
45ded69b77 IDE: put project option lrs near the resource type 2023-06-24 12:07:18 +02:00
rich2014
05555c84d5 Lcl/DrawText: Fix #40324: return value set to the height 2023-06-24 15:41:04 +08:00
dsiders
4ddf892b29 Docs: LazUtils/translations. Updates content in TPOFile topics including:
* UpdateStrings
* SaveToStrings
* SaveToFile
* UpdateItem
* FillItem
* UpdateTranslation
* UntagAll
* RemoveIdentifier
* RemoveIdentifiers
* RemoveOriginal
* RemoveOriginals
* Tag
2023-06-23 21:09:51 +01:00
rich2014
bd6134b9f3 Cocoa: improve wakeupEventLoop() introduced from 34ab4cb
NSComboBox Dropdown List send NSApplicationDefined NSEvent too (subtype=0).
2023-06-23 17:51:23 +08:00
Juha
8e632a0971 IDE: Allow a dotted directory name for Lazarus directory setting. Issue #40338, patch by Bruno K. 2023-06-23 09:17:23 +03:00
Juha
8c18c23fc3 IDE: Support Hi-DPI in registered plugin list in PackageEditor. Issue #40345, patch by Bruno K. 2023-06-23 09:17:00 +03:00
Juha
36a4b07e52 IDE: Improve initialization of directory browse button in FindInFilesDlg. Issue #40344, patch from Bruno K. 2023-06-23 08:57:03 +03:00
rich2014
8b426df777 Cocoa: TCocoaComboBox: refactor and comments 2023-06-23 12:54:16 +08:00
rich2014
b9b1f7f310 Cocoa: TCocoaComboBox: keep text case after ItemIndex changed when cbactRetainPrefixCase set 2023-06-23 12:27:19 +08:00
Maxim Ganetsky
ffe062f433 CI: Added ability to entirely disable pipeline if needed. Ability to switch pipeline jobs to manual mode is removed: it is not needed and its removal allowed to simplify (without change of behavior) definitions of jobs in prepcaches stage. 2023-06-23 02:29:21 +03:00
wp_xyz
765a2963da TAChart: Avoid "Numerical Recipe" routine for generation of normal-distributed random numbers in two demos. 2023-06-22 22:50:55 +02:00
Martin
939301e105 SynEdit: Pas-HL, fix nested fold-blocks if some kind of blocks are disabled in config. ("end" keyword was attributed to wrong block) 2023-06-22 20:28:19 +02:00
Martin
bc8f26b1e8 SynEdit: fix fold-lines in the gutter. Gutter would partially draw IFDEF/REGION lines if those where not foldable. Issue #31296 2023-06-22 18:03:20 +02:00
Maxim Ganetsky
b6f06a7e0c CI: switched to Debian 12 2023-06-22 16:31:48 +03:00
Juha
b5fb939257 LazBuild: Fix Access Violation when processing --add-package. Issue #40343, patch by Dean Mustakinov. 2023-06-22 12:19:21 +03:00
Juha
1d6009e63c IDE: Add an interface to select next/previous search result. Issue #40328, patch by Dean Mustakinov. 2023-06-22 10:55:03 +03:00
Juha
83aacf7068 IDE: Formatting and less warnings for search and search results. Issue #40334, patch by n7800. 2023-06-22 10:47:02 +03:00
Juha
6da992966d IDE: Remove "Note: passing compiler option -M twice with different values" message, many -M options are allowed. 2023-06-22 01:47:59 +03:00
Juha
c691b5efb3 IDE: Show All Compiler Options window better on Hi-DPI screen. Issue #40342, patch by Bruno K. 2023-06-22 01:12:53 +03:00
DomingoGP
cebb973864 Jedi code format: Add missing path to TestApplication in Default and Relesase modes. 2023-06-21 22:47:46 +02:00
mattias
28eccc250c IDE: when compiling a package in a readonly, check parent directories 2023-06-21 17:59:59 +02:00
mattias
fa2114cc78 ide: restore run params dialog size 2023-06-21 17:59:59 +02:00
Martin
d3aee748ac SynEdit: fold-view, don't update internal values from an outdated Highlighter. Wait until the HL is up to date. Issue #30354 2023-06-21 17:41:16 +02:00
dsiders
a9014cd33a Docs: LCL/comctrls. Updates TTreeNode topics for changes in cc7d9e60. 2023-06-21 15:58:41 +01:00
dsiders
73d4f6466a Docs: LCL/imglist. Revises wording in the TCustomImageList.DoBeforeUpdateEnded topic. 2023-06-21 15:58:18 +01:00
dsiders
08207e863b Docs: LCL/lazcanvas. Updates FPC compiler version notes for changes in 82af317c. 2023-06-21 15:57:51 +01:00
Maxim Ganetsky
82af317c33 LCL: fixed compilation with FPC 3.2.3 (PolygonNonZeroWindingRule was merged into it), issue #40339 2023-06-21 17:37:27 +03:00
Maxim Ganetsky
800703be6c SynEdit: regenerated translations and updated Russian translation 2023-06-21 16:40:49 +03:00
Maxim Ganetsky
dd1fd8a028 SynEdit: moved SynPopupMenu resource strings to the correct file 2023-06-21 16:39:02 +03:00
Maxim Ganetsky
a39463e7a6 IDE: regenerated translations and updated Russian translation 2023-06-21 16:25:42 +03:00
Martin
27882fd9cc IDE, SourceEditor: fix scrolling to last line, when top-line hint changes. Ensure last line is fully scrolled in. Issue #37922
- The text-area LinesInWindow must be update before the TopLine is adjusted. Otherwise the editor calculates the wrong Max(TopLine) (prevent scrolling past end of text)
2023-06-21 12:53:15 +02:00
Martin
6e27366e54 IdeDebugger: Fix displaying sets in debug inspector. 2023-06-21 12:50:47 +02:00
giuliano411
3f9f5b154c Merge branch 'main' of https://gitlab.com/freepascal.org/lazarus/lazarus into main 2023-06-21 12:38:05 +02:00
giuliano411
0b6f778be9 Added LCLIntf dependency for gkt and qt only - required for
CalcNonClientHeight workaround
2023-06-21 12:35:08 +02:00
Martin
0bd9387cd5 IDE, Initial Setup: Improve text description / wording 2023-06-21 12:14:59 +02:00
giuliano411
74b814cd70 Merge branch 'main' of https://gitlab.com/freepascal.org/lazarus/lazarus into main 2023-06-21 12:06:10 +02:00
giuliano411
8687767b7c Restored LCLType dependency for the proper THandle type.
THandle in LCL is a PtrUInt while in Sysutils is a longint.
2023-06-21 12:00:49 +02:00
Martin
ab7ecbaced IDE, Initial Setup: Improve layout for debugger section 2023-06-21 11:56:17 +02:00
Martin
7fe49c4b77 SynEdit: Added comments about different meaning of ShiftMask for keys and mouse. Issue #29458 2023-06-21 01:59:18 +02:00
Martin
a77a04cc4c SynEdit: fix line-change indicator, when adding new lines (without breaking the current line). Issue #30152 2023-06-21 01:44:46 +02:00