Declarations added to collectionview layout header.
Clean compile for NSCollectionViewLayout abstract class
Add header for NSCollectionViewFlowLayout.h
Add skeleton implementation of NSCollectionViewFlowLayout
Add implementation for simple setter/getter methods.
Correct compilation error with non-clang compilers
Fix compilation issues
Add getter/setter for collectionViewLayout
Skeleton of NSCollectionViewTransitionLayout implementation
Add encoding/decoding for collectionViewLayout key
Make NSCollectionViewGridLayout default if the NSCollectionViewLayoutKey is not set
Add protocols for DataSource and Prefetching for NSCollectionView
Add 10.11 methods to delegate declaration
remove templating from NSCollectionViewDelegate that gcc can't handle.
New delegate methods for NSCollectionViewDelegate to support NSSets of NSIndexPaths and multiple selection.
Reset .travis.yml to the proper version and modify NSCollectionView.h to use forward declarations for both NSPasteboard and NSPasteboardWriting so that we don't explicitly import.
Add declarations for missing methods from 10.11 version of NSCollectionView
Add new methods for 10.11 for moving, deleting and collapsing sections.
Add new methods from 10.11
Add the remaining missing methods as well as delcarations for blocks needed for batch handler and completion handler.
Add skeleton implementations for all new methods
Changes to add new methods to collection view for delegate
Consolidate the registeredClass and registeredNib maps.
Implementation of dataSource related methods
Implment nib loading for NSCollectionViewItem subclasses
Remove uneeded ivars, add categories for override and layout
Minor formatting change
Update categories and organization of code
Add init method to NSCollectionViewFlowLayoutInvalidationContext
Add collectionview layout subclasses
Declarations added to collectionview layout header.
Clean compile for NSCollectionViewLayout abstract class
Add skeleton implementation of NSCollectionViewFlowLayout
Add implementation for simple setter/getter methods.
Correct compilation error with non-clang compilers
Fix compilation issues
Add getter/setter for collectionViewLayout
Add encoding/decoding for collectionViewLayout key
Make NSCollectionViewGridLayout default if the NSCollectionViewLayoutKey is not set
Add protocols for DataSource and Prefetching for NSCollectionView
New delegate methods for NSCollectionViewDelegate to support NSSets of NSIndexPaths and multiple selection.
Reset .travis.yml to the proper version and modify NSCollectionView.h to use forward declarations for both NSPasteboard and NSPasteboardWriting so that we don't explicitly import.
Add declarations for missing methods from 10.11 version of NSCollectionView
Add new methods for 10.11 for moving, deleting and collapsing sections.
Add new methods from 10.11
Changes to add new methods to collection view for delegate
Consolidate the registeredClass and registeredNib maps.
Add init method to NSCollectionViewFlowLayoutInvalidationContext
Fix issues with rebase
- Move assertion for empty string to parse method
- Add missing spaces between colon and parameter
- Use GSFastEnumeration macro
- Modify parseObjectOfPredicate to use in out parameter of struct and remove heap allocation
This was because index was respecting fraction and thus loosing the attachment when clicking on the right part, only for this case, recalculate character index without respectFraction.
$(GNUSTEP_INSTANCE)_INTERFACE_VERSION is used in gnustep-make to define
the version of the shared object.
As a packager, there might be various reasons to
override the $(GNUSTEP_INSTANCE)_INTERFACE_VERSION
in order to control the library version.
So I do for gnustep-gui on OpenBSD packages. The problem here is, that
the libgnustep-gui_INTERFACE_VERSION is additionally used to specify the path
where resources like Panels, Localizations etc. get installed, however,
in Source/NSApplication.m, the use of
GNUSTEP_GUI_MAJOR_VERSION.GNUSTEP_GUI_MINOR_VERSION
As long as the libgnustep-gui_INTERFACE_VERSION is not overridden with
some other value, everything is fine. However, as in my case, Applications
aren't able to find the Panels/Translations provided by -gui anymore.
Decided to just remove the definition of libgnustep-gui_INTERFACE_VERSION
in these three Makefiles, as it was only used once, and used the
GNUSTEP_GUI_MAJOR_VERSION.GNUSTEP_GUI_MINOR_VERSION directly.
Alternatively, libgnustep-gui_INTERFACE_VERSION in these Makefiles
could could have been renamed to avoid this conflict.
On Windows, there is an occasional sporadic failure of autorelease to work correctly. In particular, this seems to happen when autorelease is invoked on an object while a call stack is in the middle of draining an autorelease pool. So, for example, when dealloc is called on an NSTextContainer, it then calls setTextContainer: on the associated NSTextView, which in turn calls textContainers on the layoutManager, which returns an autoreleased array of NSTextContainers. This array is sometimes released and sometimes it isn't.
Wrapping the setTextContainer: in an autorelease pool, which will then drain at the end of the method, rather than relying on the main autorelease pool in the run loop (which is in the middle of being drained), appears to fix this problem. This adds a small amount of overhead, but also makes the memory usage a little more efficient, since anything autoretained during the course of this method is released more quickly.