Commit Graph

13379 Commits

Author SHA1 Message Date
Ingo Weinhold
58b53fd940 Added BApplication dummy class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:57:02 +00:00
Ingo Weinhold
e9bd9044fd Dummy BApplication class. So we don't have to #ifdef it out in tools we
to build for the build platform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:56:38 +00:00
Ingo Weinhold
9c2d48f374 Fixed bug already fixed in the Haiku version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:55:29 +00:00
Ingo Weinhold
de3b6032e7 There's even a constant for the ELF executable type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:05:54 +00:00
Ingo Weinhold
0b537029e3 Synchronized the MIME stuff in the build platform support libbe with
the current Haiku libbe.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 20:20:27 +00:00
Ingo Weinhold
15424f3d37 Finally fixed update_mime_info(). As Be's version it understands two
different "force" levels now and updates the app file info attributes
for shared object files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 19:41:07 +00:00
Ingo Weinhold
1ee5d15ef8 MIME DB entry for ELF executable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 19:28:58 +00:00
Axel Dörfler
036b999b54 Unbroke the build (ps2.h was suddenly missing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 18:48:50 +00:00
Axel Dörfler
afd6dfc8b4 Implemented first basic APM driver. Only tested with QEMU so far, that's why
it's currently disabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 18:11:20 +00:00
Marcus Overhagen
bfb4078864 unbreak build and image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 14:05:43 +00:00
Marcus Overhagen
769346f0a3 finishing integration of ps2_hid into ps2 bus manager, delete old files, add new ps2_hid driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 13:54:21 +00:00
Marcus Overhagen
59d1757d4d added ps2 busmanager to build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 13:46:02 +00:00
Marcus Overhagen
44eb1c732e improved debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 13:41:58 +00:00
Rudolf Cornelissen
7933070063 volatile pointers where possibly needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:09:19 +00:00
Rudolf Cornelissen
12676c3a1d volatile pointers where possibly needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:06:26 +00:00
Rudolf Cornelissen
eab3aa0c2d same for cursor clear and define functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:02:49 +00:00
Rudolf Cornelissen
716c61f301 updated all framebuffer accesses to use volatile pointers. This potentially fixes even more coldstarting problems. Thanks Marcus Overhagen for pointing this out again - sorry for forgetting :-/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 20:56:36 +00:00
Rudolf Cornelissen
e2b583a0e4 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 08:13:20 +00:00
Rudolf Cornelissen
5af5d0c6ef fixed coldstart RAM test exec failures on high-voltage AGP1.0 slots (confirmed a NV11 now working OK there). Bumped version to 0.70.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 08:12:51 +00:00
Axel Dörfler
1bb74eb185 This fixes the work-around made in r16105, and some more:
* cached_block::parent_data can be NULL in a sub transaction in case the
  block wasn't part of the parent transaction (but not in low memory
  situations). cache_abort_sub_transaction() and cache_detach_sub_transaction()
  didn't account for this, though, ie. the block data could end up
  corrupted.
* Renamed cached_block::original in original_data.
* Renamed cached_block::data in current_data.
* Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 21:02:53 +00:00
Jérôme Duval
2e7cc04b06 gawk build is beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 17:13:09 +00:00
Jérôme Duval
e26778ae3d useless Invalidate()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 16:45:51 +00:00
Jérôme Duval
2e5ac35292 fixed some traces
cache_abort_sub_transaction now doesn't crash if parent_cache is NULL (happens in low memory situations)
Axel, please review and fix if needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 16:42:12 +00:00
Rudolf Cornelissen
421b932509 moved check for TVout adaptor cable from Setmode to Proposemode where it belongs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:53:57 +00:00
Rudolf Cornelissen
032c5ae268 updated docs: the G550 PCIe x1 is supported fully, without any modification :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:31:12 +00:00
Ingo Weinhold
906b28a9ac Added some PPC support to the PCI bus manager. We scan the Open Firmware
device tree for PCI controllers and make them known to the bus manager,
if we know how to talk with them. ATM we support only the UniNorth chip,
which can be found in G4 Macs (code ported from FreeBSD).
As far as I can judge it, all attached devices are identified correctly
on all three host bridges of my Mac mini.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:21:31 +00:00
Ingo Weinhold
f602da2b72 * Turned the kernel platform support from a library into an object.
* Moved the Open Firmware function platform_get_next_device() from
  the boot loader into the kernel (renamed to of_get_next_device()).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:06:59 +00:00
