Commit Graph

13774 Commits

Author SHA1 Message Date
Martin
013e6a61a5 EditorOptions: Add "const" for some string param 2022-04-05 10:57:14 +02:00
wp_xyz
829bad776f IDE: New icons for "Compile" menu items. Provided by Roland Hahn. 2022-04-04 11:48:46 +02:00
Martin
c4d93041c3 IDE: fixed editor context menu, show bookmarks in the main pop-up. (not under "file settings") 2022-04-01 17:50:28 +02:00
Martin
5364b47e8c IdeDebugger: fixed setting result 2022-03-24 01:40:11 +01:00
Martin
76d9771c34 Debugger: More LazDebuggerIntf. Add/Improve numeric, pointer, float and string watches 2022-03-24 00:39:04 +01:00
Martin
8d3d08ae4c Debugger: Moved dsState to new unit 2022-03-24 00:39:03 +01:00
Martin
e4e8972b23 Debugger packages: Add IDEBuildOptions 2022-03-24 00:39:03 +01:00
Juha
3a6e1341f5 Revert using current dir as a base dir for LazarusDirectory. Issue #39671. 2022-03-17 08:58:38 +02:00
Juha
c82846d50f Add ExampleProjects package to BigIde target. 2022-03-13 10:20:43 +02:00
Martin
8344427500 IDE, Options: Font for editor notebook tabs 2022-03-11 16:59:29 +01:00
Juha
6bb76a588b IDE: Remove the old Examples GUI window. 2022-03-09 11:20:30 +02:00
Juha
e758dbf2da IDE: Disable excessive debug output from CodeHelpManager. 2022-03-09 10:46:52 +02:00
Juha
6174338b6d IDE: For consistency with other modeless IDE windows, don't use '...' in View->Editor Macros menu caption. 2022-03-08 22:14:43 +02:00
Juha
9f142eef14 IDE: Use the current dir as a base dir for LazarusDirectory. Allows relative path in settings. 2022-03-07 07:37:42 +02:00
Maxim Ganetsky
0d3a7227f1 IDE: improved Editor Macro List dialog layout 2022-03-07 00:18:52 +03:00
Juha
06352700aa IDE: Improve EditorMacroListViever. 2022-03-06 13:01:21 +02:00
Juha
7485ac827a IDE: Add a drop-down list with all macros to the "Macros..." toolbar button. Issue #38879, patch by DomingoGP. 2022-03-05 13:38:59 +02:00
Michaël Van Canneyt
71a560a97f * Fix conventions for pas2js targets, refactor code to contain less if/then 2022-03-05 11:36:51 +01:00
Juha
7ef64b00e4 IDE: Improve treatment of a .lpr project file dropped onto the IDE. Ask to open as a file/project. Issue #39663. 2022-03-04 12:50:22 +02:00
Juha
cd0b898131 IDE: Add a filter clear button in Code Explorer. Merge request !74 by Sergey Larin. 2022-02-24 12:39:00 +02:00
balazs
6f9144a584 IDE: Make Lazarus directory available for packages. 2022-02-23 08:04:33 +02:00
Michaël Van Canneyt
c146e71e92 * Handle OnShow menu 2022-02-19 21:56:41 +01:00
Martin
6c33c117ba IDE: Editor-Options, new captions - added info text 2022-02-15 17:04:45 +01:00
Martin
3ba594f827 IDE: Color Config, fix layout / anchor-sides. 2022-02-14 14:54:27 +01:00
Martin
0e74ad0a1e IDE: Change caption for Tools->Option->Color "Caret-Color". Clarify 2nd color applies to multi caret mode only. 2022-02-14 13:45:42 +01:00
Bad Sector
8f08573815 Fix Gtk 1.2 LCL backend.
There are still some minor glitches, but the IDE and most examples i
tried seem to work fine.  Some examples didn't work but that seemed to
be mainly a Gtk 1.2 limitation (e.g. no rotating fonts).
2022-02-10 23:54:47 +00:00
Martin
deea0b1e74 IDE, Debugger: Add "copy address" to assembler window 2022-02-10 23:30:28 +01:00
Martin
766bc1a877 Debugger: Fix DisAssemble.CountAfter 2022-02-09 15:39:27 +01:00
Martin
a930449457 IDE, Debugger: Improve "blue dots"-line-mapping, if a line is missing. Issue #39584 2022-02-09 15:39:26 +01:00
mattias
b9cfb64b7b buildintf: added TProjectFileDescriptor.Initialized, IDE: newfile: set HasResources before calling Initialized 2022-02-06 13:30:18 +01:00
mattias
451ba64bde codetools: added pas2js platforms electorn and module 2022-02-05 16:18:30 +01:00
Martin
f895353287 Debugger: Fix Snapshots. 2022-02-01 17:18:20 +01:00
Martin
8e3c816593 Debugger, LazDebuggerIntf: Introduce SetNumValue and SetTypeName 2022-02-01 17:18:20 +01:00
Martin
9de06ac372 DebuggerIntf,IDE: Add new Notification callback (cancel watch-eval request) 2022-02-01 17:18:19 +01:00
Martin
c1f09236f4 Debugger: Add Begin/EndUpdate to WatchValue 2022-02-01 17:18:19 +01:00
Martin
d814d37966 IdeDebugger: Make TWatchValue ref-counted 2022-02-01 17:18:19 +01:00
mattias
a2404b4f47 IDE: clean up 2022-01-31 10:29:00 +01:00
mattias
a463602f9e IDEIntf: added LazarusIDE.GetProjectInspectorSelection 2022-01-31 10:28:09 +01:00
Maxim Ganetsky
f79988b3c9 IDE: committed regenerated .res files after recent icon updates 2022-01-31 01:17:33 +03:00
mattias
07eb443322 ide: project inspector: register add popup menuitems 2022-01-30 20:58:22 +01:00
mattias
ec56ff310b ide: project inspector: register items popup menuitems 2022-01-30 20:39:47 +01:00
wp_xyz
0aada2da4c Images: Replace lazarus*.ico files by versions in which the small images (16x16, 20x20) are a bit more "crispy". Created by Roland Hahn. 2022-01-29 12:50:46 +01:00
Maxim Ganetsky
576732afb0 IDE: committed regenerated .res files after recent icon updates 2022-01-29 00:34:30 +03:00
Juha
43da1e05f3 IDE: Fix checking new unique unit name against projectinfo name. Move nested funcs out. 2022-01-28 17:09:38 +02:00
wp_xyz
81ac10f738 Images: Fix new ico files to be linux-compatible. Issue #39596. 2022-01-28 13:37:47 +01:00
Martin
529022a317 Add RegisterClass 2022-01-26 19:28:39 +01:00
Martin
14bbe91f1e IDE: fpmake added dependency for IdeDebugger 2022-01-26 13:47:16 +01:00
mattias
61ee2e0633 ide: clean up 2022-01-26 13:25:27 +01:00
Martin
8cac6ebc6e IDE: Makefile fix missing unit path 2022-01-26 11:51:00 +01:00
Martin
ca39078aca IDE, Debugger, Makefiles: moved some dependencies to remove IdeDebugger from LazBuild. 2022-01-26 00:21:41 +01:00
Martin
d58b6ab507 Debugger: Prepare basic child watch support for structured values 2022-01-25 21:06:54 +01:00
Martin
fa2ec38d6a Debugger: Ide, Watches reduce notifications in Begin/EndUpdate 2022-01-25 21:06:19 +01:00
Martin
867d12b46d Debugger: Change Watches window to use VirtualTreeView 2022-01-25 21:06:19 +01:00
Juha
91df8a8cfe IDE: Show hint in "View Project Units" Filter's clear-button. Issue #39569. 2022-01-25 20:46:36 +02:00
Juha
e9b2eb209a IDE: Implement auto-select in "View Project Units". Issue #39569, merge request !57 by duzenko. 2022-01-25 19:59:39 +02:00
mattias
9c302c472d ide: clean up 2022-01-25 13:24:13 +01:00
Juha
07a4f62dd0 IDE: Identify dead code under SearchComponentClass by assertions, remove TryRegisteredClasses. If not triggered, the code can be removed. Remove TryRegisteredClasses. 2022-01-25 13:11:53 +02:00
Juha
04781797a3 Remove debugger.pp also from lazarus.lpi project. 2022-01-25 11:20:56 +02:00
Juha
3ecdcf0320 IDE: Allow multi-selection with Shift in Project Inspector and Package Editor. Issue #39595. 2022-01-25 11:20:56 +02:00
Juha
58f8d07925 IDE: Disable 'Abort Build' menu item when not building. Issue #39585. 2022-01-22 20:13:06 +02:00
Juha
4ac1f026c2 IDE: Create new MenuItems for bookmarks. A MenuItem cannot be used for many parent menus. Issue #39540. 2022-01-19 08:31:36 +02:00
Juha
f7d2d0a690 IDE: Use '-W' parameter for MacOS bundle on "Run without Debugging". Simplify the code. Issue #39567. 2022-01-18 15:35:28 +02:00
Juha
9eaf4e3531 IDE: Hide IDE windows on "Run without Debugging" when the setting says so. Issue #39567. 2022-01-17 14:51:06 +02:00
mattias
965012e7ee IDE: fixed generate fppkg on debian 2022-01-16 22:08:40 +01:00
mattias
915a4b0c80 IDE: fixed compile without duplicates 2022-01-16 22:04:17 +01:00
mattias
e24d4bded5 lazbuild: fixed lpi 2022-01-16 21:54:54 +01:00
mattias
d512288b17 ide: fixed expanding build lazarus target dir dlg 2022-01-16 21:54:42 +01:00
mattias
b741255ce0 ide: fppkg: search /usr/lib/cpu-linux-gnu/fpc 2022-01-16 21:49:35 +01:00
mattias
45116299fb idedebugger: makefile 2022-01-16 21:39:23 +01:00
mattias
6c3286c7ed making ide: fixed make idepkg creating duplicates 2022-01-16 21:20:08 +01:00
mattias
dd95c55605 ide: fppkg: fixed allowing arbitrary paths on non windows 2022-01-16 14:02:07 +01:00
Juha
42e38ce991 Revert the assignment ':=' commit. It is useless without the parameter list and fails to work always. Issue #39545. 2022-01-14 13:13:23 +02:00
Maxim Ganetsky
14e66c2cf4 IDE: committed regenerated startlazarus.res 2022-01-14 03:04:50 +03:00
Maxim Ganetsky
81903b48be IDE: committed automatically regenerated lazarus.res after previous commit 2022-01-14 02:18:09 +03:00
Maxim Ganetsky
931e4da81c IDE: Lazarus icons improvements by Roland Hahn, issue #39550 2022-01-14 02:12:00 +03:00
Juha
2fbce3f5e6 Codetools: Feed UpperKeyword param in PascalReaderTool.PropertyHasSpecifier with uppercase strings. 2022-01-12 17:08:40 +02:00
Juha
86c5fa6b45 IDE: Do not add assignment ':=' after a variable of procedure type. Issue #39545. 2022-01-12 17:08:40 +02:00
Juha
34c6785954 IDE: Less debug info. Formatting. 2022-01-12 14:43:01 +02:00
Martin
4975a57869 IDE, UnitDependencies: Set overlays for LvLGraph 2022-01-10 14:23:23 +01:00
Martin
8ee02da3dc LvlGraphOptions, fix taborder 2022-01-10 14:11:12 +01:00
Martin
82d1e129a0 Debugger: move some units to IdeDebugger package 2022-01-10 14:08:38 +01:00
Martin
7642aaff78 Debugger: Change TWatchesMonitor/Supplier to use new Interface. 2022-01-10 14:08:37 +01:00
Martin
6f2adbbcb2 Debugger: Move TWatchValue to IdeDebugger 2022-01-10 14:08:37 +01:00
Martin
d1ac568e96 Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
Martin
aa45837b87 IdeDebugger: New Package IdeDebugger. Move some classes from DebuggerIntf 2022-01-10 14:08:36 +01:00
Martin
7f9e1893d2 Rename TDBGEvaluateFlag to TWatcheEvaluateFlag 2022-01-10 14:08:35 +01:00
mattias
8f868ae0e9 IDE: less hints 2022-01-06 13:08:50 +01:00
Maxim Ganetsky
062dbd72e1 IDE: i18n-ed error message about incorrectly configured compiler in project options, regenerated translations and updated Russian translation 2021-12-30 01:31:57 +03:00
Juha
d056a1c9f1 Designer,IDE: Change a function name to FindGlobalComponent. Reduce debug info. 2021-12-28 16:53:33 +02:00
mattias
915a1660ef IDE: default exe extension wasi is .wasm 2021-12-28 13:12:36 +01:00
Maxim Ganetsky
6a69606f51 IDE: replaced MacOS X with macOS in New Library project description, regenerated translations and updated Russian translation, issue #39521 2021-12-21 01:58:03 +03:00
Maxim Ganetsky
102e584847 IDE: Restored manual LCL translation callback call (allows to have LCL translated earlier in order to have translated button captions in some dialogs shown during IDE start) 2021-12-13 01:01:46 +03:00
Martin
159f5e368f IDE: fix mingw-path in message about gdb location. 2021-12-12 09:46:58 +01:00
Juha
4eff151060 IDE: Improve the header hint clicked behavior. Issue #39506. 2021-12-11 23:30:44 +02:00
Juha
66e1e4fac4 IDE: Improve debug messages and fix compilation in TMessagesCtrl. 2021-12-10 23:20:47 +02:00
Juha
ab4e2af841 IDE: Move to actual message header when the header hint on top is clicked. Issue #39506. 2021-12-10 23:20:47 +02:00
Juha
a821a43b5f IDE: In message header, move to last line of previous view with Up-key. Part of issue #39506. 2021-12-10 23:20:47 +02:00
Juha
4020cb96fb IDE: Remove an assertion in TMessagesCtrl. Triggered rarely by timing issues. Issue #39503. 2021-12-08 12:21:58 +02:00
Martin
74cf3e3a62 IDE, project: Mark session modified for debugger-backend. => Amended "save selected debugger to session, not lpi" 2ad53a8a51 2021-12-08 10:28:23 +01:00
Martin
2ad53a8a51 IDE, project: save selected debugger to session, not lpi 2021-12-08 00:42:53 +01:00
Maxim Ganetsky
92260fbdea IDE: it is no longer needed to manually call translation callback for LCL package 2021-12-07 17:21:48 +03:00
Martin
9519a967ca SourceEditor: Fix to show bookmark pop-up menu using key-shortcut (without toolbar). Fixes regression from issue #35883 2021-12-06 11:42:34 +01:00
wp_xyz
2b2368cb83 IDE: Use radiobuttons in project buildmode menu (rather than checkboxes). Issue #39497, patch by Alexey Torgashin 2021-12-03 10:24:16 +01:00
Juha
28984a7cdf IDE: Revert experimental exceptions. 2021-11-29 11:27:42 +02:00
Juha
889f82bb4d IDE: DebugLn in TProject.UnitWithComponentClassName. For debugging issue #39488. 2021-11-28 00:22:27 +02:00
Juha
05382f4ddf IDE: Show Frame's contents in designer also when its component package is installed in palette. Issue #39488. 2021-11-28 00:22:27 +02:00
Juha
1c6662a681 IDE: Rename FindComponentClass -> SearchComponentClass to differentiate from other functions with the same name. 2021-11-28 00:22:27 +02:00
Juha
1268709017 Converter: Improve a menu caption. Issue #34811. 2021-11-25 15:18:22 +02:00
Juha
e17301cab0 IDE: Disable Build-buttons in Configure Build Lazarus dlg when the IDE already compiles. Issue #26884. 2021-11-24 16:54:43 +02:00
Juha
63945a80e6 IDE: Cleanup component palette code. Use hard typecasts instead of soft "as". Well tested now. 2021-11-24 12:00:48 +02:00
Juha
cbc97e5a03 IDE: Update ComponentList after component visibility in Palette changed. Issue #23541. 2021-11-24 12:00:47 +02:00
Juha
063797e76f ProjectGroups: Name the package with CamelCase. Formatting. 2021-11-23 14:10:54 +02:00
Juha
a056886b72 IDE: Show full file path for a build target. Project is often "project1". 2021-11-23 14:10:54 +02:00
Juha
624c216c6f IDE: Enable Comment and Uncomment Source menu items also without a selection. Works with current line then. 2021-11-18 20:54:04 +02:00
Juha
e4e8a05a64 IDE: Scroll Procedure List with mouse-wheel always. Issue #38477, patch by Alexey Torgashin. 2021-11-18 20:09:46 +02:00
Juha
54fee37541 IDE: Support PageUp/PageDown in Procedure List. Issue #39476, patch by Alexey Torgashin. 2021-11-18 16:47:37 +02:00
Maxim Ganetsky
ad9215fe5e IDE: added Corsican language support 2021-11-17 00:19:20 +03:00
Juha
805c9e3169 IDE: Open also projects and packages when their names are drag/dropped, or passed as cmd line for a running instance. Issue #39338. 2021-11-13 12:01:31 +02:00
Juha
abf2fe64ad IDE: Remove useless indirection through LazarusIDE variable. 2021-11-13 11:51:24 +02:00
Juha
b6e4d70821 IDE: Remove unused resource strings. 2021-11-10 20:16:45 +02:00
wp_xyz
cdbd787a67 IDE: Resizable character height in CharacterMap to improve readability. 2021-11-08 13:27:50 +01:00
Martin
f5956f9fa8 Regenerate Makefiles for fp/gdbmi-debuggers 2021-11-01 17:29:46 +01:00
ccrause
2e74920e74 Fixed up Makefiles so that new dependencies build correctly 2021-11-01 12:06:56 +02:00
Juha
cd66ac596b Formatting, minor simplification. 2021-10-31 09:51:28 +02:00
mattias
b948a3a35a ide: less initialization 2021-10-30 23:01:24 +02:00
Juha
7530dcb21a IDE: Set focus correctly to the input field of the filter of Components window. Merge request !31 by Sergey Larin. 2021-10-28 01:47:57 +03:00
Martin
49a220e7c3 Merge branch 'debugger-properties-config-nil-fix' into 'main'
Fixed checking CurrentDebuggerPropertiesConfig for nil

