Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.6.1 update: memory, performance, devfs, relative links #2251

Merged
merged 1 commit into from
Feb 3, 2017
Merged

1.6.1 update: memory, performance, devfs, relative links #2251

merged 1 commit into from
Feb 3, 2017

Conversation

payonel
Copy link
Member

@payonel payonel commented Feb 2, 2017

  • reduced memory cost to boot to shell!
  • READONLY mount option added: mount -r ...
  • os.execute (and shell.execute) now correctly spawn child shells with isolated shell environment (i.e. shell env vars such as PWD do not proprogate to the parent shell) Note that require("sh").execute(env, command, ...) is an option for direct command execution if dirtying the current shell is desired. Note that /bin/source uses sh.execute for this purpose
  • /dev/components added with smart adapters and links
  • supported devfs components at this time:
  • computer, internet, filesystem, screen, gpu, modem, eeprom
  • components can be labeled with /bin/label
  • /dev/components/by-label respects component labels
  • /etc/udev/rules.d/ supports boot labels
    -- component labeling and udev rules should be considered experiemental
  • links can now be relative
  • devfs significantly simplified, api reduced to single create method
  • various code cleanup
  • /bin/cp and /bin/mv hardened and now share common code
  • multiple fs mount point now share appropriate meta data (e.g. links)
  • hardened fs library
  • fs now detects and appropriately handles link cycles (a->b->a)
  • grep fix: show multiple matches with -o
  • install .prop added support for "ignore" key, for floppies to NOT be detected as an install source candidate. If you have a floppy and you don't want install to list it for install options, add {ignore=true} in a .prop file
  • less and more call cat when there is no tty (e.g. piped via |)
  • ln can create relative links
  • pwd -P option added to show real path
  • a messy term gpu resize issue fixed where the gpu can change resolution before the terminal is able to handle the resize event
  • smart hinting (where single hint results can extend to the next set) has been improved and put in shared code: now shell has it not just lua shell
  • text stream reader/writer now supports unicode as well as binary mode, e.g. writing binary data to /dev/eeprom now fixed

reduced memory cost to boot to shell!
READONLY mount option added: `mount -r ...`
os.execute (and shell.execute) now correctly spawn child shells with isolated shell environment (i.e. shell env vars such as PWD do not proprogate to the parent shell) Note that require("sh").execute(env, command, ...) is an option for direct command execution if dirtying the current shell is desired. Note that /bin/source uses sh.execute for this purpose
/dev/components added with smart adapters and links
supported devfs components at this time:
computer, internet, filesystem, screen, gpu, modem, eeprom
components can be labeled with /bin/label
/dev/components/by-label respects component labels
/etc/udev/rules.d/ supports boot labels
* component labeling and udev rules should be considered experiemental
links can now be relative
devfs significantly simplified, api reduced to single create method
various code cleanup
/bin/cp and /bin/mv hardened and now share common code
multiple fs mount point now share appropriate meta data (e.g. links)
hardened fs library
fs now detects and appropriately handles link cycles (a->b->a)
grep fix: show multiple matches with -o
install .prop added support for "ignore" key, for floppies to NOT be detected as an install source candidate. If you have a floppy and you don't want install to list it for install options, add {ignore=true} in a .prop file
less and more call cat when there is no tty (e.g. piped via |)
ln can create relative links
pwd -P option added to show real path
a messy term gpu resize issue fixed where the gpu can change resolution before the terminal is able to handle the resize event
smart hinting (where single hint results can extend to the next set) has been improved and put in shared code: now shell has it not just lua shell
text stream reader/writer now supports unicode as well as binary mode, e.g. writing binary data to /dev/eeprom now fixed
@fnuecke fnuecke merged commit c86ce4d into MightyPirates:master-MC1.7.10 Feb 3, 2017
@fnuecke
Copy link
Member

fnuecke commented Feb 3, 2017

Awesome! Thanks as per usual for taking such wonderful care of OpenOS :)

@fnuecke fnuecke added this to the v1.6.1 milestone Feb 3, 2017
@payonel payonel deleted the openos-1.6.1 branch February 4, 2017 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants