espectador
5ec2ca791b
Don't change the location of submenus in NSMacintoshInterfaceStyle.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37161 72102866-910b-0410-8b05-ffd578937521
2013-09-27 22:20:12 +00:00
fredkiefer
b751aed5b0
* Source/NSBrowserCell.m (-drawInteriorWithFrame:inView:): Don't
...
draw string when editing.
* Source/NSBrowserCell.m (-titleRectForBounds:): Implement to
exactly match calculation in -drawInteriorWithFrame:inView:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37159 72102866-910b-0410-8b05-ffd578937521
2013-09-27 13:10:23 +00:00
espectador
054851fa01
Close popup if user press a modifier flag an theme process events.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37158 72102866-910b-0410-8b05-ffd578937521
2013-09-27 07:47:01 +00:00
espectador
7baaaf9425
Revert last change and implement a better solution.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37157 72102866-910b-0410-8b05-ffd578937521
2013-09-27 04:33:30 +00:00
espectador
ecd8160ff7
Improvements at pulldown popups when the theme process events.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37154 72102866-910b-0410-8b05-ffd578937521
2013-09-25 05:42:27 +00:00
ivucica
b75ea68510
* Source/NSImage.m: Missing -retain inside the method
...
-drawInRect:fromRect:... caused a crash inside Opal backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37141 72102866-910b-0410-8b05-ffd578937521
2013-09-23 17:12:25 +00:00
ivucica
7cd5676bb5
* Source/NSImage.m: Missing -retain inside the method
...
-compositeToPoint:fromRect:operation:fraction caused a crash
inside Opal backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37140 72102866-910b-0410-8b05-ffd578937521
2013-09-23 16:58:18 +00:00
gcasa
c7652bd6d4
2013-09-18 18:17-EDT Gregory John Casamento <greg.casamento@gmail.com>
...
* Headers/AppKit/AppKit.h: Add NSTrackingArea.h
* Headers/AppKit/NSTrackingArea.h: Add interface for NSTrackingArea
* Source/GNUmakefile: Add NSTrackingArea.[hm] to makefile.
* Source/NSTrackingArea.m: Add implementation for NSTrackingArea
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37112 72102866-910b-0410-8b05-ffd578937521
2013-09-18 22:19:12 +00:00
rmottola
9f329f337c
silence more warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37102 72102866-910b-0410-8b05-ffd578937521
2013-09-17 23:19:12 +00:00
ivucica
04b988ee6b
NSLayoutManager: advancementbuf[0] was not being filled. Most backends, including cairo, ignore advancements, so the bug was not immediately apparent until opal backend started using the advancements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37100 72102866-910b-0410-8b05-ffd578937521
2013-09-17 21:58:21 +00:00
rmottola
7535e30d2d
warning fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37088 72102866-910b-0410-8b05-ffd578937521
2013-09-17 09:39:47 +00:00
fredkiefer
00dc04169b
* Source/NSBrowser.m (-setPath:): Fixed a bug where setting the
...
path to "/" would not deselect the cells.
Based on patch by Frank Le Grand <frank.legrand@testplant.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37081 72102866-910b-0410-8b05-ffd578937521
2013-09-16 18:18:07 +00:00
rmottola
422bb8d17d
Prepare for additional argument to function DGifOpen in newer libgif versions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37078 72102866-910b-0410-8b05-ffd578937521
2013-09-13 15:50:05 +00:00
fredkiefer
2767d3548e
* Source\NSAttributedString.m (-fixFontAttributeInRange:): In
...
* the
absence of a NSFontAttributeName attribute, use a default font
to
prevent the substitution from stopping. This fixes a bug where
unicode characters would not get the proper font substitution.
Patch by: Frank Le Grand <frank.legrand@testplant.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37027 72102866-910b-0410-8b05-ffd578937521
2013-08-30 15:30:22 +00:00
fredkiefer
23d7de30cb
* Headers/Additions/GNUstepGUI/GSDisplayServer.h
...
* Source/GSDisplayServer.m: Add new method -_printEventQueue.
* Source/NSWindow.m (-_checkCursorRectangles:forEvent:): Replace
hack with proper functions that handle cursor rectangles.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37026 72102866-910b-0410-8b05-ffd578937521
2013-08-30 11:27:10 +00:00
fredkiefer
645a552a58
* Source/NSCursor.m (-mouseEntered:, -mouseExited:):
...
Add better debug output.
* Source/NSWindow.m (-_checkCursorRectangles:forEvent:): Add
hack that updates cursor rectangles more correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37022 72102866-910b-0410-8b05-ffd578937521
2013-08-27 21:00:42 +00:00
fredkiefer
cc4fbf9642
* Headers/AppKit/NSTreeController.h,
...
* Headers/AppKit/NSTreeNode.h: Add method declarations to these
* files.
* Headers/AppKit/AppKit.h,
* Source/GNUmakefile: Include new files.
* Source/NSObjectController.m (+initialize, -selection): Get
* basic
binding example working.
* Source/NSTreeController.m: Minimal implementation.
* Source/NSTreeNode.m: Full implementation of this class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36991 72102866-910b-0410-8b05-ffd578937521
2013-08-19 19:10:22 +00:00
fredkiefer
6590fa6a1f
Add code by Nikolaus Schaller <hns@computer.org>, reformatted and
...
simplified.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36982 72102866-910b-0410-8b05-ffd578937521
2013-08-17 13:39:16 +00:00
lubosd
c209f41c6a
* Headers/AppKit/NSSavePanel.h,
...
* Source/NSSavePanel.m: beginSheetModalForWindow: and
beginWithCompletionHander: implementations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36968 72102866-910b-0410-8b05-ffd578937521
2013-08-12 18:10:38 +00:00
gcasa
24829740bc
Add placeholder for NSStatusItem.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36950 72102866-910b-0410-8b05-ffd578937521
2013-08-08 20:28:33 +00:00
qmathe
16c2ec5de0
Fixed missing theme images if not listed in the theme bundle Info.plist.
...
Theme bundles that contain theme images named using either GNUstep or
OPENSTEP names now work properly again (bug introduced in r36836).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36916 72102866-910b-0410-8b05-ffd578937521
2013-07-22 15:24:32 +00:00
espectador
2e0bf31862
Move code of previous commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36906 72102866-910b-0410-8b05-ffd578937521
2013-07-18 23:04:22 +00:00
espectador
f229269213
Improvements for PopUp when should process events.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36902 72102866-910b-0410-8b05-ffd578937521
2013-07-17 23:34:20 +00:00
rmottola
2282989353
Add license to the Theme properties
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36889 72102866-910b-0410-8b05-ffd578937521
2013-07-15 13:20:41 +00:00
espectador
317ed00b80
Use arrow cursor in transient menus.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36875 72102866-910b-0410-8b05-ffd578937521
2013-07-12 05:03:34 +00:00
fredkiefer
6165cdf0c2
* Headers/Additions/GNUstepGUI/GSDisplayServer.h
...
* Source/GSDisplayServer.m: Add new method -setIgnoreMouse::
* with
empty implementation.
* Source/NSWindow.m (-setIgnoresMouseEvents:): Use this new
* method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36854 72102866-910b-0410-8b05-ffd578937521
2013-07-08 20:42:49 +00:00
espectador
f04d46ad46
Ignore the first mouse up in transient menus if style is NSWindows95InterfaceStyle.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36852 72102866-910b-0410-8b05-ffd578937521
2013-07-08 19:20:36 +00:00
espectador
bba3a51621
Revert last commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36849 72102866-910b-0410-8b05-ffd578937521
2013-07-08 01:33:25 +00:00
espectador
c60b6b5c60
Prevent duplicate the cursor with -push.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36848 72102866-910b-0410-8b05-ffd578937521
2013-07-07 18:33:01 +00:00
fredkiefer
39a773e9e7
* Source/NSImageRep.m (-guiDrawInRect:...fraction:): Readd special
...
handling for printing as suggested by Eric Wasylishen <ewasylishen@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36847 72102866-910b-0410-8b05-ffd578937521
2013-07-07 15:26:21 +00:00
qmathe
f73c6013ba
Added support for providing custom theme control images (e.g. checkbox) in the same way we support it for tiles
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36836 72102866-910b-0410-8b05-ffd578937521
2013-07-04 15:46:11 +00:00
rfm
b421bd0e50
fixes for bug reported by marcus
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36834 72102866-910b-0410-8b05-ffd578937521
2013-07-04 07:54:52 +00:00
ericwa
242003a698
Improve NSDrawThreePartImage implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36827 72102866-910b-0410-8b05-ffd578937521
2013-07-03 22:03:59 +00:00
ericwa
f9a2310183
Add NSDrawThreePartImage
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36824 72102866-910b-0410-8b05-ffd578937521
2013-07-03 16:19:24 +00:00
espectador
db5b56b068
Revert last change in NSCursor.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36806 72102866-910b-0410-8b05-ffd578937521
2013-07-03 00:05:31 +00:00
espectador
c4080b3b73
Improvements to handle cursors.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36802 72102866-910b-0410-8b05-ffd578937521
2013-07-02 16:57:54 +00:00
espectador
d7dc57f31a
Fix memory leak in GSComboWindow.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36744 72102866-910b-0410-8b05-ffd578937521
2013-06-22 22:47:35 +00:00
espectador
762838d8df
Fix problems with last commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36734 72102866-910b-0410-8b05-ffd578937521
2013-06-20 18:33:52 +00:00
espectador
3b9f2b264c
Add autocomplete in NSTextView.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36733 72102866-910b-0410-8b05-ffd578937521
2013-06-19 18:40:28 +00:00
buzzdee
1fa605e73f
bump version of NSParagraphStyle, and fix the decoder
...
makes Grr happy again loading its gorm files
OK Fred Kiefer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36646 72102866-910b-0410-8b05-ffd578937521
2013-05-17 15:50:53 +00:00
espectador
9070a82bd5
Add -resetCursorRect:inView: in NSFormCell.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36620 72102866-910b-0410-8b05-ffd578937521
2013-05-14 18:39:36 +00:00
fredkiefer
4087333c3b
* Source/GSNibLoading.m: Remove method [NSKeyedUnarchiver
...
-replaceObject:withObject:] which was moved to base.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36619 72102866-910b-0410-8b05-ffd578937521
2013-05-13 21:01:47 +00:00
fredkiefer
118dac6092
* Source/NSColorPanel.m (-_magnify:): Use a local auto release
...
pool in loop.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36613 72102866-910b-0410-8b05-ffd578937521
2013-05-11 20:32:20 +00:00
espectador
ba3be347fb
Handle correctly the mouse cursor in NSSearchField.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36595 72102866-910b-0410-8b05-ffd578937521
2013-05-06 22:58:46 +00:00
gcasa
93e8ef8ada
* Headers/AppKit/NSPopover.h: correct delegate method
...
for popoverShouldClose:
* Headers/AppKit/NSWindow.h: add convertRectToScreen: and
convertRectFromScreen: methods.
* Source/NSPopover.m: Correct delegate method for popoverShouldClose:.
Changes to align popover window with rect it is being placed relative
to.
* Source/NSWindow.m: implementation of convertRectToScreen: and
convertRectFromScreen: methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36577 72102866-910b-0410-8b05-ffd578937521
2013-04-24 09:25:56 +00:00
fredkiefer
3c28ba9b1a
* Source/GSXibLoader.m: Add -replaceObject:withObject: method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36573 72102866-910b-0410-8b05-ffd578937521
2013-04-23 21:40:34 +00:00
fredkiefer
8c6a5ecaac
* Headers/AppKit/NSPopover.h,
...
* Source/NSPopover.m: Adjust to GNUstep coding standards.
* Source/externs.m: Move new strings to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36555 72102866-910b-0410-8b05-ffd578937521
2013-04-21 21:32:36 +00:00
fredkiefer
2b9a93f163
* Source/NSCollectionView.m (-_moveUpAndExpandSelection:):
...
* Correct
the comparision. Bug reported by Gregory John Casamento
<greg.casamento@gmail.com>
* Headers/AppKit/NSPopover.h: Add missing import.
* Source/GSXibLoader.m: Disable NSCustomView hack again.
* Headers/AppKit/NSApplication.h: Replace GSAppDelegateProtocol
with NSApplicationDelegate.
* Source/NSApplication.m: Adjust documentation to this
* replacement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36553 72102866-910b-0410-8b05-ffd578937521
2013-04-21 16:57:58 +00:00
gcasa
8df483e637
* Headers/AppKit/AppKit.h: Add NSPopover.h to set of files
...
included.
* Headers/AppKit/NSApplication.h: Add NSApplicationDelegate.
Inherit from GSAppDelegateProtocol.
* Headers/AppKit/NSPopover.h: NSPopover header.
* Source/GNUmakefile: Added NSPopover.[hm]
* Source/GSXibLoader.m: Translate NSCustomView to NSView when
unarchiving.
* Source/NSPopover.m: Skeletal implementation of NSPopover.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36552 72102866-910b-0410-8b05-ffd578937521
2013-04-21 13:45:20 +00:00
fredkiefer
ab56e573e7
* Source/NSTableView.m (-selectedColumnIndexes,
...
* -selectedRowIndexes): Return an
autoreleased copy of the corresponding ivar. Returning a
reference to the ivar
leads to issues (and behavior different from Cocoa) when
iterating thru the
indexsets if at a time they would be being altered.
Patch by Frank LeGrand (flegrand@testplant.com ).
* Source/GNUmakefile: Add NSCollectionViewItem.
* Headers/AppKit/NSCollectionView.h,
* Headers/AppKit/NSCollectionViewItem.h,
* Source/NSCollectionViewItem.m,
* Source/NSCollectionView.m: Bring closer to the GNUstep coding
* standard.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36551 72102866-910b-0410-8b05-ffd578937521
2013-04-21 13:28:47 +00:00