Commit Graph

64856 Commits

Author SHA1 Message Date
Michaël Van Canneyt
600d7f8666 * Improve Delphi Compiler tool, so it provides some macros and handles windows/unix paths when running with wine 2023-05-15 08:28:57 +02:00
Juha
87bf39682e IDE, LazControls: Improve TTreeFilterEdit behavior little more. 2023-05-15 09:09:48 +03:00
dsiders
a611ea65df Docs: LazControls/treefilteredit. Updates TTreeFilterEdit.ApplyFilterCore topic.
* Reflects changes introduced in 6e1adda721. Issue #40257.
2023-05-15 02:50:29 +01:00
Juha
65d888e286 IDE, LCL: Formatting. 2023-05-15 02:15:40 +03:00
Juha
6e1adda721 IDE, LazControls: Improve TTreeFilterEdit behavior. Fix property ExpandAllInitially. Issue #40257. 2023-05-15 02:15:40 +03:00
dsiders
8d883d68d2 Docs: LCL/menus. Removes unneeded version admonition in TMenuItem.Hint topic. 2023-05-14 17:41:54 +01:00
Maxim Ganetsky
e368c6ae41 Merge branch 'lcl/cocoa/leaks' into 'main'
Fix: Cocoa: memory leaks and related code

See merge request freepascal.org/lazarus/lazarus!158
2023-05-13 13:24:50 +00:00
rich2014
de14a094f5 Fix: Cocoa: AView released at last in EmbedInScrollView() 2023-05-13 20:41:45 +08:00
rich2014
03b575fd76 Upd: Cocoa: clean up useless code in TCocoaWidgetSet.GetTextExtentPoint() 2023-05-13 20:37:54 +08:00
rich2014
4169dd097b Fix: Cocoa: memory leaks in TCocoaContext 2023-05-13 20:35:58 +08:00
rich2014
1cd7e73f0f Fix: Cocoa: memory leaks in TCocoaWidgetSet 2023-05-13 20:33:51 +08:00
rich2014
ec2aed9989 Fix: Cocoa: memory leaks in TCocoaStepper 2023-05-13 20:30:53 +08:00
dsiders
d83d653b18 Docs: LCL/menus. Updates TMenuItem.Hint topic for changes in 98f806bb. Issue# 40220. 2023-05-13 00:28:43 +01:00
Maxim Ganetsky
3ac5c02332 Merge branch 'FPC-39988' into 'main'
Issue #39988: Small improvements for the tool.

See merge request freepascal.org/lazarus/lazarus!156
2023-05-12 21:53:00 +00:00
Abou Al Montacir
7920db790b Issue #39988: Forbid duplicate paths in directories search list.
As the directories search list is not sorted, FPC implementation of
`TStringList` ignores the `dupIgnore` option and thus leads to having
the same entry multiple times in the list.

We forbid this manually in order to avoid searching multiple times for
the same file in the very same directory.

We also add more default search paths (Debian based).
2023-05-12 21:44:21 +00:00
Abou Al Montacir
9c5b942b66 Issue #39988: Use system path separator instead in folders search list.
This is more consistent with other tools and allows passing drives on
MS Windows systems.
2023-05-12 21:44:21 +00:00
Abou Al Montacir
5c34ab0510 Issue #39988: Try to create output directory if it does not exist.
This is more convenient for users and when included in a script.
2023-05-12 21:44:21 +00:00
wp_xyz
98f806bb4f LCL: Declare TMenu.FHint as TTranslateString rather than string. Issue #40220. 2023-05-12 23:30:37 +02:00
wp_xyz
8ae2cae749 IDE: Improved layout of the ToDoDlg. (Slightly modified) patch by Don Siders. Issue #40258 2023-05-12 20:19:46 +02:00
Maxim Ganetsky
1723f24e24 Merge branch 'lcl/cocoa/menu' into 'main'
FIX: Cocoa: restore item.release in TCocoaMenuItem.attachAppleMenuItems()

See merge request freepascal.org/lazarus/lazarus!157
2023-05-12 16:24:17 +00:00
rich2014
b9ef566b5e FIX: Cocoa: restore item.release in TCocoaMenuItem.attachAppleMenuItems() 2023-05-12 15:41:35 +00:00
wp_xyz
756590bff2 IDE: Improved layout of the IDEToDoListWindow. Patch by Don Siders, slightly modified. Issue #40258 2023-05-12 16:52:00 +02:00
Željan Rikalo
9a68ad98cc Qt,Qt5,Qt6: Fixed double OnSelectItem signal when setting ItemIndex of TListView vsReport. issue #40255 2023-05-11 19:48:50 +02:00
Maxim Ganetsky
1ddbcea70c Merge branch 'FPC-39988' into 'main'
Issue #39988: Changed order of folders where to search for included files.

