Commit Graph

29441 Commits

Author SHA1 Message Date
Axel Dörfler
9431509f5c * Fixed broken socket_get_next_stat() that was responsible for bug #3830.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 11:59:11 +00:00
David McPaul
218e947cde rollbaack accidental commit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 10:46:41 +00:00
David McPaul
22245b2dce include asf_reader in compilation may break GCC4 builds
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 10:23:13 +00:00
David McPaul
94793d4d86 Pictures they move and everything and hark what is that noise
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 10:21:34 +00:00
François Revol
797f475dba If I got it right this should enable switching the ata vs ide stack by just adding
HAIKU_ATA_STACK = 1 ;
in your UserBuildConfig.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 00:04:08 +00:00
Philippe Saint-Pierre
838eca4665 Allows "Icon Label Outline" to be disabled when no background bitmaps are chosen.
It complements r29190 and fixes ticket #2395.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 23:43:23 +00:00
Marcus Overhagen
35d0af4fa0 Note: To use the ATA stack, modify build/jam/HaikuImage to include
ata and ata_adapter instead of ide and ide_adapter, and also edit 
add-ons/kernel/busses/Jamfile to subinclude ata instead of ide.

(This commit adds ata_adapter to the build, not to the image)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 21:24:14 +00:00
Marcus Overhagen
730e6467fe modified interrupt handling to fit ata_adapter
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 21:16:18 +00:00
Marcus Overhagen
388243cc43 prepare for ata
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:24:40 +00:00
Marcus Overhagen
8f859074b2 cleanup, remove ide only code from ata_adapter.c
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:22:54 +00:00
Fredrik Modeen
9327db63a4 Adds the option to delete a file from Mediaplayer and move that file to Trash
Works both from main window and PlayList window.
Button that works are B_COMMAND + [delete | d | r] button.
It can be debated what shortcut to use but I needed this function :)
Same goes for the menu i Playlist window. Yell and Ill change :)

