3.6 KiB
3.6 KiB
Changelog
Each version's changes, newest first. Versions follow semantic versioning.
Unreleased
binary::pewrites an executable's resources:resources, each by its type, number, and language, as.rsrcholds them, which the newimage.resourcesdirectory names;icon_group, an icon's images of PNG files, kept whole, and icon files, a PNG over 256 pixels left out, added byresources::add_iconas group 1, which Explorer andLoadImageWfind; andversion_resource, what the file's properties say: its title, version, and file's name.find_resourcefinds one in an executable's file again, andsubsystem_windowsandsubsystem_consolename the subsystems.- What it reads of
core's containers and views, and of std's, it reads by their properties, as.spanrather than.view(),.lastrather than.last(), andblank()rather thanempty(), as the compiler and std now name them. - The standard library is required as the package
sakura/std, and each library names the modules it reads:std::io, wherebyte_writeris now, and, fordwarf,pe, andpdb,std::containers, whereinterneris.
1.0.0 - Unreleased
- The five libraries Sakura writes executables with, until now each a
repository of its own, gathered into one, each still a library of its own:
binary::amd64,binary::elf,binary::dwarf,binary::pe, andbinary::pdb, which weremalunal::amd64and the rest. Their folders are named for them alone, asamd64/, and their tests are intests/amd64/and the rest, sharing onemain. A project requires the repository once and names among itsdepsonly the libraries it reads. - What each held at 1.0.0 in its own repository, of 2026-10-24:
amd64: the encoder of the Sakura compiler, moved out of itsnativefolder, with its tests.assembly::rexis public, so code beside the library writes prefixes as it does, and the fields ofmemandassemblythe compiler reads are public.elf: the ELF writer of the Sakura compiler, moved out of itsnativefolder, with tests. Its types lost theirelf_prefixes, aself::imageandelf::segment, a section's kind is an enum, and the machine an image is for may be given. Writing the file is the caller's: the library gives its bytes.dwarf: DWARF's numbers and encodings, moved out of the Sakura compiler's DWARF writer, with tests: numbers, abbreviations, tables of strings, the headers of units and lists, line programs and their table, and the descriptions of frames. What the compiler says of its programs stays the compiler's.pe: the PE writer of the Sakura compiler, moved out of itsnativefolder, with tests. Its types lost theirpe_prefixes, aspe::image, the subsystem may be given, and the exception and debug directories are named besides the imports and their addresses. How functions unwind:unwind_info,unwind_table, andfunction_table. The debug directory naming a PDB file:debug_entry,codeview_record, andstamp_codeview, andsection_headers, which a PDB file keeps. Writing the file is the caller's: the library gives its bytes.pdb: the first version, written for the Sakura compiler's Windows executables: the MSF file and the streams naming the file, of types and IDs, of modules, of names, and of globals and publics; CodeView's type records and symbols; each module's lines, inlinees' lines, and inline sites' annotations; and the GUID naming the file, made from what it holds.