Commit Graph

64216 Commits

Author SHA1 Message Date
Martin
e3a3d33c99 FpDebug: Windows (10 up), use WaitForDebugEventEx to support Utf16 OutputDebugStringW 2023-02-04 08:52:29 +01:00
dsiders
db4c129b21 Docs: LCL/lazcanvas. Fixes an errant XML tag in content. 2023-02-04 00:51:59 +00:00
dsiders
4de931e101 Docs: DateTimeCtrls. Adds project and topics files to generate CHM and HTML help using FPDoc.
* Adds files with topic skeletons.
* Adds content for topics (partial).
* Merges content from the wiki page.
2023-02-04 00:06:16 +00:00
dsiders
8bb72e6ac4 Docs: LCL/controls. Fixes a typo in TWinControl.UTF8KeyPress. 2023-02-04 00:02:24 +00:00
Maxim Ganetsky
24526222b2 IDE: regenerated translations 2023-02-04 01:03:54 +03:00
Martin
8b783581a0 IDE: SourceEditor, fix selecting next tab when drag/drop moving an editor. The editor incorrectly switched to the 2nd next tab. Issue #40064 2023-02-03 21:01:03 +01:00
Martin
a1b61028fa IDE: Run/Debug, search for LaunchApp and HostApp in Project-dir and %Path. issue #32331
- Search in %PATH was done by "run without debug", but not by debug.
- Checking for an exe relative to the project-dir was added for both.
- A plain file-name will be first checked in the project-dir, and after that in %PATH
2023-02-03 17:25:12 +01:00
Martin
66bc8c9281 IDE: Run/Debug, refactored getting the "working directory" for the project. Related to issue #32331
- "Debug" and "Run without Debug" now use the same steps to get the "working directory":
1: BuildMode.RunParams "working directory" set by user (New, this can now be relative to project dir)
2: Project Dir, if not virtual
3: Directory from Host-App (RunParams), or if (and only if) Host-App is empty from Project.exe
(If host app is in %PATH, then there is no "working directory")

