Commit Graph

1703 Commits

Author SHA1 Message Date
Jérôme Duval 59fda8c176 change the mouse io struct
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-26 22:34:57 +00:00
Jérôme Duval d0a8891742 fix no newline at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-24 12:46:01 +00:00
Axel Dörfler 4c3d76fd9b Minor cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-24 00:21:53 +00:00
Axel Dörfler b67cd64e96 Almost rewrote the termios.h header file.
It's now much cleaner than before. Removed the tcgetattr() macro; it's now
a real function call again.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 23:46:24 +00:00
Jérôme Duval 767560b14e Splitted kb_mouse_driver.h to avoid mixing driver and settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 15:35:37 +00:00
Axel Dörfler a78a421de8 Renamed sleep() to spin() as that's what it does, and sleep() also doesn't
like unistd.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 13:43:57 +00:00
Rudolf Cornelissen ce28ad8b6c added NV45 ident.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 11:47:08 +00:00
Rudolf Cornelissen 9cfdd4b71f added NV40, NV41 and NV43 ident.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 10:20:58 +00:00
Stefano Ceccherini 1fec91104a Added newline at the end of the file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-22 07:05:56 +00:00
Axel Dörfler 130b146f78 Added comments to definitions.
Added preliminary O_TEMPORARY flag.
Made it a bit more POSIX compliant.
Cleaned up header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 22:45:08 +00:00
DarkWyrm 66133bb5d9 s/OpenBeOS/Haiku/
Style fixes for ServerBitmap and ServerCursor
Assignment operator for GraphicsBuffer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:46:37 +00:00
Nathan Whitehorn fa84ff9eb1 Forgot some files in the MDR import.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:34:03 +00:00
Nathan Whitehorn f7215ac853 Imported MDR. Some code still not entirely functional -- I haven't been able to figure out how to detect SSL, so IMAP and POP have it turned off. PPP auto-detect is also not functional at the moment. Other than that, it seems to work beautifully. Packaging will come later.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:31:50 +00:00
Jérôme Duval 3fff653f05 Moved usage pages/ids to USB_hid.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 12:05:10 +00:00
Jérôme Duval 8c5cc5d1aa Extracted USB HID specific data to USB_hid.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 09:08:58 +00:00
Axel Dörfler 3b00a056c7 Be's native types are no longer allowed in this file (because of the gensyscall utility).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-19 18:55:33 +00:00
DarkWyrm f06ff64b1a Set the API for stroke/fill shape
Made a couple API tweaks for stroke/fill polygon
Added a Frame() method to BezierCurve to be able handle polygon API tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:20:14 +00:00
Jérôme Duval 5c99440e0f Added ColorTools and ColumnListView from Vision cvs repository
(ColorTools.h : 1.2, ColorTools.cpp : 1.4,
ColumnListView.h : 1.13, ColumnListView.cpp : 1.3)
Original code from OpenTracker


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 20:42:34 +00:00
Axel Dörfler 367fa74ad9 Added needed syscalls for fork(), exec(), and waitpid().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:42:02 +00:00
Axel Dörfler d8b0b6fe51 Added readdir_r() function prototype. Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 23:08:21 +00:00
Axel Dörfler 5e2d8bb9f7 Added a BeOS compatible header for the GNU getopt() extensions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 20:56:37 +00:00
Rudolf Cornelissen f3736c4994 added some registers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-13 14:03:58 +00:00
Rudolf Cornelissen 2dbc30d68b minor PLL code mods.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-13 11:45:03 +00:00
Axel Dörfler c654468395 Cleaned up the stdint.h header.
Separated macros from the typedefs, removed macros for unsigned minima as
these are not part of the standard.
Added intptr_t/uintptr_t types. Added some comments what those types stand for.
Added a note that this header is mostly compiler/arch specific and should
be handled (adapted) like this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-11 18:31:36 +00:00
Axel Dörfler e03f6fcfe2 Added the arch_config.h file for PPC, moved some stuff out of arch_cpu.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-11 11:04:23 +00:00
Ingo Weinhold b07e2ab15f uint32 -> unsigned int. No need to rely on defined types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 23:12:23 +00:00
Axel Dörfler c2d416e259 Partially covered by arch_config.h and support/ByteOrder.h now/already.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 14:18:46 +00:00
Axel Dörfler 1aaaa3689a Moved some arch dependent config information to this new file (from arch_cpu.h).
There is probably more that could be moved in here.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 13:08:06 +00:00
Axel Dörfler 1c448f3551 Removed all inline functions.
Also no longer let getc()/putc() point to libio functions directly (they
were even only macros there, too...).
Should now be backwards compatible, too. Thanks to Waldemar for pointing this out!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-08 16:22:28 +00:00
Waldemar Kornewald 496d0bc32f Moved uio struct to core_private.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-08 08:45:32 +00:00
ejakowatz 974d454507 Fixed bug. BMessageBody's assignment operator was making a generic copy of the map which maintains the data -- meaning only pointers to contained BMessageFields were being copied. Added Clone() operation to BMessageField and Copy() to BMessageFieldStoragePolicy, along with a specialization of BMessageFieldStoragePolicy for BDataBuffer; a straight copy of the vector is sufficient for all other data types. This fixes issues with BMessage unittests where BMessage, entry_ref, BFlattenable, and raw data are exercises.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:25:09 +00:00
ejakowatz 02043d35db Added calc_padding() convenience function for calculating how much padding to add to a buffer in order for it to fall on a specified byte boundary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:06:32 +00:00
ejakowatz e4265bfbfe Modified BDataBuffer's copy constructor to let the user specify whether to create a copy of the buffer or just a reference. Also changed all void* params to be const.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:00:30 +00:00
Axel Dörfler ba84415a02 Added a "cookie" parameter to the fs_read|write|has_page[s]().
Changed the fs_get_file_map() call a bit - the requested file offset and size
were missing.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 21:54:57 +00:00
Axel Dörfler 7f0c6086a4 The last parameter of file_cache_create() is a file descriptor, not an open mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 21:53:36 +00:00
Axel Dörfler cfd8ea7832 Added a "cookie" parameter to the vfs_read|write|has_page[s]().
Also added a prototype for the fs_get_file_map() fs call.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 21:52:28 +00:00
Axel Dörfler 9f67399eea Made header C++ safe. Also replaced the old "addr" type with "addr_t".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 21:49:38 +00:00
Waldemar Kornewald 15288c9013 Fixed the build of our netstack.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 10:59:00 +00:00
DarkWyrm fcde063209 Misplaced this file when I was checking stuff in a bit ago
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 00:59:28 +00:00
DarkWyrm e09bff9bf3 Added some utility classes which will make finishing work on DisplayDriver much easier and cleaner
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 00:48:23 +00:00
DarkWyrm 3713534518 Tweak to FindClosestColor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 00:46:37 +00:00
Axel Dörfler 77ca57637e The pnp_node_info structure is now a bit more public and accessible
within the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:19:41 +00:00
Axel Dörfler 1b4746c270 Changed the VM store and VFS functions a bit to better match the corresponding driver hooks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:18:36 +00:00
Axel Dörfler a1978b5cef Preliminary version of the file caching API - does not yet support journaling and such.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:15:22 +00:00
Axel Dörfler 7af4ca8acf Changed the VM hooks a bit to better match the corresponding driver hooks.
Added file cache hook function that gets the extents of a file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:13:45 +00:00
Axel Dörfler 9edfb372ab Renamed the readv/writev hook functions to read_pages/write_pages to
make clear that they work differently from before (or soon will).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:12:27 +00:00
Rudolf Cornelissen ec90512462 added CRTC FIFO registers for watermark setup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 09:33:56 +00:00
Axel Dörfler 3551420440 Eliminated the "data" field in vm_store - since VM stores allocate their structure
themselves, they can just subclass that structure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 19:06:12 +00:00
Axel Dörfler 9d9c6d7de9 No longer in use.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 17:07:35 +00:00
Axel Dörfler 5cf089d64f Start of the file cache. For now only exports a vnode store.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 16:33:32 +00:00
Axel Dörfler 8b3bd22a1d Added vfs_get_vnode() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 16:00:22 +00:00
Axel Dörfler 36ce5c0164 Changed the way the vnode cache is set - it's now cleaner and can no longer
allocate a cache twice.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 14:07:00 +00:00
Rudolf Cornelissen 5fd2ad26d3 rewritten ISA coldstart script cmd's to actually use ISA I/O.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 08:49:40 +00:00
Axel Dörfler 77a6c2446a We now have a POSIX and BeOS compatible grp.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:04:55 +00:00
Axel Dörfler ef552d5eab Added names for the parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 01:03:51 +00:00
Axel Dörfler 336ffbcd04 Unlike alarm(), ualarm() has actually two arguments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 23:45:54 +00:00
Ingo Weinhold 75df143732 Introduced a macro specifying the type function parameters are aligned to. Not nice, but seems to help with the automatic generation of syscall code (at least on x86).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:15:19 +00:00
Rudolf Cornelissen 1056bcb0ca added ISA I/O functions in kerneldriver (for coldstart script exec)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:10:51 +00:00
Axel Dörfler cc90b1798a Removed unsupported cruft from uio.h (uiomove()).
Made header C++ safe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 16:26:15 +00:00
Axel Dörfler 655c4f0c99 Resolved the argument type change of _user- vs. _kern_spawn_thread() - introduced
a new thread_entry_func typedef in the kernel only. Unlike thread_func, it accepts
two arguments - that functionality is not exported to the user, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 15:47:47 +00:00
Axel Dörfler 46365ccea6 Added new syscall _kern_sigprocmask(), renamed other signal syscalls to the
new naming scheme.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 12:02:26 +00:00
Rudolf Cornelissen 8a1aa554a5 added more registers needed for coldstarting
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 12:18:24 +00:00
Ingo Weinhold 232b476c29 Removed CRs. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 21:57:06 +00:00
Rudolf Cornelissen 07f104fb34 added a few registers for that RAM config.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-30 11:52:51 +00:00
Ingo Weinhold 8731383444 Added graphic driver and accelerant for Tseng Labs ET6x00 chips, courtesy Evgeniy Vladimirovich Bobkov.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 16:31:33 +00:00
Ingo Weinhold 383cdedbd2 Several follow-up changes required by the changes either to the VFS
syscalls or to the syscall mechanism (which exposed naming and parameter
inconsistencies).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:45:00 +00:00
Ingo Weinhold 9955b99a86 Several VFS related syscalls have been changed, added or removed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:38:39 +00:00
Ingo Weinhold 6fec58934a We automatically generate what information are available from syscalls.h,
which from now on relieves us from the duty to maintain syscalls.S and
syscalls.c manually. Either includes a generated file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:34:43 +00:00
Ingo Weinhold d7206d7e3b Changes to allow gensyscallinfos to parse it easier (adding markers where the prototypes begin and end, and named all parameters).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:29:35 +00:00
Ingo Weinhold db10640de9 Got rid of the Storage Kit's kernel abstraction layer, which was
unfortunately quite slow and made some things more complicated than they
needed to be.
Implemented a few missing things (e.g. BSymLink and node locking).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:14:46 +00:00
Ingo Weinhold 233e6dadef The whole Storage Kit now uses syscalls directly. No further need of this abstraction layer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:08:05 +00:00
Ingo Weinhold 5090f23182 Got rid of one of BMessengers friends. Poor BMessenger. ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:06:15 +00:00
Axel Dörfler 364b28a12a Added a call that should exit the boot loader in some way; usually that
would be by rebooting the computer.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:18:33 +00:00
Axel Dörfler a1b7427b0a A menu item can now be enabled and disabled.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 15:17:38 +00:00
Stefano Ceccherini e13bd0e1a8 Reverted to the original comment, as I had worked on an older version of this file.
Took the chance to add the license header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 07:36:57 +00:00
ejakowatz 72a804515c Fixed a couple of memory leaks and an incorrect index bounds check.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 23:54:02 +00:00
Jérôme Duval 6bd2c5e573 fix the naming
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 13:44:35 +00:00
Jérôme Duval 91180f23e0 Added some other method replicant message ids
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 13:39:33 +00:00
Stefano Ceccherini 0cc992995e Changed some parameters to be passed through const reference [A change suggested by Christian Packmann]. This gives a nice speed boost.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 06:31:36 +00:00
Rudolf Cornelissen 15206e7b40 removed matrox G550 def (Finally :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-23 15:01:23 +00:00
ejakowatz a7529effe6 Fixed potential memory leak. If user tried to add data of type X when we already had data of type Y with the same name, a new BMessageField of type Y would be created and added to the field map, leaving the old type X field orphaned.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-20 18:14:05 +00:00
Jérôme Duval d92d0a2423 Update to R5 operation values, added a prefix IS_
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-18 15:42:59 +00:00
beveloper e4d07a3e71 Added some new functions which seem to be required for Xentronics SampleStudio Pro.
Added missing license to implementation files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-16 12:44:00 +00:00
beveloper 28a06094b2 Modified media_server and media_addon_server cration/terminatio.
Now uses application mime sig for start/stopping. Much better
compatibility with libbe.so restarting functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 20:43:01 +00:00
beveloper 6c777c4c11 export media addon server signature for internal use. This doesn't seem to belong into MediaDefs.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 12:07:55 +00:00
beveloper 7562d5508a Two additional functions to support gain selection for media files (sound events).
Allows better compatibility with Zeta's preference application.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 11:54:17 +00:00
Philippe Houdoin 200ec0269e Remove const that breaks binary compatibility (const are mangled too).
Thanks axeld to point at them.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-14 01:24:57 +00:00
Philippe Houdoin 15b8f34b6f These size_t arguments should be, well, according to POSIX, socklen_t,
but Be declared them as int. So do I.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-14 00:22:33 +00:00
Philippe Houdoin ad31a3c1c8 Comment about unsupported Nettle backward compatibility added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-14 00:20:34 +00:00
Philippe Houdoin c714747365 Binary compatibility gurus are welcomed to check it and report.
Fix a typo present since Be's days...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-14 00:18:18 +00:00
DarkWyrm 5a9fed59c3 I hate forgetting to check in files. :(
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-12 12:43:36 +00:00
DarkWyrm 33cbe8bb6c Moved a number of classes for DisplayDriver support into DisplaySupport.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-07 20:28:03 +00:00
Rudolf Cornelissen 2e60e96e2c fixed overlay right-clipping: might fix NM2200+ distortions as well!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-02 13:56:12 +00:00
Rudolf Cornelissen 630b1126bb 2d and overlay restrictions update, 'comments doc' update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-02 11:58:12 +00:00
DarkWyrm d0021b64bc Major API improvements by Pahtz
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-30 15:10:19 +00:00
Jérôme Duval 5202ba9d64 added a function signature
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 13:33:51 +00:00
Jérôme Duval 87e2c83aed input_server message ids are now here
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 13:31:14 +00:00
Jérôme Duval 72c5d34f21 fixes a warning about comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 12:44:37 +00:00
Jérôme Duval f7128f5688 clean up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 12:43:30 +00:00
Jérôme Duval f04e3de28c extern "C" not needed, don't know why
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-27 10:28:44 +00:00
Jérôme Duval 372a42ffb8 Added a header for our global private input functions. (JBurton again)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-27 10:25:07 +00:00
Jérôme Duval 3e82153545 fixes a typo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-27 10:23:18 +00:00
Rudolf Cornelissen af6e28e520 added NM2200 and later (all MagicMedia cards) 2D acc function screen to screen blit: please test and provide feedback!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-26 15:11:17 +00:00
Rudolf Cornelissen a7b24bba52 overlay fix for Nforce and Nforce2 cards (RAM detection updated)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-26 11:26:12 +00:00
shadow303 51c74f5a0c Added a couple missing headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-20 01:23:55 +00:00
Rudolf Cornelissen 806fd933cd fixed embedded Geforce (Nforce 1 and 2) RAM amount detection.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-19 11:22:33 +00:00
shadow303 8f6c61bcef Upgrade to version 4.1 of radeon driver.
Includes some common routines which may be used by other drivers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-16 00:46:01 +00:00
Rudolf Cornelissen 24223277db card match detection for AGP updated
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-14 18:36:54 +00:00
Rudolf Cornelissen 5785a94163 small agp update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-13 07:13:02 +00:00
Rudolf Cornelissen 663294ccbb setting up AGP module use (not finished)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-12 12:25:41 +00:00
Rudolf Cornelissen 72bb797ea9 AGP busmanager now compiles.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-10 22:25:49 +00:00
Stefano Ceccherini 61c93e14bc Researched and removed a TODO item
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-09 07:13:03 +00:00
Axel Dörfler c28c059292 Added all syscalls needed for the next_dev() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 16:07:25 +00:00
Axel Dörfler c3d35103c7 Added siginfo_t structure as required by ISO-C 99 - it's not yet used, though.
Smaller style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:48:27 +00:00
Axel Dörfler 288ff1988f Added new BeOS compatible wait.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:47:00 +00:00
Axel Dörfler 95216cc886 Added id_t as required by POSIX/ISO-C 99.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:46:08 +00:00
Rudolf Cornelissen 58fa391ee4 completed unhide_fw and pgm_panel option stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-06 10:58:25 +00:00
Axel Dörfler 13fde991bd Added BeOS compatible ctype.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-06 00:29:52 +00:00
Axel Dörfler 8294b54830 Minor style change.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 23:20:43 +00:00
Adi Oanca 9839e74132 modified one method's name
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 20:42:03 +00:00
Rudolf Cornelissen 427dd22b3d added two tweak options to nv.settings: unhide_fw and pgm_panel
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 19:49:55 +00:00
Axel Dörfler 5c996485b7 Added syscalls for write/read fs info.
Fixed the wrong numbering of the syscall comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 18:27:31 +00:00
Axel Dörfler 9fdf5bbb13 Resolved an old ToDo item; thanks to Rogier van der Hee for pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 00:30:46 +00:00
Axel Dörfler 51403af8f9 No longer needed; LibBeAdapter now only contains syscalls, and will either
be removed some day, or extended to map all syscalls from Haiku to R5.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 18:59:49 +00:00
Axel Dörfler 63e846d50d Added a syscall to get a path for a directory node_ref.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 18:46:36 +00:00
Axel Dörfler 645e138890 Moved vfs/fd _kern_*() calls to syscalls.h.
Removed some includes from syscalls.h where possible, minor style changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 01:51:56 +00:00
Axel Dörfler 61b8f5f2a7 Fixed some return types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 00:40:39 +00:00
Stefano Ceccherini edc6e254f3 Fixed the outstanding BRegion bug. It turned out that rects_intersect() returned true in some cases when called with an invalid clipping_rect. Added an ASSERT() call to BRegion::_AddRect(), which would've saved my day.
Added some comments


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-01 06:16:00 +00:00
Axel Dörfler 342e53f418 No longer used; we now have a BeOS compatible replacement in posix/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-30 02:34:59 +00:00
Axel Dörfler b3f4b2ea49 Added a BeOS compatible assert.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-30 02:34:10 +00:00
Axel Dörfler bb45cbbb30 Removed some unneeded includes, making the header easier to swallow.
Renamed the image and node monitor syscalls to the new scheme.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 20:12:29 +00:00
Axel Dörfler 3f403c721c Since our libroot/os/thread.c already exports this, we can as well just add
it to the header, too :)
(it's a new function in Dano/Zeta)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 20:04:07 +00:00
Stefano Ceccherini a5f7275d76 Adding some more or less complete classes from Marc Flerackers
(BDragger, BShelf and ZombieReplicantView). Not yet added to the build


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 12:20:32 +00:00
Rudolf Cornelissen 07abc06fd2 dumprom update
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 11:29:39 +00:00
Rudolf Cornelissen ed8e4c70db fixed BIOS ROM readout
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 19:57:34 +00:00
Axel Dörfler d73fcb0e62 Removed deprecated BShape API as it broke the build.
If we intend to keep compatibility to this R4.5 API, we should complete
what I started in interface/Shape.cpp.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:55:28 +00:00
Axel Dörfler 5c6dbc9b5e Removed no longer needed adapter functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 14:43:35 +00:00
DarkWyrm 557b47b2d0 Janitorial work in DisplayDriver.h
Added a #define to ServerConfig for workspace data file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 02:13:58 +00:00
mahlzeit e0438418fd Haiku be thy name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 08:47:00 +00:00
Nathan Whitehorn 3ae79102aa Added a TDFX driver on behalf of Andrew Drewke. There are some warnings I can't make go away in voodoo3_accelerant.c -- good luck with them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-24 23:31:04 +00:00
Axel Dörfler da4a7ba49b wchar_t is already defined in C++ with GCC 3 - this fixes the build for that compiler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-23 15:17:06 +00:00
Adi Oanca 66c852a764 Forgot about this one. Removed ReadMessageFromPort() 'cause there is no need for it. BLooper does already a great job, we will not complicate things. As you may have seen I also removed some code from Window.cpp because it really was not needed, for the same reason.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 22:03:11 +00:00
DarkWyrm cdb613bafd Disabled some code until I can figure out the changes in FT2's font cache subsystem from 2.1.4 to 2.1.8
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 14:42:58 +00:00
DarkWyrm 1754568b9c Upgrade to version 2.1.8
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 14:03:16 +00:00
Rudolf Cornelissen a83a917d79 new general headerfile for AGP use on graphicscards. If it shouldn't be here, let me know... Committing because it's needed now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 11:07:03 +00:00
Axel Dörfler 649f65cc3a Added help text functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 02:52:38 +00:00
Axel Dörfler 3b5e4b4978 New method Target() that returns the previously chosen target.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 01:16:43 +00:00
Axel Dörfler 355bc28f32 Added another menu item type (that cannot be chosen in CHOICE_MENUs).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 00:28:28 +00:00
Axel Dörfler 1511772218 Added platform_init_video() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 00:27:04 +00:00
Axel Dörfler 82fc8f393c You can now attach an arbitrary data pointer to a menu item.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 21:50:31 +00:00