aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
AgeCommit message (Collapse)AuthorFilesLines
2017-05-07Use unique_ptr on Cocoa.Neil Hodgson3-21/+17
2017-05-02For Cocoa, use unique_ptr for drawing surfaces and don't check for allocationNeil2-38/+26
failure as that throws an exception.
2017-04-24Remove unnecessary cast.Neil1-1/+1
2017-04-24Make string encoding and decoding more regular by using std::string more andNeil1-57/+34
wrapping CFStringCreateWithBytes.
2017-04-22Use simple alloc as "memory zones are no longer used by Objective-C"Neil Hodgson1-1/+1
according to Apple's API Reference.
2017-04-22Restrict cursor changing to visible bounds so the text area cursor doesn't showNeil5-3/+12
over other views above and below ScintillaView.
2017-04-22Update ScintillaTest project with current Xcode.Neil1-1/+7
2017-04-22Update ScintillaTest XIB with current Xcode to avoid warnings.Neil1-14/+8
2017-04-22Move NSString for example contents to local as it showed up in memory leakNeil2-12/+17
checks making them more difficult to understand.
2017-04-22Replace C++ std::map with Cocoa NSMutableDictionary as easier to switch to ARCNeil1-54/+19
since memory ownership doesn't cross between C++ and Objective C as much.
2017-04-22Simplify NSImage creation by using its initWithCGImage directly instead ofNeil1-23/+16
creating an NSBitmapImageRep first.
2017-04-22Fix a leak of mouse tracking areas.Neil Hodgson1-0/+4
2017-04-22Include <memory> for std::unique_ptr.Neil1-0/+1
2017-04-21More consistent deletion of standard methods.Neil1-1/+1
2017-04-19Fix problem compiling recent change with Xcode.Neil Hodgson1-1/+1
2017-04-19Use =delete for unwanted functions.Neil1-4/+3
2017-04-19Use "override" for implementations of CaseFolder and PerLine.Neil Hodgson1-1/+1
2017-04-15Avoid calling virtual functions in destructor. Mark overridden methods.Neil Hodgson3-2/+2
2017-04-15Avoid calling virtual functions in constructors and destructors.Neil2-3/+3
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil3-7/+8
where it may be needed in the future.
2017-03-31Prefer standard min/max over Platform's as adapts to changed types.Neil1-1/+1
2017-03-31Hide decorations details a little.Neil1-1/+1
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil2-15/+15
and lines.
2017-03-30Make autocompletion slightly wider to avoid text truncation.Neil Hodgson1-1/+2
2017-03-19Update for 3.7.4 release.Neil1-2/+2
2017-03-07Bug [#1910]. Accessibility support may be queried and, on GTK+, disabled.Neil1-0/+3
2017-03-06Use several C++11 features as examples so problems with these features are seen.Vicente2-1/+2
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
2017-03-06New "indent" lexer styled as plain text but folded by indentation level.Vicente1-0/+4
2017-03-04Use "override" for Cocoa platform code and add to Editor where possible.Neil Hodgson3-111/+111
2017-03-04Fix error with showing find indicator over styles > 127.Neil Hodgson2-2/+6
2017-03-02Fix potential problems with IME on Cocoa when document contains invalid UTF-8.Neil2-0/+2
2017-03-02Bug [#1881]. Revert part of previous fix as it stopped the accented characterNeil1-1/+11
chooser from appearing. Special-case the Chinese "Cangjie" input source.
2017-02-25Bug [#1915]. Fix crash on OS X 10.9 due to accessibility API not available.Chinh Nguyen1-7/+11
2017-02-16Updates for 3.7.3.rel-3-7-3Neil1-2/+2
2017-02-16Avoid potential crash in finalization.Neil1-1/+2
2017-02-16Bug [#1909]. Fix finalization crash on Cocoa.Chinh Nguyen1-1/+2
2017-01-24Use safer static_cast instead of reinterpret_cast. Remove cast to void*.Neil2-5/+5
2017-01-24Remove casts from id to Objective C object as they are not needed. Use saferNeil2-32/+32
static_cast instead of reinterpret_cast between void* and id or Objective C object.
2017-01-24Use correct signatures for pattern draw and release functions and avoidNeil1-6/+5
reinterpret_cast
2017-01-23Use safer static_cast instead of reinterpret_cast when converting FontID toNeil1-11/+11
QuartzTextStyle.
2016-12-27Updates for 3.7.2.rel-3-7-2Neil1-2/+2
2016-12-08Bug [#1891]. Fix crash on view destruction with macOS 10.12.2.Chinh Nguyen1-0/+1
2016-11-30Updates for 3.7.1.Neil1-2/+2
2016-11-23Implementation of MarginRightClick event.Tse Kit Yam3-3/+53
2016-11-27Added module map to enable use of Scintilla from Swift.Neil Hodgson2-0/+16
2016-11-27Make EDIFACT lexer work on macOS.Neil Hodgson1-0/+4
2016-11-19Moved @private sections from header into implementation.Neil Hodgson4-56/+59
Hid properties and methods which are for internal use.
2016-11-18Remove Scintilla namespace and ScintillaCocoa declaration from ScintillaView.hNeil Hodgson2-15/+15
2016-11-11Make IME indicator visible in single phase drawing mode.Neil3-6/+24
2016-11-11Bug [#1881]. Fix IME bug where selectedRange wasn't implementing correctly.Neil2-4/+27
Also return nil from attributedSubstringForProposedRange for ranges outside document as this is specified behaviour.