1 and 2 are as before.
3 was used before for "debugging", but "run without debug" did use: "Launch-App", "Host-App", Project.exe
2023-02-03 17:25:12 +01:00
Juha
72040bb55d MouseAndKeyInput: Fix another external function signature, Boolean -> Boolean32. Issue #40102, by Dušan Halický. 2023-02-03 16:46:56 +02:00
Juha
f51da4dc1d Jedi Code Format: Fix indentation in nested try blocks. Issue #40104, patch by Domingo Galmés. 2023-02-03 15:30:04 +02:00
Maxim Ganetsky
1652b4acf1 Translations: Turkish translation update by Onur ERÇELEN, issue #40106 2023-02-02 23:52:31 +03:00
Martin
33d32450a5 IDE: Workaround for late updates of ecGotoBookmarks popup menu. See issue #39540 2023-02-01 20:21:10 +01:00
Martin
6d768e7921 IDE: Restore the old working code for the ecGotoBookmarks, ecToggleBookmarks command (direct/root bookmark popup). This was incorrectly removed in a555d027da . Issue #39540 2023-02-01 20:15:25 +01:00
Željan Rikalo
d195570688 Gtk2: fixed clientRect of TCustomForm with main menu. Patch by rich2014. issue #40071 2023-02-01 16:56:26 +01:00
Željan Rikalo
3990e8a080 Qt6: reworked TQtMainWindow menubar, now it's created on demand. Fixed main menubar under mac. 2023-02-01 16:46:54 +01:00
Željan Rikalo
317b0691ca Qt5: added read only property MenuBar, renamed GetMenuBar to MenuBarNeeded 2023-02-01 16:26:09 +01:00
Željan Rikalo
1945f6863b IDE: qt5 does not need workaround for main IDE height since issue #40071 is fixed 2023-02-01 16:14:26 +01:00
Željan Rikalo
99c433c0ee Qt5: fixed clientrect size of TCustomForm with main menu. Patch by rich2014, small modification by me. 2023-02-01 16:09:55 +01:00
Željan Rikalo
2ffedf7545 Gtk2: fixed TScrollBar.ScrollBy_WS error. Patch by Andrew Haines 2023-02-01 15:06:28 +01:00
wp_xyz
f823854588 fpvectorial: Fix odt and docx writers truncating the last two characters of each paragraph. 2023-01-31 00:06:41 +01:00
Željan Rikalo
8a67172c03 Qt5: fix build under mac os 2023-01-30 18:31:05 +01:00
Željan Rikalo
e41c66e9f4 Qt5: completelly reworked menubar. Now it's created on demand. 2023-01-30 18:22:46 +01:00
Linda
0bd7051152 Qt5: fixed roles for apple menu.Do not create menubar if TCustomForm.Menu is nil. 2023-01-30 14:56:53 +01:00
Juha
0121545758 MouseAndKeyImput: Fix external function signature, Boolean -> Boolean32. Issue #40102, by Dušan Halický. 2023-01-30 15:23:16 +02:00
Juha
301d9dddcd IDE: Support spaces in folder name in MacroFuncTargetCmdLine. Issue #40087, patch by Red_prig (Pavel). 2023-01-30 15:02:41 +02:00
wp_xyz
7dc4f7a5c1 LCL/DateTimePicker: Correct spelling and grammar in source code comments. Patch by Don Siders. Issue #40101. 2023-01-30 13:34:40 +01:00
wp_xyz
6575787574 Docs: Rewrote part of the new docs for TLazCanvas.Polygon in order to explain the filling algorithms. 2023-01-30 13:17:02 +01:00
Željan Rikalo
c7a8416d83 Qt5: trial to fix preferences and quit inside apple menu 2023-01-30 10:37:33 +01:00
zeljan1
51b5b164c4 Qt5: more fixes for main menubar under mac 2023-01-30 09:26:54 +01:00
dsiders
c27ff841f5 Docs: LCL/lazcanvas. Adds version information and updates topics for changes in aa477d82, d03ae50d. Issue #40100.
* Adds TLazCanvas.Polygon topic.
* Updates TLazCanvas.DoPolygonFill topic.
2023-01-30 04:01:09 +00:00
zeljan1
b923a2265c Qt5,Qt6: fixed typo 2023-01-29 21:43:13 +01:00
Željan Rikalo
021a83beaf Qt5,Qt6: fixed menu bar behaviour under mac 2023-01-29 20:30:54 +01:00
Željan Rikalo
6f6b86931c gtk3: rewritten CombineRgn() 2023-01-29 20:07:33 +01:00
Željan Rikalo
2b44a6011a Gtk3: partially implemented ExtTextOut, now TSynEdit looks bit nicer :) 2023-01-29 20:00:56 +01:00
wp_xyz
d03ae50d12 LCL: Add non-zero winding rule Polygon fill to TLazCanvas. 2023-01-29 16:22:38 +01:00
wp_xyz
6b98e93cee fpvectorial: Remove some obsolete declarations 2023-01-28 19:29:07 +01:00
wp_xyz
5bc07f9b2c fpvectorial: Fix memory leaks in svg reader and visualtest application. 2023-01-28 17:31:29 +01:00
Maxim Ganetsky
224095f27b IDE: regenerated translations 2023-01-28 00:18:18 +03:00
wp_xyz
aa477d8262 LCL: Fix TLazCanvas to respect DrawingModes (alphablending). 2023-01-27 16:47:37 +01:00
wp_xyz
083a92717b LCL/DateTimeCtrls: Add new property DecimalSeparator. Publish property Alignment in TDBDateTimePicker. Patch by Don Siders. Issue #40098. 2023-01-27 13:00:12 +01:00
Martin
048aa12384 IDE: Move units to IdeDebugger package. 2023-01-26 18:26:31 +01:00
Martin
2972581f05 IDE: Move some units to IdeConf package. 2023-01-26 14:47:42 +01:00
Martin
448bb20ba6 FpDebug: Refactor TBreakLocationMap, so that "OrigValue" is no longer exposed. Move some functionality from TProcess to TBreakLocationMap. 2023-01-25 20:54:59 +01:00
Martin
2a67f6ec76 Renamed LazarusCommonStrConst to IdeIntfStrConsts 2023-01-25 16:51:48 +01:00
Martin
80ef1fb668 FpDebug: Testcases, increase some timeouts 2023-01-24 18:03:16 +01:00
Martin
ad9a460928 FpDebug, Linux: Improve stepping over breakpoint.
When the signal for a newly launched thread was received while the single-step was still in progress, then "RestoreTempBreakInstructionCodes" failed (as the thread was still running), and the breakpoint (int3) ended up missing (no longer stopping at the breakpoint).
2023-01-24 18:03:16 +01:00
wp_xyz
4650dfa54a fpvectorial: Fix compilation if USE_LCL_CANVAS is not defined. 2023-01-24 13:40:06 +01:00
wp_xyz
1b3379213d fpvectorial: Fix doubling of rounded rectangle corner radius after svg reading. 2023-01-23 23:29:17 +01:00
wp_xyz
cd60db2407 fpvectorial: Fix misplaced rounded rectangle painted on canvas. 2023-01-23 23:17:01 +01:00
wp_xyz
f26def2c25 fpvectorial/visualtest: Fix usage of image directory in macOS. 2023-01-23 20:00:42 +01:00