Releases
Here you will find more information about the supported versions of Hexagonix, as well as more information about them and the official changelog.
Hexagonix 1.0
Hexagonix 1.0 is the most complete and polished version to date, and it is also the first fully functional version of the system. See below for more information about this release.
Previous versions, marked with the pattern Hexagonix H* or Hexagonix v1.*-Hexagon v*.*, dated before the release of this version, should be considered legacy, non-functional and unsupported versions.
-
Hexagon kernel v1.7.0:
-
This version introduces preemptive multitasking to the kernel:
- New process model, with states (IDLE, BLOCKED, RUNNING, READY, ZOMBIE) that mark the life cycle of a process;
- Per-process environment variables: each process can set and retrieve environment variables, which are inherited from the process that created it;
- Non-reusable PIDs: now each process has a unique PID;
- Each process has its own stack;
- New spawn() and kill() calls to start processes in a non-blocking way and to kill a process by its PID;
- New round-robin scheduler, which ensures that all loaded processes get their execution time and are preemptively interrupted/resumed;
- Use of malloc() and free() to allocate any process structure under the kernel's responsibility;
- Moves data that used to be loaded at fixed addresses in kernel memory to areas allocated via malloc(), ensuring greater stability;
-
General rewrite of FAT16 file system management:
- Ability to create and remove directories;
- Ability to change the current directory via a system call;
-
New relative and absolute path functionality:
-
Files can be identified by a full path, such as
/bin/ls; -
Files can be identified by a relative path, by entering a directory and looking for
ls;
-
Files can be identified by a full path, such as
- Exposure of the touch() call, responsible for creating an empty file;
- Various bug fixes in process management;
-
Critical bug fixes in memory management:
- Fix where the value of a pointer was being used when it should actually have been dereferenced, causing corruption in the process table;
- Makes malloc() and free() safe in a multitasking environment, where interrupts and preemption occur;
- Change to the timer handler, to trigger preemption;
- Fixes a number of race conditions that were identified during the implementation of preemptive multitasking.
-
Deeply changes the system's user management:
- The system no longer stores the name of the logged-in user; this is now handled by the userland, as done in systems like UNIX V7 and Linux;
-
The
rootuser identifier becomes 0, as in UNIX v7 or Linux. Until then, the fixed identifier 777 was used; - Each non-administrative user now has its own identifier, starting at 1. This is managed in the userland. Until then, they all had the fixed identifier 555;
-
Reorganization of all system calls:
- Grouping of related calls;
-
Breaking of the contract with all applications created for previous versions; all utilities need to be assembled/compiled again, with the latest version of
libasm. Although the call numbering has changed, the contract of each of them remains the same;
- This version has been in the works for the last 14 months.
-
This version introduces preemptive multitasking to the kernel:
-
HBoot v0.22.0:
- Removes the term Hexagon Boot in favor of HBoot;
-
Unix utilities (UnixUtils and CoreUtils):
-
New
mkdirutility:- Responsible for creating new directories on the volume;
-
New
rmdirutility:- Responsible for removing a directory, if empty;
-
New
killutility:- Responsible for killing a process with the given PID;
-
New
adduserutility:-
Responsible for creating a new user in the system, referencing the user database at
/etc/shadow; - Incrementing the user identifier and creating the record;
- Uses password hashing to prevent password exposure;
-
Responsible for creating a new user in the system, referencing the user database at
-
New
deluserutility:- Responsible for removing a user from the system, as long as they are not currently logged in;
-
New
passwdutility:- Responsible for changing a user's password.
-
New
touchutility:- Responsible for creating an empty file on the volume;
-
New
clockutility:-
This new utility should be run in the background, with
clock &. It is also started with the system by default; - It shows the time in the top-right corner of the screen, updating constantly with second-level granularity;
-
This new utility should be run in the background, with
-
Changes to the environment shells (
shandhash):-
New shell-script execution feature; scripts must have a
#!/bin/shidentifier (or the name of another compatible shell) at the start of the file; - New command to get and set environment variables;
-
Executable lookup using the
PATHvariable, allowing the execution of utilities that are segregated in other system directories; -
Ability to start a process in the background, using
&:-
For example, starting the
clockutility in the background:clock &;
-
For example, starting the
-
New shell-script execution feature; scripts must have a
-
Changes to the
manutility:- It now pauses when the manual is larger than the available screen space, asking for user interaction;
- Exiting the utility is now prompted to the user, following the Linux tool used as a usability reference;
-
Manual lookup changed from
/to/usr/share/man, improving organization and segregating the files into a dedicated, standardized directory;
-
Changes to the
cowsayutility:-
Character-file lookup changed from
/to/usr/share/cowsay, improving organization and segregating the files into a dedicated, standardized directory;
-
Character-file lookup changed from
-
New version of the
initutility:-
Startup script changed from
/rcto/etc/rc; -
Ability to start and monitor processes, using the
respawn=expression. Ability to monitor 8 processes; -
Ability to start unmonitored processes, with the
spawn=expression; -
Ability to define environment variables that will be inherited by all processes, such as
PATH;
-
Startup script changed from
-
New version of the
loginutility:-
Now uses the new user database format, for example:
user:password:user_id:default_shell:theme; -
User database moved from
/passwdtoetc/shadow. Renamed to avoid conflicting with the newpasswdutility; -
loginno longer monitors the shell. It starts the logged-in user's shell in a blocking manner and, when the shell exits, it exits as well, returning control to init, which holds the respawn rule;
-
Now uses the new user database format, for example:
-
New version of the
logindutility:-
Now uses the new user database format, for example:
user:password:user_id:default_shell:theme; -
User database moved from
/passwdtoetc/shadow. Renamed to avoid conflicting with the newpasswdutility;
-
Now uses the new user database format, for example:
-
New version of the
suutility:-
Now uses the new user database format, for example:
user:password:user_id:default_shell:theme; -
User database moved from
/passwdtoetc/shadow. Renamed to avoid conflicting with the newpasswdutility;
-
Now uses the new user database format, for example:
-
New version of the
toputility:- Compatibility with the new process model, showing the full process path and its state;
- Displays, for each process, the parent process (PARENT), which can be a user process or the kernel;
- Fix in data formatting, standardizing the columns;
-
New version of the
psutility:- Compatibility with the new process model, showing the full process path and its state;
- Displays, for each process, the parent process (PARENT), which can be a user process or the kernel;
-
New multitasking test utilities, as a proof of concept:
-
testa,testb,workera,workerbandlauncher;
-
-
New organization of the utilities:
-
init,login,logind,shutdown,ps,top,passwd,adduseranddeluserwere moved to/sbin; -
The remaining utilities were moved from
/to/bin;
-
- General bug fixes;
- Improvements to the structure of the utilities;
- Minimum Hexagon version changed to v1.7.0 for all utilities;
-
New
-
Andromeda Apps (Hexagonix-Andromeda environment):
-
Changes to the environment shells (
ashanddossh):-
New shell-script execution feature; scripts must have a
#!/bin/ashidentifier (or the name of another compatible shell) at the start of the file; - New command to get and set environment variables;
-
Executable lookup using the
PATHvariable, allowing the execution of utilities that are segregated in other system directories; -
Ability to start a process in the background, using
&:-
For example, starting the
clockutility in the background:clock &;
-
For example, starting the
-
New shell-script execution feature; scripts must have a
-
Changes to the
configutility:-
Adaptation of configuration files to use the
/etcdirectory as their base directory; - Changes to some of the utility's messages;
-
Adaptation of configuration files to use the
-
Moves utilities from
/to/bin;
-
Changes to the environment shells (
-
Scripts:
-
Renames the
indent.shutility toformatter.sh; -
Changes the modules used to build the image:
-
init,login,logind,shutdown,ps,top,passwd,adduseranddeluserwere moved to/sbin; -
The remaining utilities were moved from
/to/bin;
-
- Changes the VirtualBox image identifier to a fixed one, allowing updated images to be used in VirtualBox without needing to change settings or remove/add a new image;
- Changes the virtual machine memory, via qemu, from 32 to 64 MB.
-
Renames the
Generated from the release notes in the Doc repository.