Commit Graph

9547 Commits

Author SHA1 Message Date
Rudolf Cornelissen
4157b3aeec -added the NV40 arch screen connections limitations to the doc;
-added a fixme comment in the kerneldriver: it seems we must try to map cardBIOSes to memory ourselves if possible after all (should be PCI config manager work I'd say): encountered two systems now that don't have that done (by BIOS I guess). A old PCI-only system (Pentium200), and a brand new PCIe system: Both PCI and PCIe cardBIOSes don't get mapped here which prevents us from using coldstarts on secondary cards :-/


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 11:53:25 +00:00
Rudolf Cornelissen
36ad4411a8 added some comments about NV40 architecture. We have several new unknown factors:
- DAC2 always detects a analog screen connected;
- it seems like there are at least two new registers we don't know about. One extra switch to place output on connectors, and one (extra) switch for pixelclock PLL to CRTC connections (one PLL drives both CRTC's in some cases, pre-programmed by the card BIOS determined on the screen configuration found at power-up.
- in a known register (TSTCTRL) b20 blocks/moves output on connectors (?).
All confirmed on NV43, GeForce PCIe 6600GT.

Driver status:
- one DVI monitor connected is OK;
- one analog screen connected on the DB15 connector is OK,
- two analog screens connected is OK and can be used for dualhead.
other combinations don't work well or at all. This is the status confirmed on
the NV43. Assuming same for other cards of NV40 architecture.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 11:39:07 +00:00
François Revol
1c5ea92404 don't mangle UTF-8 chars for __BEOS__, from the GG patch
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 10:39:40 +00:00
François Revol
5bea2b386b we don't use major/minor, but that's not a reason to change the display. device sizes as reported by stat() are always 0 anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 10:15:46 +00:00
Stefano Ceccherini
93d52f14af Now we fill BMenu::sMenuInfo with some default values. This should fix the problems with our BMenus on our app server. DarkWyrm, please check.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 08:26:20 +00:00
Axel Dörfler
be6b98a967 Since the mode commands are ignored anyway, we're now also accepting a "?"
starting parameter (or better, we silently ignore it) that's used for
private DEC modes. Vim uses those for whatever reason.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 21:56:14 +00:00
Axel Dörfler
a7c89acd59 Some style cleanup. The usage text now looks more like those from other shell commands.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 20:58:42 +00:00
Axel Dörfler
b7624725ef Added --copy-from option to take over the indexes of another volume.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 19:34:57 +00:00
Stefano Ceccherini
f32c74752d A couple of small style changes, fixed a problem with some compilers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 08:27:27 +00:00
Axel Dörfler
a5b1bafc0b New "error" command; unlike the previous, this should work :)
Added it to the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 04:15:14 +00:00
Axel Dörfler
4b72e95292 getcwd() is actually implemented like elsewhere, and not strictly after
POSIX demands: if you pass in a NULL pointer, a buffer will now be
allocated for you.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 03:51:34 +00:00
Axel Dörfler
86e404324f Fixed the build of the boot floppy and removed all input_server headers
when USE_INPUT_SERVER is not defined.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 03:22:12 +00:00
Axel Dörfler
a1537049b7 Changed the way we're resetting the machine: we're now first trying the
keyboard controller method, and only if that fails we fall back to what
we have before.
At least my SiS laptop now properly reboots, and doesn't just halt
anymore - doesn't seem to have a negative impact on other machines, but
please report any regressions :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 02:12:14 +00:00
DarkWyrm
6a1a734c5f A small crash fix whilst testing with a stock People app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-16 00:48:07 +00:00
Jérôme Duval
7c49936aa6 Simplified pci bus manager Jamfiles
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 22:27:58 +00:00
Jérôme Duval
82698ec120 added support for arrows (from our Terminal impl)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 16:58:28 +00:00
Axel Dörfler
133c5b73a2 Obviously, my laptop (SiS 630 based) only reports all VESA modes when there
was one mode change before - took me quite some time to figure this out; now
we just do a mode change to the standard text mode; this is probably a good
idea anyway to make sure we're running in the correct text mode for the boot
menu.
The error check for the VESA BIOS calls were not really correct, even if
they worked. The vbe_mode_info structure is now cleared before the mode
info is requested (as suggested in Ralf Brown's interrupt list).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 15:35:59 +00:00
Axel Dörfler
f7958e552d Now only echoes the input if ECHO is defined.
Ignores a "--login" argument (that's what consoled does).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 01:18:58 +00:00
Axel Dörfler
23cf00de23 Now starts consoled instead of a shell directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 01:17:52 +00:00
Axel Dörfler
ca347bfce3 We report ourselves now as "beterm", so that we don't look as dumb as before.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:28:43 +00:00
Axel Dörfler
c016d92ea1 Added the new console/vga_text driver/module stuff to the old boot floppy
method as well.
Removed libdrivers.a from the kernel, added kernel_debug.o to the kernel.
Renamed the boot floppy shell "sh", so that consoled doesn't need to be
changed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:25:32 +00:00
Axel Dörfler
1ceb0f4da3 Added the new console driver to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:22:07 +00:00
Axel Dörfler
a621f3b6c1 Added the new (built-in) frame_buffer_console module to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:18:27 +00:00
Axel Dörfler
4cf2fd241c The vga_text module is now part of the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:10:15 +00:00
Axel Dörfler
d156256cd6 console_module_info::clear() now honors the "attr" argument. Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-15 00:02:15 +00:00
Jérôme Duval
1c2b377163 adding a keymap_files target
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-14 16:38:34 +00:00
Axel Dörfler
4efb3cc0f4 Now also support reading in cursor images (.CUR files seem to have the same
format as .ICO files). Now ignores the alpha channel mask if it couldn't be
read completely instead of not being able to read the image at all.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-14 15:09:46 +00:00
Rudolf Cornelissen
11058c2f96 fixed cursor visibility update on show/hide_cursor commands for secondary head on NV40 architecture (hardware bug workaround). Confirmed Dualhead up and working correctly with two analog connected screens on PCIe 6600 GT.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-14 14:16:50 +00:00
Jérôme Duval
0d0f1600ef fixes forwards of BMessages
iroster now works successfully


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-14 11:47:55 +00:00
Matthew Wilber
3a85b92372 Fixed page changing, simplified entry_ref usage in SetImage()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 17:57:38 +00:00
Rudolf Cornelissen
de0194f56b updated docs (working cards, DMA mode info).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 17:54:11 +00:00
Matthew Wilber
658ffe9fcf Added BAlert manual test, used to make the BAlert unit tests and compare the behavior of Be's BAlert to Haiku's BAlert.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 16:49:03 +00:00
Matthew Wilber
82cbd5d87d Added tests for the B_OFFSET_SPACING mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 16:22:04 +00:00
Rudolf Cornelissen
5857e1d66b added a few ID comments ('sync' to Xorg 6.8.2)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 11:56:27 +00:00
Rudolf Cornelissen
3a1749827c added a few ID comments ('sync' to Xorg6.8.2)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-13 11:55:11 +00:00
Matthew Wilber
b85443713f Added tests for B_WIDTH_FROM_WIDEST mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 16:45:35 +00:00
Matthew Wilber
a4821468d6 Moved FuncTranslator.h to private headers, moved #include <FuncTranslator.h> from TranslatorRoster.h to TranslatorRoster.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 14:38:18 +00:00
Rudolf Cornelissen
2e73688338 blocking exporting overlay hooks on NV40 architecture cards that are not NV40 or NV45: these newer NV40 architecture cards have a new bes, but we don't know how to set it up yet. :-/
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 13:26:57 +00:00
Rudolf Cornelissen
9b501a81b3 added some more PIO mode acceleration programming for NV40 and higher. This remains non-functional: aborting dev on this for now. Notes about the problem are in the code. For now I guess no-one cares about PIO mode nomore anyway... ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 13:06:46 +00:00
Axel Dörfler
f80973f6c2 Replaced the old frame buffer console driver with a built-in frame buffer
console module which is used by the console driver, and will be used by
the on-screen KDL.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:45:01 +00:00
Axel Dörfler
c48c2a976f Ported over the vga text console module from NewOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:40:03 +00:00
Axel Dörfler
825474c914 Ported over the console driver from NewOS - this one is a bit more capable
than our currently built-in one (colors and stuff). It won't be needed
later on for the distribution, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:25:03 +00:00
Axel Dörfler
1252c6cfae No longer computes a wrong frame buffer size for 15 bit modes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-12 03:12:19 +00:00
Jérôme Duval
ec4fd18f03 _sPrintf implemented
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 13:04:13 +00:00
Ingo Weinhold
39c9d198ea * Moved strace source into separate subdirectory.
* Now syscall names and parameters are printed. const char* parameters
  and return values are retrieved from the client and printed as string.
* Missing are still color output (does consoled support that?) and
  searching for given commands in the PATH. Nothing besides the standard
  mode has been tested yet, so it's probably not working.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 05:09:36 +00:00
Ingo Weinhold
20be402385 Moved strace sources into subdirectory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 05:02:22 +00:00
Ingo Weinhold
73df3c0847 * Turned off debug output.
* The syscall arguments are copied into the respective messages to the
  debugger now.
* Optimized the nub thread memory reading command. Now only as many bytes
  are sent to the debugger as were actually read.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 05:00:31 +00:00
Ingo Weinhold
6b2dcef3ec Explicitly declare the inclusion of the syscall table file generated by gensyscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:57:38 +00:00
Ingo Weinhold
6432752755 Include the syscall info array generated by gensyscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:56:11 +00:00
Ingo Weinhold
747fcbd3e0 We generate two more files now: A simple array with the kernel function
pointers and overall parameters size for the kernel and some more
sophisticated code for strace.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:53:31 +00:00
Ingo Weinhold
ee524c9864 We now also store the names of syscall parameters. This is used for strace. Well, not yet, but it would make a nice extension. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:51:08 +00:00
Axel Dörfler
febccfbfc6 If update_mime_info() could not determine the MIME type, it now just set
the information it has from the translator itself. Maybe this functionality
should be done in the Translation Kit as well if the output stream is a file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:37:01 +00:00
Axel Dörfler
9cbe0af410 Identify() returned wrong MIME type.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 04:35:44 +00:00
Axel Dörfler
fbef8d31d3 Added support for the "/documentCount" and "/documentIndex" extension used
by the TIFF translator. Thanks again to BiPolar for the note about this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 03:38:15 +00:00
Axel Dörfler
5fa46a457c Reading 24 bit images was broken - thanks to BiPolar for finding and reporting this.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 03:18:07 +00:00
Axel Dörfler
90bce836e0 Changed the way user/kernel time is tracked for threads. Now, thread_at_kernel_entry()
and thread_at_kernel_exit() are always called for userland threads at the appropriate
situation (note, I've renamed those from *_atkernel_*).
The timing should be more accurate this way, and the thread::last_time_type field
is no longer needed: all interrupts are now added to the kernel time (where the
time is actually spent).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-11 03:10:21 +00:00
Jérôme Duval
4265bb4b19 we now check for error from get_input_devices
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 23:26:05 +00:00
Jérôme Duval
20776cc6cf fix : status wasn't taken into account
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 23:24:16 +00:00
Rudolf Cornelissen
7139e38e41 updated a few comments, added some acc stuff for NV40+ for PIO mode: trying to get that up as well briefle now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 19:40:26 +00:00
Axel Dörfler
5ff65f9b40 Added a work-around for broken ICO files that report a wrong icon height.
Fixed a wrong return code in case writing file data failed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 18:52:52 +00:00
Axel Dörfler
71aa315c95 First round of hoard changes to change it exactly to what we need.
Removed the arch-specific stuff for all other platforms.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 18:47:16 +00:00
Jérôme Duval
577c5fac30 Removed unused files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 16:09:53 +00:00
Jérôme Duval
dcccb4e3c6 Sadly echo generic driver is now GPL
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 16:09:22 +00:00
Jérôme Duval
c2ddc71cc5 Update to EchoGenericDriverB0
Added IDs for 3g cards


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 16:05:47 +00:00
Jérôme Duval
27a5e88b50 introduced a R5 style communication flag
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 15:37:23 +00:00
Ingo Weinhold
bd432c793a Added strace to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:08:01 +00:00
Ingo Weinhold
33e89d7cf8 The beginnings of strace. At the moment prints only syscall number and
return value.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:07:33 +00:00
Ingo Weinhold
e23a6f58af Added syscall tracing support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:06:05 +00:00
Ingo Weinhold
a102c86e08 Init and cleanup the thread related debugging structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:04:53 +00:00
Ingo Weinhold
bea87e89d4 Init and cleanup the team related debugging structure. Send the debugger
a respective message, when the debugged team has been deleted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:03:53 +00:00
Ingo Weinhold
734e07cedb Added user_debugger.cpp to the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:57:46 +00:00
Ingo Weinhold
4661ae6c69 Added/implemented debugging related API functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:56:49 +00:00
Ingo Weinhold
6b13343035 Some additions for user debugger support. Several of ToDos. This is far from being final, but just something we can work with for the moment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:53:48 +00:00
Ingo Weinhold
bc797a9ee5 The beginnings of userland debugger support. Currently basically only what is needed for strace is implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:47:46 +00:00
Axel Dörfler
8f0882a2e1 Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 01:11:44 +00:00
Axel Dörfler
f4a87ad575 As Ingo pointed out correctly, B_INTERRUPTED is never returned when a semaphore
goes away; therefore we must not return B_BAD_PORT_ID in this case.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 01:08:55 +00:00
Jérôme Duval
7d3f2fc424 haiku build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 21:52:20 +00:00
Rudolf Cornelissen
c9df9f3086 updated fixes documentation. DMA acceleration is now the default, previously it was PIO mode: DMA now works (much) better than PIO mode overall... :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 20:29:05 +00:00
Rudolf Cornelissen
306bf14447 added updated acc engine constraints for DMA use (mode validation). Version of driver is now 0.36.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 20:24:26 +00:00
Axel Dörfler
c59cdc87d9 Added some not-yet-connected configuration check boxes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 18:28:55 +00:00
Rudolf Cornelissen
3f17567e63 reverting to software retrace-sync for cursor position updates on pre-GeForce cards: it turns out there's no hardware sync here after all.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 18:08:03 +00:00
Axel Dörfler
942d411b67 Fixed kernel version of load_driver_setting(): the lock was not properly
released under certain conditions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 17:56:21 +00:00
Axel Dörfler
b885799ce7 Support for the input_server (R5 style) instead of using the (old) keyboard driver
directly, done by Jerome Duval.
When the USE_INPUT_SERVER constant is defined, it will try to get its input from
there. Currently disabled since it's not yet working.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 17:53:16 +00:00
Axel Dörfler
29ad57a6c0 Renamed main.c to console.cpp and link it against libbe.so
(in anticipation of future changes).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 17:20:08 +00:00
Axel Dörfler
36129be090 Fixed/implemented support for reading and writing true color ICO images.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 16:52:39 +00:00
Jérôme Duval
db3e07c9e8 implemented _xdebugPrintf and _debugPrintf
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 16:02:05 +00:00
Rudolf Cornelissen
4f985adf3a added NV04(TNT1) DMA workaround code. TNT1 now also works with DMA acceleration. TNT2-M64 has been confirmed up also. This means all cards should work now! (Except for a NV40 artifact on blits..).
Still some finetuning to do.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 20:30:56 +00:00
Rudolf Cornelissen
e7b37d0211 added pre-NV10 screen location and size for completeness. NV05 (TNT2) is confirmed up and running speedy now :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 19:31:49 +00:00
Stefano Ceccherini
e005dc757f Simplified the code for input method highlighting. This had the nice side effect of fixing the multi line highlighting bug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 17:43:56 +00:00
Rudolf Cornelissen
c1d1fdbc43 added preliminary pre-NV10 specific DMA acceleration code. Not finished, not tested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 17:09:01 +00:00
Axel Dörfler
79b649126a Fine tuned the alpha channel handling - it should now work as expected,
even with stupid apps like ArtPaint that use the alpha channel with
B_RGB32 bitmaps.
May now need some work for apps that use B_RGB32 as it should be used, though :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 16:58:16 +00:00
Axel Dörfler
2b05778c88 Translator for Windows ICO files with read/write support. Not yet complete, but
seems to work for all cases I tested it with :)
Now you can finally create favicon.ico files under BeOS :))


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 15:12:57 +00:00
Jérôme Duval
dc8a124397 added ListItem.cpp and ListView.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 23:54:44 +00:00
Jérôme Duval
49104a39cf haiku build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 23:37:49 +00:00
Jérôme Duval
ce0102b7a6 now builds as a haiku target
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 23:31:48 +00:00
Stefano Ceccherini
b7adead4eb Removed the serial_mouse addon from the build (for now) as it causes the input server not to start if you don't have a serial mouse connected to the port.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 12:47:22 +00:00
Adi Oanca
0b9056c784 BMessages which reach BWindow now take full advantage of application_kit's power in sending BMessages to BHandlers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 00:45:59 +00:00
Adi Oanca
7b76dd8073 mouse & keyboard messages now use the full power of application_kit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 00:32:32 +00:00
Adi Oanca
fde1c7aa30 Sorry I did not know about BMessage::Private::SetTarget()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 00:23:36 +00:00
Nathan Whitehorn
7a480637d8 Added net_server compatibility to the Broadcom drivers (i.e. fixed non-blocking mode to actually work)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 21:18:51 +00:00
Adi Oanca
ecb03027eb implemented _set_message_target_()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 20:41:12 +00:00
Rudolf Cornelissen
95883f1638 updated doc, added GeForce 6200 card recognition (NV44) for 10 types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 20:17:32 +00:00
Rudolf Cornelissen
f882db2e04 added recognition for 10 GeForce 6200 card types (NV44), version is 0.35 now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 20:15:19 +00:00
Michael Pfeiffer
2e86189f50 Added color dithering to reduce the size of data to be sent to printer by about 800 percent.
Added Add Printer dialog that allows the selection of the protocol class.
Made some features dependent on the chosen protocol class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 18:38:01 +00:00
Michael Pfeiffer
8c0bf01979 Added Add Printer dialog.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 18:22:40 +00:00
Matthew Wilber
db441663b3 Added tests for B_WIDTH_FROM_LABEL mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 14:10:50 +00:00
Rudolf Cornelissen
36b7db70d1 updated a few register defines for NV44 type.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 11:45:10 +00:00
Rudolf Cornelissen
94e32479c0 fixed NV44 and NV45 programming for acceleration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 11:33:17 +00:00
Matthew Wilber
485f31599b Added B_EMPTY_ALERT tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 23:34:10 +00:00
Matthew Wilber
8ebac7a655 Added B_EMPTY_ALERT mode tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 23:32:18 +00:00
DarkWyrm
a7870927a4 Implemented AS_SET_FAMILY_AND_STYLE_FROM_ID. One more thing that works better than R5. ;)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 22:46:54 +00:00
DarkWyrm
ee1240b38e RootLayer now tracks which mouse buttons are down
Implemented ServerWindow code for GetMouse


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 21:39:39 +00:00
DarkWyrm
61d65d37ea GetMouse works properly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 21:38:24 +00:00
Axel Dörfler
a5042101ea Now uses the new translation kit version macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 21:12:22 +00:00
DarkWyrm
fac4ccbae7 Made Layer::RequestDraw actually request a screen update
Added a second method for ServerFont::SetFamilyAndStyle and added return codes
Removed a couple memory leaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 20:12:05 +00:00
DarkWyrm
6b3838e6f1 Tweaks to GetStringWidth()'s server protocol
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 20:09:11 +00:00
Rudolf Cornelissen
a6632f1605 added PCIe legacy PCI-config-space configuration registers. Some logged interpretation comes at later date, using a PCIE.h header file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 18:55:52 +00:00
Matthew Wilber
dfb8c585c6 Updated with new Translation Kit version macro names.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 18:22:17 +00:00
Stephan Aßmus
6c1ebb0fcb huge cleanup and more style guide conformance, removed agg namespace, used marcos for inlined blending functions to avoid dereferencing, which gives a small speedup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 15:52:46 +00:00
Stephan Aßmus
2902c1573a a little clean up, usage of unpacked scanline container gives a small speedup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 15:45:12 +00:00
Stephan Aßmus
033e1e690c DrawingMode is no longer in agg namespace, an ellipse is drawn with a minimum of 12 sections
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 15:43:23 +00:00
Stephan Aßmus
2ad954608f clean up, ellipse comparison test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 15:40:37 +00:00
Stefano Ceccherini
f6fd4d6a70 Added bitmaps for the horizontal and vertical thumbs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 09:43:21 +00:00
Axel Dörfler
9324698b19 Almost complete rewrite of the translate command. Fixed broken argument
parsing and type code conversion.
Some additions/changes to the original:
- now prints the version information in the new versioning scheme (base 16)
- added optional --verbose parameter that gives information about the
  translations needed to get the output format.
