Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Handly/NewIn04"

(Created page with "=== Breaking changes === * DelegatingWorkingCopyBuffer's constructor '''important contract change''' - [https://bugs.eclipse.org/bugs/show_bug.cgi?id=476444 bug 476444] <br /...")
 
 
Line 45: Line 45:
  
 
   0.4 - https://projects.eclipse.org/projects/technology.handly/releases/0.4/bugs
 
   0.4 - https://projects.eclipse.org/projects/technology.handly/releases/0.4/bugs
 
[[Category:Handly]]
 

Latest revision as of 10:30, 17 June 2016

Breaking changes

  • DelegatingWorkingCopyBuffer's constructor important contract change - bug 476444
    Please migrate your code and release the delegate buffer properly
  • XtextWorkingCopyBuffer - same as above
  • Several API methods take IProgressMonitor now:
    • Handle#buildStructure
    • SourceFile#buildStructure
    • SourceFile#createStructuralAst
    • SourceFile.ReconcilingOperation#reconcile
  • IBodyCache#putAll (new method) - bug 477157
  • IHandleDelta#getFlags() : int -> long
  • HandleDelta: mutliple breaking changes - bug 480945
    • public API remained largely the same
    • protected API significantly reduced (i.e. many previously protected members are now private)
  • ISourceElement#getElementAt may throw CoreException now. Use SourceElements#getElementAt if you need original semantics
  • ISourceFile#getFile() may return null now - bug 480766

Deprecated API

  • IElementForEditorInputFactory superseded by IInputElementProvider for all intents and purposes.
    Please bind IInputElementProvider instead of IElementForEditorInputFactory in your Xtext UI modules
  • ISourceFile#openBuffer. Use #getBuffer instead
  • IDocumentBuffer. Use IBuffer#getDocument() instead
  • IBuffer#dispose(). Use #release() instead

New API

  • IHandle#toString(ToStringStyle) - bug 475446
  • Working copy
    • SourceFile#reconcile(boolean, Object, IProgressMonitor) - bug 473417
    • SourceFile#becomeWorkingCopy(IWorkingCopyBuffer, IWorkingCopyInfoFactory, ...) - bug 475862
    • IWorkingCopyInfoFactory
    • WorkingCopyInfo
  • Buffers
    • IBuffer#addRef()/release() (multiple independent ownership of the buffer) - bug 476444
    • ChildBuffer - bug 476031
    • SimpleBuffer
  • Model adaptation facility (o.e.handly.model.adapter) - bug 472841

Other

  • StructureHelper can now be used as it stands, i.e. without subclassing
  • Xtext 2.9 is supported now (along with 2.8)

Full list of issues addressed in this release

 0.4 - https://projects.eclipse.org/projects/technology.handly/releases/0.4/bugs

Back to the top