Commit Graph

4014 Commits

Author SHA1 Message Date
maxim
eb9af8aa4d Merged revision(s) 59988 #bc4e1da857 from trunk:
Translations: Polish translation update by Sławomir Niedziela, bug #34788
........

git-svn-id: branches/fixes_2_0@59996 -
2019-01-04 14:33:40 +00:00
mattias
8e5cf7e2e6 set fixes version 2.0.0RC3
git-svn-id: branches/fixes_2_0@59876 -
2018-12-20 09:35:35 +00:00
martin
f2c958611a Merged revision(s) 59480 #2af35ade49, 59509 #e4adcb2815, 59615-59616 #4fd6f41ee5-#4fd6f41ee5, 59641 #4e95eebb41, 59675 #503598554b, 59688 #56745aed40, 59695 #abec187707, 59781-59782 #82671b823c-#82671b823c from trunk: Testcases for Debugger
git-svn-id: branches/fixes_2_0@59854 -
2018-12-18 15:41:01 +00:00
maxim
21fb0ba3d9 Merged revision(s) 59014-59015 #121f09456b-#121f09456b, 59017 #4590a4f178, 59019-59029 #c002ba7df4-#c002ba7df4, 59033-59036 #7a0195312f-#7a0195312f, 59039 #b3b559273c, 59057-59058 #f000038a2b-#f000038a2b, 59060-59063 #23619be5e4-#23619be5e4, 59065 #4d1d0ac454, 59086-59088 #6da9bb3520-#6da9bb3520, 59102-59107 #55d94ff91b-#55d94ff91b, 59129-59132 #b6534f43ef-#b6534f43ef, 59134-59135 #c086c56cde-#c086c56cde, 59140-59141 #fdfa68c0e2-#fdfa68c0e2, 59163-59164 #61657c490e-#61657c490e, 59178-59179 #aa5acf09a9-#aa5acf09a9, 59183 #ed5c165da1, 59185 #a4503bccc0, 59187-59189 #9c1f561955-#9c1f561955, 59195-59196 #bbd07791c8-#bbd07791c8, 59205-59206 #5bb6685e21-#5bb6685e21, 59231-59238 #9b98baa793-#9b98baa793, 59247 #a9e858cf2a, 59249-59252 #003ad96f6d-#003ad96f6d, 59273 #18dbe2687b, 59329-59331 #a341d94c64-#a341d94c64, 59362-59363 #62db4e537d-#62db4e537d, 59380 #b5d3a2e2ab, 59397 #b135ccf3ac, 59492 #f8e9e6474b, 59620 #ed79e7c140, 59627-59628 #7382f53434-#7382f53434, 59645-59646 #f3a0a55e46-#f3a0a55e46, 59674 #477db40534, 59725-59726 #c7ae0282b6-#c7ae0282b6, 59746-59756 #d0e6eb11b6-#d0e6eb11b6 from trunk:
cocoa: rename frame view to handleview. HandleView would be used as HWND for any composed control
........
cocoa: remove lclIsHandle method completetly. Handle use is defined on WS level and stored with the callback object
........
cocoa: prevent MainMenu from being set on a designed form
........
cocoa: switch paintstruct back from dynamic (originally changed back in 2012) to static. Saving on heap change call
........
cocoa: remove the direct reference between TCocoaWindow and LCLForm
........
cocoa: initial support for enabling/disabling menus on ShowModal
........
cocoa: fix compilation issue made by the prev commit
........
cocoa: restore filtering of ampersands in menu titles
........
cocoa: support of BorderStyle property for the common rectangular controls
........
cocoa: adding support for borderstyle of a customchecklist box
........
cocoa: adding cocoawschecklst.pas to the list of units in lcl.lpk file
........
cocoa: extend support of CGContextRef (for macOS 10.10 and later). Adding init of context for custom drawn dropdownlist
........
cocoa: resolve mem leak in listbox custom draw
........
cocoa: update mainmenu implementaiton. Added support for Hide Others and Show All menu items
........
cocoa: preventing NSTabView to appear in chain of responders. That should prevent key event loss. (a very odd cocoa feature)
........
cocoa: update combobox (NSComboBox) to retain the selection after reopenning the popup window
........
cocoa: added code, but not enforcing it for change in border style of TComboBox
........
cocoa: fix in TListBox.setItemIndex to replace the selection, rather than extend it. #34290
........
cocoa: reduce the amount of focus (responders) related code. Process the focus handling in NSWindow only (rather than each control individually). Update tab switch notification to report tab change prior to focus switch
........
cocoa: replacing default keyDown handling routine, with a cusomized one. The reason: unable to fully predict the event processing within Cocoa, causing some keys to be lost
........
cocoa: removing tabControl workaround
........
cocoa: working around macOS problem with transactions during making a keyWindow
........
cocoa: simplify and more robust mac to LCL virtual key codes conversion
........
cocoa: update keyDown handling for custom controls
........
cocoa: remove debugging output
........
cocoa: reverting an attemtped workaround (r59060) to fix the problem with a modality during windows activate
........
cocoa: fix the compiler warning
........
cocoa: an attempt to resolve the issue during crashes, if a (cocoa) modal window is called during Activation of a window
........
cocoa: support for Services menu
........
cocoa: restore radio-menues functionality. #34310
........
cooca: allow autosized columns to be user sized as well. #34311. Patch by David Jenkins
........
cocoa: proper selection of an image index for a sub-item in listview. #34313. Patch by David Jenkins
........
cocoa: adding the support for TDisplayCode to determine a rectangle in ListView. Based on patch by David Jenkins. #34312
........
cocoa: update attachmenu process, so NSMenu can be added into NSMenuItem as a subitem. #34293
........
cocoa: making sure that window with popup_parent would stay above when attaching to the parent (and remain a keywindow). #34301
........
cocoa: update modality using modalitySessions (to keep event processing in place)
........
cocoa: removed the previously added hack for modal window on activation. Doesn't work on every macOS, as well as causing some issues
........
cocoa: improve tracking of menu changes when modal dialogs are switching. Merged menu routines from coocaojbect.inc into cocoaint.pas
........
cocoa: update menus switch in modal. The proper menu history save for modal windows without a menu
........
cocoa: restoring keyboard processing events for NSWindow. #34301
........
cocoa: adding support for focus rect of TMemo
........
cocoa: minimze table view invalidation on add / delete items. #34319. Patch by David Jenkins
........
cocoa: restore key processing, to let hot keys to triggers... odd
........
cocoa: propagating LM_CONTEXTMENU to parents
........
cocoa: the first oddity of modal sessions. Context Menu would not call an action to indicate the menu item selected #34325
........
cocoa: using a single place to process keyDown event related to LCL callbacks
........
cocoa: update key event handling. Not all characters from macOS are suitable for LCL KeyPress
........
cocoa: adding exception for processing key equivalents and return key, if a first responder is capable of processing the return key. #34354
........
cocoa: additional control over cocoa window levels
........
cocoa: implementing owner drawn for status bar panels. #34338
........
cocoa: removed redundant key emulation events (introduced with #32829). With the latest changes in key handling events those are no longer needed
........
cocoa: updating drawing of ownerdrawn statusbar
........
cocoa: update key processing, adding more exception for non-printable keys
........
cocoa: adding a check for TCocoaTextLayout.Draw procedure. Do nothing if string is empty or invalid. Prevents SynEdit crashes for unicode characters
........
cocoa: fix the conversion between WS to LCL tab index #34361
........
cocoa: update insertion and removal of rows in cocoa table (fix implementation from #34319)
........
cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
........
cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
........
cocoa: fix for a memory leak in overlay (designer) form
........
cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
........
cocoa: fix controls leaking spinedit
........
cocoa: improve mouse handling of spinedit
........
cocoa: dereferncing tracked control earlier
........
cocoa: fix drawing overlays - resing overlay designer view to the form
........
cocoa: fix the combobox itemindex when the new text is not the list
........
cocoa: update deallocation of read-only combobox
........
cocoa: fix compiler warning
........
cocoa: preventing too high values on measuring text with soft-line breaks. #34382
........
cocoa: fix combobox onchange which fixes also lazreport designer on second opening and also fixes issue #33800
........
cocoa: prevent listview premature handle allocation. Fixes the issue of IDE not being able to add list view onto a designer form
........
cocoa: workaround for a problem with 64-bit boolean parameter passing (see fpc issue #34411 for details)
........
cocoa: additional methods for handling fpc issue #34411
........
cocoa: additional methods (nsview, nscontrol, nsbuttons, nstextfield) for handling fpc issue #34411
........
cocoa: using Device colorspace, instead of Calibrated colorspace for GDI objects. #34427
........
cocoa: update the behaviour of GetFocus function to use HandleView stored with callback object. #34450
........
cocoa: preventing spinedit value from being change while destroying the handle. #34468
........
cocoa: patch by David Jenkins - forcefully invalidate the content document for manual scroll. Should help with redrawing customcontrols for 10.14. #34478
........
Printers: Support for Cocoa printing, updated examples.
........
cocoa: restoring the code to identify VK code based on the character (support for Dvorak keyboards). Any national characters would still be determined based on keyCode. Suggested by Zoë Peterson
........
cocoa: Fixes TTabControl, it previously was placing controls inside it with Left=0 as if they had Left=-20, because NSTabView is not meant to receive views inside it like that, we need a different handle for TTabControl and TPageControl
........
cocoa: reporting extended UTF8 character as a question mark for ansi char
........
cocoa: using additional storage for keeping checked state of a checklist items. #34590
........
cocoa: any font can utf8 (unicode)... even if it doesn't. #34594
........
cocoa: fix the issue with using enclosing scrollView for mouse position check. #34516
........
cocoa: updating LCL overrides to recognize different boolean types used in FPC headers. #34609
........
cocoa: update OpenGL component to use LCLObjCBoolean type (rel #34609)
........
cocoa: move NSResponderHotKeys to cocoawindows.pas unit. #34609
........
cocoa: cleanup in calendar (datepicker) component. #34609
........
cocoa: cleanup in calendar (datepicker) component - removing unused units. #34609
........
cocoa: registering cocoadatepicker unit with lcl.lpk
........
cocoa: update type cocoawsmenu type switching from boolean to LCLObjCBoolean. #34609
........
cocoa: update printing component to use LCLObjCBoolean type
........
cocoa: update removal of menuItems. Removing an item from parent menu rather than from parentItem's menu. #34602
........
cocoa: update menus to be able to remove separator items
........
cocoa: menus - fix cocoa app mem leak for allocated TcocoaMenuItems
........
cocoa: additional code to handle unassigning of trayicon menu
........
cocoa: making sure that TEdit and TComboBox (editable) are trully single line
........

git-svn-id: branches/fixes_2_0@59765 -
2018-12-09 22:24:53 +00:00
maxim
d94176ebd9 Unmerged revision 59492 #f8e9e6474b: Printers: Support for Cocoa printing, updated examples.
It breaks compilation, because it depends on Cocoa updates which are not currently present in fixes_2_0.

git-svn-id: branches/fixes_2_0@59723 -
2018-12-03 22:20:05 +00:00
maxim
05f4330964 Merged revision(s) 59492 #f8e9e6474b from trunk:
Printers: Support for Cocoa printing, updated examples.
........

git-svn-id: branches/fixes_2_0@59700 -
2018-11-29 22:46:29 +00:00
maxim
50a5e72bfa Merged revision(s) 59617 #c8c7a1723a from trunk:
Translations: Chinese translation update by robsean, bug #34579
........

git-svn-id: branches/fixes_2_0@59619 -
2018-11-22 00:11:42 +00:00
mattias
3d821b3797 fp debug: Makefiles
git-svn-id: branches/fixes_2_0@59515 -
2018-11-11 21:08:13 +00:00
mattias
dc328ba07a lldb-fp debug: Makefiles
git-svn-id: branches/fixes_2_0@59514 -
2018-11-11 21:07:56 +00:00
mattias
dc034945bb Opkman: Add high-dpi icon for the IDE (by Roland Hahn)
git-svn-id: branches/fixes_2_0@59513 -
2018-11-11 21:07:37 +00:00
mattias
88da7ee05d lldb debuggers: added license info / fp-lldb now beta
git-svn-id: branches/fixes_2_0@59512 -
2018-11-11 21:07:17 +00:00
maxim
e31db94a14 Merged revision(s) 59462 #13ce299e78, 59466 #ef65ce480c, 59470 #efb0c7b281 from trunk:
IDE: Additional high-dpi icons for folder images/designer (by Roland Hahn)
........
IDE: Updated high-dpi z order icons (by Roland Hahn)
........
IDE: Add missing images from images/designer (issue #34514).
........

git-svn-id: branches/fixes_2_0@59472 -
2018-11-06 21:31:46 +00:00
maxim
59fa6c6ad6 Merged revision(s) 59416 #07607b4bba, 59436 #93fbbb0db7 from trunk:
LazUtils: Raise exception in UTF8To... functions, controlled by a global boolean. Issue #33686, patch from AlexeyT.
........
LazUtils: Add LazUTF8SysUtils with "deprecated" warnings. The unit was renamed earlier.
........

git-svn-id: branches/fixes_2_0@59459 -
2018-11-05 12:02:37 +00:00
maxim
d60d12c19b Merged revision(s) 59395-59396 #137181c237-#137181c237, 59402 #8c8f4b60c2, 59431-59432 #6147eaeabd-#6147eaeabd, 59434 #fc89b16e5e, 59447 #d56eb3c687 from trunk:
IDE: Try to switch path delimiters only for filenames when reading TCompilationToolOptions.Command. Issue #34476.
........
IDE: Switch path delimiters only for filenames better for TCompilationToolOptions.Command. Issue #34476, patch from Pascal Riekenberg.
........
Ensure bookmark menu is updated if files are opened/closed. Those files may have bookmarks in the session, that will be set for the editor. Part of Issue #0034194
........
IDE: New high-dpi images for folder images/componenttreeview (by Roland Hahn)
........
IDE: Add high-dpi images for folder images/codetoolsdefines (by Roland Hahn)
........
IDE: Update copyright.txt (authorship of images used by IDE). Issue #0034487
........
IDE: New high-dpi images for folder images/states (by Roland Hahn)
........

git-svn-id: branches/fixes_2_0@59458 -
2018-11-05 11:58:58 +00:00
maxim
9212530685 Merged revision(s) 59374 #1313ae2b9b, 59378 #a957005cad from trunk:
IDE: Update unit path for all build modes also when creating a new unit. Issue #34413.
........
IDE: Add high-dpi icons for images and images/codeexplorer (provided by Roland Hahn)
........

git-svn-id: branches/fixes_2_0@59389 -
2018-10-29 23:02:44 +00:00
mattias
fc586c14b9 set fixes version 2.0.0RC2
git-svn-id: branches/fixes_2_0@59372 -
2018-10-27 10:03:27 +00:00
mattias
04ac9df67c LCL-GTK3: Fix Splitter and its related code. Issue #34106
git-svn-id: branches/fixes_2_0@59366 -
2018-10-27 09:44:01 +00:00
mattias
4ae5a2c2ad debian: renamed debian package name from fpc to fpc-laz to avoid nameclash with ubuntu repos
git-svn-id: branches/fixes_2_0@59365 -
2018-10-27 09:43:02 +00:00
maxim
066d0f5953 Merged revision(s) 59314 #27b8c9d719, 59319 #179cc59ee6, 59321-59323 #436c27ee90-#436c27ee90, 59328 #a313fc1796 from trunk:
IDE/LCL: Modify some high-DPI icons for more consistent style (Roland Hahn)
........
IDE: Add high-DPI images for propertygrid and widgetset issues (by Roland Hahn).
........
IDE: Improve visibility of high-dpi issue_carbon icons on dark background (by Roland Hahn).
........
IDE/Restriction Browser: Fix visibility of icon on customdrawn button.
........
IDE/ObjectInspector: Fix size of widgetset icons on high-dpi screens.
........
IDE: Add high-dpi icons to images/lazdoc (by Roland Hahn)
........

git-svn-id: branches/fixes_2_0@59343 -
2018-10-22 22:54:41 +00:00
maxim
60370b2cca Merged revision(s) 59307-59308 #6f6877ac67-#6f6877ac67 from trunk:
IDE: Add mssing High-DPI icons to images/actions (by Roland Hahn)
........
IDE: Replace icon "actions/preferences" (by Roland Hahn)
........

git-svn-id: branches/fixes_2_0@59312 -
2018-10-16 22:53:23 +00:00
maxim
8c9fb38e30 Merged revision(s) 59290-59292 #34a979b362-#34a979b362, 59295-59296 #90325d8064-#90325d8064, 59301-59302 #cc70ccdd3e-#cc70ccdd3e from trunk:
ideintf: Add high-DPI icons (provided by Roland Hahn)
........
IDE: Add missing high-dpi icons to folder images/menu (kindly provided by Roland Hahn)
........
IDE: Minor revisions of existing high-DPI icons (by Roland Hahn)
........
IDE: Add new (debugger) and revised High-DPI icons by Roland Hahn
........
IDE: Add forgotten icons from previous commits
........
IDE: Better alignment of Run icon on toolbar (Roland Hahn)
........
IDE: New High-DPI icons for Delphi-to-Lazarus conversion (by Roland Hahn).
........

git-svn-id: branches/fixes_2_0@59305 -
2018-10-15 22:02:32 +00:00
maxim
a64bd10183 Merged revision(s) 59275-59276 #e26f6ff3ca-#e26f6ff3ca from trunk:
Translations: Hungarian translation update by Péter Gábor, bug #34397
........
Translations: French translation update by Gilles Vasseur, bug #34403
........

git-svn-id: branches/fixes_2_0@59284 -
2018-10-09 23:19:49 +00:00
maxim
14c57a58c6 Merged revision(s) 59095-59096 #0e98465e3a-#0e98465e3a from trunk:
Translations: Turkish translation update by Hakan KIZILHAN, bug #34296
........
Translations: Spanish translation update by Alonso Cárdenas Márquez, bug #34304
........

git-svn-id: branches/fixes_2_0@59101 -
2018-09-20 22:47:10 +00:00
mattias
86f180ee7b set fixes version to 2.0.0RC1
git-svn-id: branches/fixes_2_0@59011 -
2018-09-15 19:57:31 +00:00
mattias
c2b0e049ef set trunk version to 2.0.0PreRelease
git-svn-id: trunk@59008 -
2018-09-15 19:41:22 +00:00
dmitry
d206fddd76 cocoa: renaming unit extenstions for consistency (using .pas instead of .pp)
git-svn-id: trunk@58915 -
2018-09-09 02:03:48 +00:00
juha
d35a69cd0c IDE: Remove the "Add files in directory" feature for projects and packages. It is messy, inconsistent and broken. Issue #33845.
git-svn-id: trunk@58821 -
2018-09-02 19:35:09 +00:00
michael
18e51d5ac6 * Add JSON Dataset, long overdue
git-svn-id: trunk@58811 -
2018-09-01 10:05:53 +00:00
juha
59d096e29f IDE: New restore_default and restore_defaults icons. Use more icons in Options GUI. Issue #33997, icon patch from FTurtle.
git-svn-id: trunk@58807 -
2018-08-31 10:09:04 +00:00
juha
066994a334 IDE: Simplify the publish module dialog more and rename it.
git-svn-id: trunk@58804 -
2018-08-30 11:16:09 +00:00
wp
ff36f03b93 TAChart: More versatile fitting routines in TFitSeries, statistical analysis of fit results.
git-svn-id: trunk@58746 -
2018-08-20 21:21:10 +00:00
michael
5dc595d46f * Register TCSVDataset
git-svn-id: trunk@58716 -
2018-08-15 17:38:28 +00:00
dmitry
aa9cfe7f1a cocoa: move clipboard (cocoa-pasteboard) related implementation into a separate unit. Update the behaviour of ClipboardGetFormats function to return the actual information from the pasteboard. #34121
git-svn-id: trunk@58695 -
2018-08-12 14:38:28 +00:00
martin
db95c32b36 IDE: SourceEditor, Messages, InitDlg, de-duplicate state images. SourceEditor now uses same images as rest of IDE.
git-svn-id: trunk@58694 -
2018-08-12 13:47:28 +00:00
martin
c75e6aede7 IDE: SourceEditor, Messages, InitDlg, New warning images / more resolutions. Issue #0034095 by FTurtle
git-svn-id: trunk@58693 -
2018-08-12 13:04:54 +00:00
martin
17cef765d2 REVERT: SourceEditor, Messages, InitDlg, de-duplicate state images. SourceEditor now uses same images as rest of IDE. Therefore 75% is now 11x11 instead of (more correct) 12x12
git-svn-id: trunk@58692 -
2018-08-12 12:57:46 +00:00
martin
6f08839583 IDE: SourceEditor, Messages, InitDlg, New warning issues / more resolutions. Issue #0034095 by FTurtle
git-svn-id: trunk@58691 -
2018-08-12 12:26:47 +00:00
martin
61f473fce7 IDE: SourceEditor, Messages, InitDlg, de-duplicate state images. SourceEditor now uses same images as rest of IDE. Therefore 75% is now 11x11 instead of (more correct) 12x12
git-svn-id: trunk@58690 -
2018-08-12 11:38:37 +00:00
juha
2b381547b5 IDE: Separate units ExtToolsConsole (no LCL) and ExtToolsIDE (with LCL) from ExtTools.
git-svn-id: trunk@58643 -
2018-07-28 13:38:06 +00:00
juha
5c561fabd8 LazUtils: Add a new unit LazStringUtils. Move 2 functions from Codetools' SourceLog there.
git-svn-id: trunk@58631 -
2018-07-25 13:39:01 +00:00
juha
d43fa548b8 LazUtils: Rename unit LazUTF8SysUtils -> LazSysUtils. It had nothing to do with character encoding.
git-svn-id: trunk@58630 -
2018-07-25 13:38:59 +00:00
juha
e6b449750a IdeIntf: Move MessageDialog pointers from IDEDialogs to a new LazMsgDialogs. Break LCL dependency there.
git-svn-id: trunk@58614 -
2018-07-24 12:50:39 +00:00
wp
4eebc54703 TAChart: Add errorbar demo.
git-svn-id: trunk@58612 -
2018-07-24 09:09:09 +00:00
wp
53451ed965 TAChart: Add area series demo
git-svn-id: trunk@58575 -
2018-07-19 13:26:23 +00:00
martin
4358281aed Debugger: Enhance console output win. Issue #33935
git-svn-id: trunk@58563 -
2018-07-18 16:36:18 +00:00
michael
80ac8f85b8 * Correctly register THTTPServer/THTTPClient
git-svn-id: trunk@58553 -
2018-07-17 19:22:15 +00:00
martin
98a8b2459d leakview: constants for input from external tools (fpc/gdb traces) are not dependent on the IDE language. Should not be resource strings. Issue #0027908
git-svn-id: trunk@58544 -
2018-07-16 12:33:00 +00:00
martin
90a0dd1ef7 More gutter images at high DPI
git-svn-id: trunk@58502 -
2018-07-13 12:40:54 +00:00
martin
38d48bbdbd Two new toolbar commands for bookmarks. Issue #0033947 Patch by FTurtle
git-svn-id: trunk@58500 -
2018-07-13 12:23:16 +00:00
martin
96609baad4 SynEdit Gutter Images: resolution at 300% / Issue #33949 / Patch by FTurtle
git-svn-id: trunk@58498 -
2018-07-12 09:47:12 +00:00