- "--list" can be constraint with a type - only translators that support
  this type are listed then.
- also accepts type codes like "RTF" and automatically adds spaces in
  this case to create the 'RTF ' type.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 04:04:52 +00:00
Adi Oanca
998521f78d Helped BWindow for calling the apropriate BView hook methods on some mouse and keyboard events
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 22:50:48 +00:00
Adi Oanca
79c8040e93 BView::MouseUp/KeyDown/KeyUp() hook methods are called for the BView for which the action takes place
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 22:46:58 +00:00
Adi Oanca
0e835651a5 BView::MouseDown() finally gets called
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 21:41:09 +00:00
Adi Oanca
0a09721a2c Added a private field to B_MOUSE_DOWN message to know whose BView::MouseDown() method to call
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 21:31:42 +00:00
Axel Dörfler
d399ab82cc Some work on the userland boot loader test: moved over to new DoublyLinkedList,
added some command line options - additional boot images can now be listed as
arguments.
platform_run_menu() now prints out the root directories of all known file systems.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 18:30:29 +00:00
Axel Dörfler
338d4420a4 Now InitCheck() returns the actual error code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 18:28:36 +00:00
Rudolf Cornelissen
7909881256 fixed a truncate error with casting between floats and ints: this makes the centering calculation for WS panels work more precise, removing some 'noise' pixels on the right side of the screen when displaying non native aspect modes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 16:19:44 +00:00
Stefano Ceccherini
859c5ac301 Implemented Archive() and unarchiving constructor. Removed bad linefeeds.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 15:50:41 +00:00
Stefano Ceccherini
8f8871f95b Use definitions from WindowPrivate.h and InputServerTypes.h instead of redefining them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 07:36:27 +00:00
Axel Dörfler
b38c9e18bf Now uses the new B_STAT_* constants rather than the one from fs_interface.h
(which will be removed soon).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 03:37:20 +00:00
Axel Dörfler
54d6c54090 Moved over to new node monitor API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 02:54:12 +00:00
Axel Dörfler
de8432edeb Moved over to Ingo's new DoublyLinkedList - I miss my static list::Remove() :-))
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 02:27:04 +00:00
Axel Dörfler
09e756fbf7 Moved over to the new notification API.
Fixed rename implementation - it should now actually work (and also notify
the move which didn't happen before).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 02:18:25 +00:00
Jérôme Duval
aafd5156d4 Updated to tzcode2005c.tar.gz
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 22:42:24 +00:00
Jérôme Duval
fa12e0eeff Updated to tzcode2005c.tar.gz
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 22:25:37 +00:00
Jérôme Duval
3eb71baa53 updated timezone files from ftp://elsie.nci.nih.gov/pub/tzdata2005c.tar.gz
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 21:58:42 +00:00
Axel Dörfler
0d3a7fe9b1 Moved over to the new live query notification API.
Fixed a stupid bug in Query::LiveUpdate() that prevented it to work correctly before:
instead of the file name, the attribute value was passed to send_notification().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 17:04:58 +00:00
Axel Dörfler
f0c7cb8c12 Ported over to the new notification API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 17:02:16 +00:00
Jérôme Duval
cdd88ef06b Moved to kLeftTitledWindowLook
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 16:44:50 +00:00
Axel Dörfler
2ee2b3d742 umask is negated before it's applied, so S_IUMSK wouldn't quite do what you'd
expect from it. Changed to the default 022.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 15:34:10 +00:00
Jérôme Duval
ceba21721e now uses kLeftTitledWindowLook from WindowPrivate.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 15:32:33 +00:00
Ingo Weinhold
9965d18a07 Implemented all notify_*() functions. As soon as no longer used anywhere,
notify_listener() and send_notification() can be dropped.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 15:19:35 +00:00
Ingo Weinhold
c02a7b0dcb Fixed build of libbeadapter.so and libopenbeos.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 13:40:19 +00:00
Ingo Weinhold
102267997c Vertical() can be const and should be, when invoked on a const instance.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 13:33:34 +00:00
Stefano Ceccherini
fd873802ab Implemented some more BChannelControl methods. It's almost fully functional. BChannelSlider won't crash if ThumbFor() returns NULL.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 09:34:06 +00:00
Axel Dörfler
f9c5546a16 unistd/open.c should be changed to contain this variable when it's compiled
for the kernel - but since we still compile libroot.so with kernel build
rules, I place it there for now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:49:45 +00:00
Axel Dörfler
92ce7b918a Improved capabilities of the file cache modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:30:07 +00:00
Axel Dörfler
3af4214aeb _kern_open[_entry_ref]() now replaces the _kern_create[_entry_ref]() calls.
That allows BFile to actually create files (it didn't use that syscall at
all before).
Also fixed setting the permission bits of the newly created file depending on umask
(the __gUmask variable should probably be moved into a separate header).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:26:47 +00:00
Axel Dörfler
2ab3ff4495 _kern_open() now has one more argument.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:23:38 +00:00
Axel Dörfler
72b8a30907 _kern_open() now has an additional parameter and replaces _kern_create().
Fixed permission handling - the umask is now correctly applied.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:22:40 +00:00
Axel Dörfler
503950421d Added two more convenience VFS calls: vfs_stat_vnode(), and vfs_get_vnode_name().
Removed *_create() and *_create_entry_ref() syscalls - they are now handled by
*_open() and *_open_entry_ref() calls which get another parameter for the permissions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:21:31 +00:00
Axel Dörfler
faa1f9368a Changed return type of relocate_image() from bool to status_t.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:15:19 +00:00
Axel Dörfler
12691b61c5 That's how the build fix should have looked alike :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:11:27 +00:00
Nathan Whitehorn
46300880d2 Fixed a build error.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 05:50:15 +00:00
Axel Dörfler
bee723280c fill_argv_message() now takes a reference as parameter.
Also fixed BApplication::do_argv() which didn't NULL terminate the array
as it should have done, and would call ArgvReceived() with argc == 0 and
a NULL parameter for argv.
Removed strange trailing spaces at the end of the lines for those two functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 04:40:11 +00:00
Axel Dörfler
9465cd7465 Got the separation between start_dyn.o and libroot.so wrong:
__libc_argc and __libc_argv are initialized in libroot's startup code.
That fix now makes BApplication::ArgvReceived() work as it should.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 04:36:16 +00:00
Axel Dörfler
b460825e1f Fixed the bug that prevented the boot loader from running on many current
systems: good old A20 gate was not properly enabled on all hardware. Even
if it's not perfect now, either, it seems to work on many more systems
(all I have access to, anyway).
Please report if you have any issues with the 0x92 port A20 gate method.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 03:15:26 +00:00
Axel Dörfler
5042346db6 Fixed broken conditional ENABLE_SERIAL handling.
Also added a comment about what ENABLE_SERIAL is for.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 03:01:39 +00:00
Axel Dörfler
21bdfb9cf9 Moved the "random spots" for the first two page tables to 0x91000 and 0x92000
respectively; the area from 0x9f000-0x100000 is not really usable anyway, so
we can safely cut down the maximum size of the boot loader to around 500 kB.
Therefore, the first free physical page is now at 0x100000 straight.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 02:59:04 +00:00
Ingo Weinhold
164d84bb10 Switched to new DoublyLinkedList class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 02:35:16 +00:00
Ingo Weinhold
b0f7c84522 Switched to new DoublyLinkedList class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 02:19:23 +00:00
Ingo Weinhold
be6294af4b Switched to new DoublyLinkedList class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 01:53:00 +00:00
Ingo Weinhold
ef13ad9efd Include dir "private/kernel/util" not longer needed, since we already have "private/kernel" and include <util/...>.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 01:20:35 +00:00
Ingo Weinhold
bed68f2088 DoublyLinkedList lives in the <util/DoublyLinkedList.h>.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 01:16:26 +00:00
DarkWyrm
f3721fd1d7 Tweaked the GetSystem font calls to prevent memory leaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 23:23:45 +00:00
Rudolf Cornelissen
c826d194dc updated fixes list, bumped version to 0.34 BTW.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 15:09:45 +00:00
Rudolf Cornelissen
fdd699c7b7 fixed DMA acc blit function crashing once you place data near the end of the cardRAM on NV40 and higher (for overlay bitmaps). These cards needs a certain unused space in front of their DMA command buffer to prevent the blit's DMA data source instance from malfunctioning (moved windows then contain rubbish instead of valid data). I would say this is a hardware fault or limitation (costs us 400kB+ of RAM).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 15:05:57 +00:00
Stefano Ceccherini
422c07914d Applied our style guide as someone (cough! *** Axel *** cough!) bugged me (correctly) about it :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 14:29:06 +00:00
Stefano Ceccherini
976f53a988 Fixed warnings. Maximum initial values are 100 (One should always print values in decimal, not hex). Implemented GetSupportedSuites().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 13:16:22 +00:00
Stefano Ceccherini
1c3a6ab025 Implemented a couple of methods. Most are tested, even if not thoroughly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 07:42:07 +00:00
Nathan Whitehorn
a8e03a70ea Why were we using DOS newlines?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 02:23:21 +00:00
Axel Dörfler
a82d0abbd6 "it cannot fail"?? Hello, we're in the kernel here :-))
Actually, it would be quite possible for another thread to specifically
ask for space in that reserved range, so we're playing safe now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 00:07:26 +00:00
Nathan Whitehorn
e4b4e8f554 Included Oliver Tappe's DIGEST-MD5 support and fixes to the CRAM-MD5 mechanism.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 23:15:51 +00:00
Jérôme Duval
bf8c5a0440 Using only mime types now work (bug from Fredrik Ekdahl, thanks!)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 22:24:28 +00:00
Jérôme Duval
5797cdc36f We update to the contents for new files (bug from Fredrik Ekdahl)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 22:08:59 +00:00
Axel Dörfler
b18fc6654c transfer_area() now reserves the address range of the old area after removing
it, so that it can guarantee readding it again, in case the transfer is failing.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 18:36:05 +00:00
Rudolf Cornelissen
63def9b208 completed NV20 architecture DMA acceleration: confirmed both NV20 and NV30 architectur up and running OK BTW.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 14:36:33 +00:00
Rudolf Cornelissen
5848a1aedb fixed memory size check for virtualmodes (take DMA into account)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 12:36:18 +00:00
Rudolf Cornelissen
9be68599ad added 3 more cardID's.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 11:45:55 +00:00
Rudolf Cornelissen
5370ea7d80 added 3 more cardID's (a GF6600, a GF6800 and a PCX4300).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 11:44:38 +00:00
Rudolf Cornelissen
8d2dfc64ee small simplification for reading and writing DMAGET and DMAPUT, gives a minor speedup (a few percent max).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 10:53:21 +00:00
Ingo Weinhold
eb5bc5f924 Added a bit of documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 00:26:30 +00:00
Ingo Weinhold
242ebd2030 The reduced area size was used for testing only.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 23:40:17 +00:00
Ingo Weinhold
576ca13ddb Added debug output. No functional change. Surprisingly things seem to work.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 23:28:49 +00:00
Matthew Wilber
aa44f14baa Added more tests for single button Alerts and added tests for two and three button Alerts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 21:21:14 +00:00
Matthew Wilber
855c5b57b8 Created structures to make it much easier to test BAlert's various options.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 19:51:38 +00:00
Ingo Weinhold
ea9716dc6e Return B_NO_MEMORY, if the command handler could *not* be allocated. First tests indicate that the messaging service basically seems to be working. Didn't test yet, if that's still true, when an area is full.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 18:48:38 +00:00
Ingo Weinhold
d06fe82117 Exemplarily implemented notify_entry_moved(). Untested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:13:35 +00:00
Ingo Weinhold
244f03dc1c * Moved the autolocking code for recursive lockers to <util/AutoLock.h>.
* Added resolve_mount_point_to_volume_root() version for external use
  (by the node monitor).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:11:46 +00:00
Ingo Weinhold
4eb57a1d3d Added WARNING macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:06:31 +00:00
Ingo Weinhold
3424c4fea4 Renamed node_monitor.c to node_monitor.cpp and fixed implicit conversions from void*.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 14:09:01 +00:00
Philippe Houdoin
0bd6021a12 The port BTextControl is now inited to default HP JetDirect protocol port number (9100).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 11:41:52 +00:00
Nathan Whitehorn
fa38d4cac8 Fixed an error in the install script
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 06:11:06 +00:00
Nathan Whitehorn
af4c9464a2 Updated credits and contact information for Haiku
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 06:03:35 +00:00
Nathan Whitehorn
4635fa1597 Changed credits to Haiku, separated out version history from readme, updated version history, and updated contact information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 06:01:32 +00:00
Matthew Wilber
eca22332b6 Added BAlert tests to Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:46:49 +00:00