<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/win32/resources, branch long_paths</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=long_paths</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=long_paths'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2026-02-27T14:27:40+00:00</updated>
<entry>
<title>win32: add (some) long path support</title>
<updated>2026-02-27T14:27:40+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-02-27T13:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ed525e2db10081f095d2fccc1b02830654470401'/>
<id>urn:sha1:ed525e2db10081f095d2fccc1b02830654470401</id>
<content type='text'>
Use the longPathAware manifest entry to handle path lengths above
260.  This requires the LongPathsEnabled registry key to be set
at run-time.

Modify (some) WIN32 API calls to use the wide-character variant.

These features are controlled by the build-time configuration
option FEATURE_LONG_PATHS, which is not enabled by default.
</content>
</entry>
<entry>
<title>win32: update UTF-8 manifest</title>
<updated>2025-12-01T15:45:18+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2025-12-01T15:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=52917c47e21478c2507d1ff7b0d83a699650b310'/>
<id>urn:sha1:52917c47e21478c2507d1ff7b0d83a699650b310</id>
<content type='text'>
It seems that the UTF-8 manifest can be adjusted to avoid binaries
failing to run on Windows XP.

Make the necessary adjustment.  This doesn't affect the legacy
builds, only those with Unicode enabled.  Nor does it change the
code which prevents Unicode builds from running on platforms
that don't support the manifest.

See this GitHub issue for details:

   https://github.com/skeeto/w64devkit/issues/315
</content>
</entry>
<entry>
<title>compress PNG icons more</title>
<updated>2025-11-07T11:13:52+00:00</updated>
<author>
<name>Viktor Szakats</name>
<email>commit@vsz.me</email>
</author>
<published>2025-11-06T19:08:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=234dc14431ed4eac8e67ba05d90237eeb7608155'/>
<id>urn:sha1:234dc14431ed4eac8e67ba05d90237eeb7608155</id>
<content type='text'>
aterm.png:  2477 -&gt; 2303 (-174 bytes)
sterm.png:  1022 -&gt;  774 (-248 bytes)
</content>
</entry>
<entry>
<title>win32: allow the use of PNG format icons</title>
<updated>2025-11-06T13:00:49+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2025-11-06T13:00:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3227f3bdeb7c33cfcb0d3d8ceed19a0ca9560e13'/>
<id>urn:sha1:3227f3bdeb7c33cfcb0d3d8ceed19a0ca9560e13</id>
<content type='text'>
Convert the icons to PNG format (by simply exporting them from
GIMP and selecting the 'Compressed (PNG)' chackbox).  Allow these
to be selected instead of ICO format at build time.

Use the PNG icons by default in the Unicode and aarch64 builds.
Saves 26KB in those cases.

(GitHub PR #540)
</content>
</entry>
<entry>
<title>manifest: integrate into resources.rc, reduce binary size</title>
<updated>2025-11-06T10:50:37+00:00</updated>
<author>
<name>Viktor Szakats</name>
<email>commit@vsz.me</email>
</author>
<published>2025-11-04T19:48:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e7f23eb454b1ad6f013b69f93276a39c3da3bb4d'/>
<id>urn:sha1:e7f23eb454b1ad6f013b69f93276a39c3da3bb4d</id>
<content type='text'>
It also makes the version number within the manifest use the version
macros, replacing the hard-coded "6.0.0.0".

Unicode:     32668 -&gt; 32188 (-480 bytes)
non-Unicode: 32412 -&gt; 31956 (-456 bytes)

with icons included.
</content>
</entry>
<entry>
<title>win32: hardcode numeric value of MANIFEST resource</title>
<updated>2024-01-23T12:55:03+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-01-23T12:55:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=25e7fad9b5d6c4101760f9162fe1664c7f6ec363'/>
<id>urn:sha1:25e7fad9b5d6c4101760f9162fe1664c7f6ec363</id>
<content type='text'>
It seems windres in llvm doesn't understand MANIFEST resources.
Use the numeric value 24 instead.
</content>
</entry>
<entry>
<title>build system: more clang/llvm tweaks</title>
<updated>2024-01-18T08:01:49+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-01-18T08:01:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=992387539f26de1aeb2cdca62d85fddbde27b798'/>
<id>urn:sha1:992387539f26de1aeb2cdca62d85fddbde27b798</id>
<content type='text'>
Linkers associated with clang/llvm may not support the -r option.
This is used to create built-in.o object files.  It turns out that
all such files in busybox-w32 are either empty or only contain one
object file.  The first case is already supported and the second
can be handled by simply copying the object file to built-in.o.
The linker is therefore never invoked with the -r option.

One adjustment is required:  the workaround adopted for GitHub
issue #200 linked the dummy C file with the resource object file.
This is no longer done so only one object file is used.  Since it
was the linking that broke the resource file, copying it is an
equally effective fix for the issue.

Some old linkers don't support the --warn-common option.  The lack
of this option was being detected but it was still sometimes used.
</content>
</entry>
<entry>
<title>win32: improved support for manifests</title>
<updated>2023-09-14T15:07:50+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-09-14T15:07:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b822f427d894f46a85d3ce5ff785d3ea2cef972f'/>
<id>urn:sha1:b822f427d894f46a85d3ce5ff785d3ea2cef972f</id>
<content type='text'>
The UTF-8 manifest has been updated to include features from the
standard application manifest.

Include a copy of the standard application manifest for toolchains
that don't provide one.

(GitHub issue #366)
</content>
</entry>
<entry>
<title>win32: include UTF-8 manifest</title>
<updated>2023-06-20T14:33:10+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-06-20T14:33:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=830e2cfae63a20beddd81d9db00dc906265a0e34'/>
<id>urn:sha1:830e2cfae63a20beddd81d9db00dc906265a0e34</id>
<content type='text'>
Include a manifest in the binary to set the process code page to
UTF-8.  This only has an effect from Windows 10 version 1903.

Controlled by the FEATURE_UTF8_MANIFEST config setting, disabled
by default.
</content>
</entry>
<entry>
<title>win32: revise creation of resources</title>
<updated>2022-10-25T07:28:42+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2022-10-25T07:28:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=62654c448c4f0dfc0fdb72220adc33af0be7cb65'/>
<id>urn:sha1:62654c448c4f0dfc0fdb72220adc33af0be7cb65</id>
<content type='text'>
As reported in https://github.com/skeeto/w64devkit/issues/35
there's a problem creating Windows resources using the native
version of `windres`.

Avoid passing arguments to `windres` that it can't handle by
stringizing the version string locally in resource.rc.

(GitHub issue #239)
</content>
</entry>
</feed>