Ingo Weinhold
6cdd45a94b Added enum to PPCPlatform to identify the platform.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 14:59:16 +00:00
Rudolf Cornelissen
5ef2e83614 reverting to version 16074, removing the partly setup coldstart panel hack 'solution' which isn't going to work this way: I took a wrong turn here. Turns out this should be done via temporary files containing the hack info. Don't know yet if I'll do that though (real panel coldstart is the best solution anyway).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 14:56:40 +00:00
Ingo Weinhold
22a572905c pci_controller.c -> pci_controller.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:27:09 +00:00
Axel Dörfler
c43a6c505a Moved _kern_shutdown() to the registrar's R5Compatiblity.cpp where it belongs.
(but maybe that file should be moved into libhaikucompat.a?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:14:03 +00:00
Axel Dörfler
5da7839924 * _kern_remove_dir() didn't even compile... (test environment (of which
LibBeAdapter is a part of) isn't part of the build.
* Added _kern_shutdown() function, so that the registrar still compiles
  even though __HAIKU__ is now defined for the target libbe_test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:04:44 +00:00
Jérôme Duval
79ea00d63e added checks for null pointers in pcihdr.h structs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 21:29:26 +00:00
Axel Dörfler
a268fbfe48 Added some hacks to get the boot loader to work on the Pegasos.
Doesn't come far yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 20:05:11 +00:00
Axel Dörfler
818feababe Fixed fputc() for the PPC platform (would only write null bytes due to
big endian).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 19:45:10 +00:00
Marcus Overhagen
6b076b3556 added header file that was not included in r16086 commit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:56:54 +00:00
Marcus Overhagen
0827e900cd removed unused spinlock
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:55:23 +00:00
Marcus Overhagen
43eb3f4715 removed deleted sourcefile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:53:44 +00:00
Marcus Overhagen
8d366c9e00 Added support for multiple PCI host controllers and allow multiple PCI domains (needed for PPC).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:51:35 +00:00
Jérôme Duval
1571b4c958 added Chip and VendorShort fields to fix the build
They should be checked to see if they're useful at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:09:12 +00:00
Jérôme Duval
6f896d56e2 updated header search
oops we removed useful fields in pcihdr.h ... sorry for breaking the build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:03:33 +00:00
Axel Dörfler
01e69aca05 Now shows the "Reboot" button after the actual shutdown attempt.
The invalidate work-around is no longer needed for the app_server.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 16:24:17 +00:00
Axel Dörfler
76c7d59103 Updated copyright message in the boot loader menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 16:12:48 +00:00
Axel Dörfler
924479179b Implemented on screen debug output during boot - to be enabled in the boot loader
safemode menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 16:12:10 +00:00
Jérôme Duval
ab88c5f939 Now use pci.ids from http://pciids.sourceforge.net, a cleaner and updated database
Awk script provided by John Drinkwater (john@nextraweb.com), thanks for this hard work!
This closes bug #94


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 15:38:20 +00:00
Axel Dörfler
46252218c3 Now adds the header to every line of the message received.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 14:49:03 +00:00
Axel Dörfler
979aeaf71c Fixed bug #97:
* BEntry::Remove() now uses _kern_remove_dir() for directories.
* Added fd parameter to _kern_remove_dir().
* Fixed LibBeAdapter's _kern_unlink() to only work on files, and
  added _kern_remove_dir() for directories.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 11:12:21 +00:00
Axel Dörfler
7f370a1f89 * Fixed settings evaluation.
* exchanged sBlueScreenEnabled and sBlueScreenOutput (so that they better
  match the sSerialDebugEnabled and sSyslogDebugEnabled variables).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 21:52:53 +00:00
