Commit Graph

19192 Commits

Author SHA1 Message Date
Marcus Overhagen
dff0f5c833 added ahci to bootlinks, so the system will try it during boot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 21:30:38 +00:00
Axel Dörfler
10da8181b5 * Moved non-public classes into the source file.
* Fixed vector icon drawing under Haiku; but it might now look strange in non-32 bit
  modes (background gets a slightly different color, but this might be an app_server
  bug).
* Got rid of the TSwitchManager::IdleTime()/Touch() stuff.
* Key repetitions are now accepted in the switcher, only the first (tab) key repetition
  to bring up the window is not.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 18:35:13 +00:00
Axel Dörfler
c2f641f2e5 Turns out the whole "active app" mechanism in the registrar wasn't used at all; the
Switcher now works as expected.
* Renamed TRoster::ActivateApp() to UpdateActiveApp(), as the app is already activated
  at that point (the registrar only keeps track of it).
* BWindow::DispatchMessage() now calls the new BRoster::Private::UpdateActiveApp()
  method when it receives a B_WINDOW_ACTIVATED message.
* Added BRoster::_UpdateActiveApp() which calls the new B_REG_UPDATE_ACTIVE_APP.
* Removed now unused B_REG_ACTIVATE_APP.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 17:45:08 +00:00
Axel Dörfler
badbad99a9 Messed up logic last time - the cursor should now work as expected again in BTextView.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 16:04:01 +00:00
François Revol
8c3e03d3c6 An old cli tool I wrote, controlls DPMS monitor caps and reports status.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 12:49:52 +00:00
Axel Dörfler
6261c369af * Fixed all those style issue mmu_man introduced over the years - thanks, man!
* Some possible errors weren't propagated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 11:12:16 +00:00
François Revol
1d03aaeea7 When an app sig has been given, use it instead of the mime type to open docs.
This way 'open application/x-vnd.Be-NPOS foo.html' would work as expected, 
instead of opening NetPos and open the file in the default browser.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-18 10:29:19 +00:00
DarkWyrm
a5360d40c6 Usability fixes:
Moved Dither Image to the View menu (where it really belongs)
Made some menu item labels less technical
A couple of capitalization fixes
Fixed layout problems in the Resize window


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 23:58:06 +00:00
Jérôme Duval
7b1b33ed8c update pci ids
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 22:15:06 +00:00
Axel Dörfler
6c3692dc87 Turns out our pulse mechanism was broken; we need to honour the rate set by
SetPulseRate() even if it is 0. BView::_Attach() and BView::SetFlags() now
just set the previous pulse rate again (which will start pulsing in case
there is no fPulseRunner yet).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 21:26:54 +00:00
Axel Dörfler
2a720453e1 One step closer to the Switcher - still doesn't work, though, but at least the
BWindow code looks okay now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 19:38:58 +00:00
Bruno G. Albuquerque
f212f3bad2 Fix build with TRACE enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 16:02:19 +00:00
Axel Dörfler
849de6ef97 Added another GetStyledText() function to force a specific encoding.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 12:04:02 +00:00
Axel Dörfler
691e54b4ab Minor fixes:
* the "state" variable was reset for each loop cycle.
* since the inner loop tested for "bytes" instead of "bytesLeft", convert_to_utf8()
  was called twice for each chunk read.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 12:02:06 +00:00
