Commit Graph

29320 Commits

Author SHA1 Message Date
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
Ingo Weinhold
f5ca983be8 Also display the wait counts and times.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 22:39:31 +00:00
Ingo Weinhold
4ab2927d42 * Compute the summed up wait counts and times for WaitObjectGroups.
* Delete the wait object array in the WaitObjectGroup destructor. It was leaked
  before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 22:38:54 +00:00
Ingo Weinhold
e9b47e4853 Added ThreadWaitObject getters for the wait count and time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 22:37:25 +00:00
Bruno G. Albuquerque
8adb85f8b7 Update names to include spaces. This is relevant because this is user visible.
Not included in the image yet but I think it may be a good idea to include it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 22:36:51 +00:00
François Revol
901b8dd28a No reason to keep the .prg startup asm code inside the first 512 bytes, this frees up some space for the floppy code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 21:45:36 +00:00
Marcus Overhagen
42da6c963c Spelling fix. Reported by karlvd. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 21:31:48 +00:00
François Revol
f2cec6b732 Just keep this around before it get lost... Failed attempt at generating a bootable floppy for Atari.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 21:17:19 +00:00
Marcus Overhagen
4a2e45ea36 According to ATA-4 specification, the error and device-fault
bit (and all other status register bits) are only valid when
the busy bit is zero. This makes PIO mode work on a WD Raptor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 21:02:16 +00:00
Bruno G. Albuquerque
380ed9afdd Add Gmail info to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 20:49:18 +00:00
Bruno G. Albuquerque
2236433088 Added GMail information.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 20:45:56 +00:00
Jérôme Duval
55423bfa22 send DirectWindow events when hiding or showing a window
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 20:39:34 +00:00
Bruno G. Albuquerque
b15e2008a6 Removed some left over debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 19:22:10 +00:00
Bruno G. Albuquerque
f3c32c1b8a If a preferred app was manually set but it is not found anymore (say, it was
deleted) try to handle it as if there was no preferred app set and if a
handler for its type exists, use it to open the file.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 19:11:47 +00:00
Clemens Zeidler
dc8a8389a3 Add another option to the mail app. When you switch "Automaticly mark mail as readed" off a new Read / Unread button appears and a mail is only marked as readed when you push this button. On default the old behaviour is used.
This is once again a opera feature I like very much and I haven't found in any other email client yet.
E.g. you can start a query on unreaded mails and take a short look at the mails without the mails are disappearing from the query. If you read the mail you press "Readed" and the mail is gone from the query. This is e.g an advantage if you have less time, take a look at a mail and found that the mail is very long but potentially intressting. In this case you just press next or close the window and the mail is still in the unreaded query, ready to be readed at another time. The unreaded flag becomes something like a automatic important flag. You don't have to mark / unmark the mails as important and still don't forget to process any mail. I think this is a different way how most people read mails so I hope you like the patch.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 19:04:09 +00:00
Clemens Zeidler
ac92a44379 Add default option: delete mail on server when deleted locally.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 18:10:00 +00:00
Oliver Tappe
8fd209b4de Fixed incompatibility with R5 (and general PITA) - LineAt(TextLength())
returned one less than it should, causing unexpected moves of the caret, for instance when pressing HOME on the last (empty) line:
* LineBuffer::OffsetToLine() and LineBuffer::PixelToLine() did not check
  for the last line in their binary search
* removed a special case from TextView::PointAt() which now is no longer
  necessary (not sure if it was, before)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 18:05:42 +00:00
Joachim Seemer
358e9381ea * Added Michael's suggested developer checkout for the build tools.
* Small corrections to Magnify.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 16:54:32 +00:00
Joachim Seemer
c3eaa12c3d Corrections to strings in PoorMan app. See #3787.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 16:53:43 +00:00
Joachim Seemer
05f5d7346e Corrections to strings in Screenshot app. See #3817.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 16:52:33 +00:00
Oliver Tappe
f7c48ade93 * fixed a couple of inconsistencies with respect to handling of cursor-
and paging-keys, especially extending the selection via shift was more or
  less broken


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 16:19:27 +00:00
Bruno G. Albuquerque
107d2b333b Only try to add the preferred app if it can be found, otherwise the Open With
menu would be completelly empty.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 15:52:01 +00:00