Commit Graph

1645 Commits

Author SHA1 Message Date
Axel Dörfler 6234c00a97 Added two more platform functions to switch between a logo screen and text mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 13:25:37 +00:00
Axel Dörfler 10937f43ff Changed the digit '4' to look better with the others.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 02:10:27 +00:00
Axel Dörfler 2158ae19ee The kernel_args structure version and size can now be checked and identified
in the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 16:54:04 +00:00
Axel Dörfler e07c1f2cc1 Now stores an inode number along with the other preloaded image data.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 16:53:09 +00:00
Axel Dörfler ad3b4b1fad The Node class can now return an inode number.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 16:52:19 +00:00
Axel Dörfler 7765cbf6f4 file_system_module_info now contains the module name as well.
The Partition class now maintains a module name, accessible via the new
method ModuleName().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 16:51:33 +00:00
Axel Dörfler d96c1c567e Added new prototypes for publishing/unpublishing partitions.
Made the header C++ safe.
Removed old and no longer needed bootstrap_devfs() prototype.
Removed unused includes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 15:33:53 +00:00
Axel Dörfler 734893f6d2 Renamed all VFS syscalls to the new style.
Improved returned types.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 15:18:04 +00:00
Axel Dörfler 57ef9ab8db Fixed return value of some functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 15:11:37 +00:00
beveloper bce41d865a Moved here from current/headers/os/add-ons/screen_saver
Original checkin by michaelphipps

Old commit messages:

Revision 1.3
Re-styled and (hopefully) finalized.

Revision 1.2
Minor changes to support code sharing.