What not works are undo and  total undo in main window and total undo in Playlist
(total undo = undo files from trash as well as normal undo)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:20:23 +00:00
Marcus Overhagen
d3b6c809b1 cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:20:04 +00:00
Marcus Overhagen
d81979f249 it's probably cleaner to have a separate directory as well
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:14:22 +00:00
Marcus Overhagen
11bb2f6cac adjust jamfiles
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:04:47 +00:00
Marcus Overhagen
587382f9d6 Copy ide busses into new ata busses folder, so they can be modified without breaking ide.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 20:01:38 +00:00
Marcus Overhagen
58f0d01b6d revert to r28339
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 19:51:29 +00:00
Marcus Overhagen
53c0d2bd6c copied from ide_adapter.c
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 19:40:53 +00:00
François Revol
e5ea3d8c41 Print the zlib-provided message in case of error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 01:53:58 +00:00
François Revol
ff6382031e Build only the required part of zlib with correct options instead of reusing the userland version. This fixes some weird m68k issue, and still works on x86.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 01:52:01 +00:00
François Revol
12442ce54b - add a gBootDriveAPI variable telling which method was used to load,
- move gBoot* out of the boot sector,
- fix the FAT params to actually indicate 1.44kB floppy,
- fix the FloppyDrive class to also use 18 sectors/track, so now tarfs won't get data from start of disk when on the middle.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 01:35:37 +00:00
François Revol
89b87f2ba5 Fix linux build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 01:30:53 +00:00
Bruno G. Albuquerque
8562115dd7 - Fix fetching new emails with IMAP. This closes ticket #3512.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 00:58:30 +00:00
François Revol
dc80fc5244 Pass ATA_STACK from jam now, so one can override it with HAIKU_ATA_STACK=1 in their UserBuildConfig. Probably needs to conditionalize some targets on it too...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-28 23:04:39 +00:00
Stephan Aßmus
996af6d997 Disable pre-fetching until we fix bug #3835.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-28 10:01:44 +00:00
Stephan Aßmus
aff0fbbe57 axeld:
* vfs_read_pages_async() must not be called with locked cache,
  since it cannot be guaranteed that the operation will be
  performed asynchronously. (The ISO9660 FS for example does not
  implement the new IO hooks... yet.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-28 08:03:39 +00:00
Marcus Overhagen
34d49541b0 !!! To use with the ATA stack, change #define ATA_STACK from 0 to 1 !!!
Adapted to new ata stack. Works now. Hopefully useable with ide stack, too.

Modified to fix the DMA problem introduced with the last change. 
Since the interrupt is already cleared in the interrupt handler,
we can no longer test the interrupt bit in finish_dma().



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 22:13:05 +00:00
Marcus Overhagen
ca2a912bc9 Workaround for Gigabyte i-RAM, which always reports 0x00 as error code after bus reset,
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 22:09:31 +00:00
Oliver Tappe
6241755766 Fixed all wrapping issues that I know of (non-working wrapping at end of text, broken hard-wrapping of overlong words, visual leftovers after a word got wrapped):
* adjusted _FindLineBreak() to no longer expect that only whitespace can
  end a line, as that is simply not true
* CanEndLine() returns true for characters that are followed by end-of-text
  or a separator
* activated the commented lines in CanEndLine() that allow '...' to be treated
  as a word
As I have nothing more relating to BTextView on my todo-list, I will start doing something else now, but please *do* send any complaints my way ;-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 20:58:37 +00:00
Jérôme Duval
dc4c7cc492 * honors new frame size in the LockGL() method of the renderer, FrameResized() now notifies the renderer.
* checks whether the rendered bitmap size matches the direct info size, if not, the renderer doesn't draw.
* we don't lock the view looper anymore in LockGL(), this avoids deadlocks with FrameResized().
* lock drawing when modifying the direct connection info.
* the renderer now locks the view looper with a timeout, as on resize the looper is locked and FrameResized called.
* the bug #3027 is fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 20:28:11 +00:00
François Revol
9c08ace28c Add the checksum required step for atari_m68k on the boot floppy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 20:00:28 +00:00
François Revol
357179de85 Use 150kB tgz offset for m68k.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 19:36:26 +00:00
François Revol
4eae7ffa1e Use arch specific floppy image size, Atari machines don't know about 2.88kB... plus it still fits in.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 19:28:13 +00:00
François Revol
f5be3a125f Rename C file; add to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 18:49:42 +00:00
François Revol
5b47f71ccb Move the checksum fixup tool where it belongs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 18:45:28 +00:00
Philippe Saint-Pierre
b10b8f90cb Preserve Aspect Ratio of Preview in Backgrounds preflet (applies to Widescreen displays).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 18:18:45 +00:00
Stephan Aßmus
eb2bd0e8e3 axeld:
* Implemented a way to do asynchronous pre-fetching when mapping files.
* There are slight code duplications in some places that could benefit
  from cleaning up, but nothing too bad.
* Implementing smarter ways to trigger prefetching and more analysis of
  the situations in the kernel would be nice. Currently up to 10 MB
  of every mapped file are pre-fetched without further analysis.
* The speed improvement is nice for certain operations. On our test
  system (real hardware), Firefox took 9 seconds from being launched
  to display a window. Now it takes 5 seconds. Both measurements
  right after booting. The same system took 35 seconds from launching
  Haiku in the GRUB menu to displaying the Tracker desktop background
  image. Now it takes 27 seconds.
* We didn't have the chance to check out the effects of this on the
  CD boot, but potentially, they could speed it up a lot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 18:16:58 +00:00
François Revol
f77b0a6b83 Implemented a FloppyDrive class that uses Floprd, this allows the loader to start reading the tgz, but it fails after 2 blocks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 16:18:08 +00:00
Oliver Tappe
cad2c3d0a5 * fixed bug in autoscrolling that caused the content to jump between the
view's top and bottom if you moved the pointer above the view and reached
  the top
* increased auto-scrolling speed to 40 scroll steps per second and changed
  _PerformAutoScrolling() to behave as R5: do soft scrolling

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 16:14:55 +00:00
Joachim Seemer
077496d6d5 Purged the last reference of /boot/beos/. Thanks bbjimmy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 15:20:52 +00:00
David McPaul
595fb3689a Now plays sound but lots of work still needed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 14:06:17 +00:00
David McPaul
a0be875ae3 let asf config data through to decoders
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 14:04:47 +00:00
Oliver Tappe
02359fde69 [ should have been part of last commit ]
more work concerning navigation within BTextView:
* pressing HOME on last line works again
* made public versions of LineAt() do what is required to pass back the
  correct value even for the last line of the buffer (original implementation
  has been moved to private _LineAt())
* PAGE_UP/PAGE_DOWN now moves the view by the bounds-height, making the
  behaviour somewhat less confusing (IMHO, please shout if that's not 
  acceptable for you)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 14:00:45 +00:00
Oliver Tappe
588b46eacd more work concerning navigation within BTextView:
* pressing HOME on last line works again
* made public versions of LineAt() do what is required to pass back the
  correct value even for the last line of the buffer (original implementation
  has been moved to private _LineAt())
* PAGE_UP/PAGE_DOWN now moves the view by the bounds-height, making the
  behaviour somewhat less confusing (IMHO, please shout if that's not 
  acceptable for you)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 13:59:45 +00:00
Philippe Saint-Pierre
2002f6f626 Preserve aspect ratio of the screenshot in the preview. (Ticket #3821)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 13:48:56 +00:00
Oliver Tappe
2ae836dbe0 * temporarily removed parts of my last change as this completely ruins
single-lined textviews - needs some more thinking ...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 08:48:56 +00:00
François Revol
4fd7901292 Finally managed to get floppy boot working for Atari \o/
- loop on Floprd() alternating sides every sect/track, currently hardcoded from the FAT bootblock as probing like the NetBSD loader asserts ARAnyM,
- print a dot / sector read in the great tradition of bootloaders,
- set gBootedFromImage correctly,
- fix the script, make it jam later on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 02:37:31 +00:00
Marcus Overhagen
e0b95e98eb ATA/ATAPI Host Adapters Standard T13/1510D revision 1, page 14
Bus Master ATA Status Register, bit 2:

> NOTE - even if the device status is read, causing the device
> to deassert INTRQ, this bit shall be cleared as well.

Clearing this bit fixes DMA transfers for me.
Those didn't work because ICH9 ATA controller in
PCI native mode wouldn't stop firing interrupts
without explicit clearing, despite device status
read.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 00:54:00 +00:00
Philippe Saint-Pierre
ce5aa9dc3e Add Undo/Redo functionality to People contact manager (ticket #3824)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 00:51:27 +00:00
Ingo Weinhold
1d124d4db1 If the wait object group only contains a single object, don't create a tree node
for the group, but just for the object.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 22:53:57 +00:00
Ingo Weinhold
84b7a2d098 WaitObjectGroup::WaitObjectAt() always returned the first object.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 22:52:16 +00:00