<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scintilla-mirror/scripts, branch master</title>
<subtitle>Git mirror of the Scintilla editor component. Referenced by the SciTECO repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/'/>
<entry>
<title>Support ptrdiff_t if it has the same storage size as int, but does *not* alias it</title>
<updated>2025-11-03T09:06:45+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>rhaberkorn@fmsbw.de</email>
</author>
<published>2025-11-03T09:06:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=30ec0541d55d048467ad5de9a9718d89ad6c8c35'/>
<id>30ec0541d55d048467ad5de9a9718d89ad6c8c35</id>
<content type='text'>
* This is the case e.g. on NetBSD 10 for ARMv6 where Sci::Position == ptrdiff_t == long int,
  but obviously for other platforms as well, where it causes "invalid conversion"
  and "undefined symbol" errors.
  Scintilla was testing for aliasability by comparing the storage size with sizeof()
  or PTRDIFF_MAX == INT_MAX at the preprocessor level.
  This was fundamentally flawed.
* In LineVector&lt;T&gt;::InsertLines() we are now using the C++17 construct
  std::is_convertible_v&lt;From*,To*&gt; instead.
* We need RunStyles&lt;ptrdiff_t&gt; as well on the affected platforms.
  This is impossible to test for in a constant expression that can be used
  with the preprocessor.
  Also, it's not possible to conditionally instantiate templates.
  We tried to instantiate RunStyles for all scalar types that could be behind ptrdiff_t,
  but it was causing warnings on MSVC.
  Implicitly instantiating RunStyles would be possible, but is not desired.
  Therefore as a workaround, you can now define the PTRDIFF_DOESNT_ALIAS_INT
  macro when invoking the build system, to force instantiating RunStyles&lt;ptrdiff_t&gt;.
  When writing portable applications, you may have to use a compile-time check
  for checking aliasability of ptrdiff_t and int in order to define PTRDIFF_DOESNT_ALIAS_INT.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* This is the case e.g. on NetBSD 10 for ARMv6 where Sci::Position == ptrdiff_t == long int,
  but obviously for other platforms as well, where it causes "invalid conversion"
  and "undefined symbol" errors.
  Scintilla was testing for aliasability by comparing the storage size with sizeof()
  or PTRDIFF_MAX == INT_MAX at the preprocessor level.
  This was fundamentally flawed.
* In LineVector&lt;T&gt;::InsertLines() we are now using the C++17 construct
  std::is_convertible_v&lt;From*,To*&gt; instead.
* We need RunStyles&lt;ptrdiff_t&gt; as well on the affected platforms.
  This is impossible to test for in a constant expression that can be used
  with the preprocessor.
  Also, it's not possible to conditionally instantiate templates.
  We tried to instantiate RunStyles for all scalar types that could be behind ptrdiff_t,
  but it was causing warnings on MSVC.
  Implicitly instantiating RunStyles would be possible, but is not desired.
  Therefore as a workaround, you can now define the PTRDIFF_DOESNT_ALIAS_INT
  macro when invoking the build system, to force instantiating RunStyles&lt;ptrdiff_t&gt;.
  When writing portable applications, you may have to use a compile-time check
  for checking aliasability of ptrdiff_t and int in order to define PTRDIFF_DOESNT_ALIAS_INT.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove directories no longer included in Scintilla and document Qt.</title>
<updated>2025-05-13T05:22:42+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-05-13T05:22:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=334b8ac5e012022439431af61bbbc21918ed12c5'/>
<id>334b8ac5e012022439431af61bbbc21918ed12c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add SCI_AUTOC{G,S}ETIMAGESCALE and implement for Qt and GTK.</title>
<updated>2025-05-12T01:38:13+00:00</updated>
<author>
<name>orbitalquark</name>
<email>70453897+orbitalquark@users.noreply.github.com</email>
</author>
<published>2025-05-12T01:38:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=140a921a133ee63337e8dfe1c7261b7eb86399e9'/>
<id>140a921a133ee63337e8dfe1c7261b7eb86399e9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move SurfaceGDI, SurfaceD2D, ListBox, and associated code out of PlatWin.cxx to</title>
<updated>2025-03-20T05:46:11+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-03-20T05:46:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=2f542786fd95e7bbce6c689934cb4988aa3fa1df'/>
<id>2f542786fd95e7bbce6c689934cb4988aa3fa1df</id>
<content type='text'>
new files SurfaceGDI.cxx, SurfaceD2D.cxx, and ListBox.cxx + associated headers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
new files SurfaceGDI.cxx, SurfaceD2D.cxx, and ListBox.cxx + associated headers.
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to using ComPtr from WRL for render target code for simplicity and</title>
<updated>2025-02-16T21:48:23+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-02-16T21:48:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=dd58631f7a0193dd95523d1ebe4114753fef06c0'/>
<id>dd58631f7a0193dd95523d1ebe4114753fef06c0</id>
<content type='text'>
familiarity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
familiarity.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement Direct2D/DirectWrite 1.1. Add SC_TECHNOLOGY_DIRECT_WRITE_1 to use an</title>
<updated>2025-02-12T02:19:09+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-02-12T02:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=1ff212a46192cb86fcb6451848b200898a28f6ff'/>
<id>1ff212a46192cb86fcb6451848b200898a28f6ff</id>
<content type='text'>
explicit swap chain and ID2D1DeviceContext.
Stop supporting DirectWrite on Windows Vista.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
explicit swap chain and ID2D1DeviceContext.
Stop supporting DirectWrite on Windows Vista.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Direct2D headers to Direct2D 1.1.</title>
<updated>2025-02-09T04:42:09+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-02-09T04:42:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=730c22d11439b9c72aab6687fa63c37d7c840bbe'/>
<id>730c22d11439b9c72aab6687fa63c37d7c840bbe</id>
<content type='text'>
Doesn't change functionality yet but ensures more recent APIs will be available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Doesn't change functionality yet but ensures more recent APIs will be available.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement serialization of Selection to and from strings.</title>
<updated>2025-01-31T22:07:57+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-01-31T22:07:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=bd03d24f8bd44813db8ed1c73c5a46400d94a7cf'/>
<id>bd03d24f8bd44813db8ed1c73c5a46400d94a7cf</id>
<content type='text'>
Requires std::from_chars to be available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Requires std::from_chars to be available.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add new header to order.</title>
<updated>2024-08-16T23:27:03+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2024-08-16T23:27:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=3954d65c1b372ff89e344bda07710e931dd34ffe'/>
<id>3954d65c1b372ff89e344bda07710e931dd34ffe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move UndoHistory into its own module that is accessible from CellBuffer and</title>
<updated>2024-01-31T21:56:45+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2024-01-31T21:56:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=c6b542f84e65083552e52768db7bb4c11dcd7a64'/>
<id>c6b542f84e65083552e52768db7bb4c11dcd7a64</id>
<content type='text'>
tests but hidden from most of Scintilla.
Access through std::unique_ptr.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tests but hidden from most of Scintilla.
Access through std::unique_ptr.
</pre>
</div>
</content>
</entry>
</feed>