Axel Dörfler
ad4afa7409 Added unused ring_buffer_write_to_port() implementation - we might never use it,
but it shouldn't hurt to have it in SVN.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 21:50:41 +00:00
Rudolf Cornelissen
17ca256d6f added hack to save registerprogramming for a few registers that has been done by the cardBIOS: things that we don't have coldstart support for yet. This is nessesary if the driver is started/stopped more than once per 'system boot': programming done by the VGA BIOS has a tendency to get overwritten by driver-use. In progress: accelerant doesn't use it yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 20:37:05 +00:00
Axel Dörfler
eb2fc29abd Implemented syslog support for the kernel debug output. Not fancy at all yet, but
it seems to be working fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 20:28:52 +00:00
Axel Dörfler
91845703f8 * "<TRUNC>" was added one byte too late, causing the stack to be overwritten.
* now makes sure the message string received is null terminated.
* made buffer size depending on the syslog defines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 20:25:38 +00:00
Axel Dörfler
d97476d155 The userland stack trace no longer accesses the stack of the crashed application unsafe.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 17:22:50 +00:00
Axel Dörfler
3a0a764d47 Added the "logger" command line tool to send messages to syslog.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:28:45 +00:00
Jérôme Duval
bc1301d336 * added checks for installing on source volume, or boot volume
* added alert for file error: lots of errors happening when updating a volume:
* it seems BEntry::IsDirectory() returns false whereas it should return true for some directories
this is to be checked with a test app
* boot volume is now marked automatically as the source volume (a rule is yet to be found for the target volume)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:16:26 +00:00
Stefano Ceccherini
19de443e9a removed useless stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 15:31:52 +00:00
Rudolf Cornelissen
ac9ce71ce8 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:56:26 +00:00
Rudolf Cornelissen
6074481cfa bumped version to 0.28
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:52:20 +00:00
Rudolf Cornelissen
831d98de27 updated Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:48:40 +00:00
Rudolf Cornelissen
13fca088b4 removed nolonger used file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:47:46 +00:00
Rudolf Cornelissen
aadc40b8e2 completed acc engine funtion move for acc speedup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:46:23 +00:00
Rudolf Cornelissen
19fb0957a2 moved acc function FILL_RECTANGLE into engine directly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 11:56:36 +00:00
Rudolf Cornelissen
f3c5d76035 moved acc function SCREEN_TO_SCREEN_TRANSPARENT_BLIT into engine directly. Also executing now if requested, although this function is completely untested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 11:37:11 +00:00
Jérôme Duval
e947a6d02f improbed tabbing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 10:56:10 +00:00
Jérôme Duval
dcea76f0ab also checks for media read only as it seems CD-ROM are reported read only this way
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 10:54:25 +00:00
Marcus Overhagen
b5fc9db163 renamed pci_config.c into pci_controller.c
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 22:49:51 +00:00
Marcus Overhagen
6337bf06a0 improved text layout
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 22:03:55 +00:00
Marcus Overhagen
c324a50b54 improved error checking
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 21:43:33 +00:00
Marcus Overhagen
d763a2eb2a cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 21:43:15 +00:00
Marcus Overhagen
a9e8a72a70 improved ps2_dev_command ACK handling, also added workaround for mice not ACKing a get device id command
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 21:17:32 +00:00
Marcus Overhagen
da68da3e1b To differentiate legacy and multiplexed mode, in legacy mode "aux" instead of "mouse" is printed in the debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 18:04:00 +00:00
Marcus Overhagen
583578c557 added experimental support for CardBus<->PCI bridges
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 17:50:01 +00:00
Jérôme Duval
cbdfe27947 reworked a bit to install packages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 17:36:24 +00:00
Jérôme Duval
141f2cefe9 reverted to previous version as this version is not that clean
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 17:30:09 +00:00
Stefano Ceccherini
2ec687d889 small corrections for BScrollBar and BScrollView
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 14:32:12 +00:00
Axel Dörfler
05b4b0d7ce Node monitoring didn't work because unflattening KMessages didn't take the
message header into account. It worked before at some point as BLooper was
letting the looper handle messages to invalid targets - they are now just
dropped.
This fixes bug #93.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 13:30:17 +00:00
Stefano Ceccherini
81a02ebcfa Fixed crash in case there were no selection and you clicked on the date/time controls's arrows. patch by John Drinkwater
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 13:08:17 +00:00
Jérôme Duval
507a724eed added pci_clean sed script from John Drinkwater (john at nextraweb.com) as noted in bug #94
made Devices beos compatible
updated pcihdr.h with current pcidatabase version


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 11:49:05 +00:00
Axel Dörfler
627e4043a8 Improved debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 11:41:07 +00:00
Axel Dörfler
40d0203cdb Fixed bug #92.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 00:39:32 +00:00
Jérôme Duval
0bd6170f79 CopyEngine is a BLooper: let it delete itself ...
copy everything in source directory instead of just 'beos'


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-22 23:32:55 +00:00
Rudolf Cornelissen
ca9db3588c moving acc function hooks from high-level driver files to engine directly: this will improve acc speed by some 15% when finished (in progress). It's too costly to do 'unneeded' calls here. SCREEN_TO_SRCEEN_BLIT done.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-22 20:22:46 +00:00
Rudolf Cornelissen
4b325378a8 Bumped version to 0.14.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-22 19:52:18 +00:00
Rudolf Cornelissen
454bde192e rewrote/simplified DPMS code: much cleaner now. Bumped version to 0.14.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-22 19:50:35 +00:00
Marcus Overhagen
998c7c5496 renamed ...handle... into ...notify...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-22 14:48:06 +00:00
Rudolf Cornelissen
cdcb46775f code sync against nvidia/matrox drivers: added capability to run without INT assigned, proposemode fixes for dualhead/tvout related custom flags, GET_ACCELERANT_DEV_INFO returns much more detailed info, INIT_ and CLONE_ACCELERANT now enforce correct use. Bumped version to 0.12. Docs updated.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 22:14:35 +00:00
Rudolf Cornelissen
489527469f code sync against nvidia/matrox drivers: added capability to run without INT assigned, proposemode fixes for dualhead/tvout related custom flags, GET_ACCELERANT_DEV_INFO returns much more detailed info, INIT_ and CLONE_ACCELERANT now enforce correct use. Bumped version to 0.12.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 22:11:50 +00:00
Stefano Ceccherini
ccee0bb56d renamed fToken to fAreaOffset and use it instead of fArea for the area offset. Less hacky.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 20:30:31 +00:00
Stefano Ceccherini
365a41fd5c Reduced the time hysteresis. Need more testing, though
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 20:08:58 +00:00
Marcus Overhagen
395817e35f Improved ps2_dev_command(), it now properly handles ACK and NACK, and thus is much faster.
Small cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 19:16:43 +00:00
Jérôme Duval
b5a5837bb9 updates status with current copied item
tested ok with a beos folder, 36Mo


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 17:48:12 +00:00
Rudolf Cornelissen
444e9a147b driver now enforces correct order of use of INIT_ACCELERANT and CLONE_ACCELERANT: bailing out with B_NOT_ALLOWED if incorrect use is detected. Updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 17:05:07 +00:00
Rudolf Cornelissen
3eb82f0251 driver now enforces correct order of use of INIT_ACCELERANT and CLONE_ACCELERANT: bailing out with B_NOT_ALLOWED if incorrect use is detected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 17:04:49 +00:00
Rudolf Cornelissen
7d59f2ebb1 forgot a part for INIT_ and CLONE_ACCELERANT order of exec. check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 16:57:33 +00:00
Rudolf Cornelissen
ecfb22d474 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 16:38:01 +00:00
Marcus Overhagen
dfd5628d64 implemented basic support for multiple mouse devices, seems to work
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 15:45:22 +00:00
Rudolf Cornelissen
8bde8143eb driver now enforces correct order of use of INIT_ACCELERANT and CLONE_ACCELERANT: bailing out with B_NOT_ALLOWED if incorrect use is detected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 14:49:39 +00:00
Rudolf Cornelissen
d1c4f04c78 driver now enforces correct order of use of INIT_ACCELERANT and CLONE_ACCELERANT: baling out with B_NOT_ALLOWED if incorrect use is detected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 14:49:19 +00:00
Axel Dörfler
923e3aaf6f Fixed two crucial bugs:
* When aborting the first sub-transaction, BFS didn't recognize this
  correctly, and aborted it via cache_abort_transaction() instead of
  cache_abort_sub_transaction() - that not only reversed the whole
  transaction, but also let subsequent cache_start_sub_transaction()
  fail (as there was no transaction to continue anymore). Reported
  in a reproducible way by Jerome Duval.
