haiku/build/jam
Ingo Weinhold 7ffafac8d7 * Reorganized the FS interface a little:
- Moved most file_system_module_info hooks into separate structures.
    Those that operate on mounted volumes to fs_volume_ops, those
    operating on a vnode to fs_vnode_ops.
  - Got rid of the fs_volume, fs_cookie, fs_vnode typedefs. We use void*
    again.
  - Instead of a void* volume and node cookie hooks are passed a
    fs_volume and fs_vnode structure pointer, which contain the cookie
    and an ops pointer (fs_volume a few more things).
  - The VFS {new,publish,get,...}_vnode() functions take a fs_volume*
    instead of the volume ID. So does vfs_get_fs_node_from_path().
  - Added type and flags arguments to publish_vnode() and the
    get_vnode() hook and removed the type argument from lookup() hook.
    Added vnode::type using formerly unused bits to store the node type.
    Simplified a few things in the VFS due to the now always available
    node type.
  - Added fs_volume_ops::{create,delete}_sub_vnode() and
    fs_vnode_ops::get_super_vnode() hooks. They are used to support file
    system layers, e.g. allowing to extend an FS not supporting BeOS
    attribute with attribute support. Needs some more work in the VFS.
  - Added fs_vnode_ops::create_special_node() hook for creating special
    nodes (e.g. FIFOs).
* Adjusted the built-in file systems and BFS according to the interface
  changes. Removed all other FSs from the image for the time being.
  We'll see whether further API changes are necessary before porting
  them.
* Adjusted the bfs_shell accordingly.
* Implemented create_special_node() in rootfs to support special nodes.
* Added support for FIFOs:
  - Added syscall _kern_create_fifo() (used by mkfifo()), which creates
    a special node (type S_IFIFO) in the respective file system.
  - When a special node is published the VFS creates a respective sub
    node. Currently only FIFOs are supported.
  - Added a little support for FIFO subnodes by using functionality from
    the pipefs.
  - Added mkfifo to the image. It can create FIFOs in the rootfs, but
    the FIFOs aren't really usable ATM, since they still work like
    pipes, i.e. readers and writers need to have them open at the same
    time.
* Some smaller changes in the VFS:
  - Made the *_CALL macros nicer to use (vargs).
  - Refactored FS entry lookup into new function lookup_dir_entry().
  - create_vnode() no longer just calls the FS create() hook. First it
    looks up the entry and uses open_vnode(), if it already exists. This
    is necessary for two reasons: 1) The FS might not support create()
    while still allowing to open() entries. 2) When the FS has other
    layers on to of it (or the respective node) it might not be
    responsible for opening the node.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-05 23:05:16 +00:00
..
BeOSRules * BuildPlatformMain supports overriding HOST_LIBROOT on the target now, 2008-03-22 21:05:03 +00:00
BuildSetup Added a new fancy build system feature called "build profiles". 2008-04-02 20:29:43 +00:00
CDBootImage Rules and targets to build a boot CD iso... use: 2008-03-02 04:38:29 +00:00
ConfigRules * Added JAMFILE to the config variables. 2008-03-30 15:34:30 +00:00
DocumentationRules This finishes my docbook infrastructure. 2006-09-05 15:52:15 +00:00
FileRules Use LC_ALL=C to really make sure the locale isn't used on svn info. 2007-12-14 21:21:55 +00:00
FloppyBootImage Reordered boot module list as well, it works much better when scsi_cd is here! 2008-03-04 01:05:50 +00:00
FreetypeRules updated freetype to 2.2.1, tested ok, please forgive me for possible left issues :) 2006-06-27 11:34:35 +00:00
HaikuImage * Reorganized the FS interface a little: 2008-04-05 23:05:16 +00:00
HeadersRules Second stab at reorganizing standard/gcc headers. This time it not only 2008-03-16 17:21:37 +00:00
HelperRules Made the compatibility level for target libbe_test depend on the compatibility 2007-08-05 01:13:27 +00:00
ImageRules Replaced "echo -n >" by "touch" as it's more portable. 2008-04-03 19:52:43 +00:00
KernelRules Merged branch haiku/branches/developer/bonefish/optimization revision 2008-01-11 00:36:44 +00:00
MainBuildRules Pass "--no-undefined" to the linker when building a shared library for 2008-04-05 22:04:28 +00:00
MathRules Added rules for performing basic integer arithmetics (+, -, *). The rules 2007-04-06 02:37:12 +00:00
MiscRules Added a new fancy build system feature called "build profiles". 2008-04-02 20:29:43 +00:00
NetBootArchive Added ipro100 driver. Tested on real hardware and it seems to work fine. 2008-02-05 22:18:14 +00:00
OptionalPackages * Added optional package OpenSSL. 2008-03-30 20:01:25 +00:00
OverriddenJamRules Build configurations shouldn't be done in svn controlled files, so I 2008-03-27 22:01:38 +00:00
PackageRules The Copy rule respects an already set SEARCH path now. 2006-02-06 23:04:01 +00:00
TestsRules Change the jam rules to build the test binaries as release by default, 2007-02-03 21:55:45 +00:00
UserBuildConfig.ReadMe Just make sure someone copying it as UserBuildConfig will understand what is wrong and where instead of reporting build breakage induced by their misbehaviour. 2008-04-03 14:59:04 +00:00
UserBuildConfig.sample * Added new rule CopyDirectoryToHaikuImage which recursively copies a 2008-03-26 04:14:25 +00:00