Axel Dörfler
d0fc29af1f StyledEdit now makes use of the new BTranslationUtils functions which
simplify the code quite a lot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 11:39:56 +00:00
Axel Dörfler
ac0ff19664 While investigating why our UTF-16 files are broken (with a smaller output buffer),
I noticed that "state" was never set, but as expected this doesn't help at all:
we just can't use iconv() this way, I'll open a bug for this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 11:18:33 +00:00
Axel Dörfler
4ea89ce5c8 Looks like Be and Andrew mixed up UCS-2 and UTF-16; I added the UTF-16 conversion as well
now (which has a marker at the beginning of the file, unlike UCS-2).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 11:08:39 +00:00
Axel Dörfler
471c6cea75 * Added the file_ascmagic() stuff from our text sniffer add-on (originally taken from
BSD's file utility) to identify text files.
* The translator now automatically decodes files based "be:encoding" (which can now
  also be a string type attribute), as well as whatever file_ascmagic() recognizes.
  IOW we can now finally read all text files we recognize as text files.
* Added an ioExtension to force a specific encoding for Translate() (called "be:encoding"
  as well).
* Enlarged the read buffer to 32768 bytes (instead of just 2048).
* Now fails when reading/writing files >4GB in STXT format (which doesn't support those)
* Translate() now writes the "be:encoding" attribute in case it detected the encoding
  itself.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 10:46:28 +00:00
Axel Dörfler
8acdd17f08 Added WriteStyledEditFile() variant that gets an encoding argument; it will automatically
encode the text in the BTextView accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 09:10:16 +00:00
Bruno G. Albuquerque
e62e6bd5a7 Implemented support for hardware cache flush. This is based on code I originally
did for yellowTAB GmbH when I worked for then and is being used under permission.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 01:39:59 +00:00
Marcus Overhagen
7f6c8fdc86 added ahci to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 01:11:19 +00:00
Marcus Overhagen
c6a23809ea add ahci driver to build system
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 00:40:11 +00:00
Marcus Overhagen
f39cc7fbeb added device detection
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 00:39:33 +00:00
Marcus Overhagen
ebb02063bd Fixed documentation, uint16 was wrong and doesn't work. Also checked other usage of this items, but they are already correct.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-17 00:19:59 +00:00
Marcus Overhagen
dd994777b7 added some register definitions from AHCI 1.1 specification
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 23:45:43 +00:00
Marcus Overhagen
573135490d header file for AHCI
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 23:17:41 +00:00
Marcus Overhagen
bff626f156 copied from the Silicon image driver to get started
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 22:47:25 +00:00
Marcus Overhagen
d16104f0bd created new directory for AHCI support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 22:45:20 +00:00
Axel Dörfler
450a5aea22 * GetStyledText() is now much more forgiving when it comes to corrupted data
(ie. if the text file is cut off, it will no longer return an error, but
  load as much as possible).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 20:50:56 +00:00
Jérôme Duval
84137e45f1 now uses the dpc module for AcpiExecute(). Untested with hardware events.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 20:37:22 +00:00
Axel Dörfler
8cddf19132 Tracker now prefers an icon coming directly from the MIME type over one specified
by the application - as FileTypes already did.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 17:36:16 +00:00
Stefano Ceccherini
68fb266820 get rid of the now useless trackTime parameter
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 15:22:31 +00:00
Stefano Ceccherini
ebd1a3a130 some more work on menus... fixed bug #953 and some more stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 14:43:01 +00:00
Axel Dörfler
0013964388 Ported r19825 back to the R5 version of BFS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 14:40:15 +00:00
Axel Dörfler
458ff7ff31 Inode::WriteAttribute() did not adopt a changed "type" when the attribute was a file,
causing subsequent reads with that type to fail.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 14:33:23 +00:00
Stefano Ceccherini
ee144512ec use Invalidate() and UpdateIfNeeded() in BTextView::SetTextRect(). Fixes bug #571
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 09:04:14 +00:00
Stefano Ceccherini
1e634f4d9c Actually use B_COLOR_SELECTION_TEXT when drawing. Patch by Andrea Anzani
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 08:36:35 +00:00
Axel Dörfler
8d7ddfde53 Fixed build under BONE again...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 00:28:46 +00:00
Axel Dörfler
55a147c27e Fixed build under Dano/Zeta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-16 00:17:52 +00:00
Michael Lotz
e323965be8 * Properly initialize the whole mouse_movement structure to 0 instead of only some fields
This fixes the random horizontal scrolling that happened with one-wheeled USB mice like mine or Marcus'.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 22:16:10 +00:00
Axel Dörfler
2effffff60 Added Vasilis Kaoutsis to the list of contributors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 20:52:55 +00:00
Axel Dörfler
b73f3b8a15 Applied patch by Vasilis Kaotsis, and added him as an author (because you don't really
recognize the original anymore :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 20:48:32 +00:00
Axel Dörfler
04121b1396 * Add() did not add fNumBytes in case of an out of order packet, causing all kinds of
hickups on TCP connections.
* Added a bit more of debug output to Add().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 18:00:39 +00:00
Axel Dörfler
bbaa26a490 The net_server is now a BServer instead of a BApplication, IOW it doesn't rely on the
app_server being started anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 16:51:27 +00:00
Axel Dörfler
c2f09ed5b7 * Fixed compilation with debug output turned on.
* Added FIONBIO ioctl() in debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 16:17:08 +00:00
Axel Dörfler
9ef37e3bc4 The networking server is now launched at system startup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 16:16:10 +00:00
Axel Dörfler
4062fe7ce3 fReceiveNext was not maintained correctly in case of out of order packets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 16:10:13 +00:00
Axel Dörfler
e1771d9b1d Calmed down ICMP protocol module as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 15:14:02 +00:00
Axel Dörfler
ab4048488d The IPv4 protocol now stores all domain receiving protocols, and only put them away on uninit.
This should speed up packet retrieval a lot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 14:22:31 +00:00
Axel Dörfler
235a50037c accept() and bind() now accept NULL address parameters in the R5 compatibility mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-15 13:07:09 +00:00