* Haiku didn't want to replay logs anymore - the off-by-one fix I did
  in r14428 was not complete, it only let Be's BFS replay our logs,
  but our's rejected them afterwards.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 13:35:08 +00:00
Axel Dörfler
4af3d066e1 Better debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 13:29:11 +00:00
Marcus Overhagen
03d0d41ac7 better multiplexing support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 13:09:47 +00:00
Stefano Ceccherini
0219459ba0 Added a small time hysteresis: submenus are only opened if the user keeps the mouse there for a while. I'd like feedback on this
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 09:23:59 +00:00
Stefano Ceccherini
3276412ef2 Resolved a TODO in BBitmap: now the bitmap area is cloned when needed: i.e. when Bits() or ImportBits() is called. Works fine, but I'd feel better if someone reviewed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 09:22:15 +00:00
Axel Dörfler
a91b2ce415 Fixed build (at least with GCC4) - exit() is declared in stdlib.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-20 19:54:59 +00:00
Ingo Weinhold
e4b4a99228 Update the BDiskDevice object after mounting/unmounting a partition.
Untested, but should fix bug #92.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-20 14:49:16 +00:00
Jérôme Duval
4606537811 actually uses the copyengine looper to handle the copy process
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-20 13:33:42 +00:00
Axel Dörfler
e9e5c69a25 * Use _FindView() where possible instead of using BTokenSpace::GetToken() directly.
* Fixed some issues in _UnpackMessage():
  - The focus view could have been removed before its turn which was ignored
    (and could led to a crash, for example when moving the Deskbar around).
    It's now tested if it's still valid (can't use _FindView() here, as the
    the preferred handler of a window could be any BHandler).
  - fLastMouseMovedView could have been NULL in which case there is no
    need to let the message be processed (was harmless, though).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-20 13:27:11 +00:00
