Commit Graph

1336 Commits

Author SHA1 Message Date
Stefano Ceccherini
3e8f4f3d29 More bugs fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 16:28:11 +00:00
shatty
b1594ca363 support building ShowImage via jam.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 05:52:55 +00:00
shatty
0f0ad94e3f support building by jam
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 05:40:46 +00:00
shatty
74daea1f06 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 05:40:17 +00:00
shatty
4e0b2752ad added stylededit subdirectory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 04:49:15 +00:00
shatty
21fc772d70 Support building StyledEdit via jam.
Also added resources.  Followed the pulse model but used the application signature from the code in cvs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 04:48:40 +00:00
shatty
3e81831b69 Fixed newline at end of files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 04:47:23 +00:00
Michael Pfeiffer
c615771892 Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:46:13 +00:00
Michael Pfeiffer
57e88ee89b Bug fix for memory leak. BMessage returned by take_job was not deleted.
Clean up.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:45:24 +00:00
Michael Pfeiffer
d16c075486 Bug fix to avoid null pointer access.
Clean up.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:40:46 +00:00
Michael Pfeiffer
b0ab449a96 Added message constant.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:36:31 +00:00
Michael Pfeiffer
a039d985c9 Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:27:54 +00:00
Michael Pfeiffer
f0ac1e5a7e Bug fix for HP PCL3 printer add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:26:46 +00:00
Ingo Weinhold
7a384fde36 Extended the Addon rule by another parameter: <is executable>. Supply "true" to prevent the usage of the -nostart linker option.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 22:31:53 +00:00
Marc Flerackers
4eb5e0d516 Initial Checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 14:53:19 +00:00
Stefano Ceccherini
39be953e7a Fixed a stupid typing bug, implemented a pair of other functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 14:46:27 +00:00
Stefano Ceccherini
a15ed5a14a fixed a typo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 14:22:16 +00:00
beveloper
106c88e9d2 some fixes to get it working on Gateway Profile 4 (ICH 4 chipset)
also experimental code for AD1886 (doesn't work)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 11:20:08 +00:00
Stefano Ceccherini
7c64b6d7d5 Implemented format-appending operators, more optimizations and bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 06:53:49 +00:00
Axel Dörfler
f4b41f88a2 The private data field in the file_descriptor is now a union to hold different
types of objects (currently fs_mounts, and vnodes).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 03:52:10 +00:00
Axel Dörfler
0a2bd16f7d find_mount() must not lock the gMountMutex - the caller must do this; that
also fixed a bug, because fs_read_info()/fs_write_info() already locked the
mutex before calling find_mount().
Implemented the file system API for attribute directories, and index
directories.
Introduced a new macro FS_MOUNT_CALL() to call fs ops directly from the
mount structure.
get_new_fd() now panics if it is called with an unknown fd type.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 03:50:14 +00:00
Axel Dörfler
83efd20846 The private data field in struct file_descriptor is now a union (that can
currently hold a pointer to a fs_mount, or a vnode).
Updated the index_dir part of the fs API.
Added FDTYPE_INDEX_DIR in fd.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 03:36:04 +00:00
jrand
63c051f283 Adding implementation and tests for global function get_deskbar_frame().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 03:27:26 +00:00
jrand
47a39f50ed Moving this file from this location to a more appropriate location under the "interface" directory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 02:23:03 +00:00
jrand
57a893c47d Moving this file from the app subdirectory to a more appropriate place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 02:21:31 +00:00
Axel Dörfler
d8f40dbc54 Moved bootfs.h and rootfs.h to src/kernel/core/fs because they are private
to the VFS, not to the whole kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 01:13:42 +00:00
Axel Dörfler
a16194144d Removed bootfs.h and rootfs.h from the private/kernel/ header directory.
They are now located in src/kernel/core/fs, because they are private to
the VFS, not private to the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 01:09:27 +00:00
Axel Dörfler
71c882e5f5 Included NewOS change 1642 (argument checking)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 01:01:54 +00:00
Axel Dörfler
5f20abf004 Changes due to name changes in the fs API.
Fixed some warnings in fb_console.c


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 16:39:42 +00:00
Axel Dörfler
2217cc8e6a Changed some names (of structures and definitions).
Added exports for the variables a file system add-on has to export.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 16:38:10 +00:00
Axel Dörfler
3c6bf0c8c1 Renamed "calls" to "ops".
Removed unused prototype.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 16:36:38 +00:00
Axel Dörfler
dd36c5aa04 Renamed "calls" to "ops" (yeah, I know, that doesn't make really much sense :).
Completed load_file_system().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 16:34:33 +00:00
Stefano Ceccherini
14d32cf634 First BMemoryIO tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 15:03:51 +00:00
Stefano Ceccherini
3f541a71c8 First tests for BMemoryIO
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 15:00:55 +00:00
Axel Dörfler
e04fced505 The available file systems aren't load anymore on startup.
Reimplemented file system handling, it's now loading file systems on an
on-demand basis - code is not tested yet, but should work!
That also fixed a bug that was in that code before (the image was not
unloaded in case of an error in vfs_load_fs_module()).
Renamed fs_id to mount_id.
Renamed all global variables to have the 'g' prefix in vfs.c.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 14:10:50 +00:00
Axel Dörfler
62781e5bc4 Renamed fs_id to mount_id.
Some clean-ups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 14:05:44 +00:00
Axel Dörfler
4dc5ecd3cb Renamed fs_id to mount_id.
Moved typedefs for mount_id and vnode_id to fs_interface.h.
Removed some unused stuff in ktypes.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 13:57:06 +00:00
Axel Dörfler
ba8080175e Changed the rename_attr() call to allow moving attributes to other files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 12:14:57 +00:00
Axel Dörfler
99e81006d0 Added some tests against wrong values in simple names, like attribute names,
or entry_ref names (paths are safe).
Implemented attr_remove(), and attr_rename().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 12:13:09 +00:00
Stefano Ceccherini
0bb4177544 BMallocIO use cases
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 08:46:19 +00:00
jrand
b5b2bdae33 Finishing BDeskbar implementation and fixing minor test issue.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 03:24:17 +00:00
Axel Dörfler
0ee7f6972b Rearranged some functions to better fit in their context.
new_file_fd() is now called get_new_fd(), and can also create fds for other
types as well. Furthermore, it lost some memory if it couldn't allocate a
new fd.
Implemented most of the VFS attribute API (kernel internal only), only
remove_attr(), and rename_attr() is missing for now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 02:18:20 +00:00
Axel Dörfler
bae1b21a60 Reworked the fs API a bit, it's quite complete now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 02:15:00 +00:00
Matthew Wilber
6092a116e9 moved the pixel conversion logic out of translate_from_bits_to_tgatc and into a new function (pix_bits_to_tga) in order to make the code easier to read and easier to add the option for saving as RLE compressed TGAs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 00:59:39 +00:00
Matthew Wilber
2ac3396c5d change the names of the member variables to use the OpenTracker guidelines rather than the MFC-ish m_ notation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 00:56:25 +00:00
Matthew Wilber
ba97a8bdec changed the names of the member variables to use the OpenTracker guidlines instead of using the MFC-ish m_ notation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 00:55:45 +00:00
DarkWyrm
83a57b389a Many misc. updates, including a couple new font classes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 22:49:57 +00:00
Stefano Ceccherini
c9ea158353 Write() Returns B_NO_MEMORY if it cant allocate memory
iVS: ----------------------------------------------------------------------


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 19:04:22 +00:00
ejakowatz
5da124ea94 Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 16:26:43 +00:00
Axel Dörfler
570b6eaeeb Removed the fs_ prefix from the fs_calls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 16:17:22 +00:00