Commit Graph

20757 Commits

Author SHA1 Message Date
juha
db94cc7a39 LazUtils: Support EUDC to PUA Microsoft mapping in function DBCSToUTF8. Issue #38206, patch from powerpcer.
git-svn-id: trunk@64308 -
2020-12-30 10:27:05 +00:00
juha
3f43cd260e ProjectTemplates: Use the template.lpi file for a new project. Issue #38244, patch from Rolf Wetjen.
git-svn-id: trunk@64307 -
2020-12-30 10:24:02 +00:00
juha
9cc893672d IdeHelp: Fix Lazarus hanging when lHelp starts from Menu and F1 pressed. Issue #38276, patch from Andrey Sobol.
git-svn-id: trunk@64306 -
2020-12-29 23:28:27 +00:00
juha
802ff9d061 Jedi Code Format: Fix option "leave as is" for linebreak in blocks. Issue #38277, patch from Domingo Galmés.
git-svn-id: trunk@64305 -
2020-12-29 23:07:28 +00:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
juha
c0926457b8 IdeIntf: Harmonize events for Delete, update OI's tree when plugins are deleted from PSScript.
git-svn-id: trunk@64301 -
2020-12-29 22:47:37 +00:00
juha
943e4e4ff7 IdeIntf: Remove "const" from an event. Add HookGetCheckboxForBoolean handler in OI only once.
git-svn-id: trunk@64300 -
2020-12-29 22:47:34 +00:00
michl
5610156d9f AnchorDocking: Don't loose docking side with ManualDock. Issue #38272
git-svn-id: trunk@64299 -
2020-12-29 10:33:37 +00:00
michl
bfe13f352f AnchorDocking: Allow docking in AnchorDockPanel on a TargetControl. Issue #37165
git-svn-id: trunk@64298 -
2020-12-29 10:24:14 +00:00
mattias
5607a8093c lhelp: show help on --help and -h
git-svn-id: trunk@64297 -
2020-12-28 22:45:11 +00:00
maxim
fe9ac84b09 Pas2JS: moved resource strings for VS Code extensions to the correct location, improved wording, i18n, regenerated translations and updated Russian translation
git-svn-id: trunk@64296 -
2020-12-28 21:49:56 +00:00
joost
a32ac8e665 FpDebug: support more function-arguments (x86_64)
git-svn-id: trunk@64295 -
2020-12-28 21:33:51 +00:00
joost
cfa42adfc3 FpDebug: Fpmake.pp updated
git-svn-id: trunk@64294 -
2020-12-28 21:27:55 +00:00
juha
2d29afae9c IdeIntf: Remove an unused property OwnerComponent.
git-svn-id: trunk@64292 -
2020-12-28 19:15:26 +00:00
wp
97b67541f1 TAChart: TPolygonSeries supports complex polygons now (holes, non-contiguous, self-intersecting).
git-svn-id: trunk@64290 -
2020-12-28 16:57:47 +00:00
jesus
cc6e0d00c6 LazReport: fix AV export regression, patch by Zdravko Gabrovski issue #38258
git-svn-id: trunk@64289 -
2020-12-28 15:43:31 +00:00
michl
e441f568b9 AnchorDocking: Allow ManualDock for Target TAnchorDockPanel. Issue #37165
git-svn-id: trunk@64288 -
2020-12-27 19:55:28 +00:00
michael
965f4823f2 * Remove windows-only code
git-svn-id: trunk@64287 -
2020-12-27 16:55:33 +00:00
michael
2134a62af3 * Implement VS Code template dialog setting
git-svn-id: trunk@64286 -
2020-12-27 16:30:40 +00:00
michl
d0d67fe1b4 SpartaDockedFormEditor: Revert revision 61223 #298236df33 as it is wrong. Never call Application.ProcessMessages on closing of IDE. Frames in SpartaDockedFormEditor working again (memory leak at closing of IDE with debug symbols is gone)
git-svn-id: trunk@64283 -
2020-12-26 22:39:45 +00:00
michl
b2881f7b9b SpartaDockedFormEditor: Remove not needed funny button
git-svn-id: trunk@64282 -
2020-12-26 16:37:51 +00:00
michl
8a009c1c3a SpartaDockedFormEditor: Fixed showing of scrollbars after revision 63888 #54661a2a36. Issue #38261
git-svn-id: trunk@64281 -
2020-12-26 15:51:40 +00:00
michl
63d7925005 SpartaDockedFormEditor: Make able to compile for FPC 3.2.0
git-svn-id: trunk@64276 -
2020-12-26 10:47:14 +00:00
juha
403fc1d5f3 IdeIntf: Simplify code in ComponentTreeView.
git-svn-id: trunk@64275 -
2020-12-25 17:26:40 +00:00
juha
a28aa70a44 IdeIntf: Update also an associated Collection after deleting a component node from OI's TreeView. Issue #38235.
git-svn-id: trunk@64273 -
2020-12-25 14:34:18 +00:00
maxim
df9968b6e3 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #38257
git-svn-id: trunk@64271 -
2020-12-24 23:01:30 +00:00
maxim
4ecd9d8c42 Pas2JS: moved resource strings for Atom packages to the correct location, improved wording, i18n, regenerated translations and updated Russian translation
git-svn-id: trunk@64270 -
2020-12-23 23:22:25 +00:00
martin
b937fb36b5 LazDebuggerFp: Fix crash when stopping debugger. Issue #0038065 / Ensure no background tasks are running when the FpDebug destroys the CurrentProcess (in process-exit event).
git-svn-id: trunk@64266 -
2020-12-22 13:34:55 +00:00
michael
b6d3957d72 * Atom package support
git-svn-id: trunk@64265 -
2020-12-22 10:54:57 +00:00
maxim
8476e1702a TAChart: regenerated translations and updated Russian translation
git-svn-id: trunk@64260 -
2020-12-20 22:13:29 +00:00
maxim
526e453330 FPDebug: fixed typos, regenerated translations and updated Russian translation
git-svn-id: trunk@64259 -
2020-12-20 22:11:02 +00:00
wp
7a969539a2 TAChart: Implement GetLegendItems for TPolygonSeries.
git-svn-id: trunk@64258 -
2020-12-20 20:31:40 +00:00
martin
94b1982906 SynEdit: do not drag selection if shift is hold. This is for altering the selection. Issue #0037963
git-svn-id: trunk@64257 -
2020-12-20 19:38:19 +00:00
juha
deba76613b IdeIntf, Designer: Improve deleting components from OI's tree. Make a special case for PairSplitterSide. Issue #38235.
git-svn-id: trunk@64254 -
2020-12-20 14:46:02 +00:00
martin
a869c43f49 FpDebug: fix threadmap iterator in linux classes. Broken by locked-iterator
git-svn-id: trunk@64248 -
2020-12-20 12:38:51 +00:00
martin
3894fe4f86 FpDebug: fix threadmap iterator in linux classes. Broken by locked-iterator
git-svn-id: trunk@64247 -
2020-12-20 11:00:58 +00:00
martin
499797758f Cleanup lfm files for SynEdit property for TSynHighlighterAttributes.<....>Priority
git-svn-id: trunk@64246 -
2020-12-20 09:03:41 +00:00
martin
06ee066470 SynEdit: Fixed the stored property for TSynHighlighterAttributes.<....>Priority
git-svn-id: trunk@64245 -
2020-12-20 09:03:39 +00:00
wp
48dfae77e3 TAChart: Initial commit of new TPolygonSeries
git-svn-id: trunk@64244 -
2020-12-19 23:08:11 +00:00
martin
fa5199045e LazDebuggerFp, FpDebug: Show an error message, if the debugger cannot run the application. Issue #0038167
git-svn-id: trunk@64243 -
2020-12-19 22:39:00 +00:00
martin
b5e8644836 LazDebuggerFp: Do not acquire Focus for none-breaking breakpoints (use dsInternalPause). Issue #38219
git-svn-id: trunk@64242 -
2020-12-19 17:06:34 +00:00
martin
557173a500 LazDebuggerFp: remove duplicated code
git-svn-id: trunk@64241 -
2020-12-19 17:06:32 +00:00
martin
78af663741 Revert WatchesValuePrg.pas: r64120 #618261511d LCL: Remove tests for FPC versions 2.x. Cannot be used anyway.
git-svn-id: trunk@64240 -
2020-12-19 17:06:31 +00:00
martin
cbcc64b6eb LazDebuggerFp: Do not call QuickPause for "delayed removed" breakpoints.
git-svn-id: trunk@64239 -
2020-12-19 17:06:29 +00:00
martin
ff698f9f85 LazDebuggerFp: Do not change the DebuggerState for QuickPause (if only breakpoints need to be set/removed)
git-svn-id: trunk@64238 -
2020-12-19 17:06:27 +00:00
martin
b0afde4a36 LazDebuggerFp: Do not request pause (for breakboint changes) when in "SendEvents" (paused, but no State set yet)
git-svn-id: trunk@64237 -
2020-12-19 17:06:25 +00:00
juha
537bc0346a IDE: Map component palette SpeedButtons by comp class type (not name). Use a proper tree map instead of sorted list TFPGMap<>.
git-svn-id: trunk@64229 -
2020-12-18 21:02:22 +00:00
juha
283b70dbac Cleanup, comments.
git-svn-id: trunk@64228 -
2020-12-18 21:02:19 +00:00
wp
4618c04983 TAChart: Add method CopyToClipboard for any TRasterImage class.
git-svn-id: trunk@64226 -
2020-12-18 11:25:03 +00:00
juha
5cf724ae46 Designer: Give names for the side components of PairSplitter. Don't crash when deleting. Issue #38227.
git-svn-id: trunk@64225 -
2020-12-18 10:51:37 +00:00
mattias
7f0dc5b547 IDE: external tools: free threads via main thread
git-svn-id: trunk@64223 -
2020-12-17 21:47:31 +00:00
mattias
0d8743d0ef IDE: exttools: show env
git-svn-id: trunk@64217 -
2020-12-17 14:38:24 +00:00
juha
a9fe05f1eb ExtTool: Restore one Enter-/LeaveCriticalSection. It is needed.
git-svn-id: trunk@64213 -
2020-12-16 22:23:16 +00:00
juha
d5099bfbd4 ExtTool: Use a hack Sleep(1) added in r64005 #ad65618c2b to Enter-/LeaveCriticalSection only for LazBuild. It caused bad slowdowns in the IDE.
git-svn-id: trunk@64212 -
2020-12-16 22:08:32 +00:00
martin
569e49e3cb TRefCountedObject, make thread safe
git-svn-id: trunk@64210 -
2020-12-16 14:44:11 +00:00
wp
d9b1507320 TurboPower_iPro: Call OnPaint from TIpHtmlInternalPanel instead of calling IpHtmlCustomPanel's inherited Paint. (issue #38204).
git-svn-id: trunk@64202 -
2020-12-13 21:12:10 +00:00
wp
29c601614e TurboPower_iPro: Avoid unnecessary painting operations (issue #38204, patch by serbod). Make OnPaint event available.
git-svn-id: trunk@64201 -
2020-12-13 16:27:01 +00:00
juha
6813e28eef LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
juha
453f156da7 IdeIntf: Restore property Comps in BaseComponentPalette. Was removed accidentally in r64182 #ce1d8c1014.
git-svn-id: trunk@64190 -
2020-12-09 14:51:19 +00:00
juha
f34f7f4c56 Cleanup.
git-svn-id: trunk@64189 -
2020-12-09 11:48:28 +00:00
juha
dd0852b911 Jedi Code Format: Remember cursor position and keep undo-history after a format. Issue #38178, patch from Domingo Galmés.
git-svn-id: trunk@64185 -
2020-12-08 19:34:45 +00:00
juha
1c047add57 IDE: Use class type instead of name when searching for components in various places.
git-svn-id: trunk@64184 -
2020-12-08 19:34:44 +00:00
juha
96027c20c3 IDE: Optimize Component Palette's update logic a little.
git-svn-id: trunk@64183 -
2020-12-08 19:34:42 +00:00
juha
ce1d8c1014 IDE: Optimize ComponentPalette caches. Index by registered class instead of class name.
git-svn-id: trunk@64182 -
2020-12-08 19:34:40 +00:00
juha
3f62b54817 Jedi Code Format: Support assign := in enumerations. Issue #38174, patch from Domingo Galmés.
git-svn-id: trunk@64178 -
2020-12-07 10:34:00 +00:00
juha
b1afd41fb2 Jedi Code Format: Fix access violation when parsing not closed IFDEF. Issue #38146, patch from Domingo Galmés.
git-svn-id: trunk@64166 -
2020-11-30 20:35:22 +00:00
juha
e47ecfcbaa IdeIntf: Remove a wrong assertion when building component tree.
git-svn-id: trunk@64162 -
2020-11-30 19:41:18 +00:00
wp
62462e4388 TAChart: Fix some ZoomDragTool and DataPointCrosshairTool painting on other chart if shared between two charts.
git-svn-id: trunk@64161 -
2020-11-30 11:29:26 +00:00
maxim
de6bb0649b CHMHelp: fixed delays when getting help while help viewer is already open, bug #29747:
1. The second instance of IPC server with the same PID was started for second and next search processes (if we did not close LHELP). Then server did not answer and client waited a long time for timeout.
2. Additionally check serverRunning after lHelp rebuild.
3. Always show lHelp on new requests.
4. Changed BeginUpdate/EndUpdate handling.

Patch by Andrey Sobol with minor modifications.

git-svn-id: trunk@64159 -
2020-11-26 23:26:58 +00:00
juha
4a32e7f70f Jedi Code Format: Support formatting typecast in var definition. Issue #38120, patch from Domingo Galmés.
git-svn-id: trunk@64158 -
2020-11-23 17:21:56 +00:00
juha
edc2cc5dbb Fix StandardCodeTool.HasInterfaceRegisterProc. Simplify code for checking added unit files.
git-svn-id: trunk@64156 -
2020-11-23 10:26:46 +00:00
zoran
7e68563f75 DateTimePicker: add Alignment property
git-svn-id: trunk@64155 -
2020-11-22 22:33:59 +00:00
martin
fbbe9f55c3 Debugger: reset exitcode for each run. Issue #0038080
git-svn-id: trunk@64154 -
2020-11-22 15:06:40 +00:00
juha
390f6f98bf Jedi Code Format: Sopport generic methods better. Issues #38109 and #38110, patch from Domingo Galmés.
git-svn-id: trunk@64153 -
2020-11-21 17:00:01 +00:00
juha
e994fa439c Jedi Code Format: Shorten code by exit() with parameter instead of setting Result and then exit.
git-svn-id: trunk@64150 -
2020-11-19 22:12:51 +00:00
juha
b6078f53b5 Jedi Code Format: Support generic types with const. Issue #38088, patch from Domingo Galmés.
git-svn-id: trunk@64149 -
2020-11-19 22:12:49 +00:00
pascal
31d43390f6 codetools: threadvar support for pascalparsertool. Issue #36947, patch from Delcio Sbeghen.
git-svn-id: trunk@64146 -
2020-11-17 19:25:20 +00:00
juha
a1391b1bc2 Docs: Documentation updates for LCL, LazUtils and LazControls. Issue #38089, patch from Don Siders.
git-svn-id: trunk@64145 -
2020-11-16 22:20:15 +00:00
juha
45264a3e0c IdeIntf: Remove ComponentCandidate data from ComponentTreeView code. Not used for anything.
git-svn-id: trunk@64144 -
2020-11-16 22:20:12 +00:00
juha
8e52758eb7 Jedi Code Format: Fix strict private/protected after var declarations. Issue #38082, patch from Domingo Galmés.
git-svn-id: trunk@64140 -
2020-11-15 13:33:04 +00:00
juha
292bf5f43a Jedi Code Format: A new test application. Issue #38081, patch from Domingo Galmés.
git-svn-id: trunk@64139 -
2020-11-15 13:16:15 +00:00
juha
14d83904c3 IdeIntf: Do not autoexpand ComponentTree in OI after component delete or ZOrder change. Issue #37434.
git-svn-id: trunk@64138 -
2020-11-15 11:41:43 +00:00
juha
4652d40073 Jedi Code Format: Support Threadvar in classes and records. Issue #38081, patch from Domingo Galmés.
git-svn-id: trunk@64136 -
2020-11-14 20:48:57 +00:00
juha
60af709809 Jedi Code Format: Support typecasted iterator. Issue #38067, patch from Domingo Galmés.
git-svn-id: trunk@64134 -
2020-11-13 22:05:37 +00:00
juha
9fe47fd5a6 IdeIntf: Do not autoexpand ComponentTree in OI after a component is added. Issue #33464.
git-svn-id: trunk@64133 -
2020-11-13 21:47:19 +00:00
juha
6fa295d5e4 Designer: Call DoDeletePersistent only once after deleting a control.
git-svn-id: trunk@64132 -
2020-11-13 21:47:17 +00:00
juha
c319bc8947 Jedi Code Format: Support escaped identifiers (&identifier). Issue #38067, patch from Domingo Galmés.
git-svn-id: trunk@64131 -
2020-11-13 09:37:02 +00:00
balazs
35da6a1fbb Opkman: When available, auto load package data.
git-svn-id: trunk@64129 -
2020-11-12 14:33:12 +00:00
martin
43e81576fe FpDebug: Use thread-save iterator. Issue #0038047, #38068 . Normal Iterators are added/removed to/from FIterators: TList => which is not thread save. Since the map in question never changes during iteration, the callbacks are not needed.
git-svn-id: trunk@64128 -
2020-11-12 12:02:33 +00:00
martin
689df5211a LazUtils: add thread-save map iterator (lock map)
git-svn-id: trunk@64127 -
2020-11-12 12:02:31 +00:00
mattias
0a7abce1cf synedit: fixed crash in comment
git-svn-id: trunk@64126 -
2020-11-12 11:43:08 +00:00
bart
6fb1bd833b LazUtils: Remove PasWStr unit. It is obsolete since fpc 3.0.
git-svn-id: trunk@64123 -
2020-11-11 17:35:01 +00:00
bart
f47a2a5fd6 LazUtils: Remove tests for FPC versions 2.x.
git-svn-id: trunk@64122 -
2020-11-11 14:03:48 +00:00
juha
a10a039a84 Jedi Code Format: Support advanced records and nested types better. Issue #38057, patch from Domingo Galmés.
git-svn-id: trunk@64121 -
2020-11-10 09:50:22 +00:00
juha
618261511d LCL: Remove tests for FPC versions 2.x. Cannot be used anyway.
git-svn-id: trunk@64120 -
2020-11-10 09:50:20 +00:00
juha
36063fca47 Printers: Update resource file. issue #38027.
git-svn-id: trunk@64115 -
2020-11-07 15:18:21 +00:00
maxim
568d990d27 Printers: regenerated translations and updated Russian translation
git-svn-id: trunk@64114 -
2020-11-06 22:53:07 +00:00
juha
5f2e464b97 Printers: Use OSPrinters in uDlgPropertiesPrinter.
git-svn-id: trunk@64113 -
2020-11-06 10:42:06 +00:00
juha
6b4b3e9eb4 Synedit: Minor code cleanup. Issue #38035, patch from Cyrax.
git-svn-id: trunk@64111 -
2020-11-06 10:42:03 +00:00
pascal
54029095cc SynEdit: add notification of line add
git-svn-id: trunk@64109 -
2020-11-06 08:06:29 +00:00
juha
e1b80773fc Jedi Code Format: Support generic procedures better. Issue #38041, patch from delfion.
git-svn-id: trunk@64108 -
2020-11-05 15:43:17 +00:00
juha
f38ee04679 Printer4Lazarus: Improve Unix Print Dialogs. Issue #38027, patch from Joeny Ang.
git-svn-id: trunk@64107 -
2020-11-05 11:47:34 +00:00
juha
b796837ec3 Debugger: Support detection of GDB 10.x and higher. Issue #38034.
git-svn-id: trunk@64106 -
2020-11-05 11:47:30 +00:00
juha
f677f97727 Jedi Code Format: Support partial array. Issue #38031, patch from Domingo Galmés.
git-svn-id: trunk@64105 -
2020-11-04 19:26:52 +00:00
juha
16ffa2572f LCL: Improve handling of PageNumber in various Printer classes. Issue #37682, patch from Joeny Ang.
git-svn-id: trunk@64104 -
2020-11-04 17:48:46 +00:00
juha
039687aae1 LazUtils: Deprecate SpecialCharsToHex. Use LazUtf8.Utf8EscapeControlChars instead. Issue #38029.
git-svn-id: trunk@64103 -
2020-11-04 17:31:46 +00:00
juha
5d89968871 LazUtils: Fix SpecialCharsToHex output to actual hex. Move code to reusable functions ShortDotsLine and BeautifyLineXY. Issue #38029.
git-svn-id: trunk@64102 -
2020-11-03 18:52:30 +00:00
wp
2ebdf2a994 TAChart: Fix crash if a series refers to a non-existing chartstyle.
git-svn-id: trunk@64101 -
2020-11-03 08:49:01 +00:00
juha
19c695f1d9 Jedi Code Format: Add support for generic procedures/functions. Issue #38026, patch from Domingo Galmés.
git-svn-id: trunk@64100 -
2020-11-03 08:13:21 +00:00
juha
8fe85cc110 TurboPower_iPro: Remove Delphi specific defines and comments. Issue #37990, patch from Zaher Dirkey.
git-svn-id: trunk@64099 -
2020-11-02 10:04:43 +00:00
juha
d75f2eda2b TurboPower_iPro: Remove Delphi compatibility {$ifdef IP_LAZARUS}. Did not work with Delphi anyways. Issue #37990, patch from Zaher Dirkey.
git-svn-id: trunk@64097 -
2020-11-01 10:37:53 +00:00
wp
24575cfd7c TurboPower_iPro: Fix IpHtmlPanel ignoring text encoding defined by <meta charset="..."> tag. Patch by Zaher Dirkey, issue #37374.
git-svn-id: trunk@64092 -
2020-10-31 09:58:08 +00:00
juha
847d16d3b9 Cleanup.
git-svn-id: trunk@64091 -
2020-10-30 09:23:50 +00:00
wp
ba446c3a93 TurboPower_iPro: Fix UTF8 issue in a way that ConvertEncoding is not called if text is already UTF8 encoded. Issue #37992.
git-svn-id: trunk@64088 -
2020-10-29 23:08:58 +00:00
mattias
614fe5d9e9 lazwiki: fixed compile with fpc 3.2
git-svn-id: trunk@64085 -
2020-10-29 21:19:52 +00:00
juha
6430dcbb60 Docs: Documentation updates for LazControls. Issue #38002, patch from Don Siders.
git-svn-id: trunk@64084 -
2020-10-29 15:45:44 +00:00
juha
4321fbf6e5 LazUtils: move procedure ReplaceSubstring from LazUTF8 to LazStringUtils.
git-svn-id: trunk@64081 -
2020-10-29 15:45:34 +00:00
wp
1c839c1369 TurboPower_iPro: Better fix to encoding issue than r64079 #75bc98773e. Issue #37992.
git-svn-id: trunk@64080 -
2020-10-28 11:52:52 +00:00
wp
75bc98773e TurboPower_iPro: Fix another location where IpHtml tries to switch to the system code page.
git-svn-id: trunk@64079 -
2020-10-28 11:34:39 +00:00
wp
9c4f8b738e TurboPower_iPro: Use UTF-8 as default encoding of documents without meta tag. Issue #37992, patch by Zaher Dirkey.
git-svn-id: trunk@64078 -
2020-10-27 10:50:23 +00:00
juha
419384ae30 Jedi Code Format: Add support for managed records operators. Issue #37983, patch from Domingo Galmés.
git-svn-id: trunk@64073 -
2020-10-25 10:13:44 +00:00
juha
6ad9a11111 IdeIntf: Fix anchors in TFieldsListFrm. Issue #37276.
git-svn-id: trunk@64071 -
2020-10-25 08:08:33 +00:00
jesus
1b5356c510 LazReport: renamed directory nogui_cgi to console_cgi_http
git-svn-id: trunk@64068 -
2020-10-24 17:31:12 +00:00
juha
572b9293a5 ToDoList: Two new ToolButton commands. Issue #37976, patch from FTurtle.
git-svn-id: trunk@64063 -
2020-10-24 11:19:30 +00:00
bart
5812e23a64 LazUtf8: add some more C-escape strings for the Utf8EscapeControlChars function.
git-svn-id: trunk@64062 -
2020-10-24 10:03:39 +00:00
wp
daa1794176 TurboPower_iPro: Rename TIpHtml.FParent to TIpHtml.FControlParent. Better handling of TIpHtmlNodeBUTTON captions.
git-svn-id: trunk@64059 -
2020-10-23 10:14:02 +00:00
juha
551c9ccc08 LazReport: Add buttons for printer and page setup into Preview window. Issue #37962, patch from Zdravko Gabrovski.
git-svn-id: trunk@64056 -
2020-10-22 20:22:33 +00:00
juha
2ed6d08108 Docs: Documentation updates for RTTIControls. Issue #37964, patch from Don Siders.
git-svn-id: trunk@64053 -
2020-10-22 15:34:22 +00:00
wp
4aef0be3b0 TurboPower_iPro: Undo part of r64045 #9244e15009, introduce TIpHtml.Parent for TIpHtmlNodeButton.Control. Issue #37927, patch by Zaher Dirkey.
git-svn-id: trunk@64051 -
2020-10-22 14:58:52 +00:00
juha
78d5022afa IDE: Minor optimization, cleanup and formatting.
git-svn-id: trunk@64047 -
2020-10-22 13:35:04 +00:00
wp
9244e15009 TurboPower_iPro: Fix inability to add buttons to the IpHtmlPanel on the fly. Make "Body" a public read-only property of TIpHtml. Issue #37927, based on patch by Zaher Dirkey.
git-svn-id: trunk@64045 -
2020-10-21 17:57:37 +00:00
wp
9f1793cc6b TurboPower_iPro: Replace color values of -1 by clNone. Patch by Zaher Dirkey, issue #37944
git-svn-id: trunk@64043 -
2020-10-17 20:17:31 +00:00
juha
04a1dda99d Printers: Fix spelling in printers.pas and printer4lazarus pacakage. Issue #37941, patch from Don Siders.
git-svn-id: trunk@64039 -
2020-10-17 16:42:16 +00:00
juha
1945f8b61d IDE: In SearchResultsView replace PageControl with ExtendedNotebook which allows reordering tabs. Rename SearchAgainButton -> NewSearchButton.
git-svn-id: trunk@64038 -
2020-10-17 16:19:15 +00:00
wp
c2bd8a0b1e TurboPower_iPro: Fix r64028 #70240d5335 for black background color. Issue #37930, patch by Zaher Dirkey.
git-svn-id: trunk@64036 -
2020-10-17 09:37:11 +00:00
juha
c83c7f8279 IdeIntf: Simplify hint handling in TOICustomPropertyGrid.MouseMove a little. Add comments.
git-svn-id: trunk@64029 -
2020-10-16 19:44:46 +00:00
wp
70240d5335 TurboPower_iPro: Add "inherited Create" to all classes in iphtml.pas inheriting from TObject (to simplify switching to a different base class if needed). Patch by Zaher Dirkey, issue #37930).
git-svn-id: trunk@64028 -
2020-10-16 15:35:17 +00:00
juha
8088c1378b IdeIntf: Improve a comment about hint fonts added in previous commit.
git-svn-id: trunk@64027 -
2020-10-16 12:53:32 +00:00
juha
fa76f4f43b IdeIntf: In OI grid show the name/value in a hint if it does not fit. The "Show Hint" setting now affects only long descriptions. Issue #37901.
git-svn-id: trunk@64026 -
2020-10-16 12:01:17 +00:00
juha
2a8ddb66b5 IDE, LazUtils: Move unit FileReferenceList to LazUtils package. Order uses sections.
git-svn-id: trunk@64025 -
2020-10-16 12:01:15 +00:00
wp
1159625e7b TurboPower_iPro: Add method SetHtmlFromFile (issue #37930, modified patch by Zaher Dirkey). Refactor SetHtmlFromStr.
git-svn-id: trunk@64024 -
2020-10-16 09:17:49 +00:00
martin
e2c618e262 FpDebugger: Show classname for functions in stack.
git-svn-id: trunk@64022 -
2020-10-15 18:38:20 +00:00
martin
569ea0aeb7 FpDebugger: updated tests
git-svn-id: trunk@64021 -
2020-10-15 18:38:18 +00:00
martin
6156b1bf31 FpDebugDebugger: replace Control-thread with ThreadWorkQueue
git-svn-id: trunk@64020 -
2020-10-15 18:38:16 +00:00
martin
e229057f03 FpDebug: logging for ThreadWorkerQueue
git-svn-id: trunk@64019 -
2020-10-15 18:37:40 +00:00
martin
541228d5ac LazLogger: add dbgsTime (tickcount)
git-svn-id: trunk@64018 -
2020-10-15 18:37:39 +00:00
martin
b5afc22435 FpDebug: Utils, Add TLockList / refactor, move to internal Fifo queue
git-svn-id: trunk@64017 -
2020-10-15 18:37:37 +00:00
martin
17edfd4871 LazCollections: add virtual / rename field
git-svn-id: trunk@64016 -
2020-10-15 18:37:36 +00:00
martin
8f0ae93c99 Debugger: Fix DbgThread.TopFrame after copy
git-svn-id: trunk@64015 -
2020-10-15 18:37:34 +00:00
juha
ad65618c2b Prevent occational crash in external tool threads with Sleep(1), especially with LazBuild. Issue #37883, patch from Ivon.
git-svn-id: trunk@64005 -
2020-10-15 00:11:47 +00:00
juha
d81e9516c8 Clean external tool thread code.
git-svn-id: trunk@64004 -
2020-10-15 00:11:46 +00:00
juha
faa505ae98 Move unit ide/PublishModule to buildIntf/PublishModuleIntf.
git-svn-id: trunk@63999 -
2020-10-13 11:27:32 +00:00
juha
f6ffe865a0 BuildIntf: Rename LazMessageDialog as LazMessageWorker to avoid name clash and to be more accurate. Same for LazQuestionDialog.
git-svn-id: trunk@63997 -
2020-10-13 11:27:28 +00:00
maxim
39b5106525 synunihighlighter: removed no longer needed PO files
git-svn-id: trunk@63996 -
2020-10-12 16:49:57 +00:00
maxim
41e9a5bba5 synunihighlighter: moved all resource strings to synunistrconst.pas, merged translations accordingly
git-svn-id: trunk@63995 -
2020-10-12 16:48:46 +00:00
maxim
2ec4db75e6 lazthread: moved all resource strings to lazthreadstrconst.pas, merged translations accordingly
git-svn-id: trunk@63994 -
2020-10-12 15:03:42 +00:00
bart
ebaa980048 TSpinEditEx: publish property ThousandSeparator.
git-svn-id: trunk@63991 -
2020-10-10 10:05:16 +00:00
bart
52fa078278 TFloatSpinEditEx: publish properties that control the displaying mode. Part of issue #0037474.
git-svn-id: trunk@63990 -
2020-10-10 09:59:50 +00:00
bart
108648506e LazFileUtils: use const parameters in FindAllFiles. Patch by CudaText man. Issue #0037782
git-svn-id: trunk@63989 -
2020-10-10 09:46:50 +00:00
juha
ebad1d78ef IDE: Add iOS as target. Issue #37869, patch from Alfred.
git-svn-id: trunk@63987 -
2020-10-09 18:39:07 +00:00
martin
a8297cc43b SynEdit: Add stdcall
git-svn-id: trunk@63985 -
2020-10-09 15:17:25 +00:00
martin
1db96371a5 FpDebug: fix stdcall
git-svn-id: trunk@63983 -
2020-10-09 14:17:22 +00:00
martin
bc13e22021 FpDebug: fix opening files with utf8 name on windows / prevent crash in trying to create filehandle, when an exception occurs. Issue #37884
git-svn-id: trunk@63978 -
2020-10-08 20:58:14 +00:00
balazs
bd92f5ba2f Opkman: Improve OPM interface.
git-svn-id: trunk@63976 -
2020-10-08 18:59:45 +00:00
juha
500015b04a IDE: Adjust dependent package "Open" popup menuitem in ProjectInspector and PackageEditor according to state.
git-svn-id: trunk@63973 -
2020-10-08 17:56:48 +00:00
ondrej
7505ba38d1 packagetabs: autosize label and button sizes - use real AutoSize and Anchors
git-svn-id: trunk@63971 -
2020-10-08 09:11:34 +00:00
ondrej
31a695dc02 packagetabs: autosize label and button heights
git-svn-id: trunk@63970 -
2020-10-08 09:01:28 +00:00
ondrej
0e850a7b51 IDE: object inspector: use font for default row height calculation - higher to match old value
git-svn-id: trunk@63969 -
2020-10-08 07:08:43 +00:00
ondrej
999954fab8 IDE: object inspector: use font for default row height calculation
git-svn-id: trunk@63968 -
2020-10-08 06:41:08 +00:00
martin
a87befd71c Debugger, GDBMI: Fix debugger state after debugger was unable to launch exe. Make sure cmd queue is empty.
git-svn-id: trunk@63967 -
2020-10-07 23:40:24 +00:00
martin
12b79cfbb0 IDE, IDEImages: Add comment on how to use
git-svn-id: trunk@63966 -
2020-10-07 23:40:22 +00:00
balazs
0e58363f6e Opkman: Improve OPM interface.
git-svn-id: trunk@63965 -
2020-10-06 18:28:09 +00:00
martin
410dd26d95 SynEdit: More Ligatures on Windows, {$DEFINE WINDOWS_LIGATURE}
git-svn-id: trunk@63963 -
2020-10-06 11:24:51 +00:00
juha
41552a49c8 IDE: Support installing online package dependencies also from Package Editor.
git-svn-id: trunk@63962 -
2020-10-06 08:30:41 +00:00
maxim
9ed4548eef LazDebuggerGdbmi: updated Russian translation
git-svn-id: trunk@63959 -
2020-10-04 22:13:43 +00:00
martin
c49c00a477 SynEdit: Ligatures on Windows, {$DEFINE WINDOWS_LIGATURE}
git-svn-id: trunk@63951 -
2020-10-04 16:00:38 +00:00
martin
7ab3261e30 Debugger: Notify if debugged app, exits with error code. Issue #37861
git-svn-id: trunk@63950 -
2020-10-04 14:24:46 +00:00
juha
e950f25f2a IDE: Add GUI into Project Inspector for properties of dependent packages. Reuse existing code.
git-svn-id: trunk@63945 -
2020-10-03 00:07:12 +00:00
maxim
24f2147eae FPCUnit: moved all resource strings of IDE package to strtestcaseopts.pas, merged translations accordingly
git-svn-id: trunk@63942 -
2020-10-01 22:41:02 +00:00
maxim
dcb1871753 LazReport: added missing period to resource string, regenerated translations and updated Russian translation
git-svn-id: trunk@63940 -
2020-09-29 23:31:45 +00:00
jesus
31487c5ae1 LazReport: New "Onbeforepreview" event in LazReport, patch from Zdravko Gabrovsk, issue #37794
git-svn-id: trunk@63938 -
2020-09-29 05:35:06 +00:00
jesus
ac50e66e44 LazReport: Fix the slow filling of font's combobox so it can now be made on designer opening, this fixes no showing the font in the font list when some object is selected and the report is just loaded.
git-svn-id: trunk@63937 -
2020-09-29 03:55:35 +00:00
jesus
b6c3d95216 LazReport: Added LrDotMatrix component, a TfrReport derived that handle print to do matrix kind printers, from @Heliosroots
git-svn-id: trunk@63936 -
2020-09-28 21:17:04 +00:00
jesus
7b162a47aa LazReport: Adds page num to printer title in case the job is splitted due different page sizes (fix overwritting of produced pdf's with cups-pdf in linux
git-svn-id: trunk@63933 -
2020-09-28 18:59:26 +00:00
jesus
88bacf3d62 Printers: missing patch for custom size papers for linux
git-svn-id: trunk@63932 -
2020-09-28 17:34:39 +00:00
jesus
ebc3a1947b LazReport: Support for custom paper sizes.
git-svn-id: trunk@63931 -
2020-09-28 01:10:36 +00:00
jesus
95f3ddc9cd LCL: Printers support for custom size papers for Windows and Linux.
git-svn-id: trunk@63930 -
2020-09-28 01:08:23 +00:00
zoran
c0a1785e24 DateTimePicker: small code refactoring
git-svn-id: trunk@63925 -
2020-09-26 20:45:58 +00:00
jesus
0d1f1cb778 LazReport: implements export to a stream
git-svn-id: trunk@63923 -
2020-09-25 22:50:42 +00:00
martin
55c3a5cbbc FpDebug, test: fix access to nil pointer
git-svn-id: trunk@63922 -
2020-09-25 22:08:49 +00:00
martin
bb154702ae FpDebug: Do not display (nested) records as pointer.
git-svn-id: trunk@63921 -
2020-09-25 22:08:47 +00:00
maxim
b4f6bfc0ff FPWeb: moved all resource strings to fpwebstrconsts.pas, merged translations accordingly
git-svn-id: trunk@63920 -
2020-09-24 23:06:50 +00:00
jesus
4c4761c72e FreeType: fix mem leak when cloning glyph.
git-svn-id: trunk@63917 -
2020-09-24 07:23:50 +00:00
maxim
e6ebfd4578 SynEdit: moved SynMacroRecorder resource strings to syneditstrconst.pp, merged translations accordingly
git-svn-id: trunk@63915 -
2020-09-23 23:01:02 +00:00
martin
466084cebd Debugger: fix converting values (qword) to bin/octal
git-svn-id: trunk@63913 -
2020-09-23 21:11:48 +00:00
martin
0b1a412658 GdbmiDebugger: fix marking register as modified
git-svn-id: trunk@63912 -
2020-09-23 21:11:46 +00:00
maxim
4c69c36745 FPDebug: fixed typo, regenerated translations and updated Russian translation
git-svn-id: trunk@63901 -
2020-09-20 23:35:54 +00:00
joost
566610a9ba FpDebug: Cleanup of several issues introduced in r63899 #539c1f9a2b, in which a lot more was committed then planned. Among others utility functions to allow calling functions with parameters. The ability to set the value of (regvar) variables and some minor bug-fixes. As part of the parameter-support, addresses located in a register are not immediately read and converted to constants anymore. But the location of the actual register is stored. This might have unforeseen side-effects
git-svn-id: trunk@63900 -
2020-09-20 21:52:48 +00:00
joost
539c1f9a2b FpDebug: Renamed TFpDbgHardcodedContext to TFpDbgHardcodedScope
git-svn-id: trunk@63899 -
2020-09-20 19:21:53 +00:00
jesus
2fdd890e2c LazReport: missing deploy.bat script
git-svn-id: trunk@63894 -
2020-09-19 19:24:15 +00:00
martin
7b179bcf72 SourceEditor, PascalScriptMacro: Add property LinesCount. Issue #37778 Patch by Domingo Galmés
git-svn-id: trunk@63893 -
2020-09-19 18:24:26 +00:00
jesus
cb166633f6 LazReport: Support for nogui-cgi or otherwise console and web applications.
git-svn-id: trunk@63892 -
2020-09-19 17:56:34 +00:00
jesus
58d2132e5c LazReport: Implements other way of dealing with reports that print to specific printer but end using the virtual printer. This catch paper found in predefined list of papers which previous patch didn't.
git-svn-id: trunk@63891 -
2020-09-19 07:27:40 +00:00
maxim
4a751eaae5 JCF2: moved all resource strings to jcfuiconsts.pas, merged translations accordingly
git-svn-id: trunk@63890 -
2020-09-18 23:17:25 +00:00
jesus
cf154ced76 LazReport, Fix paper units when a report who use a installed printer have to use the virtual printer.
git-svn-id: trunk@63889 -
2020-09-18 16:08:27 +00:00
martin
b3cbbc6218 FpDebug: tests
git-svn-id: trunk@63886 -
2020-09-17 23:04:20 +00:00
martin
47bbc252d8 FpDebug: Fix QuoteText
git-svn-id: trunk@63885 -
2020-09-17 23:04:18 +00:00
wp
b842bf6451 TAChart: Fix DataPoint tools not finding stacked TBarSeries values.
git-svn-id: trunk@63884 -
2020-09-17 10:41:14 +00:00
martin
1be98b28e2 SynEdit: add eoAcceptDragDropEditing / keep state from OnDragOver if eoAcceptDragDropEditing is NOT set. Issue #37724
git-svn-id: trunk@63883 -
2020-09-14 12:47:50 +00:00
juha
f7701ffbe4 Jedi Code Format: Fix compilation with FPC 3.0.4. Issue #37734, patch from BrunoK.
git-svn-id: trunk@63881 -
2020-09-11 15:27:25 +00:00
juha
5b2352d8a1 Jedi Code Format: Support "public" keyword in advanced records. Issue #37731, patch from Domingo Galmés.
git-svn-id: trunk@63880 -
2020-09-11 06:59:25 +00:00
juha
9b23c4ca34 Jedi Code Format: Add support for directive {$include %XXX%}. Issue #37730, patch from Domingo Galmés.
git-svn-id: trunk@63879 -
2020-09-11 06:59:23 +00:00
jesus
3131bdc11f LazReport: crosstab: more mem leaks.
git-svn-id: trunk@63878 -
2020-09-11 06:47:04 +00:00
jesus
84dd5c3fd0 LazReport: Fix crosstab mem leaks.
git-svn-id: trunk@63877 -
2020-09-11 04:50:19 +00:00
wp
5c23fb28b5 TAChart: Avoid crash of TChartListbox when listbox is re-populated after unchecking an item.
git-svn-id: trunk@63876 -
2020-09-09 21:55:04 +00:00
juha
4c7fde32e9 Jedi Code Format: Delete unused units.
git-svn-id: trunk@63873 -
2020-09-07 09:27:58 +00:00
juha
18cf55d8a9 Jedi Code Format: Improve formatting of a text selection in .inc files. Issue #37705, patch from Domingo Galmés.
git-svn-id: trunk@63872 -
2020-09-07 08:46:53 +00:00
jesus
a1dc800a66 LazReport: Find dataset when TFrReport has no owner.
git-svn-id: trunk@63869 -
2020-09-06 05:28:18 +00:00
zoran
959c6b9cd3 DateTimePicker: Add comments which describe options
git-svn-id: trunk@63867 -
2020-09-05 08:29:10 +00:00
martin
03920381a6 FpDebugger: amend address/line for exceptions (addr was line after caller)
git-svn-id: trunk@63866 -
2020-09-05 00:14:38 +00:00
martin
fb4e9603c0 FpDebug: Ensure the array for the worker-thread and the main-thread are each unique. Fix occasional search misses. / Small refactor
git-svn-id: trunk@63863 -
2020-09-03 16:32:29 +00:00
martin
1a08e0ba34 FpDebug: Fix Step-Into - sometimes would step before the end of statement. This happened if a nested call was single step, and a "ret" statement encountered. The "ret" (in the nested) was attributed to the outer code, wrongly indicating the command "stepped out".
git-svn-id: trunk@63862 -
2020-09-03 16:32:27 +00:00
martin
c5e7f1e250 lazcollections: TLazThreadedQueue refactor into threaded/none-threaded part
git-svn-id: trunk@63861 -
2020-09-03 08:21:02 +00:00
martin
144fb11c00 lazcollections: TLazThreadedQueue fix ShutDown
git-svn-id: trunk@63860 -
2020-09-03 08:21:00 +00:00
zoran
1f21de2207 DateTimePicker: code cleanup
git-svn-id: trunk@63859 -
2020-09-02 22:11:36 +00:00
zoran
c6843099e5 DateTimePicker - refactoring
git-svn-id: trunk@63858 -
2020-09-01 22:14:39 +00:00
maxim
087020bee2 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #37667
git-svn-id: trunk@63855 -
2020-08-31 22:37:04 +00:00
maxim
063c664c39 JCF2: removed unused resource string
git-svn-id: trunk@63854 -
2020-08-31 22:22:53 +00:00
juha
ef45d65900 JediCodeFormat: Use Ctrl-D shortcut for selection and whole unit. Copy right amount of whitespace into selection. Cleanup. Issue #37652, patch from Domingo Galmés.
git-svn-id: trunk@63853 -
2020-08-31 19:35:01 +00:00
juha
e0b2abcbe7 JediCodeFormat: Clean out Delphi support from our fork. Delphi users get JCF from SourceForge.
git-svn-id: trunk@63852 -
2020-08-31 09:02:33 +00:00
juha
6d45177b97 JediCodeFormat: Improve formatting of selection on Unix systems.
git-svn-id: trunk@63851 -
2020-08-31 09:02:27 +00:00
juha
eff8a039ba JediCodeFormat: Add option to format only selected text. Issue #37652, patch from Domingo Galmés.
git-svn-id: trunk@63850 -
2020-08-31 07:10:22 +00:00
juha
080e21106f JediCodeFormat: Harmonize uses sections.
git-svn-id: trunk@63849 -
2020-08-31 07:10:19 +00:00
jesus
e7f57c722d FreeType: Support for rotated text.
git-svn-id: trunk@63846 -
2020-08-30 01:39:21 +00:00
zoran
a04423bc0d DateTimePicker - Surround the hack for setting TextForNullDate to NULL with ifdef fpc_fullversion < 030200, as nodefault now works with string properties
git-svn-id: trunk@63845 -
2020-08-29 16:43:52 +00:00
martin
75c2186b1d FpDebug: Detect incorrect path to unit, and omit path. Issue #0037657
git-svn-id: trunk@63840 -
2020-08-29 12:02:20 +00:00
martin
b2cb237d43 FpDebug: Compute full filenames only once
git-svn-id: trunk@63839 -
2020-08-29 12:02:18 +00:00
martin
c82e723e1a SynEdit: allow "Modified:=False" inside BeginUpdate
git-svn-id: trunk@63838 -
2020-08-26 22:24:11 +00:00
martin
cb9e09de9e FpDebug: Use available symbol from stack to create SearchScope
git-svn-id: trunk@63835 -
2020-08-26 19:15:02 +00:00
martin
c15f2179e9 FpDebug: WorkerQueue, protect with try finally
git-svn-id: trunk@63834 -
2020-08-26 19:15:00 +00:00
martin
b2b157269c lazcollections: TLazThreadedQueue fix Grow.
git-svn-id: trunk@63833 -
2020-08-26 19:14:58 +00:00
mattias
9e19eed0b3 codetools: added intrinsic GetTypeKind
git-svn-id: trunk@63832 -
2020-08-26 19:09:33 +00:00
wp
09ee5f1c56 LCL-Grids and VirtualTreeView: Move "FixDesignFontsPPI" for the basic components to "public". Declare as "override" for VTV.
git-svn-id: trunk@63831 -
2020-08-26 14:36:34 +00:00
wp
e0c036e091 VirtualTreeView: Fix LCL scaling of non-default fonts.
git-svn-id: trunk@63830 -
2020-08-26 07:43:32 +00:00
martin
d62e55102b FpDebug: use threads to scan units for symbol
git-svn-id: trunk@63829 -
2020-08-25 17:31:53 +00:00
martin
c9916553dd FpDebug: extend/rework TFpThreadWorkerQueue
git-svn-id: trunk@63828 -
2020-08-25 17:31:51 +00:00
martin
005fe7208d lazcollections: TLazThreadedQueue, allow subclasses to Lock/Unlock and access queue.
git-svn-id: trunk@63827 -
2020-08-25 17:31:49 +00:00
juha
eff8fb999c Docs: Documentation updates for LazControls package. Issue #37631, patch from Don Siders.
git-svn-id: trunk@63824 -
2020-08-25 08:47:31 +00:00
martin
d279fb5a4a FpDebug: Move "uses" (ensure register) of imagereader classes from controller to DbgInfo (not all apps use a controller)
git-svn-id: trunk@63821 -
2020-08-24 11:19:20 +00:00
pascal
e43ef2df62 FpDebug: fixed missing unit
git-svn-id: trunk@63820 -
2020-08-24 06:13:22 +00:00