Axel Dörfler
915af8b17a Imported ExpandoMenuBar 1.16 and TeamMenu.cpp 1.5 from the OpenTracker repository:
* fixes for the Deskbar running without any other apps.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-20 11:55:24 +00:00
Jérôme Duval
5226491c72 basic copy
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-19 18:15:01 +00:00
Jérôme Duval
30db9f527d print also the mount point, useful in case it's generated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-19 12:38:14 +00:00
Stefano Ceccherini
92071609a1 extended support for BPicture, still not working
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-18 21:29:29 +00:00
Stefano Ceccherini
af675e2c03 implemented some more stuff for bpicture support. In theory StrokeLine, Stroke/FillRect should work but in practice they don't.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-18 20:49:29 +00:00
Jérôme Duval
678d2b34a4 added missing include
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-18 16:46:29 +00:00
Stefano Ceccherini
9cc00d82fb sync
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 21:39:41 +00:00
Stefano Ceccherini
9e8d2dd28b Removed PicturePlayer, it only contains code duplicated from TPicture. Some cleanups for BPicture. This commit also completes previous commit for BMenu
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 21:39:07 +00:00
Stefano Ceccherini
ffa2503b55 first style changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 21:12:59 +00:00
Ingo Weinhold
d4e25ae745 Got rid of the argument number limit of fs_shell's cp command.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 21:00:42 +00:00
Stefano Ceccherini
c592b98fd2 Reworked BMenu::Set/IsEnabled(). I tested what happens under beos and our code seems to be finally correct
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 20:11:07 +00:00
Axel Dörfler
4ea667a0b0 Fixed possible crashing bug for B_NO_POINTER_HISTORY views.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 16:14:53 +00:00
Axel Dörfler
465b54cd65 Fixed crashing bug in the test environment on quit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 16:14:13 +00:00
Jérôme Duval
4747667c90 replaced rsrc file with a rdef one
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 12:57:28 +00:00
Ingo Weinhold
bae7848e66 We were trashing non-volatile register ebx in the arch_call_{init,term}()
functions. Weird things could happen due to that. E.g. application crashes when 
unloading add-ons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 02:21:17 +00:00
Axel Dörfler
5fb1a4102a Added tool "fdinfo" to inspect file descriptors of other teams.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 01:47:05 +00:00
Axel Dörfler
7817211a38 Allow only root to look at other team's file descriptors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 01:44:18 +00:00
Axel Dörfler
0e382a4667 Implemented a syscall to get information about the open file descriptors of all teams.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 01:29:18 +00:00
Ingo Weinhold
50f4cc4317 Added TODO. Just in case someone wants to tackle it. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 23:47:38 +00:00
Stefano Ceccherini
0c7450238f followed stippi's suggestion and implemented SetEnabled more cleanly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 22:49:05 +00:00
Stefano Ceccherini
dd180e6378 SetEnabled() enables or disables the parent menu too, SetRadioMode() and SetLabelFromMarked() call each other if needed, BMenuBar::Draw() doesn't make a difference if the menubar is disabled or not, should even fix bug #87 as it was calling LayoutItems() every cycle. Work done by John Drinkwater and me
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 21:42:57 +00:00
Marcus Overhagen
487f65913b converted ps2_hid driver into ps2 bus manager
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 21:07:12 +00:00
Marcus Overhagen
079a1529f7 simplified ps2_hid driver, only used to load the ps2 bus manager right now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 21:06:34 +00:00
Marcus Overhagen
f5ed14bbfa copied some files from ps2_hid driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 21:02:49 +00:00
Marcus Overhagen
4ebe921a7a that was stupid, removed it again
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 20:39:01 +00:00
Marcus Overhagen
536b4943a2 copied from common.c
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 20:37:45 +00:00
Marcus Overhagen
d61a52a78d copied some files from ps2_hid driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 20:31:08 +00:00
Marcus Overhagen
c2f9bd7dda basic ps/2 bus manager
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 20:13:32 +00:00
Marcus Overhagen
5d273583ea bugfix, noticed that releasing a semaphore 0 times isn't very useful
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 17:56:42 +00:00
Marcus Overhagen
c7a1eae1aa more debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 15:45:27 +00:00
Axel Dörfler
9a96efa92a Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 14:43:50 +00:00
Marcus Overhagen
39c5ec1669 connected service thread's loose ends
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 14:22:01 +00:00
Marcus Overhagen
f7831e0a16 added debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 14:21:22 +00:00
Marcus Overhagen
7593e461e3 allow communication with non-active ps2 devices
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 13:43:23 +00:00
Marcus Overhagen
f21b0edf83 bugfix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 13:42:33 +00:00
Marcus Overhagen
cba0addf98 prepared periodic services
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 13:13:38 +00:00
Marcus Overhagen
16160d6099 bugfix of devfs_publish_device parameter
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 13:13:18 +00:00
Stephan Aßmus
7023b103b3 I took the liberty to revert Stefanos patch in 15953 since you all seem busy, it is ok and even required for the Desktop window to be able to have focus
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 11:44:18 +00:00
Philippe Houdoin
e2450cedbc Added Polish(Programmer's).keymap at the request of michalg.
See his forum post at http://haiku-os.org/forums/viewtopic.php?t=648&highlight=
This keymap file come from Takayuki ITO's Internation Keymap Pack available at
http://www.bebits.com/app/698 and is licensed as Public Domain.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-16 09:54:30 +00:00
Alexander G.M. Smith
3b287239c2 More Japanese and other small items from SourceForge. To be integrated into
the build system...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 22:55:07 +00:00
Alexander G.M. Smith
2a7acda66e Japanese version of the README, slightly out of date, UTF-8 encoding.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 22:52:52 +00:00
Jérôme Duval
f38c267be6 time is beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 22:38:22 +00:00
Jérôme Duval
618a88bc18 desklink is beos compatible (provided it uses some haiku headers)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 22:27:37 +00:00