Commit Graph

53335 Commits

Author SHA1 Message Date
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
dmitry
cf88ae9f44 cocoa: removing per event autorelease pool. It could potentially lead to mem leaks. But as of right now it's causing access violation, if a control is created dynamically (because most of controls are initialized with .autorelease and a destroyed once the event handling is finished)
git-svn-id: trunk@56841 -
2017-12-24 19:58:05 +00:00
dmitry
2915735a88 cocoa: fix TCocoaTextView initialization that could cause a crash with 'Frame containing non-finite values' error
git-svn-id: trunk@56840 -
2017-12-24 17:22:27 +00:00
juha
44e254517a IDE: Reuse function SplitString from IDEProcs in PathEditorDialog. Replaces function PathToText.
git-svn-id: trunk@56839 -
2017-12-24 14:01:51 +00:00
balazs
bed7ec4fc7 Opkman: ShowHintFrm: memo height was incorrectly calculated under GTK.
git-svn-id: trunk@56838 -
2017-12-24 13:15:23 +00:00
dmitry
6e53952a43 cocoa: correct (control vs client) bounds information retrieval. #32227
git-svn-id: trunk@56837 -
2017-12-23 23:06:24 +00:00
wp
adab84ef29 LazReport: New HiRes palette icons (by Roland Hahn)
git-svn-id: trunk@56836 -
2017-12-23 21:57:33 +00:00
michl
5bbd6ad7f1 LCL: GTK2: Revert 56831 #eee0b37745 to 56834 as it open new issues.
git-svn-id: trunk@56835 -
2017-12-23 21:53:36 +00:00
michl
630f7a6594 LCL: GTK2: transient form when called from modal form and PopupMode <> pmNone.
git-svn-id: trunk@56834 -
2017-12-23 20:53:11 +00:00
michl
b4f4b7767b LCL: GTK2: Fixed form freezes when opened with PopupMode <> pmNone, if opened from modal form.
git-svn-id: trunk@56833 -
2017-12-23 19:57:53 +00:00
michl
38eecb3d36 LCL: GTK2: Fixed form freezes with BorderStyle bsSizeToolWin/bsToolWindow, if opened from modal form.
git-svn-id: trunk@56832 -
2017-12-23 19:52:48 +00:00
michl
eee0b37745 LCL: GTK2: Fixed form freezes with FormStyle fsStayOnTop, if opened from modal form. Issue #32872
git-svn-id: trunk@56831 -
2017-12-23 19:49:10 +00:00
balazs
cb04d0f86f Opkman: ShowHintfrm: Adjust memo height according to it's content.
git-svn-id: trunk@56830 -
2017-12-23 19:43:42 +00:00
juha
8868d7bcf6 IDE: Prevent an exception when dbl-clicking empty list. Issue #32650, patch from FTurtle.
git-svn-id: trunk@56829 -
2017-12-23 17:04:42 +00:00