Axel Dörfler
ceba105306
Added function prototypes for the kernel private load_module() and unload_module() calls.
...
Made the header C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 02:34:00 +00:00
Axel Dörfler
6de263b12e
This can be useful at other places as well (originally came from the
...
BFS implementation).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 02:31:56 +00:00
Ingo Weinhold
5513a4cb69
Changed signature.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:20:09 +00:00
Ingo Weinhold
48f570b5c7
* The settings file is now called "HaikuRosterSettings" instead of
...
"OpenBeOS...".
* Obtain the path of the settings dir via find_directory().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:19:23 +00:00
Ingo Weinhold
769ba00e93
* Changes due to moving RegistrarDefs stuff into the BPrivate namespace.
...
* Rename the main thread after creating the BApplication. Then at least
the roster will be ready for use.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:17:35 +00:00
Ingo Weinhold
d8247d2bd9
Changes due to moving RegistrarDefs stuff into the BPrivate namespace.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:14:50 +00:00
Ingo Weinhold
45c3a5cfa9
Obtain user settings dir path via find_directory() now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:13:13 +00:00
Ingo Weinhold
289adc045d
Changed due to moving RegistrarDefs.h stuff into the BPrivate namespace and replacing kRosterPortName.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:11:39 +00:00
Ingo Weinhold
0ffb21a672
* Moved everything into the BPrivate namespace.
...
* Replaced the constant kRosterPortName by a function returning that name
(we need different port names under BeOS and Haiku, and already at
libbe init time).
* The settings directory is obtained via find_directory() (critized by
Axel :-).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:06:30 +00:00
DarkWyrm
566155b85f
Accidentally overwrote Jack's last checkin with my changes to an old version -- getting stupider and stupider in my old age....
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 23:19:42 +00:00
Axel Dörfler
cdde948ccc
Fixed compilation in case COMPILE_FOR_R5 is defined.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 22:35:28 +00:00
Axel Dörfler
c004da882f
Fixed compilation issues that came with changing it to be C++ (hi mmu_man :-)).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 22:23:20 +00:00
Axel Dörfler
7e536c5607
Renamed probe.c to probe.cpp to prepare if for all the changes it got.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 22:19:43 +00:00
Michael Pfeiffer
2aa7d54a51
Fixed bugs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 20:33:03 +00:00
DarkWyrm
d86ffbc9c4
Changed keyboard nav color to match R5 even though we use Dano's attributes
...
BFont::GetHeight now works properly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 20:08:40 +00:00
DarkWyrm
9a2b128aea
More API fixes and tweaks, mostly to get BFont::GetHeight working
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 20:05:36 +00:00
DarkWyrm
3f8d6d562d
Moved _init_global_fonts to Font.cpp
...
Implemented _init_global_fonts
BFont::GetHeight returns proper values
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 19:57:51 +00:00
Michael Pfeiffer
2e5cdc1e26
Removed misleading comment
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 16:54:41 +00:00
Michael Pfeiffer
f04964923d
Added function ScaleRect().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 16:51:17 +00:00
Rudolf Cornelissen
fa6815fa24
added NV4/NV10 architecture register define needed for DMA stuff
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 15:53:57 +00:00
Rudolf Cornelissen
e0cbecd9c9
completed NV10 architecture DMA programming to the same level as NV43. Hopefully this engine will show more signs of life than NV43 still does..
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 15:51:39 +00:00
Axel Dörfler
b217d989e7
Removed now unnecessary comment.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 15:39:34 +00:00
Rudolf Cornelissen
4cd3f831c2
added cmd defines (CTX registers) for pre-NV40 cards, corrected a CTX programming error for NV40 and higher (2d_surface).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 15:12:54 +00:00
Axel Dörfler
9f8a0739b6
The daemon now runs on top of our kernel, so it should now write to
...
the real syslog.
Also, find_directory() now makes sure that the path to the syslog
actually exists.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 14:49:14 +00:00
Rudolf Cornelissen
8118b7593e
added pattern cmd colorspace define (PIO/DMA)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 13:11:39 +00:00
Rudolf Cornelissen
20f1908010
added setting pattern colorspace (DMA)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 13:10:02 +00:00
Rudolf Cornelissen
6c001eb7a2
added more DMA defines (for FIFO channel assigment).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 12:18:44 +00:00
Rudolf Cornelissen
02e231b77b
added 2D_surface setup (DMA), added fifo channel assignent check for aquire_engine, cleaned some stuff up.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 12:17:02 +00:00
Rudolf Cornelissen
a9b9a9147e
fixed FIFO channel pointer error that caused assert_fifo to always fail (DMA, >NV40). Should fix driver hanging after changing workspaces with different modesettings on NV40 and later.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 10:55:37 +00:00
Phil Greenway
098ad0a57f
Updated
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 08:35:56 +00:00
DarkWyrm
80b0522e29
Fixed style name -> face translation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 02:20:57 +00:00
DarkWyrm
4bd87f4887
Retooled the API and implemented some of the message handlers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 02:05:50 +00:00
DarkWyrm
c1d0331e5b
Retooled the server-side font API to make it work better
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 02:04:21 +00:00
Ingo Weinhold
76bf6f57d7
Install the MIME DB in the image.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:33:24 +00:00
Ingo Weinhold
d20352d8b2
Added source files for our MIME database. The files are in rdef format,
...
specifying resources. They are converted via rc to resource files and
those in turn via resattr to empty files with attributes.
Ideally rc would understand attributes, too...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:31:35 +00:00
Ingo Weinhold
8dbd1340a3
Added resattr, a small tool that converts resources into attributes and vice versa.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:24:09 +00:00
Ingo Weinhold
60027f7eac
Use the standard MIME DB path when running under Haiku, but a different one when running under BeOS (so BeOS' MIME DB is not affected when running tests).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:22:11 +00:00
Ingo Weinhold
9171d496e2
Added function is_running_on_haiku(), which returns at runtime whether we're running under Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:20:22 +00:00
Ingo Weinhold
523144419b
* utsname::sysname is the name of the OS while system_info::kernel_name is
...
the name of the kernel file. Now return "Haiku" as operating system.
* Even if we can't fill in utsname::nodename with something useful yet,
fill in at least something.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:18:56 +00:00
DarkWyrm
08d9a7e92d
Prevent build of BSlider::SetLimits if not building specifically for Haiku
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 22:33:14 +00:00
Adi Oanca
f4687e882c
* moved input handling code from Desktop class to RootLayer
...
* PollerThread was replaced by WorkingThread(RootLayerX) thread which is created every time a RootLayer object is created and destroyed when deleted.
* ViewDriver now initializes the "inputServer" port because it is one of the first objects instantiated by the server.
* changed the way a RootLayer(ex Poller) quits. The thread is not killed anymore, it is been asked to quit nicely. This prevents (future) deadlocks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 21:35:02 +00:00
Michael Pfeiffer
cc4218ac28
Added Page Selection. Proper layouting of the controls in the page and setup dialogs is left open for a newbe to do :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 16:22:06 +00:00
Michael Pfeiffer
c7e1cfc1d4
Build PCL6 again as we have a replacement for jetlib
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 16:16:30 +00:00
Michael Pfeiffer
af6520e96c
Implemented Page Selection.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 16:12:41 +00:00
Michael Pfeiffer
b1a3ccb885
Replaced jetlib.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 12:02:10 +00:00
Michael Pfeiffer
d647d0afe9
Implemented Delta Row Compression.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 12:01:25 +00:00
Michael Pfeiffer
a6d74a56c6
Increased window size to fit all controls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 11:50:52 +00:00
Michael Pfeiffer
e5ac55c714
Fixed bug that occured when duplex mode is selected.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 11:50:00 +00:00
Rudolf Cornelissen
4bf2b3cccd
added 2D_surface command defines (for DMA use at first).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 10:17:20 +00:00
Rudolf Cornelissen
fcc9f0ab48
added 2D_surface command engine defines and FIFO channel assignment: used for setting buffer colorspace, location and pitch later on.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 10:15:15 +00:00