Commit Graph

19505 Commits

Author SHA1 Message Date
martin
b57481b1b8 GdbmiDebugger: dgbsNone - use GdbRunCommand() to get correct command to start target
git-svn-id: trunk@61593 -
2019-07-15 22:06:02 +00:00
mattias
5706071c48 projectgroups: fixed freeing nested groups
git-svn-id: trunk@61589 -
2019-07-14 19:27:02 +00:00
martin
1caa4b3b33 GDBMI-Debugger: Option "gdbsNone" to start without internal start break.
This may not work on all platforms, depending on how gdb reports the target-PID.
This should work for all/any gdb-server session

git-svn-id: trunk@61588 -
2019-07-14 19:10:35 +00:00
michael
7925f988ef * Fix AV when doing "new project group" and there is already a PG open
git-svn-id: trunk@61587 -
2019-07-13 09:19:43 +00:00
maxim
efea542ece ProjectGroups: i18n-ed Info dialog, regenerated translations and updated Russian translation
git-svn-id: trunk@61584 -
2019-07-12 23:58:01 +00:00
mattias
843d3ad5c3 projectgroups: fixed disable option redirect build/compile
git-svn-id: trunk@61581 -
2019-07-12 16:49:11 +00:00
mattias
c7c0ffc0dc projectgroups: added res
git-svn-id: trunk@61580 -
2019-07-12 16:37:30 +00:00
mattias
94a6b8a2c6 projectgroups: fixed AV when project is missing, issue #35840 from Ondrej
git-svn-id: trunk@61579 -
2019-07-12 16:34:41 +00:00
mattias
b901f5a594 projectgroup: use IDE images, patch #35839 from Ondrej
git-svn-id: trunk@61578 -
2019-07-12 16:33:17 +00:00
mattias
736cfddefd projectgroups: support new lpi format 11, patch #35837 from Ondrej
git-svn-id: trunk@61577 -
2019-07-12 12:11:11 +00:00
mattias
b7e10755af projectgroups: menu item add existing, menu item add new group, more dropdown style, patch #35836 from Ondrej
git-svn-id: trunk@61576 -
2019-07-12 12:09:22 +00:00
mattias
c44e1d46d8 projectgroups: fixed av on destroy, issue #35835
git-svn-id: trunk@61575 -
2019-07-12 09:12:45 +00:00
mattias
63594b3af5 lazutils: fixed TFileSearcher initial PathSeparator and paths with spaces
git-svn-id: trunk@61569 -
2019-07-11 14:56:44 +00:00
mattias
608504c911 IDEIntf, projectgroups: moved projectgroupintf.pp to IDEIntf
git-svn-id: trunk@61566 -
2019-07-11 12:58:00 +00:00
mattias
0653994a28 projectgroups: fixed typo
git-svn-id: trunk@61565 -
2019-07-11 12:55:06 +00:00
mattias
168516c080 projectgroups: added Info form showing source paths
git-svn-id: trunk@61564 -
2019-07-11 08:55:56 +00:00
mattias
2fea142ccd aarre: updated xml
git-svn-id: trunk@61563 -
2019-07-11 08:55:27 +00:00
maxim
053095bc3d Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #35816
git-svn-id: trunk@61562 -
2019-07-10 23:40:13 +00:00
maxim
b34b1a1f20 ProjectGroups: updated Russian translation
git-svn-id: trunk@61561 -
2019-07-10 23:32:14 +00:00
wp
d32b16b312 DateTimePicker: Make widths of ArrowButton and UpDown highDPI-aware. Issue #35814.
git-svn-id: trunk@61558 -
2019-07-10 20:50:57 +00:00
martin
ac17315ae2 GdbmiDebugger: introduce option to disable exception handling (e.g. for embedded, or disable run-error if they get caught as exception too)
git-svn-id: trunk@61557 -
2019-07-10 12:41:27 +00:00
martin
ff1657deea Debugger-Config: Allow individual LRU list for gdb vs lldb
git-svn-id: trunk@61554 -
2019-07-09 19:20:08 +00:00
martin
e31b6f3a1c GdbmiDebugger: fix target registers for AVR. Patch by Christo Crause
git-svn-id: trunk@61552 -
2019-07-09 12:25:55 +00:00
martin
9be3a4b216 GdbmiDebugger: replace index for TargetRegisters with Enum
git-svn-id: trunk@61551 -
2019-07-09 12:25:53 +00:00
mattias
d863ee5f46 projectgroups: option to redirect Compile+Build to pg editor target
git-svn-id: trunk@61550 -
2019-07-09 10:47:53 +00:00
mattias
34266f2bc2 IDE: clean up ecCompile
git-svn-id: trunk@61549 -
2019-07-09 10:41:03 +00:00
martin
358ce23913 Debugger-Config: Allow "named" configs for the debugger.
git-svn-id: trunk@61548 -
2019-07-08 23:01:18 +00:00
mattias
288b31c910 anchrodocking: clear splitter asynccall on destroy
git-svn-id: trunk@61546 -
2019-07-08 20:45:11 +00:00
maxim
631fcf53e1 POChecker: Removed lots of duplicate translation initialization code, which was used for standalone build. Now using LCLTranslator unit means for this.
git-svn-id: trunk@61542 -
2019-07-05 23:12:15 +00:00
martin
a610996b28 Debugger, GDBMI Server: Added option to skip setting the local filename, if only a file on remote exists
git-svn-id: trunk@61540 -
2019-07-05 22:43:07 +00:00
martin
e0d820d5dd Debugger, GDBMI Server: Added option to set Architecture
git-svn-id: trunk@61539 -
2019-07-05 22:43:05 +00:00
martin
9f610af58d Debugger, GDBMI Server: Apply remote timeout before connecting.
git-svn-id: trunk@61538 -
2019-07-05 22:43:04 +00:00
martin
93cfa99541 Debugger, GDBMI: Enable some "property" settings for gdbserver and over-ssh / those were omitted by accident.
git-svn-id: trunk@61537 -
2019-07-05 19:52:01 +00:00
dmitry
9bf589f433 opengl: fix cocoa compilation
git-svn-id: trunk@61536 -
2019-07-05 18:44:39 +00:00
martin
75306ff444 Debugger, GDBMI: Only check if -f can be used, if it is actually needed (defer check)
git-svn-id: trunk@61534 -
2019-07-05 13:03:20 +00:00
martin
d33a0e6ae9 Debugger, GDBMI Server: Added remote timeout option.
git-svn-id: trunk@61533 -
2019-07-05 11:41:35 +00:00
maxim
6c0a0881f5 PoChecker: do not reposition language combobox manually when resizing master PO listbox, anchors are sufficient
git-svn-id: trunk@61530 -
2019-07-04 22:41:22 +00:00
martin
b132011820 LazDebuggerGdbmi: Add support "avr" filenames, ending in ".elf". Based on patch by Dimitrios Chr. Ioannidis
git-svn-id: trunk@61525 -
2019-07-03 21:27:12 +00:00
martin
ba6f9cd2c8 LazDebuggerGdbmi: Add support for "avr" cpu. Patch by Dimitrios Chr. Ioannidis
git-svn-id: trunk@61524 -
2019-07-03 21:27:10 +00:00
martin
2c26dfcbd5 FpDebug, tests: function-ref variables
git-svn-id: trunk@61522 -
2019-07-03 18:26:34 +00:00
martin
afb6089d74 FpDebug: Display function-ref variables
git-svn-id: trunk@61521 -
2019-07-03 18:26:32 +00:00
martin
9f1b5ca3f2 Debugger: introduce watch type skFunctionRef
git-svn-id: trunk@61520 -
2019-07-03 18:26:31 +00:00
martin
fa7ee1a8bb FpDebug, testbase: Fix re-using already compiled test-exe
git-svn-id: trunk@61519 -
2019-07-03 18:26:29 +00:00
martin
65aa82abae FpDebug, testbase: Speed up test case / force AsyncQueue to run right away
git-svn-id: trunk@61518 -
2019-07-03 18:26:27 +00:00
martin
3ed45630a0 LazDebuggerFp: slightly faster watch eval.
git-svn-id: trunk@61517 -
2019-07-03 18:26:26 +00:00
martin
96ba76e670 FpDebug: Fix FindProcSymbol, always search all CompilationUnits
git-svn-id: trunk@61516 -
2019-07-03 18:26:24 +00:00
mattias
2036d96cd5 projectgroups: resourcestrings, SelfTarget, let editor find out itself what options have changed
git-svn-id: trunk@61513 -
2019-07-03 05:29:57 +00:00
maxim
9c2eafe647 ProjectGroups: improved i18n, regenerated translations and updated Russian translation
git-svn-id: trunk@61512 -
2019-07-02 23:18:21 +00:00
mattias
05fe93aa61 projectgroups: menu item Options, switch show target filenames
git-svn-id: trunk@61510 -
2019-07-02 15:27:36 +00:00
mattias
61add3f64e projectgroups: show missing target files
git-svn-id: trunk@61509 -
2019-07-02 14:47:08 +00:00
mattias
982d6c749b projectgroups: options frame, option to open last group on IDE start
git-svn-id: trunk@61503 -
2019-06-30 20:44:12 +00:00
martin
c212dea70f FpDebug, tests: More typecast tests
git-svn-id: trunk@61502 -
2019-06-30 19:17:03 +00:00
martin
2ca01a1067 FpDebug: Allow constants in type-cast to be treated as address
git-svn-id: trunk@61501 -
2019-06-30 19:17:01 +00:00
martin
3fa2c1926a FpDebug: LocationParser: clean up and optimize (peek instead of pop)
git-svn-id: trunk@61500 -
2019-06-30 19:16:59 +00:00
martin
5110e434a6 FpDebug: Refactor reading Bounds
git-svn-id: trunk@61499 -
2019-06-30 19:16:58 +00:00
martin
dd77814ad7 FpDebug: Remove relation between TFpDbgSymbol and TFpDbgValue
git-svn-id: trunk@61498 -
2019-06-30 19:16:56 +00:00
martin
ebbd6b5e0b FpDebug: Fix Overflow in max array/string size
git-svn-id: trunk@61497 -
2019-06-30 19:16:55 +00:00
martin
553557be16 FpDebug, tests: More tests. Array[Enum] / Array Element access
git-svn-id: trunk@61496 -
2019-06-30 19:16:53 +00:00
martin
7da8446021 FpDebug, tests: More tests. Address-Of and typecast/convert
git-svn-id: trunk@61495 -
2019-06-30 19:16:51 +00:00
martin
29e1a3298f Debug-TestBase: Clean up
git-svn-id: trunk@61494 -
2019-06-30 19:16:49 +00:00
martin
16b217f5b9 FpDebug: Cleanup
git-svn-id: trunk@61493 -
2019-06-30 19:16:47 +00:00
jesus
ad42b120af LazReport: Fix transparent roundrect powerpdf export when there is a shadow, bug report and fix tip by @HumbertoSales
git-svn-id: trunk@61492 -
2019-06-30 18:51:43 +00:00
mattias
e0335c7f49 projectgroups: added menu item View/Project Groups, replaced removed targets with Undo
git-svn-id: trunk@61491 -
2019-06-30 16:43:16 +00:00
mattias
f0aa8dbf58 IDE: define codetools values for custom options -Ciro -g -g- -gw -Sah, issue #35771, from Yuriy Sydorov
git-svn-id: trunk@61483 -
2019-06-26 17:23:33 +00:00
mattias
c48756a9cc codetools: fixed parsing non advanced records
git-svn-id: trunk@61479 -
2019-06-26 14:09:31 +00:00
mattias
31233a6f93 pas2jsdsgn: fixed run params quotes
git-svn-id: trunk@61456 -
2019-06-24 12:26:22 +00:00
michael
1c9f5af2ca Fix error if no connection found, and adapt load/save to changed verb indexes
git-svn-id: trunk@61454 -
2019-06-24 10:22:26 +00:00
martin
87642bb738 FpDebug: Experimental/IFDEF code for auto-deref pointer to structure
git-svn-id: trunk@61453 -
2019-06-23 11:14:27 +00:00
martin
5cfa46a52f FpDebug, tests: Enable Tests for constants
git-svn-id: trunk@61452 -
2019-06-23 11:14:26 +00:00
martin
7f8306fad7 FpDebug: Allow LocationParser (dwarf loc expressions) to work with mlfSelfMem (for constants which have their value in the dwarf headers, rather than the process mem)
git-svn-id: trunk@61451 -
2019-06-23 11:14:24 +00:00
martin
4d779b1188 FpDebug: Ensure Object-address for location-parser is stored
git-svn-id: trunk@61450 -
2019-06-23 11:14:23 +00:00
martin
2a8f0cab85 FpDebug: More tests.
git-svn-id: trunk@61449 -
2019-06-23 11:14:20 +00:00
michael
7c45e4c090 * Add s/ssl to checkoptions
git-svn-id: trunk@61448 -
2019-06-22 22:39:38 +00:00
michael
e1307dcab1 * Fix compilation with trunk
git-svn-id: trunk@61447 -
2019-06-22 22:34:52 +00:00
martin
745d2b94d1 Debugger, testsuite: fix crash if logging is disabled
git-svn-id: trunk@61446 -
2019-06-22 17:09:36 +00:00
michael
a326525422 * Patch from Sven to fix case where the dataset is filled twice
git-svn-id: trunk@61445 -
2019-06-22 08:20:48 +00:00
michael
2f9ac2ad57 * Fix LoadFromIniFile call
git-svn-id: trunk@61436 -
2019-06-21 09:41:16 +00:00
michael
a021125215 * Fix adding filename to MRU when save as is called
git-svn-id: trunk@61435 -
2019-06-21 09:24:23 +00:00
mattias
9c6809c984 lazdebuggergdbmi: clean up
git-svn-id: trunk@61434 -
2019-06-20 22:59:57 +00:00
martin
0b0838fab1 GdbmiDebugger: Fixed compile for IFDEF darwin
git-svn-id: trunk@61429 -
2019-06-19 19:13:07 +00:00
martin
8874afbe6a FpDebug/LazDebuggerFp: Refactor logging, use LazLogger for all logging.
git-svn-id: trunk@61427 -
2019-06-19 15:26:22 +00:00
martin
f5b60972c9 LazDebugger: add operators for log-enable to main unit too.
git-svn-id: trunk@61426 -
2019-06-19 15:26:19 +00:00
martin
a2744edd0a FpDebug: clean up
git-svn-id: trunk@61420 -
2019-06-18 18:39:24 +00:00
martin
dc28cea48d FpDebug: Fix potential int-overflow.
git-svn-id: trunk@61419 -
2019-06-18 18:39:22 +00:00
martin
9341db12f7 FpDebug, test: fix test.
git-svn-id: trunk@61418 -
2019-06-18 18:39:20 +00:00
martin
f2698e4d03 FpDebug: make fpc wide/unicode-string workaround, depend on fpc-version
git-svn-id: trunk@61417 -
2019-06-18 18:39:19 +00:00
martin
970cf11642 FpDebug: DwarfClassMap (fpc specific classes), use instances.
git-svn-id: trunk@61416 -
2019-06-18 18:39:17 +00:00
martin
5d6b05e0c0 FpDebug: Move reading dwarf-2 length of dyn-array to fpc specific unit (fpdbgdwarffreepascal)
git-svn-id: trunk@61415 -
2019-06-18 18:39:15 +00:00
martin
5effef2a57 FpDebug: Refactor "AttribIdx". Reduce repeated calls.
git-svn-id: trunk@61414 -
2019-06-18 18:39:13 +00:00
martin
befba0c77b FpDebug: Fix mem leak in strings/dwarf-3
git-svn-id: trunk@61413 -
2019-06-18 18:39:11 +00:00
wp
900910e4c4 TAChart: Make sure that builtin ColorSource of TCustomColorMapSeries always provides at least one x value. Patch by Marcin Wiazowski, issue #35705.
git-svn-id: trunk@61409 -
2019-06-17 17:53:09 +00:00
wp
0d2a56d82b TAChart: Provide a mechanism which automatically detects when a ListChartSource is sorted. Slightly modified patch by Marcin Wiazowski, issue #35681.
git-svn-id: trunk@61404 -
2019-06-17 14:38:02 +00:00
maxim
148f877233 Opkman: Turkish translation update, obtained by Balázs
git-svn-id: trunk@61395 -
2019-06-14 21:38:21 +00:00
wp
b90a2cb91b TAChart: Fix cursor not restoring when during PanDrag the left mouse button is pressed (http://www.lazarusforum.de/viewtopic.php?f=18&t=12413).
git-svn-id: trunk@61384 -
2019-06-14 09:50:38 +00:00
mattias
66cbca668d codetools: fixed parsing, issue #35713
git-svn-id: trunk@61375 -
2019-06-13 06:53:27 +00:00
mattias
d86e447ba3 codetools: fixed result, issue #35632
git-svn-id: trunk@61373 -
2019-06-12 22:22:15 +00:00
wp
d1fe198799 TAChart: Fix compilation of tools demo. Issue #35704. Patch by Marcin Wiazowski.
git-svn-id: trunk@61371 -
2019-06-12 20:25:58 +00:00
mattias
6042984507 codetools: fixed result, issue #35632
git-svn-id: trunk@61368 -
2019-06-12 15:33:06 +00:00
mattias
9a966e27f4 pas2js: disable inline
git-svn-id: trunk@61363 -
2019-06-12 10:32:26 +00:00
maxim
85ba39c0d9 LazUtils, Translations unit: improved TPOFile.Modified property handling: initialize its value in constructor and properly set it when removing an item from .po file
git-svn-id: trunk@61361 -
2019-06-11 22:35:16 +00:00
maxim
055480b799 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #35703
git-svn-id: trunk@61360 -
2019-06-11 22:13:29 +00:00
mattias
0eb446e94a lazutils: SysToUTF8: only UTF8_RTL, issue #35696, from Serge Anvarov
git-svn-id: trunk@61352 -
2019-06-10 16:19:00 +00:00
maxim
9843d887dd LazUtils, Translations unit: improve TPOFile constructors (initialize FAllEntries field only once and invalidate statistics regardless of called constructor)
git-svn-id: trunk@61349 -
2019-06-09 22:20:41 +00:00
maxim
436ce8ff84 LazUtils, Translations unit: when updating an item, ensure that translation is empty in .pot file before checking for it. Allows to always correctly clear item's PreviousID value in .pot file.
git-svn-id: trunk@61343 -
2019-06-08 23:00:57 +00:00
maxim
772f1b8843 LazUtils, Translations unit: correctly remove PreviousID parts even in case when empty translation of an item with fuzzy flag set (and non-empty PreviousID) gets populated with translation suggestion
git-svn-id: trunk@61342 -
2019-06-08 22:17:26 +00:00
martin
15cde7a988 SynEdit: Fix position for IME (e.g. Candidate window). Requests are received before "StartComposition". Issue #0035682
git-svn-id: trunk@61340 -
2019-06-07 17:29:16 +00:00
martin
c13bcb61c2 FpDebug, fpd-app: fix some compile errors
git-svn-id: trunk@61335 -
2019-06-07 12:24:00 +00:00
maxim
0ed78196c7 Opkman: regenerated translations and updated Russian translation
git-svn-id: trunk@61334 -
2019-06-06 23:50:15 +00:00
maxim
eb107de5ed LazUtils, Translations unit: fixed setting PreviousID parts of newly changed items (do not remove just set up PreviousID anymore)
git-svn-id: trunk@61333 -
2019-06-06 23:39:39 +00:00
martin
3f6a435b48 FpDebug, fpd-app: fix some compile errors
git-svn-id: trunk@61330 -
2019-06-06 20:45:34 +00:00
martin
9075dc0db1 FpDebug, fpd-app: fix some compile errors
git-svn-id: trunk@61328 -
2019-06-06 20:14:47 +00:00
balazs
ea23df45e0 Opkman: Warn user if a package is incompatible with the current system. Implemented for third party packages too.
git-svn-id: trunk@61325 -
2019-06-06 10:49:34 +00:00
balazs
3791e9a6da Opkman: Warn user if a package is incompatible with the current system.
git-svn-id: trunk@61324 -
2019-06-06 10:02:56 +00:00
wp
cdd32d1ca4 TAChart: Fix handling of XCountMin and YCountMin parameters for built-in chart source of TCustomSeries. Issue #35665, patch by Marcin Wiazowski.
git-svn-id: trunk@61320 -
2019-06-04 14:36:10 +00:00
wp
515b81420b TAChart: Fix issue with sorted TListChartSource when unsorted data are added via DataPoints property. Issue #35664, patch by Marcin Wiazowski.
git-svn-id: trunk@61314 -
2019-06-03 22:00:04 +00:00
wp
96442a5bea TAChart: Fix issue in recently added TCustomSortedChartSource.ItemFind(). Issue #35666, patch by Marcin Wiazowski.
git-svn-id: trunk@61313 -
2019-06-03 21:49:43 +00:00
martin
93d8287c3e SynEdit: Fixed crash in MarkTextAsSaved. Issue #0035635
git-svn-id: trunk@61309 -
2019-06-01 11:27:36 +00:00
wp
bd29c5ea1e TAChart: Minor speed-up of source sorting. Issue #35630, patch by Marcin Wiazowski
git-svn-id: trunk@61305 -
2019-05-31 11:34:43 +00:00
wp
c754e91aae TAChart: Paint series shadow to have a constant pixel distance to original position. Issue #35640, patch by Marcin Wiazowski.
git-svn-id: trunk@61304 -
2019-05-31 09:48:33 +00:00
maxim
81b06ad0e5 LazUtils, Translations unit: calculate translation statistics based on actual file contents, ignoring any corrections made when reading it
git-svn-id: trunk@61303 -
2019-05-30 23:45:14 +00:00
maxim
fc4ab0cea8 LazUtils (Translations unit), POChecker: Introduced VirtualTranslation property to TPOFileItem. It allows to identify items whose empty translations (actually stored in the file) were replaced by some suggestions. Use it in POChecker in order to avoid false warnings about translation contents not yet present in the file.
git-svn-id: trunk@61302 -
2019-05-30 23:21:49 +00:00
maxim
b04174617e LazUtils (Translations unit), POChecker: Store item's fuzzy flag state as read from file in a separate property. Use it where appropriate. This allows to simplify TPOFile constructors and makes code more clear.
git-svn-id: trunk@61299 -
2019-05-28 23:34:39 +00:00
maxim
c38c503588 LazUtils, Translations unit: Removed TPOFile.CleanUp method. Unneeded PreviousID parts of items are now cleaned up when updating items both in .pot templates and .po translations.
git-svn-id: trunk@61293 -
2019-05-26 23:55:57 +00:00
juha
5b5ad75799 LazUtils: Add OnCompare func for TFreeTypeFont's AVLTree. Prevents adding glyphs many times. Issue #35627.
git-svn-id: trunk@61291 -
2019-05-25 09:36:51 +00:00
maxim
837b7ebe9c LazUtils, Translations unit: always remove Translation and PreviousID parts of items in .pot templates
git-svn-id: trunk@61290 -
2019-05-24 23:39:24 +00:00
maxim
f7571f5012 LazUtils, Translations unit: When copying found translation value to newly added item, do not copy flags from found item.
This can be confusing for translator (in case if e.g. no-object-pascal-format flag is copied) and desyncs flags in translation from flags in base file (this will cause all flags missing in base file to be removed from translation on next regeneration). Moreover, set of these flags can differ depending on translation in case they are copied from different items which have different flags (e.g. in partially translated files).

git-svn-id: trunk@61284 -
2019-05-23 23:30:27 +00:00
maxim
cc4f34a35e LazUtils, Translations unit: Simplified ModifyFlag method. Now we treat space character as a flag delimiter in all cases, thus improving parsing of flags in case of missing comma characters.
git-svn-id: trunk@61283 -
2019-05-23 22:52:31 +00:00
wp
a772554251 TAChart: Fix drawing issues in TBarSeries for extremely narrow bars. Issue #35623.
git-svn-id: trunk@61282 -
2019-05-23 20:56:48 +00:00
maxim
a620891184 LazUtils, Translations unit: added comment
git-svn-id: trunk@61281 -
2019-05-22 23:13:33 +00:00
maxim
ff409fc05d Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #35619
git-svn-id: trunk@61280 -
2019-05-22 22:56:02 +00:00
maxim
8078feaa66 LazUtils, Translations unit: When setting flags for an item in .po file, omit double quote (") characters in order to avoid regeneration instability. These characters are not meant to be present in flags anyway according to examples in gettext documentation.
git-svn-id: trunk@61279 -
2019-05-22 22:43:57 +00:00
juha
79b8e496b5 IDE: Use proper case for Target OS names. Issue #35589, patch from Alexey Tor.
git-svn-id: trunk@61274 -
2019-05-22 14:41:36 +00:00
wp
01762d1065 TAChart: Change TAnimatedChartSource Extent properties to be like those of TSortedChartSource. Issue #35612, patch by Marcin Wiazowski.
git-svn-id: trunk@61270 -
2019-05-22 10:47:26 +00:00
wp
b9b93e077d TAChart: Revert r61263 #aa69a266b0 for TADiagramDrawing.pas.
git-svn-id: trunk@61269 -
2019-05-22 09:57:30 +00:00
wp
95ca9460ab TAChart: Exit public series methods when series is empty. Issue #35618, patch by Marcin Wiazowski.
git-svn-id: trunk@61268 -
2019-05-22 09:32:35 +00:00
maxim
592a9daf42 LazUtils, Translations unit: ensure uniqueness of flags in .po file items, ignore empty flags
git-svn-id: trunk@61267 -
2019-05-21 23:50:58 +00:00
wp
e3851a436a TAChart: Add method AddXListY to TListChartSource. Issue #35613, patch by Marcin Wiazowski.
git-svn-id: trunk@61266 -
2019-05-21 22:55:32 +00:00
wp
465e3213cc TAChart: Make incidentally published methods of TSortedChartSource public. Issue #35611, patch by Marcin Wiazowski.
git-svn-id: trunk@61265 -
2019-05-21 22:47:16 +00:00
wp
b232cf46c0 TAChart: Publish "forgotten" properties (Visible, BorderSpacing) for TChartNavPanel and TChartLegendPanel (Issue #35615).
git-svn-id: trunk@61264 -
2019-05-21 22:39:44 +00:00
wp
aa69a266b0 TAChart: Don't check class types twice (issue #35614).
git-svn-id: trunk@61263 -
2019-05-21 22:26:14 +00:00
wp
0df144030a TAChart: Avoid exception of savedemo by svg drawer in IDE when a font file cannot be loaded by EasyLazFreeType (https://forum.lazarus.freepascal.org/index.php/topic,45461.0.html)
git-svn-id: trunk@61256 -
2019-05-20 23:18:19 +00:00
wp
52f5821504 TAChart: Add palette icon for TSortedChartSource.
git-svn-id: trunk@61255 -
2019-05-20 23:14:43 +00:00
wp
a0499530b5 TAChart: Publish properties XCount and YCount for TUserDefinedChartSource.
git-svn-id: trunk@61254 -
2019-05-20 23:13:29 +00:00
wp
bab9f23e1d TAChart: Add demo for SortedChartSource. Based on code by Marcin Wiazowski (issue #35356). Some cosmetic changes in the chartsourcedemo.
git-svn-id: trunk@61253 -
2019-05-20 21:56:17 +00:00
wp
3992921b51 TAChart: Optimized floating point compare routine for sorting. Issue #35356, patch by Marcin Wiazowski
git-svn-id: trunk@61252 -
2019-05-20 21:03:24 +00:00
wp
adc9225cec TAChart: New TSortedChartSource. Issue #35356, patch by Marcin Wiazowski.
git-svn-id: trunk@61251 -
2019-05-20 20:54:41 +00:00
jesus
83f87d971d CairoCanvas: implements SetPenMode, from Anton Kavalenka, issue #35425
git-svn-id: trunk@61249 -
2019-05-20 19:35:05 +00:00
wp
0fce68a18e TAChart: Rework of sorting by TCustomChartSource and TListChartSource. Issue #35356, patch by Marcin Wiazowski
git-svn-id: trunk@61248 -
2019-05-20 17:32:47 +00:00
martin
71fad749a4 GdbmiDebugger, test: Prevent error pop ups.
git-svn-id: trunk@61247 -
2019-05-19 21:23:37 +00:00
martin
a6a89eba31 GdbmiDebugger: Ignore warning by gdb 8.3
git-svn-id: trunk@61246 -
2019-05-19 21:23:35 +00:00
wp
31de6345cf LazUtils: Use exception class EFreeType instead of general Exception in EasyLazFreeType.
git-svn-id: trunk@61244 -
2019-05-18 23:23:11 +00:00
wp
a0c1900d66 TAChart: Fix demo of svg drawer on non-Windows systems.
git-svn-id: trunk@61243 -
2019-05-18 23:08:18 +00:00
martin
6f4a672236 Revert "Revert "GdbmiDebugger, Windows: Improved speed."" / WaitForSingleObject did not wait.
git-svn-id: trunk@61241 -
2019-05-18 22:03:35 +00:00
wp
5014b158a4 TAChart: Fix svg drawer not finding fonts on Mac (https://forum.lazarus.freepascal.org/index.php/topic,45461.msg321532.html).
git-svn-id: trunk@61240 -
2019-05-18 21:53:16 +00:00
martin
636383149c GdbmiDebugger, Windows: Improved speed. Wait for gdb responses, using WaitForSingleObject
git-svn-id: trunk@61239 -
2019-05-18 14:26:24 +00:00
martin
6dc1e4fd75 Revert "GdbmiDebugger, Windows: Improved speed. Wait for gdb responses, with less sleep calls (increase cpu usage) / Option to disable for laptops/etc."
This reverts commit 61132 #ef247de448, 61130 #d6a6435a9c, 61117 #a08b1f9560

git-svn-id: trunk@61238 -
2019-05-18 14:26:22 +00:00
maxim
dd661a10de Translations: regenerated all relevant translation files after r61231 #5b72fe1d56
git-svn-id: trunk@61233 -
2019-05-16 23:10:15 +00:00
maxim
e27c505be2 LazUtils, Translations unit: treat items with no-object-pascal-format flag as having correct formatting (never mark them with fuzzy and badformat flags for the formatting reasons)
git-svn-id: trunk@61232 -
2019-05-16 23:05:04 +00:00
maxim
5b72fe1d56 LazUtils, Translations unit: fixed/improved propagation logic of translation items user flags:
In base .pot file (template):
- Newly created item has no user flags.
- Existing updated item has its user flags kept intact.

In translation .po file:
- Newly created item gets user flags copied from base file (all flags missing in base file are removed).
- Existing updated item gets user flags copied from base file (all flags missing in base file are removed except fuzzy flag, whose state is kept).

After copying user flags, object-pascal-format, badformat and fuzzy flags are set automatically for each item (if needed).

This makes flags in translations (.po files) follow the ones from base file (.pot file) when they are added or removed in all cases (even when an item in .pot file gets its last flag deleted).

git-svn-id: trunk@61231 -
2019-05-16 22:49:46 +00:00
jesus
c61b928517 CairoCanvas: Fix cairocanvas example and add note for windows
git-svn-id: trunk@61228 -
2019-05-15 01:55:16 +00:00
maxim
b68407fc52 Translations: regenerated all relevant translation files after r61225 #75a8b1b83c
git-svn-id: trunk@61226 -
2019-05-13 23:21:39 +00:00
maxim
75a8b1b83c LazUtils: .pot/.po file generation and update improvements by Yuriy Sydorov, bug #35543:
- Automatically set the "object-pascal-format" flag for strings containing format chars. It allows tracking of format errors by external tools such as Poedit.
- The "no-object-pascal-format" flag can be specified for a string in the main .pot file if needed.
- It is possible to specify flags in the main .pot file for particular strings and these flags will be preserved and propagated to language specific .po files during the update.
- Fixed delimiter for flags. At least Poedit expects that flags are separated by comma and space, not just comma.
- TPOFileItem.ModifyFlag() can accept the comma separated list of flags and returns true if the Flags property has been modified.

git-svn-id: trunk@61225 -
2019-05-13 23:19:17 +00:00
maxim
117265f357 LazUtils: removed unused stale translation files
git-svn-id: trunk@61224 -
2019-05-13 23:09:38 +00:00
hnb
298236df33 Patch from jmpessoa for IDE crash when closing some forms (highly visible for LAMW)
git-svn-id: trunk@61223 -
2019-05-13 23:03:33 +00:00
juha
eda8d749c2 Project Groups: Allow adding multiple projects to a group at one go. Issue #34989.
git-svn-id: trunk@61217 -
2019-05-13 10:53:07 +00:00
michael
0edb6832bf * Improve compilation experience under 3.0.4
git-svn-id: trunk@61215 -
2019-05-13 06:59:46 +00:00
maxim
8f24e15b5a Opkman: regenerated translations and updated Russian translation
git-svn-id: trunk@61214 -
2019-05-12 23:17:35 +00:00
maxim
a1312cc978 Opkman: improved question
git-svn-id: trunk@61213 -
2019-05-12 23:13:08 +00:00
wp
1740585023 TAChart: Make sure that TCustomChartSource.IsSorted is true only when the source really is sorted. Issue #35356, patch by Marcin Wiazowski.
git-svn-id: trunk@61211 -
2019-05-12 20:21:17 +00:00
michael
96567e8916 * Refresh list of recent files when MRUManager is restored.
git-svn-id: trunk@61206 -
2019-05-11 20:06:25 +00:00
michael
91d5a3d033 * Lazwebextra no longer needed (since a long time)
git-svn-id: trunk@61204 -
2019-05-11 17:06:52 +00:00
michael
47e62d674c * Move SQLDB REST bridge functionality to separate directory, as per Mattias' request
git-svn-id: trunk@61203 -
2019-05-11 16:03:10 +00:00
balazs
3fbcfaafe5 Opkman: Hide Options->OpenSSL on non windows systems.
git-svn-id: trunk@61199 -
2019-05-11 06:41:54 +00:00
mattias
7906467427 codetools: sourcecloser: keep implementation keyword
git-svn-id: trunk@61197 -
2019-05-10 13:18:14 +00:00
mattias
e408bd979a IDE: fixed adding event, when property unit has no implementation section
git-svn-id: trunk@61195 -
2019-05-10 13:11:43 +00:00
mattias
2248ddea17 codetools: added option -M syntaxmode
git-svn-id: trunk@61193 -
2019-05-10 08:23:03 +00:00
wp
868bbcd076 TAChart: Micro-optimization by declaring (some) parameters as "const". Issue #35356, modified patch by Marcin Wiazowski.
git-svn-id: trunk@61190 -
2019-05-09 12:42:23 +00:00
wp
68f8ce110e TAChart: Move TCustomSortedChartSource to TACustomSource units. Issue #35356, modified patch by Marcin Wiazowski.
git-svn-id: trunk@61189 -
2019-05-09 12:22:17 +00:00
wp
cf39c4e02a TAChart: Improved implementation of IsEquivalent. Issue #35537, patch by Marcin Wiazowski.
git-svn-id: trunk@61188 -
2019-05-09 10:32:43 +00:00
balazs
be344c2282 Opkman: OptionsFrm more meaningful description.
git-svn-id: trunk@61187 -
2019-05-09 09:56:45 +00:00
balazs
b8b713f458 Opkman: Ask to download openssl, if it is missing (Win), issue #35545
git-svn-id: trunk@61186 -
2019-05-09 09:42:31 +00:00
jesus
123a22f231 LazReport: removed old, inactive code.
git-svn-id: trunk@61185 -
2019-05-09 04:56:13 +00:00
martin
d879259b62 LazLogger: fix wrong override for inherited method
git-svn-id: trunk@61176 -
2019-05-08 12:01:54 +00:00
michael
7bee5358e4 * GUI SQLDB Rest Schema editor, in IDE and standalone
git-svn-id: trunk@61174 -
2019-05-07 15:38:19 +00:00
balazs
76c7bf9958 Opkman: Remove minimize button from the main form.
git-svn-id: trunk@61172 -
2019-05-07 14:17:27 +00:00
wp
854d6a57f8 TAChart: More user-friendly zooming behavior when extent limits are active. Issue #35344, patch by Marcin Wiazowski
git-svn-id: trunk@61171 -
2019-05-07 14:00:33 +00:00
wp
489364c2aa TAChart: Rework of zooming. Issue #35344, patch by Marcin Wiazowski.
git-svn-id: trunk@61170 -
2019-05-07 09:59:37 +00:00
wp
9d5c5b671a TAChart: Avoid occasional unnecessary flicker by TZoomDragTool. Issue #35459, modified patch by Marcin Wiazowski.
git-svn-id: trunk@61166 -
2019-05-06 16:27:31 +00:00
juha
3470923dd4 LazUtils: Remove incorrect code dealing with strings on Windows, use SysUtils code instead. Issue #35512, patch from Serge Anvarov.
git-svn-id: trunk@61165 -
2019-05-06 14:24:37 +00:00
martin
fec293914e LazReport: fix compile
git-svn-id: trunk@61163 -
2019-05-06 10:44:46 +00:00
martin
a17ed6695c fix compare function
git-svn-id: trunk@61158 -
2019-05-05 15:53:28 +00:00
martin
eb2966c1f0 SynEdit: fix compare function
git-svn-id: trunk@61157 -
2019-05-05 15:48:43 +00:00
martin
120e246c89 LazReport: fix compare function
git-svn-id: trunk@61155 -
2019-05-05 15:48:40 +00:00
martin
59d9225b25 LazReport: fix potential overflow in compare function
git-svn-id: trunk@61154 -
2019-05-05 15:35:56 +00:00
martin
f7c82fb295 LazReport: fix potential rangecheck in compare function
git-svn-id: trunk@61152 -
2019-05-05 15:30:04 +00:00
martin
4d8827642a SynEdit: fix potential rangecheck in compare function
git-svn-id: trunk@61150 -
2019-05-05 15:30:00 +00:00
martin
dec42c1e4d LazDebugger Tests: Improve error feedback
git-svn-id: trunk@61149 -
2019-05-05 15:29:58 +00:00
martin
1b35c31849 OPM: register in component palette pages dropdown
git-svn-id: trunk@61148 -
2019-05-05 13:59:53 +00:00
martin
6ce19f4c88 IDE: Allow to register extra entries in component palette pages dropdown
git-svn-id: trunk@61147 -
2019-05-05 13:59:51 +00:00
martin
2c7180c156 LeakView: updated Makefile
git-svn-id: trunk@61145 -
2019-05-05 11:21:27 +00:00
martin
4e01502f4b LeakView: updated Makefile
git-svn-id: trunk@61144 -
2019-05-05 11:15:10 +00:00
martin
d9dc0e04d3 LeakView: updated Makefile.fpc
git-svn-id: trunk@61143 -
2019-05-05 11:12:09 +00:00
martin
e5590c5ee6 GdbmiDebugger: fix function ref under stabs
git-svn-id: trunk@61142 -
2019-05-05 10:54:23 +00:00
martin
c1833857ed GdbmiDebugger: tests
git-svn-id: trunk@61141 -
2019-05-05 10:54:22 +00:00
dmitry
2b46c6d5e0 opengl: prevent double mouse-down events for cocoa. bug #35480
git-svn-id: trunk@61135 -
2019-05-04 16:08:15 +00:00
martin
677180e6e5 FpGdbmiDebugger: Don't defer skNone to GDB. gdb may crash, and fpdebug may have some data. Issue #0035477
git-svn-id: trunk@61133 -
2019-05-03 21:24:59 +00:00
martin
ef247de448 GdbmiDebugger, Windows: Improved commit 61117 #a08b1f9560 ("Improved speed..."): Only skip sleep, if there was a recent write to gdb. (Response expected)
git-svn-id: trunk@61132 -
2019-05-03 21:24:57 +00:00
martin
d6a6435a9c GdbmiDebugger, Windows: Fix commit 61117 #a08b1f9560 ("Improved speed..."): Make sure Idle and ProcessMessages are called, even with small TimeOuts
git-svn-id: trunk@61130 -
2019-05-03 20:45:01 +00:00
martin
a08b1f9560 GdbmiDebugger, Windows: Improved speed. Wait for gdb responses, with less sleep calls (increase cpu usage) / Option to disable for laptops/etc.
git-svn-id: trunk@61117 -
2019-05-03 15:16:31 +00:00
martin
29735fe548 GdbmiDebugger: Workaround for gdb bug https://sourceware.org/bugzilla/show_bug.cgi?id=16016
git-svn-id: trunk@61116 -
2019-05-03 15:16:30 +00:00
martin
306a196ebd GdbmiDebugger: Removed unused code "CreatePTypeValueList"
git-svn-id: trunk@61114 -
2019-05-03 15:15:02 +00:00
mattias
1d8e8b2751 codetools: fixed node start class sections
git-svn-id: trunk@61109 -
2019-05-03 08:54:34 +00:00
dmitry
8295312cc5 opengl: revert unintended automatic changes made by the newer IDE version.
git-svn-id: trunk@61108 -
2019-05-02 14:27:35 +00:00
dmitry
9c59e031fc opengl: update cocoa compilation for the latest update with keyhandling
git-svn-id: trunk@61107 -
2019-05-02 14:25:48 +00:00
martin
b5f20a389f LeakView: Use FpDebug to resolve traces without lines
git-svn-id: trunk@61105 -
2019-05-02 01:05:07 +00:00
martin
4544b99ea8 LazDebuggerGDBMI: fix mem-leak when cross debugging (new LazGDeBugControl)
git-svn-id: trunk@61104 -
2019-05-02 01:05:05 +00:00
martin
b345479693 LazDebuggerGDBMI: tests, add verbosity
git-svn-id: trunk@61103 -
2019-05-02 01:05:03 +00:00
martin
c3dedf9cc0 LazDebuggerGDBMI: Improve getting exception class/msg with dwarf-3
git-svn-id: trunk@61102 -
2019-05-02 01:05:01 +00:00
balazs
be98f8898a Opkman: Update default Lazarus/FPC version.
git-svn-id: trunk@61100 -
2019-05-01 16:40:07 +00:00
martin
8c3b6003f7 GdmbiDebugger: use new LazGDeBugControl for cross debugging (needs LazGDeBugControl.exe in gdb directory)
git-svn-id: trunk@61090 -
2019-04-30 17:38:16 +00:00
martin
fdabfa94a8 GdmbiDebugger: Rename class TGDBMIDebugger to TGDBMIDebuggerBase
git-svn-id: trunk@61089 -
2019-04-30 17:38:15 +00:00
martin
76489254d5 LazDebuggerGdbmi, Windows: New app to send signal to target when cross-debugging
git-svn-id: trunk@61088 -
2019-04-30 17:38:13 +00:00
wp
ae5ab44793 TAChart: Avoid uninitialized parameter in TBarSeries.Extent calculation when XCount = 0.
git-svn-id: trunk@61083 -
2019-04-29 16:51:05 +00:00
wp
fda91e1ea3 TAChart: Calculate TCustomChartSource.BasicExtent based on sorting parameters only when the source really is sorted.
git-svn-id: trunk@61082 -
2019-04-29 16:46:17 +00:00
wp
1fdda19c69 TAChart: Minor improvement in ColorMapSeries' built-in color sources. Issue #35463, patch by Marcin Wiazowski.
git-svn-id: trunk@61081 -
2019-04-29 16:36:29 +00:00
wp
6c66672e31 TAChart: Fix access to cached ChartListSource extents while the source is being updated. Issue #35463, patch by Marcin Wiazowski.
git-svn-id: trunk@61080 -
2019-04-29 16:34:46 +00:00
wp
0979ae36e8 TAChart: Fix issues of TCalculatedChartsource related to YCount = 0 and Y value reordering.
git-svn-id: trunk@61079 -
2019-04-29 13:16:45 +00:00
martin
67f6274cad LazDebuggerGdbmi: Improve "Reset Debugger". Ensure timeouts, if certain options lead to endless waiting.
git-svn-id: trunk@61068 -
2019-04-28 13:31:45 +00:00
martin
dfcb3321a3 LazDebuggerGdbmi: Improve whitelisted commands for memory limit
git-svn-id: trunk@61067 -
2019-04-28 13:31:43 +00:00
martin
157ea70bdb FpDebug: Fix upper/lower spelling of Contents/MacOS
git-svn-id: trunk@61066 -
2019-04-27 15:10:17 +00:00
dmitry
dc8600b0f2 opengl: revert accidental changes to the example
git-svn-id: trunk@61061 -
2019-04-26 13:28:43 +00:00
dmitry
e653d0cc68 opengl: forcing painting even with NSgraphicContext currentContext assigned. Seems to be Mojave specific behaviour not to provide context. bug #34983
git-svn-id: trunk@61060 -
2019-04-26 13:26:27 +00:00
dmitry
59587a0452 opengl: adding support for Cocoa mouseMove events for Right and Middle mouse buttons. Based on the patch by Chris Rorden. bug #34938
git-svn-id: trunk@61059 -
2019-04-26 12:57:20 +00:00
martin
142b226591 LazDebuggerFpGdbmi: fixed a crash in watches eval, after cancel of watch eval due to dbg error.
git-svn-id: trunk@61056 -
2019-04-25 17:43:00 +00:00
juha
c966415648 CairoCanvas: Allow saving TCairoSVGCanvas to a stream. Support Pen.Mode pmXor. Issues #35425,#30293. Patch from Anton Kavalenka.
git-svn-id: trunk@61052 -
2019-04-24 19:45:35 +00:00
martin
0f2eece126 DwarfViewer: remove -WC
git-svn-id: trunk@61039 -
2019-04-22 12:32:42 +00:00
juha
3df7d8afe5 LCL, LazUtils: Move string manipulation functions from LCLProc to LazStringUtils.
git-svn-id: trunk@61038 -
2019-04-22 09:00:32 +00:00
juha
0487347061 IDE: Allow only valid revision numbers to show in IDE title.
git-svn-id: trunk@61030 -
2019-04-21 14:27:53 +00:00
martin
519161a185 SynEdit, GTK2: fix ghost caret during scrolling
git-svn-id: trunk@61028 -
2019-04-20 19:57:06 +00:00
joost
cb9c628098 Codetools: Enabled possibility to compile with fpmake
git-svn-id: trunk@61027 -
2019-04-20 19:02:05 +00:00
joost
8ed5140032 Fppkg: Omit files from fpmake.pp which are not available on any target
git-svn-id: trunk@61025 -
2019-04-20 09:53:50 +00:00
wp
a58d97ece8 TAChart: Properly set TCustomAnimatedChartSource.XCount and .YCount for the case that its Origin in nil. Issue #35388, modified patch by Marcin Wiazowski.
git-svn-id: trunk@61022 -
2019-04-19 15:39:03 +00:00
wp
5004cea104 TAChart: Update func_series tutorial to reflect new OnExtentValidate event.
git-svn-id: trunk@61021 -
2019-04-19 12:29:00 +00:00
wp
aae7dd012f TAChart: Properly set TCalculatedChartSource.XCount and .YCount for the case that its Origin in nil. Issue #35388, based on patch by Marcin Wiazowski.
git-svn-id: trunk@61020 -
2019-04-19 11:56:19 +00:00
wp
c0f90521ad TAChart: New extent validation event for TChart. Deprecate OnExtentChanging event. Issue #35390, patch by Marcin Wiazowski.
git-svn-id: trunk@61017 -
2019-04-18 14:11:22 +00:00
wp
81f4762dba TAChart: Fix TCustomChartSource.FindBounds for XCount = 0. Add test cases.
git-svn-id: trunk@61016 -
2019-04-18 13:49:58 +00:00
mattias
a06e60a246 undo
git-svn-id: trunk@61011 -
2019-04-18 08:11:56 +00:00
mattias
ab0aa9bf2a IDE: fixed uninitialized result, issue #35411, from Ondrej
git-svn-id: trunk@61010 -
2019-04-18 08:11:11 +00:00
martin
e2056f0494 FpDebug: Watches/Locals: Display "Unknown type" instead of "Identifier not found" for unimplemented/unknown data/types
git-svn-id: trunk@61005 -
2019-04-17 23:53:07 +00:00
wp
72317a44ee TAChart: TOpenHighLowCloseSeries and TBoxAndWhiskerSeries accept XCount=0. Some missing fixes in the basic source classes for XCount=0.
git-svn-id: trunk@61004 -
2019-04-17 21:37:21 +00:00