See merge request freepascal.org/lazarus/lazarus!29
2021-10-23 12:53:32 +00:00
Martin
f8bc3ff316 IDE: added package dependency for LazDebuggerFp 2021-10-17 16:41:00 +02:00
Juha
33c25303e6 LazBuild: Fix compilation after TMask changes. 2021-10-13 19:23:04 +03:00
Juha
8985175dd5 Disable CLocale in OpenBSD, it is broken there. Order used units. Issue #39368. 2021-10-10 22:04:13 +03:00
Juha
814e4ba4e2 Rename CompareMethods to more logical SameMethod. Remove old deprecated functions. 2021-10-10 19:00:49 +03:00
Juha
e67c74ed7e IDE: Disable Project Options toolbuttons while compiling many build modes. Issue #39332. 2021-10-09 12:26:30 +03:00
Juha
13845c7a92 IDE: Order uses sections. 2021-10-09 03:47:56 +03:00
Juha
b6a4282835 IDE: Execute a shortcut command only when it is enabled. 2021-10-06 00:30:56 +03:00
Juha
8c248da41d IDE: Disable Project Options command while compiling many build modes. Issue #39332. 2021-10-05 14:31:35 +03:00
Juha
865013eeb9 IDE: Remove unused and duplicate resource strings. Fix exception messages. 2021-09-30 17:23:21 +03:00
Bernd Kreuss
58bab52639 MakeResStrDialog: remove hardcoded default colors, use system colors instead 2021-09-29 01:25:38 +03:00
Bernd Kreuss
3a13f819f7 fix env_file_filters hardcoded colors 2021-09-29 01:20:14 +03:00
Maxim Ganetsky
b6d3ecd5bb IDE: updated lazarus.lpi, hint by Bernd K., merge request !20 2021-09-29 01:01:04 +03:00
Juha
de4f724924 Revert checking for Pascal keywords in LazIsValidIdent which is used also for unit names etc. Prevent illegal name by other means. 2021-09-28 14:33:36 +03:00
Martin
0f830698c0 IDE, SourceEditor: TopLineInfoHint, reduce amount of memory re-allocs 2021-09-28 00:14:03 +02:00
Martin
e177cf97c2 IDE, SourceEditor: TopLineInfoHint, clear any lines while waiting for the highlighter. This ensures that there are no references to no-longer-existing lines (if lines got deleted). "PaintLines" could otherwise try to access those out-of-range lines.
Also clear data, if Highlighter is changed.
2021-09-28 00:13:25 +02:00
Juha
2a179b8402 IDE: Simplify code in GetIdentCompletionValue a little. 2021-09-27 22:08:54 +03:00
Juha
907f82485b IDE: When completing a label, add a colon (':') after it. Issue #38307. 2021-09-27 20:35:48 +03:00
Juha
0b817c8df3 IDE: Fix the order of iteration of units when searching class definition. 2021-09-25 19:37:06 +03:00
Martin
0da24dda48 IDE: EditorOpts, Line-number gutter, "Every Nth Line" must be 1 or greater. Issue #39394 2021-09-24 22:02:19 +02:00
Martin
05970c6b0f IDE: TODO/NOTE for EditorOptions, Color, fix "reset all". Issue #39388 2021-09-24 11:54:25 +02:00
Martin
ff2da4d6be IDE: EditorOptions, Color, fix "reset all". Issue #39388 2021-09-24 11:36:23 +02:00
mattias
7e55e32dc6 IDE: less hints 2021-09-18 11:32:13 +03:00
Martin
3475b86dc5 Fix: About Form, copy to clipboard text for git 2021-09-14 15:43:45 +02:00