Commit Graph

4476 Commits

Author SHA1 Message Date
Axel Dörfler
161915fd91 Resolved the name clashing caused by the introduction of atomic_set() and
atomic_test_and_set() to the OpenBeOS headers (prefixed BFS versions with '_').


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 04:26:04 +00:00
Axel Dörfler
20743a3a67 KPartition::Dump() now also writes its size in MB for convenience (makes it
easier to check if the partitioning_system returns the correct size :-)).
Uses %f which doesn't work in the BeOS kernel (but might in OpenBeOS).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 04:06:01 +00:00
Axel Dörfler
d2a0f6a3dd Moved the checksum validation for child partitions from amiga_rdb_scan_partition()
to get_next_partition().
If a wannabe partition fails its checksum test, all partitions that might come
later are now skipped. Added a ToDo item for what would be a nicer dealing with
such errors.
get_next_partition() and search_rdb() are now static.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 04:04:16 +00:00
Axel Dörfler
37dae1afce Moved the checksum validation into a templatized function; the checksum
is now tested for partition_blocks as well.
Makes use of the new endian-aware structure methods.
If a partition is out of bounds (starts or reaches beyond the available
disk space), it won't be registered anymore - not sure if that's sooo
desirable, though.
Removed some unneeded debug output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 03:56:22 +00:00
Axel Dörfler
9f34c3c766 Added some more endian-aware getter methods for fields actually used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 03:52:53 +00:00
Axel Dörfler
da1a45d3c0 Made the module name compatible with the userland module loader - it requires
the file path to be part of the module name (that's not the case for BeOS, is it?).
Also added some more debug output, and now only allocate a new rigid_disk_block
if we are going to need it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 03:11:30 +00:00
Axel Dörfler
91b4829872 Initial Amiga RDB read-only support. Code itself is tested, but not yet in
this "shell" (the new DiskDeviceManager module API).
Hope for the best :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 00:59:45 +00:00
DarkWyrm
edd19f3d5c Removed a few compiler warnings
Added app-side support for font list
Added mostly-empty global font functions and documented them


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-01 17:08:34 +00:00
DarkWyrm
6a746063c9 Added app-side font list support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-01 17:06:11 +00:00
Waldemar Kornewald
0d80a4595f Added libkernelppp.a to the build (although it does not build yet, I need help to fix the problem).
Fixed all warnings and errors (except from the one mentioned above).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-01 16:29:24 +00:00
Waldemar Kornewald
62315ec459 Fixed compilation warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-01 16:09:51 +00:00
DarkWyrm
bd3f48e8bf Patch submitted by Jack Burton
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-01 14:12:53 +00:00
DarkWyrm
0bc9048607 Added BSession to build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 18:53:05 +00:00
beveloper
ef86d67dcb added ICH5 support and fixed a few warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 18:21:08 +00:00
Adi Oanca
7641924e66 Modified some classes to succesfully comunicate with BWindow/BView. the default decorator has been impoved. From now borders are build ARROUND the window area.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:38:34 +00:00
Adi Oanca
bf17b6ac95 Modified to use the new BSession class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:34:24 +00:00
Adi Oanca
b56bbfdf4e WELL... here you go: from 5% to more than 95% !!!!!! :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:33:22 +00:00
Adi Oanca
2eaa0ee692 New communication class that will be used by app_server - BWindow/BView ... later, maybe by every class!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:32:04 +00:00
Adi Oanca
ae1338ef78 New PortLink implementation based on BSession
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:30:24 +00:00
Adi Oanca
3616918627 Added two new methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:23:44 +00:00
Adi Oanca
6bcec3643b Helper definitions for BWindow class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:23:10 +00:00
Adi Oanca
d061757a51 Helper definitions for BView class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:22:46 +00:00
Adi Oanca
f90fc6a679 PortLink now uses a fixed buffer. Its base class is.... BSession...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:21:49 +00:00
Adi Oanca
3bbe920498 Added some new messages that are needed by BView
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:20:51 +00:00
Adi Oanca
445114208c Header file for the new communication class: BSession - it will replace PortLink
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:20:07 +00:00
Adi Oanca
b95458fd6c modified some methods names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:18:20 +00:00
Waldemar Kornewald
345d3d7d0b Fixed a spelling error.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 16:05:23 +00:00
François Revol
4772586cce Added support for the -l option like the R5 lsindex
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 09:37:16 +00:00
beveloper
d91580cd9a removed/fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 02:18:11 +00:00
beveloper
188b5de0bf renamed atomic_read() into atomic_get() (since we already have atomic_set(), but not a atomic_write())
renamed user_??? functions into the new _user_??? naming style.
changed implementation of PPC 64 bit atomic functions to use (un)lock_memory()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 01:21:56 +00:00
beveloper
a54e42d79a removed debugger call,
added name to BLocker


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 23:47:55 +00:00
Waldemar Kornewald
990e20ecdf Implemented nearly everything.
TODO:
- implement Control() methods
- write an authentication option handler
- write an MRU option handler

I will need to write the jamfile...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 12:40:25 +00:00
Tyler Dauwalder
d72bf645f0 vfs_interface.cpp => udf.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:56:18 +00:00
Tyler Dauwalder
08f7d1d4b1 Included UDF DriveSetup add-on in the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:55:56 +00:00
Tyler Dauwalder
03e51832d6 Commented out declarations for userland apps, since they were
aggravating the compiler when used in the DriveSetup add-on.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:52:12 +00:00
Tyler Dauwalder
62426f6446 - Restructured identification and mounting code a bit to make it cleaner
- Implemented static Volume::Identify()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:48:49 +00:00
Tyler Dauwalder
49cab54852 Added support for sending debugging output to a file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:47:19 +00:00
Tyler Dauwalder
497bc759e4 vfs_interface.cpp => udf.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:46:01 +00:00
Tyler Dauwalder
798f154212 Added initialization of debugging output file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:43:30 +00:00
Tyler Dauwalder
80bae611b7 vfs_interface.cpp => udf.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:42:30 +00:00
Tyler Dauwalder
33cd6a8a61 Jamfile for UDF DriveSetup add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:39:46 +00:00
Tyler Dauwalder
03bd8fccd2 R5 DriveSetup add-on for UDF. I'm placing the add-on source here, instead
of, say, src/add-ons/drive_setup/fs/udf/, because we won't need it for OBOS::R1,
but will instead need a disk device manager add-on, which will be written later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-30 04:39:22 +00:00
ejakowatz
80a4aa919d Fixed compile errors; references to BFont* when should have been BFont&
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 22:33:17 +00:00
ejakowatz
0784fd8bde Fixed bugs in (un)flattening code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 22:32:22 +00:00
ejakowatz
169ae2662c Fixed minor warnings (signed/unsigned compare).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 22:30:27 +00:00
Waldemar Kornewald
c9aa6219cc Forgot to remove AccessHelper.h. :)
The manager will take care of all accessing threads.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 12:59:28 +00:00
Waldemar Kornewald
3118bf2206 Finished:
- PPPDevice
 - PPPEncapsulator
 - PPPOptionHandler
 - PPPProtocol

Added SendCodeReject implementation (though, I am not sure if it really works because I am not familiar with mbufs).

Fixed some bugs.
Changed the manager interface (there are no pointers to classes anymore).
Some minor changes.

TODO for libkernelppp.a:
- finish PPPLCP
- finish PPPConfigurePacket


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 12:57:59 +00:00
Stefano Ceccherini
ba92606354 Fixed SetRunArray(). It was callign StyleBuffer::SetStyleRange() with a BFont** pointer instead of a BFont* one (that fix is by Marc Flerackers, as the whole class, BTW :)). Refactored CharClassification(), also added some more separator characters. Also foreign characters should be added here (Andrew?). Fixed [Allow][Disallow]Chars(). Fixed a linking issue when we don't link to libbe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 09:29:25 +00:00
François Revol
4c79468569 Added /bin/eject; has improvements over the R5 one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 09:12:29 +00:00
beveloper
b93355ab58 it was missing these two functions...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 01:28:00 +00:00