Revision 1.1
Promoted to libscreensaver from (what will be) screen_blanker.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 22:46:11 +00:00
beveloper 02afe75c20 removed these files from public headers, they are now in current/headers/private/screen_saver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 22:42:42 +00:00
beveloper 3c232c2cba added missing newline
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 22:28:39 +00:00
Axel Dörfler f28a7f852d Static variables do have the "s" prefix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 20:59:52 +00:00
beveloper 65f8356f78 added missing newline
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 19:57:20 +00:00
Axel Dörfler d25bf856b1 Made it C++ safe. This header is only here temporary; it will be removed
as it defines the R5 file system API only.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 19:37:56 +00:00
Rudolf Cornelissen fcbb30938e extra regs added for DPMS related logging...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 08:39:50 +00:00
Axel Dörfler 960371b741 Replaced <new> with <util/kernel_cpp.h> - this is the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:00:10 +00:00
Axel Dörfler faffd0f3d7 spawn_kernel_thread() now matches the spawn_thread() prototype - there
is no reason for them to be different.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 15:39:56 +00:00
DarkWyrm c73fb70eb7 Minor header tweaks relating to the message buffer size
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 13:36:48 +00:00
DarkWyrm 0223e22e5a Janitorial work, mostly.
Removed SetMsgCode()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 12:55:42 +00:00
DarkWyrm f9b967b4cf Added DirectDriver definition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 02:45:29 +00:00
Axel Dörfler c9df0d11c8 Added definition for reserved region's ID.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 02:01:59 +00:00
Axel Dörfler 3999c1f3ec Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-09 18:15:25 +00:00
Axel Dörfler 2705fb7df0 Replaced the regions array with the nicer text_region and data_region members.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-09 02:51:27 +00:00
Axel Dörfler e1f53d9bbe Added prototype for vm_unreserve_address_range().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-09 02:17:16 +00:00
Axel Dörfler 11727a9c43 B_EXACT_KERNEL_ADDRESS is now the same as B_EXACT_ADDRESS; it will be
removed once it is no longer referenced.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-09 01:06:35 +00:00
Axel Dörfler dd9e837ebd Added prototype for vm_reserve_address_range().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-09 01:05:32 +00:00
Axel Dörfler ee7e4109ad Removed REGION_WIRING_* and REGION_ADDR_* and replaced them by their
BeOS counterparts.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 09:33:51 +00:00
Axel Dörfler dab1088ba3 "addr" to "addr_t", cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 08:35:39 +00:00
Axel Dörfler 3c9e531071 Removed NewOS LOCK_KERNEL and LOCK_RW - replaced by B_READ_AREA, and friends.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 08:24:53 +00:00
Axel Dörfler 4f91f11509 Now includes the old ISA.h header as well; removed doubled definitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 06:32:02 +00:00
Axel Dörfler ebb6a50a53 Fixed the prototype of parse_expression() - it's parameter should be const.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 06:25:18 +00:00
Axel Dörfler 56b4e8289c We temporarily need a BeOS compatible cache implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 05:59:53 +00:00
Axel Dörfler 2defe47a24 Removed no longer used system call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 21:12:30 +00:00
Axel Dörfler 34c763c98f File systems are modules now.
Added prototype for unremove_vnode(), some other minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 17:14:17 +00:00
Axel Dörfler d0da374bc3 Moved the public fs functions from vfs.h to this file.
Renamed them to match other exported BeOS functions as well (removed the vfs_ prefix).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 14:23:48 +00:00
Axel Dörfler aad3f70c86 Moved the public fs functions to fs_interface.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 14:21:51 +00:00
Axel Dörfler 35c681e031 Ah, that looks better (and actually works...).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 02:06:04 +00:00
Axel Dörfler 67efc07974 MAX_BOOT_CPUS is defined in kernel_args.h so we better include it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 02:03:29 +00:00
Axel Dörfler 0d59a3d2a9 More headers for the new modules and PnP/device system - note, this
is a work in progress; the name as well as the contents will change :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-06 23:52:08 +00:00
Adi Oanca 3bf1e2d54f there was a compiler error due to a NULL character at the end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-05 10:35:54 +00:00
Jérôme Duval 46c44a04fb adding gnu/termcap.h : is a copy of src/libs/termcap/termcap.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 12:38:47 +00:00
Axel Dörfler a8061da698 Removed system_time() prototype; it's already defined in OS.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:31:15 +00:00
Axel Dörfler 2c628d4aef gKernelEntry is no longer necessary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:11:47 +00:00
Axel Dörfler 78f42e3f33 Moved the addr_range struct to a separate header.
Changed the kernel image data to a preloaded image as well, to simplify
handling in the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:44:24 +00:00
Axel Dörfler ca109e727d Moved the addr_range struct out of kernel_args.h to a separate file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:41:25 +00:00
Axel Dörfler 6fccd3b788 Changed elf_lookup_symbol_address() prototype - due to the way it now returns
its information, it's no longer safe to call this function outside the debugger.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:38:09 +00:00
Axel Dörfler ecfed6a718 Added fields to hold debug symbol information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:33:13 +00:00
Axel Dörfler fa1ddc4f0e For debugging purposes, the boot loader is now able to load an additional
symbol table into memory and hand it over to the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 20:30:20 +00:00
Rudolf Cornelissen 6274eb68b3 fixed NM2070 hardcursor trouble: programming panel modelines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 17:50:22 +00:00
haydentech 49c997b9b1 The sys/types.h header define varies by platform, so check for both possibilities
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 16:54:54 +00:00
Philippe Houdoin 9dad5a5bec Was missing, needed by "USB Port" print transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 14:57:57 +00:00
Rudolf Cornelissen d401e5be78 added full 2D acc for NM2070
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 12:22:34 +00:00
Axel Dörfler 0865e4b204 Added syscall for rename_thread(), courtesy of Jack Burton.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 12:12:58 +00:00
Axel Dörfler a4733dd5dd Added some more error message found in Dano headers - not sure if we'll keep them, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-23 23:21:20 +00:00
Axel Dörfler 1648d0d88e daemon_hook typedef wasn't R5 compatible.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-23 23:14:49 +00:00
shadow303 225784b713 Minor tweaks to StrokePoint and StrokeSolidLine parameters.
Rename clippReg to clipReg


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-20 01:28:17 +00:00
Jérôme Duval f5be30013c Constructor for BMediaRosterEx
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:26:53 +00:00
Axel Dörfler adbaa7817e It's now B_MAX_CPU_COUNT rather than SMP_MAX_CPUS.
Removed unused headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-18 09:42:13 +00:00
Axel Dörfler 814291ded8 No need to include <kernel.h>.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-18 09:37:20 +00:00
mahlzeit f9b2179cb2 Instruments (patches) are now correctly recognized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 07:46:19 +00:00
mahlzeit b178e1905b Implemented BMidiSynthFile.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 19:54:00 +00:00
mahlzeit 1b13b75f49 Implemented support classes for the softsynth.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 16:47:34 +00:00
mahlzeit ff7afbb322 Put private classes into the BPrivate namespace.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 10:55:10 +00:00
mahlzeit 32ed9cc8c6 The glue classes are now in namespace BPrivate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 10:37:14 +00:00
Philippe Houdoin fe09bb12a1 Remove non-POSIX sys/cdefs.h & co dependency.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 00:56:00 +00:00
Philippe Houdoin 399761740c Remove non-POSIX sys/cdefs.h dependency.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 00:48:55 +00:00
Philippe Houdoin 38c2785626 Missing header file, required to build src/apps/bin/grep-2.5 and it's, indeed,
required by POSIX 1003.1g.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 22:47:31 +00:00
Axel Dörfler 6e062dd1b5 Added an ID field that connects the real kernel image with the preloaded image structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 23:41:34 +00:00
Axel Dörfler d81a053b90 Bye, bye elf_lookup_symbol(), hello get_image_symbol().
Also renamed elf_load_kspace() to load_kernel_add_on(), and friends.
The new unload_kernel_add_on() now has an image_id as parameter, no longer
a path (like the former elf_unload_kspace()).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 19:54:10 +00:00
Axel Dörfler 2b6b9a5afb Added a comment (now that we're using a hash table).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 17:20:40 +00:00
Axel Dörfler 11a5baaf67 Updated the private kernel image API to be more efficient (no longer needs
to acquire the team spinlock).
Renamed the user syscalls to the new style.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 15:04:36 +00:00
Axel Dörfler d07a6f89a0 Actually, elf_region already contains an area_id field...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 13:43:39 +00:00
Axel Dörfler 071c01b136 This should fix the R5 build again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 23:00:42 +00:00
Axel Dörfler c2c0779e26 Added two fields that ease the kernel initialization of the preloaded images.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 16:50:20 +00:00
Axel Dörfler f6de96a7e6 Added kernel_args_strdup() function as a strdup() replacement.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 16:46:38 +00:00
Axel Dörfler 94e11a83bb Fixes POSIX and R5 compatibility of the stat structure; readded field st_rdev.
Added an additional field st_type and changed functions to allow for this
extension while maintaining R5 compatibility.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:35:11 +00:00
Axel Dörfler 5ac1540121 Changed the "stat" related syscalls to have an additional parameter that specified
the size of the stat structure to allow extensions of that structure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:31:16 +00:00
Axel Dörfler 06e37d1ea5 Fix missing identation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 13:24:14 +00:00
Axel Dörfler 87611252cb Temporarily merged former pnp_driver.h and pnp_bus.h into device_manager.h.
This will be changed at a later time.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 13:15:09 +00:00
Axel Dörfler 44c7b3db82 pcihdr.h can now be found in src/prefs/devices.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 18:53:54 +00:00
Axel Dörfler 5ed66da080 Made the header C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 18:35:30 +00:00
Rudolf Cornelissen 0fccffc2c2 'cosmetic' update: in progress..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 20:26:52 +00:00
Jérôme Duval 3bf8a54a45 Forgot pcihdr.h, copied from the pci module
The pci module should be fixed to take this one instead


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 15:21:02 +00:00
Axel Dörfler f4e3a8d25f This file don't belong here and is not used at all.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 00:39:07 +00:00
Axel Dörfler 6e5cac2da6 Private exported kernel functions of the device manager.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 00:36:44 +00:00
Axel Dörfler cdbef38048 Changed some return codes to status_t where appropriate.
Renamed vfs_bootstrap_all_filesystems() to vfs_bootstrap_file_systems().
Renamed vfs_register_filesystem() to vfs_register_file_system().
Added new call vfs_mount_boot_file_system().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 01:20:41 +00:00
Axel Dörfler c757aac399 Added BeBuild.h in a central header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 16:21:44 +00:00
Axel Dörfler 48c68671a2 Fixed the build of the cppunit stuff; if you are using IMPORT/EXPORT you should
make sure they are defined.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 16:19:03 +00:00
Philippe Houdoin 4d7e82c125 Doh! Forgot to commit these after having removed from headers/posix/*.
My mistake.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 16:08:52 +00:00
Michael Phipps f141dd5709 Re-styled and (hopefully) finalized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:41:30 +00:00
Rudolf Cornelissen fb0e0c889e added move_overlay() for virtualscreens
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 17:34:01 +00:00
Axel Dörfler d6f96fbff9 Added a header that contains private libroot definitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:42:43 +00:00
Axel Dörfler 10d0c89786 Added a new and BeOS compatible public stdio.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:20:52 +00:00
Axel Dörfler 424c06a163 We've now switched to a BeOS compatible stdio.h in posix/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:20:10 +00:00
Axel Dörfler 1062a34eae Added separate libio header (since some C++ headers are needing it) - still messy.
Cleaned up stdio_{pre|post}.h headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 09:29:27 +00:00
Axel Dörfler 0d7f2390a4 The main header for the device_manager - work in progress.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 09:26:12 +00:00
Axel Dörfler eaa9132647 Changed some function return codes to return a status_t where appropriate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 11:54:00 +00:00
Axel Dörfler 1bde925efe Is now also usable from plain C.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 11:53:08 +00:00
Axel Dörfler 337d1d1bab Made C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 11:52:37 +00:00
Axel Dörfler 179fd09879 Removed the unused argument from module_init().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 21:04:06 +00:00
Axel Dörfler 29e1a3b55b Added the module_dependency structure.
A module can now define modules it depends on, and they will be automatically
loaded before B_MODULE_INIT is called.
This information will also be evaluated by the boot loader, so that it can
load all needed modules without further hacks.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 17:11:56 +00:00
Philippe Houdoin a1269ea0d9 Moved to /private/net. Not POSIX-standard headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 23:06:36 +00:00
Philippe Houdoin 3fb2d6f43a Moved to headers/private/net, as they're not standard POSIX headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 23:03:19 +00:00
Philippe Houdoin a60e1f4f7f Moved from headers/posix to private/net, as they're not POSIX headers.
Expand the max numbers of area for IPC, as net_stack_control_module can
target to more than 5 structs by adresses...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 22:53:41 +00:00
Rudolf Cornelissen e0bdc2b4c4 output devs/heads matrix setup added (NV11 not ready yet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-24 14:49:13 +00:00
Rudolf Cornelissen 30f7642281 driver works nicely with virtualized head setup now!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 14:41:39 +00:00
Rudolf Cornelissen 0669fe20bd added virtualized CRTC access with it's advantages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 08:41:03 +00:00
Axel Dörfler f6a31876ce Added system_info.h header and syscall for get_system_info().
Added support functions in sem.h and port.h that return some stats.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 22:46:35 +00:00
Axel Dörfler 4eedc697c3 platform_get_boot_partition() will now also get the boot device as parameter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 11:10:32 +00:00
Axel Dörfler 42033342bc Added kernel_args heap functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 02:33:07 +00:00
Axel Dörfler 840ed4b067 Added a dummy member of the platform_kernel_args structure: obviously, the
kernel didn't count an empty structure, while the boot loader reserved
4 bytes for it - dunno why, a _PACKED everywhere didn't help; it's probably
a compile option issue.
To be on the safe side always, I've now added this dummy.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 01:32:44 +00:00
Axel Dörfler 95bd98d938 Fixed addr_range structure: struct name didn't match typedef name, now uses
addr_t for the address base/size instead of (the non-portable) uint32.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 01:29:55 +00:00
Axel Dörfler d9194b620b We also need the size of the dynamic section.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 01:27:02 +00:00
Axel Dörfler deb0d0de8a Added platform_start_kernel() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-20 23:41:38 +00:00
Axel Dörfler 85429b59c0 Added definition for the gKernelEntry variable.
Updated the license; it doesn't contain a single line of the former stage2.h
anymore, and we don't have to blame Travis for it :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-20 23:40:57 +00:00
Axel Dörfler 62dbb799d5 Replaced addr with addr_t.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-20 23:38:07 +00:00
Axel Dörfler e1a6f46dc9 Removed ktypes.h dependency; replaced "addr" with "addr_t", some other minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-20 23:37:00 +00:00
Rudolf Cornelissen ccfb6b3711 more logging, removed paneldetection bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-19 13:57:31 +00:00
Waldemar Kornewald e09429df45 Removed unneeded constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 13:12:15 +00:00
Waldemar Kornewald f1730f62f5 Fixed collision between SO_XXX and IP_XXX defines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:46:10 +00:00
DarkWyrm 1b4ec3a38b Checkin for Caz (without pain, even!) which adds DrawBitmap support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 17:53:10 +00:00
Waldemar Kornewald fde2fe1c1c Checking in headers for libbind.so.
Also updated our socket.h to be more compatible with BONE (we do not support SO_NONBLOCK which is needed for Mozilla).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 15:54:34 +00:00
Stefano Ceccherini ac41b0f103 Added license
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-09 11:07:35 +00:00
Stefano Ceccherini 64e8448a05 Removed some fields, simplified the header. Added the license
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-09 07:59:42 +00:00
Waldemar Kornewald be9443cb6e Changed address families to match bone.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 13:00:45 +00:00
Axel Dörfler 54327b01b3 Added prototype for _user_rename_thread().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-06 21:30:06 +00:00
Rudolf Cornelissen b40ba576db fixed introduced regs cloning err on later cards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-06 12:08:03 +00:00
Rudolf Cornelissen 77354258ed various fixes tested on NM2070 (works now)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-06 09:37:21 +00:00
Adi Oanca ac903216d7 fixed a bug where a bitmap was mising a pixel line/column
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:23:12 +00:00
Adi Oanca 9d5fb2696a consted some parameters
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:04:28 +00:00
Adi Oanca 254a8cc4a3 added PrintToStream method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:03:57 +00:00
Michael Phipps 597515140e Minor changes to support code sharing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 00:33:06 +00:00
Waldemar Kornewald 8070acfb47 Added a "const" to the name field in control_net_module_args.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 10:53:50 +00:00
Waldemar Kornewald 4283dfd6f6 Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 10:51:50 +00:00
Stefano Ceccherini a1e1747413 IOBase() is not supported
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 09:19:08 +00:00
Axel Dörfler 07e76c95be NewOS read/write hooks return ssize_t, but on BeOS, they return status_t and
the number of bytes read/written in an argument. Until now, we had a buggy
mix between those two solutions. Courtesy of Jack Burton.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-29 12:22:24 +00:00
Rudolf Cornelissen b6e8c7e83d finalized acc related stuff, did some tidbits, fixed cursor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 16:12:26 +00:00
Adi Oanca 8a2b8a4355 * added a temporaly method for constraining the clipping region.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 14:35:13 +00:00
Rudolf Cornelissen 88aa1acd0a massive acc speedup, removed fill error, hardcursor OK
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-27 17:18:40 +00:00
Michael Pfeiffer 2c973bd1fc Implemented copy number of pages for printers that do not support page copy command. Check if PrintToFile dialog was canceled and return without an error.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-27 07:08:38 +00:00
Rudolf Cornelissen b350e3f19a full 2D acc works on NM2097 and NM2160 (still with softcursor)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-23 20:05:59 +00:00
Axel Dörfler 56c7aeaee8 Fixed a typo, thanks to Jack Burton for pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-23 15:37:48 +00:00
Axel Dörfler c04864640e Removed addr_t typedef (it's now in sys/types.h).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-22 19:23:47 +00:00
Axel Dörfler 435464b451 Added addr_t to sys/types.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-22 19:22:09 +00:00
Rudolf Cornelissen 5aaa34a241 NM2097 and NM2160 screen_to_screen blit should now work
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-22 14:01:52 +00:00
Rudolf Cornelissen 3f618e4cfd acc updates for NM2097 and NM2160
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-21 21:36:23 +00:00
Michael Phipps e948782184 Promoted to libscreensaver from (what will be) screen_blanker.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-20 18:52:04 +00:00
Michael Phipps 0a230fcfc5 Removed commented out code - don't need it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-20 18:51:34 +00:00
Ingo Weinhold a5cb928880 Uncommented the definition of variable saverVersionID. It is defined in
Be's header too, but doing that is complete nonsense.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-19 23:46:43 +00:00
Stefano Ceccherini e064995715 Removed an unneeded dependency
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-18 07:37:38 +00:00
Axel Dörfler 1e14a27ee8 Changed prototype for thread_init(), renamed thread_init_percpu() to thread_per_cpu_init().
Removed thread_kill_thread_nowait(), removed prototype for non-existing thread_kill_thread().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-17 15:27:19 +00:00
Rudolf Cornelissen c65998fa11 NV11 panel update; widescreen panel aspect programming added
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 11:15:30 +00:00
Axel Dörfler 14f5ad8ce4 Separated the team functions from the thread.h header into the new team.h.
Fixed fd.h to include that file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:40:03 +00:00
Axel Dörfler 8131e02c55 Made C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:24:42 +00:00
shadow303 4f5f1b3c0c Modify Thomas's radeon driver to fit our build structure.
Still needs woork to properly enable logging and extra settings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:58:12 +00:00
Axel Dörfler bbd8e7fbd9 Removed unneeded prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:56:02 +00:00
Axel Dörfler 4a2e872cca Applied NewOS change 1914: moved APIC setup into the kernel due to a
problem with the APIC clock speed test.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 22:54:00 +00:00
Axel Dörfler c27ed74e34 Replaced timer.h with a cpp safe version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 21:08:25 +00:00
Axel Dörfler 188b2566b6 Cleanup, fixed return codes.
Removed the local_timer_cancel_event() function, since it is not used anywhere.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 18:03:18 +00:00
Axel Dörfler 7d154f91ff arch_setup_signal_frame() can now fail.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:58:11 +00:00
Axel Dörfler a2b6866fb9 Fixed compilation without having included boot/kernel_args.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:42:18 +00:00
Axel Dörfler 190c52aac5 A BeOS compatible math.h rewritten from scratch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 18:49:41 +00:00
Rudolf Cornelissen 82cf9eb56b added some DFP registers needed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 11:39:13 +00:00
Axel Dörfler ed3f63ae37 Added a call to move the contents of one list to another.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 21:34:20 +00:00
Axel Dörfler 86d5deed7b Some additional standard MIME types in the Be world.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 13:40:35 +00:00
Axel Dörfler 3f7d503ff1 Fixed DoublyLinkedList::Iterator().
Switched back to a pointer to the list in the Iterator internally, so
that it can still be just copied without having to overload "=", etc.
This fixes the boot loader build, too (shame on me).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 00:49:52 +00:00
Axel Dörfler 03d14a728a kernel_cpp.h can now safely be included from C code, great, isn't it?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 00:44:39 +00:00
Rudolf Cornelissen 6f5cefa919 added flatpanel registerdump
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-08 11:02:20 +00:00
Rudolf Cornelissen c045684987 more panel detection stuff: looks like it will work for both DVI and laptops..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-04 09:01:45 +00:00
Axel Dörfler 9e5bff5feb Replaced the syscall for thread_get_current_thread_id() with one for find_thread().
Renamed the thread/team syscalls to the new naming scheme.
Some other minor cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 00:52:47 +00:00
Axel Dörfler 8e623d69b5 Made it a bit nicer to use.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 00:50:01 +00:00
Axel Dörfler 6f3a136e47 Added the inline x86 asm version of find_thread() as it is found on BeOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 00:44:18 +00:00
Rudolf Cornelissen 3186091bdd added preliminary flatpanel detection stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 20:00:16 +00:00
shadow303 52c2367204 Remove some remnants of old API
Minor tweak to helper function paramter list


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 02:19:48 +00:00
shatty 08ebf37bc6 add AudioFrameSize convenience function to media_format
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 22:52:22 +00:00
beveloper 1e88e6620d updated to match source file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 20:09:42 +00:00
beveloper bac2b3f15c When the decoder doesn't support the requested format, the raw decoder is utilized
to provide a format conversion to the requested raw format.
Added a few workarounds for applications that don't requst the required format
but instead assume to get a specific one.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:53:57 +00:00
Matthew Wilber ba25ca5cf0 Fixed & / | mixup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:12:29 +00:00
Matthew Wilber ab71ec93c8 Changed version macros to use Be naming scheme
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 16:54:11 +00:00
Matthew Wilber ed2a34c44f Added version macros to be used by the translation kit / translators for making and decoding version numbers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-28 19:13:20 +00:00
Axel Dörfler 5d9e40fe92 Added missing R5 headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-26 19:35:02 +00:00
Axel Dörfler 13cdd48215 Added B_REDO constant (as found in Dano/Zeta).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 15:32:16 +00:00
Adi Oanca 82cde293d6 added a method fo copying onscreen regions from one point to another
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 11:50:10 +00:00
Axel Dörfler ac526351a8 Removed user_strncpy()/strcpy() and backends.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 05:26:08 +00:00
Axel Dörfler 7d5be143e8 We have status_t.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 04:30:46 +00:00
Axel Dörfler 31bedae9ea Replaced SYS_MAX_OS_NAME_LEN with B_OS_NAME_LENGTH.
Replaced "addr" with "addr_t".
And while I was at it, I also added the additional team parent/child members
as found in NewOS change 1930 (not applying the whole change yet).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 03:55:53 +00:00
Axel Dörfler 5c23f57060 I am not sure why I did those, but I guess it has something to do with doxygen.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 03:52:08 +00:00
Axel Dörfler 7ba272b8b3 Added a B_CURRENT_TEAM constant - it's not available in BeOS, but it's
actually used at several places (like get_next_thread_info(), ...).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 03:32:44 +00:00
Axel Dörfler 813b3cc53e Removed the non-Be-compatible devfs partition info stuff.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 03:25:13 +00:00
Axel Dörfler 2e6b261697 Small cleanup.
Replaced SYS_MAX_OS_NAME_LEN with B_OS_NAME_LENGTH.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 03:14:49 +00:00
Axel Dörfler 166515d663 Replaced the scary team_get_team_struct() with the more pleasing team_is_valid().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 03:13:54 +00:00
Axel Dörfler 0fc073341c Renamed CHECK_USER_ADDRESS to IS_USER_ADDRESS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 02:18:32 +00:00
Axel Dörfler ab7ada645a Renamed the CHECK_USER_ADDRESS() macro to IS_USER_ADDRESS().
Added a IS_KERNEL_ADDRESS() macro.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-22 14:56:50 +00:00
shatty faca9355a7 fixed GetNextChunk not connected bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-22 06:12:45 +00:00
Axel Dörfler 28632c48ce Added a private static BorderSize() method. I wonder why those functions
are exposed at all...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 18:43:34 +00:00
Axel Dörfler a76953d909 Renamed ModFlags() to ModifyFlags() and made it static (it's private anyway,
so this is no problem).
On second thought, I like "archive" better than "data" for the Archive message
name.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 15:01:04 +00:00
Axel Dörfler 50a4d43e91 Removed the private InitObject() method - it's not even exported in R5.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 17:46:37 +00:00
Axel Dörfler 26021c2c52 Fixed two bugs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 02:50:31 +00:00
Axel Dörfler dfa1093a41 Rewrote the BScrollView header from scratch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 02:06:12 +00:00
Ingo Weinhold 1b89aa98ff Made the Unit test stuff a bit more mwcc/mwld friendly. It still doesn't build right out of the box with our build system, but with a few changes to the build system it can be done (I'm not going to do that, though).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 21:38:04 +00:00
Ingo Weinhold aa94570a34 Changes to make the CPPUnit build on PPC (with mwcc *shudder*).
Courtesy of Oliver Tappe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 19:57:58 +00:00
DarkWyrm 14ef62299d Implemented and fixed font functions in DisplayDriver
Added some copy functions to ServerBitmap
Replaced LayerData component of Decorator with DrawData


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 20:26:01 +00:00
Michael Pfeiffer 329e4f9a7b Allow selection of ink density
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:00:18 +00:00
Michael Pfeiffer 7f5627dae3 Allow selection of halftone method and ink density
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:56:14 +00:00
Michael Pfeiffer 7566478beb Added InkDensity and DitherType; distinguish between page and job settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:54:17 +00:00
Michael Pfeiffer ef68644905 Shows a halftone preview.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:53:45 +00:00
Michael Pfeiffer 370f27ad77 Simplified creation of a libprint printer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:45:40 +00:00
DarkWyrm 2bde7b6696 Removed the SetMode(int32) call - no longer necessary
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 01:22:47 +00:00
DarkWyrm 70b9b61f23 Made some ServerBitmap get-member functions const
Added UtilityBitmap class


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 13:47:52 +00:00
shatty 8f975d5e5f axel points out that the message loop is already started by the time we get to ReadyToRun, so we can start our friends there
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 09:43:46 +00:00
DarkWyrm 871efa51a3 Added some direct-buffer acces functions to DisplayDriver
Slight ServerFont tweak


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:51:23 +00:00
Philippe Houdoin f8d0ea9641 Fix the h_errno issue of this thread-safe global variable, thanks to Thread Local Storage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 23:34:21 +00:00
shatty fa8dbc019d new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:26:40 +00:00
shatty 522f702aaf header for simple AddOnMonitor BLooper subclass to run an AddOnMonitorHandler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 05:50:56 +00:00
shatty afd1e2002e basic interface
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 05:50:00 +00:00
Michael Pfeiffer 730329f797 Unified handling of color and monochrome dithering.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 08:54:26 +00:00
beveloper 0f2976ab26 small api changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 01:00:11 +00:00
Rudolf Cornelissen 9f21ce697e startup updates; CRT monitor detection added for both heads
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 20:48:53 +00:00
Michael Pfeiffer 2f6e49a929 Implemented Floyd Steinberg dithering and made it default.
Renamed many constants and fields according to Open BeOS coding style guide.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 17:10:36 +00:00
Michael Pfeiffer 7ea239b20d Implemented Floyd Steinberg dithering and made it default.
Renamed many constants and fields according to Open BeOS coding style guide.
Removed unused code that handles color spaces other than B_RGB32.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 17:09:32 +00:00
Michael Pfeiffer aa36fbce3a Extended to dither each RGB channel separately.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 18:47:58 +00:00
Rudolf Cornelissen 29e0c99de5 added dualhead switch mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 10:44:56 +00:00
Rudolf Cornelissen 203b86df50 added dualhead switch mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 10:37:50 +00:00
shatty e396ab580d untested version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 00:24:03 +00:00
DarkWyrm 1f6632d9a4 Added a method to access the current pattern in PatternHandler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 02:10:23 +00:00
DarkWyrm c57a2cdc69 Removed pattern parameter from state-based calls. DrawData already has one
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 02:06:42 +00:00
Michael Pfeiffer 6df73d220c Added copyright text.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:23:40 +00:00
Michael Pfeiffer 9198afa23d Various changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:22:16 +00:00
Michael Pfeiffer 393fb10d6e Added class PrintTransport to simplify the usage of a print transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:19:16 +00:00
Rudolf Cornelissen cc6f554257 added overlay follows head functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 12:17:51 +00:00
DarkWyrm f9de45c608 Major overhaul of the DisplayDriver API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 00:39:41 +00:00
beveloper 546c34ca7b removed OGG family and meta format description
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 22:28:19 +00:00
shatty bacf4b5e20 meta_data back to void *.. "Be knows best"
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 22:17:21 +00:00
Axel Dörfler 86bafc634b Removed now unused get_format_for_description and get_description_for_format
request/reply structures.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:44:42 +00:00
Axel Dörfler 2a93bc9819 We don't need no BLocker anymore, updated _reserved[] to not change the size
of the class. Renamed fIndex to fIteratorIndex.
Some minor style changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:30:51 +00:00
Axel Dörfler c38d73ee4c New meta_format structure that is used internally by BMediaFormats and
the FormatManager in the server.
Update the plugin API.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 07:24:51 +00:00
Axel Dörfler 8b47303be4 Added a QueryServer() function for BMessage communication.
Added MEDIA_SERVER_GET_FORMATS for the new BMediaFormats implementation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 01:10:46 +00:00
haydentech f498e59387 Quell a couple gcc3 warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 21:59:37 +00:00
Rudolf Cornelissen 41f86af47e removed NV31/NV36 hack: registers known
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-22 19:54:32 +00:00
Philippe Houdoin 81b05b60f1 Add missing include(s).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 00:08:53 +00:00
beveloper b1cf2fd441 cache info from constructor and do init later
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 21:32:19 +00:00
Rudolf Cornelissen 255e5021d1 we now have DUALHEAD!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 21:31:05 +00:00
shatty 46e6b9b766 change private meta_data field to const void * to agree with SetMetaData and MetaData member functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 19:09:07 +00:00
shatty e701972356 use private member function for AttachToDecoder, discard unused private static
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 19:08:25 +00:00
shatty b4057dc9eb implement MediaDecoder using added ChunkProvider
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 07:37:21 +00:00
Matthew Wilber d551902916 Changed the quality/capability comments to more clearly explain what they are for
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 02:56:04 +00:00
Axel Dörfler d1e4dd9533 Followed Marcus' advice and added a "virtual" to the *Plugin inheritance to
allow an add-on to inherit from both, DecoderPlugin and ReaderPlugin at once.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-18 02:42:10 +00:00
Rudolf Cornelissen 16c2f5b1c8 more dualhead updates
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-17 10:48:18 +00:00
Rudolf Cornelissen a3b9d2120f secondary head updates, cardrecognition updates (fx5950, fx5700)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 21:17:01 +00:00