See merge request freepascal.org/lazarus/lazarus!155
2023-05-11 15:55:47 +00:00
Abou Al Montacir
f64c1307f9 Issue #39988: Changed order of folders where to search for included files.
The order of folders where to search for included files should be
related to user preference as follows:
 1. directory where the input is located,
 2. directories supplied by user at command line in the order they were
    passed,
 3. default system directories, where distributions used to put them.

 This way, user can easily override files in the default system
 directories without the need to have write access to such folder, as in
 most Unix systems this will require root access.

 Also, one expects, that if copy of an included file is placed in the
 same directory as the input one, then this copy should be used.
 This makes sens, because people generally work on the same directory,
 and will consider their local work copy the preferred one to be used.
2023-05-11 15:46:44 +00:00
Maxim Ganetsky
255fc87ed1 Merge branch 'lcl/cocoa/menu' into 'main'
FIX: Cocoa: Arithmetic Overflow in menus (issue #40167 related)

See merge request freepascal.org/lazarus/lazarus!154
2023-05-11 15:33:31 +00:00
rich2014
2ccafc2bcf FIX: Cocoa: Arithmetic Overflow in menus (issue #40167 related) 2023-05-11 21:58:19 +08:00
Maxim Ganetsky
d3c8ce9567 IDE: regenerated translations and updated Russian translation 2023-05-11 01:29:59 +03:00
Maxim Ganetsky
2d5bd75e71 IDE: Configure Build Lazarus dialog taborder and layout improvements by Don Siders, issue #40256 2023-05-11 01:20:49 +03:00
Maxim Ganetsky
c2bcc21d9f Merge branch 'FPC-39988' into 'main'
Issue #39988: Added support for .typelib files.

See merge request freepascal.org/lazarus/lazarus!152
2023-05-10 22:09:52 +00:00
Abou Al Montacir
8a7116f248 Issue #39988: Added support for .typelib files.
Debian ships .gir files in a compressed binary format with .typelib
extension. We use `g-it-generate`to decompress them on the fly.
2023-05-10 22:00:29 +00:00
Maxim Ganetsky
2318979c4d Merge branch 'lcl/cocoa/textfield' into 'main'
FIX: Cocoa: SecureTextField crashed

See merge request freepascal.org/lazarus/lazarus!151
2023-05-10 12:08:16 +00:00
rich2014
769dc338bc FIX: Cocoa: SecureTextField crashed 2023-05-10 11:59:34 +00:00
dsiders
90c5cbd130 Docs: LCL/various. Standardizes tagging for file names in unit overview topics. 2023-05-10 08:55:40 +01:00
dsiders
19e4020609 Docs: LazUtils/various. Standardizes tagging for file names in unit overview topics. 2023-05-10 08:55:11 +01:00
dsiders
d6c2ae28f5 Docs: LazFreeType/various. Standardizes tagging for file names in unit overview topics. 2023-05-10 08:54:36 +01:00
dsiders
b4f9ac5380 Docs: LazControls/various. Standardizes tagging for file names in unit overview topics. 2023-05-10 08:53:29 +01:00
Maxim Ganetsky
cb57e3f187 Merge branch 'lcl/cocoa/combobox' into 'main'
FIX: LCL/Cocoa: in TCocoaReadOnlyComboBox.dealloc(), Free list as in TCocoaComboBox.dealloc()

See merge request freepascal.org/lazarus/lazarus!150
2023-05-09 10:30:19 +00:00
rich2014
b94903074c FIX: LCL/Cocoa: in TCocoaReadOnlyComboBox.dealloc(), Free list as in TCocoaComboBox.dealloc() 2023-05-09 09:50:16 +00:00
Juha
e36a1b4633 IDE: Fix ComponentList adding comp with [Ctrl+Enter] on an empty form. Issue #40245, patch by n7800. 2023-05-09 11:28:44 +03:00
mattias
2d059ffef4 updated lpl 2023-05-09 09:05:24 +02:00
mattias
5bcd4dfcc9 lazdelphi: register parser 2023-05-09 09:01:22 +02:00
mattias
2bff2330c6 buildintf: debug 2023-05-09 09:01:22 +02:00
Juha
d4ab7a94a5 IDE: Apply global DropDownCount to TCustomComboBox derivatives in options dialog. Issue #40250, patch by n7800. 2023-05-08 19:21:30 +03:00
Željan Rikalo
4e6acc2a82 Qt5,Qt6: do not trigger OnClick when popup is closing. issue #40249 2023-05-08 10:26:22 +02:00
Željan Rikalo
88c2f85b5d Qt6: disable QtUseNativeEventLoop by default. issue #40206 2023-05-08 09:52:45 +02:00
mattias
f6f00f6001 compilers: started dcc parser 2023-05-07 17:28:00 +02:00
mattias
0c7e76c0a0 anchordocking: fixed typos 2023-05-07 15:26:24 +02:00
Juha
3dbc6bbeda IDE: Improve ComponentList. Issue #40245, patch by n7800. 2023-05-07 09:35:19 +03:00
Martin
27bf5d2ba7 IDE: Workaround for source-edit popup menu under QT. Issue #40161
The editor-toolbar code (or related ide-intf changes) triggers an additional popup interfering with the menu.
2023-05-06 19:49:47 +02:00