Commit Graph

53498 Commits

Author SHA1 Message Date
dmitry
8416eecb07 cocoa: using RGB as fill color, instead of Generic color space RGB for consistency with stroke colors. #32914
git-svn-id: trunk@56896 -
2018-01-01 00:16:51 +00:00
dmitry
8557db7ed1 cocoa: prevent mouse events on window's non-client area for consistency with other widgetsets
git-svn-id: trunk@56895 -
2017-12-31 21:36:30 +00:00
dmitry
c31964a7b0 cocoa: inverting mouse pos, only if coordinate system of control needs it
git-svn-id: trunk@56894 -
2017-12-31 16:53:22 +00:00
dmitry
c41a113269 cocoa: fix scrollbox callback use. ScrollView should be using its own content callback. #32881
git-svn-id: trunk@56893 -
2017-12-31 16:49:16 +00:00
juha
ed1cd9335d LazUtils: Add a new function UTF8ProperCase() to unit LazUTF8.
git-svn-id: trunk@56892 -
2017-12-31 08:49:05 +00:00
dmitry
dd5f953aae cocoa: adding the code to compensate for Cocoa feature, of mouseUp even not being called for Windows title
git-svn-id: trunk@56891 -
2017-12-31 06:54:52 +00:00
dmitry
d6118dcce8 cocoa: subclassing NSApplication, in order to get isRunning property to return true. That affects the behaviour of NSWindows whenever they're closed or hidden. #32177
git-svn-id: trunk@56890 -
2017-12-31 02:47:45 +00:00
mattias
987603f4b8 IDE: fixed uninitialized function result
git-svn-id: trunk@56889 -
2017-12-31 00:48:03 +00:00
zeljko
4ebb387946 Qt: fixed crash with checkable listview when item is deleted inside OnItemChecked event. issue #32869
git-svn-id: trunk@56888 -
2017-12-31 00:37:50 +00:00
zeljko
528fcceaf4 Qt5: fixed crash when checkable item is deleted inside ItemChecked event. issue #32869
git-svn-id: trunk@56887 -
2017-12-31 00:25:16 +00:00
michl
fc690b742f IDE: Fixed IDE crash after putting a activex control on form. Issue #32375
git-svn-id: trunk@56886 -
2017-12-31 00:24:57 +00:00
zeljko
8efbb5db9e qt,qt5: disable itemcheck and selectitem if listview is disabled. issue #32910
git-svn-id: trunk@56885 -
2017-12-30 23:53:26 +00:00
wp
7e59f25f89 LCL: Alternative fix of issue #32383 avoiding crash of DBCombobox
git-svn-id: trunk@56884 -
2017-12-30 20:57:13 +00:00
wp
3750bde9cd LCL: Undo r55912 and r55894 #14e5f42ff3 (crashing DBCombobox if focused and mousewheel is rotated, see comment at issue #32463)
git-svn-id: trunk@56883 -
2017-12-30 20:54:51 +00:00
juha
dc9ee2274f IDE: Formatting.
git-svn-id: trunk@56882 -
2017-12-30 20:23:59 +00:00
juha
cda5c69296 IdeIntf: Don't select anything initially in Collection property editor ListBox.
git-svn-id: trunk@56881 -
2017-12-30 20:23:47 +00:00
juha
da1abe9943 IDE: Delete CollectionItems correctly, update also OI. Issue #32820.
git-svn-id: trunk@56880 -
2017-12-30 19:24:04 +00:00
michl
f7f4950c33 LCL: Win32: Font dialog initializing for default values. Issue #32894. Patch by C Western
git-svn-id: trunk@56879 -
2017-12-30 18:43:08 +00:00
dmitry
a69353463f cocoa: adding support for TEdit alignment and background color. #32796
git-svn-id: trunk@56878 -
2017-12-30 18:05:42 +00:00
dmitry
a67f8825a2 cocoa: adding support for TMemo alignment and background color. #32796
git-svn-id: trunk@56877 -
2017-12-30 17:50:36 +00:00
dmitry
04f1929c96 cocoa: firing onChange events due to programmatical text changes in TMemo
git-svn-id: trunk@56876 -
2017-12-30 17:05:44 +00:00
dmitry
225ccb4218 cocoa: TMemo change event
git-svn-id: trunk@56875 -
2017-12-30 16:48:32 +00:00
dmitry
13353610a6 cocoa: imlementing SetScrollInfo, GetScrollInfo and GetScrollBarSize via NSScrollView, where applicable
git-svn-id: trunk@56874 -
2017-12-30 16:23:34 +00:00
juha
1cc6bfbcd1 IdeIntf: Make methods private. Formatting. The usefull changes in issues #32902 and #32903.
git-svn-id: trunk@56873 -
2017-12-30 12:06:13 +00:00
michl
84369842cc LCL: Supporting TCanvas.Draw a TBitmap in pf8bit TBitmap.PixelFormat. Issue #32878. Patch by fantangshan
git-svn-id: trunk@56872 -
2017-12-29 20:22:29 +00:00
juha
a2c678d1d1 IDE: Initialize a variable in CodeBrowser.
git-svn-id: trunk@56871 -
2017-12-29 19:45:26 +00:00
juha
cf8b0b68f9 IDE: Simplify nested procedures under TCodeBrowserView.UpdateTreeView.
git-svn-id: trunk@56870 -
2017-12-29 18:47:58 +00:00
juha
c3e1dc4ad5 Reduce compiler warnings, initialize some uninitialized variables.
git-svn-id: trunk@56869 -
2017-12-29 18:47:51 +00:00
balazs
91c7a31267 Opkman: Packager: Temporary disable online packages from "Install/Uninstall packages" to prevent duplicate entries.
git-svn-id: trunk@56868 -
2017-12-29 14:14:26 +00:00
michael
645d8d86a9 * Applied patch to create popup menu for TreeView (bug ID #31747)
git-svn-id: trunk@56867 -
2017-12-29 12:33:28 +00:00
dmitry
3374ff6e7d cocoa: reimplemented line Insert for TCocoaMemoStrings, using NSTextView selection to make TMemo act like an other widgetset (by scrolling into the position where the text was inserted) #32221. Removed lineFragmentPadding (set to zero) to prevent weird rescrolling, whenever adding a new line to the end of the text file
git-svn-id: trunk@56866 -
2017-12-29 04:29:09 +00:00
dmitry
f8e5e1d05f cocoa: defaulting TMemo font to a system default font, that's used by other (button, edit) controls to be consistent across widgetsets
git-svn-id: trunk@56865 -
2017-12-29 01:50:21 +00:00
maxim
43438e002a Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #32897
git-svn-id: trunk@56864 -
2017-12-28 23:02:50 +00:00
mattias
fc39438535 IDE: when compiling project to test build directory delete all ppu and o files
git-svn-id: trunk@56863 -
2017-12-28 10:50:32 +00:00
dmitry
6001e4b474 cocoa: revise word-wrap implementation. switching to automatic resizing on scrollView changing size (that should prevent undesired crashes). Horizontal scroll bar should now be more consistent in its behaviour. #32225
git-svn-id: trunk@56862 -
2017-12-28 05:46:58 +00:00
juha
b561f1b752 IdeIntf: Prevent exception when fetching labels on TDBGridColumnsPropertyEditorForm. Issue #32864, patch from FTurtle.
git-svn-id: trunk@56858 -
2017-12-27 17:48:44 +00:00
ondrej
3ba9674deb win32: fix double CM_MOUSELEAVE messages. Issue #32844
git-svn-id: trunk@56857 -
2017-12-27 16:19:20 +00:00
maxim
c6d7c228dd LazReport: Cross-Tab component's i18n by Marcelo B Paula, bug #32883, with
some minor changes; regenerated translations and updated Russian 
translation

git-svn-id: trunk@56856 -
2017-12-27 15:24:36 +00:00
juha
cdde763da7 IdeIntf: Get LookupRoot for DefCollection instead of FieldDefs. Works with IndexDefs, too.
git-svn-id: trunk@56855 -
2017-12-27 14:05:25 +00:00
mattias
265412f333 IDE: compiler options: execute before/after: fixed adding text to history lists
git-svn-id: trunk@56854 -
2017-12-27 12:38:41 +00:00
dmitry
6f0194962a cocoa: update RectToViewCoord to take into consideration if NSView has flipped coordinate system. #32884
git-svn-id: trunk@56853 -
2017-12-27 02:53:20 +00:00
mattias
71b6f936e7 pas2js: clean up
git-svn-id: trunk@56850 -
2017-12-26 10:57:18 +00:00
dmitry
3d93781649 cocoa: reverted a portion of #32363 patch, applied in r55824 #0af5c2d943. Overriding of NSScrollView.addSubview method, caused visual and user experience issues with TListBox (and presumably TMemo) scrollbar controls in macOS 10.12.1 (Sierra)
git-svn-id: trunk@56849 -
2017-12-25 23:21:21 +00:00
balazs
4cf2ff9452 Opkman: ShowHintFrm: Allow hint form to work properly under gtk2 too, patch from Michael.
git-svn-id: trunk@56848 -
2017-12-25 21:39:59 +00:00
maxim
7d521c4800 Pas2JS: moved resource strings from pjsdsgnregister.pas to
strpas2jsdesign.pp, regenerated translations and updated Russian 
translation

git-svn-id: trunk@56847 -
2017-12-25 16:03:23 +00:00
maxim
7c00861fb5 Opkman: improved Russian translation
git-svn-id: trunk@56846 -
2017-12-25 14:46:24 +00:00
maxim
ac9a18e2eb Pas2JS: added Russian translation
git-svn-id: trunk@56845 -
2017-12-25 14:38:25 +00:00
maxim
80918d2b98 Pas2JS: removed one redundant translation string
git-svn-id: trunk@56844 -
2017-12-25 14:28:14 +00:00
dmitry
a759a66772 cocoa: remove NSIndexSet release, as it should not be happening due to Cocoa Memory Management rules
git-svn-id: trunk@56843 -
2017-12-25 02:14:25 +00:00
dmitry
f743caba81 cocoa: restoring autorelease pool for each event processed (as this is what Cocoa default event loop is doing as well)
git-svn-id: trunk@56842 -
2017-12-25 02:11:27 +00:00