Commit Graph

22038 Commits

Author SHA1 Message Date
Axel Dörfler
bade8d7b70 The MediaAddonServer destructor was never called, thanks Stippi!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-26 14:29:55 +00:00
Axel Dörfler
9ff70e7468 read_from_file() and write_to_file() did not take the pageOffset into account.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-26 13:38:32 +00:00
Axel Dörfler
3891a797aa * Now checks if the media_server is running in ReadyToRun(), and quits itself
if not. This fixes bug #323.
* Now uses find_directory() instead of hard-coded add-on paths.
* A few more error checks.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-26 12:22:53 +00:00
François Revol
01d9afe0d9 Add OpenSound media node to the image, as the one included in the opensound zip is built with gcc2 and won't load with gcc4 builds.
Hope having both doesn't do nasty things on gcc2 builds.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-25 18:15:43 +00:00
François Revol
2318ec87fd gcc4 fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-25 17:48:46 +00:00
Oliver Ruiz Dorantes
15bf869553 Remove fetched item in the recycle list
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-25 16:48:20 +00:00
Axel Dörfler
8b4ee93be6 Build fix; fbsd_ether.c did not compile anymore (but was not recompiled since
the wrong header was included).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-25 12:11:36 +00:00
Axel Dörfler
ecbcc47480 Added FreeBSD 7 driver for the Marvell Yukon chips. Compiles, but is otherwise
completely untested yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-25 11:31:51 +00:00
Axel Dörfler
239239c8a0 * Updated the FreeBSD compatibility layer for network drivers to FreeBSD 7
(RELENG_7_BP).
* There are many white spots, though, most notable PCI MSI(-X) support, and
  jumbo frames.
* Fixed removing interrupts for the INTR_FAST case. Since FreeBSD 7 added
  a new interrupt "filter" mechanism, we can finally report if the interface
  was handled by a device or not (though only very few devices support this
  yet).
* Updated the 3com, rtl8139, e1000, and via_rhine drivers to the latest code
  base. They all compile, but I haven't tested them after the changes yet!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-25 11:29:29 +00:00
Axel Dörfler
3721f6df39 Minor update; even though the TODO file isn't that long anymore, it doesn't
hurt to have it in the repository.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-24 15:43:46 +00:00
Axel Dörfler
b304ba4bef Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-24 15:38:05 +00:00
Axel Dörfler
96bc573e6e Include <be_apps/Tracker/Background.h> specifically, instead of adding the
header directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-24 15:35:07 +00:00
Axel Dörfler
3b54b5c49e * Renamed "Store Current" to "Snapshot Current", and "Restore Saved" to
"Restore Snapshot".
* Implemented a simple undo/redo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-24 14:36:13 +00:00
Marcus Overhagen
91b75ef2fd gcc4 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-24 11:20:38 +00:00
Salvatore Benedetto
187574cf69 * Small clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-23 14:01:17 +00:00
Axel Dörfler
684f9b91a8 * Now reports a proper error when the attribute file is empty (instead of just
printing the usage info).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-23 13:45:05 +00:00
Salvatore Benedetto
30cb1cfbb6 * Added SetAltInterface method which allows to set an alternate interface for the device
* Added InitEndpoint and ClearEndpoint to avoid code duplication
* Usual clean up


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-23 12:55:59 +00:00
Salvatore Benedetto
c62d18ceff * Removed #ifndef HAIKU_TARGET_PLATFORM_HAIKU in InitKernelAccess and PreparKernelAccess as it made those fuctions useless in HAIKU, and those
functions are needed to pass data back to the user space buffer.
* Fixed Jamfile


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-23 12:19:49 +00:00
Salvatore Benedetto
e1070961a3 * Added some checks on parameters passed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-23 12:01:43 +00:00
Salvatore Benedetto
6dfeac892b * Fixed init part of the controller
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-22 23:25:37 +00:00
Stefano Ceccherini
3177ae7785 small cleanup at the code I looked at
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-22 13:05:06 +00:00
Stefano Ceccherini
cb752f1822 xdiff -> xDiff, useHorz -> useHorizontal...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-22 10:56:27 +00:00
Stefano Ceccherini
c9dcf7979b BTextView::_ScrollToOffset() just didn't work correctly most of the
times, since xdiff and ydiff didn't take the point returned by 
PointAt() into account. Thanks to Andrea Anzani for noticing this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-22 10:53:53 +00:00
Michael Lotz
e4ef0f13b7 Since the interval is now part of the general pipe info we don't have to cast the pipe to an interrupt one anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-22 05:35:13 +00:00
Ingo Weinhold
ff7cf84b89 In case of writing a partial block, the complete block is first read
into a buffer. The size of the S/G list for that buffer is now
temporarily set to the block size for the read request. This works
around the problem that the IDE bus manager would erroneously request
DMA for the complete buffer (32 KB), but issue a read request only for
one block, thus, after a few timeouts and bus resets, needing to resort
to PIO mode. Fixes bugs #985 and #1176.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-22 00:40:40 +00:00
François Revol
7579aad575 Fix extra token at end of #endif
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-21 22:57:33 +00:00
Michael Lotz
10b0646422 Implemented split transactions for control and bulk pipes in EHCI.
With this it is possible to use low/fullspeed (USB 1.1) devices below USB 2.0 Hubs.
Note though that you cannot yet use mice or keyboards attached to USB 2.0 Hubs as split transactions for interrupt pipes are still missing.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-21 19:21:21 +00:00
Michael Lotz
072c28ded5 * Redesign the Pipe constructor to only take the parent object
* All other init is done in InitCommon() which only needs to be present in the base class
* Adding the hub port a device is attached to to the Device class
* Add hub port and hub address to the Pipe class (will be used for split transactions in EHCI)
* Update the root hubs to reflect the changes to hub creation

Sadly we need pipes that do not belong to devices (default pipe for addressing and to get initial device descriptor). Therefore we cannot resolve hub address and port from the parent device.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-21 19:15:16 +00:00
Axel Dörfler
349ba1a53c * IsDoubleBuffered() was not correct - fModeList has nothing to do with the
back buffer. This fixes bug #1631.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-21 15:45:12 +00:00
Axel Dörfler
ff99132e67 * Removed fs_get_file_map(); for a file system that only has contiguous files,
there is no need for the file map service.
* Added and implemented fs_read_pages() - this should fix bug #1633; the file
  system had not been ported to the new file cache API yet.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-21 12:41:58 +00:00
Ingo Weinhold
ffea746866 Missed to commit that part of Vasilis' patch. Adds sigset() tests to the
image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-21 00:54:06 +00:00
Salvatore Benedetto
01489ae060 * Remove SubmitAsyncTransfer and SubmitPeriodicTransfer
* Added _SubmitControlRequest (almost implemented), _LinkDescriptors, _WriteDescriptorChain (basically copied from EHCI, and UHCI)
* Renamed ohci_general_descriptor to ohci_general_td, and ohci_isochronous_descriptor to ohci_isochronous_td
* Finished _CreateGeneralDescriptor and _FreeGeneralDescriptor
* Added buffer_size member to ohci_general_td instead and removed last_logical_byte_address as it looked unnecessary
* minor clean up


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-20 22:16:42 +00:00
Axel Dörfler
1dec1e5786 display_mode::[hv]_display_start fields were not set when using a certain
Screen::SetMode() method, thanks to Gerald Zajac for reporting this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-20 21:34:59 +00:00
Stefano Ceccherini
5945644720 Implemented _debuggerAssert().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-20 16:15:27 +00:00
Stefano Ceccherini
ee70f30ea0 cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-20 12:59:59 +00:00
Stefano Ceccherini
15b9bc4f1b small cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-20 12:59:17 +00:00
Stefano Ceccherini
c053b4a9f8 Moved call to _DeleteMenuWindow() to a better place
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-20 12:58:50 +00:00
Stefano Ceccherini
b085f27f8c Return an error in BSound methods, since they aren't implemented. Should
fix bug #1573, although I can't really test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-20 08:41:18 +00:00
Stefano Ceccherini
51b87278e5 Apparently the calculations used to distribute the load don't work
correctly under vmware, and the star count could become negative. At 
least we check that and set it to 0 in that case. Fixes bug #89 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 22:48:19 +00:00
Jérôme Duval
c6f1a3bfbb this macro is preferred
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 19:50:38 +00:00
Marcus Overhagen
27367cc308 Workaround for ICH6M: ports implemented mask 0 is no longer an error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 19:14:46 +00:00
Marcus Overhagen
3c374980b5 improved debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 19:12:37 +00:00
Axel Dörfler
d46836a8b0 Now opens the types window on B_SILENT_RELAUNCH if it's not already open.
This fixes bug #1628.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 15:30:32 +00:00
Axel Dörfler
e551be6e70 If a device returns an invalid size, we shouldn't crash.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 13:57:46 +00:00
Axel Dörfler
4020e749da Replaced the old 1920x1200 resolution mode line with another one with a slightly
higher pixel clock, tested by Dr. Hartmut Reh.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 11:32:45 +00:00
Stephan Aßmus
a3aa69055f * enabled status of "Save As Draft" menu item should now be correctly maintained
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 11:15:04 +00:00
Stephan Aßmus
f688476148 * add a new export format to get the vector icon data as C source
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 10:17:52 +00:00
Axel Dörfler
647c0044ff The "drag&duplicate value" feature was not working reliably when removing hints
after a value was set, as fLastField was not updated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 09:15:04 +00:00
François Revol
d4db8540c0 Only remove attribute storage files if generated/attributes/ exists, else skip the slow find.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-19 00:30:00 +00:00
Ingo Weinhold
e0fa65f7bd Filter PCI_address_space bit out of bus_master_base in
ide_adapter_probe_controller(). ide_adapter_detect_controller() does
that itself, but ide_adapter_detect_channel() doesn't. Fixes off-by-one
bus master status register access. Shouldn't have caused any serious
problems, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-18 18:41:24 +00:00