Commit Graph

29100 Commits

Author SHA1 Message Date
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
Ingo Weinhold
ded186e9e0 * Added ThreadModel, which holds additional information on a thread, and
ThreadModelLoader to prepare the model.
* Changed the wait objects page in the thread window to display the wait objects
  grouped by type and name.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 15:42:49 +00:00
Ingo Weinhold
b592dac021 Added handy ThreadWaitObject getters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 15:39:11 +00:00
Ingo Weinhold
64d5660eab Pulled base class AbstractModelLoader out of ModelLoader.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 13:59:38 +00:00
Marcus Overhagen
5bfd73fb71 Make debugging easier by tracing only status changes.
Always first disable interrupts on a device that can be
selected, then check for invalid status.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 12:55:52 +00:00
Ingo Weinhold
926160e8ac * Added "bool wait" parameter to ModelLoader::Abort(), allowing to optionally
wait for the loader thread.
* MainWindow::Quit() aborts the loader now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 11:02:50 +00:00
Stephan Aßmus
1ca32f2c10 Fixed GCC 2 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 10:01:22 +00:00
Stephan Aßmus
fd8ddbc230 * Fixed GCC 4 build and warnings.
* Used std::vector in BlockingQueue instead of Ingo's Vector until I can figure out the GCC4 problems.
  This is untested, but I will test this on another machine in a minute.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 09:54:53 +00:00
David McPaul
0faab0e222 add codecs in use by wmv files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 03:21:25 +00:00
David McPaul
6e06058804 initial commit of windows media reader. Not really working yet
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 03:20:07 +00:00
Ingo Weinhold
1b3e2ec415 Added a page for the thread's wait objects. Not quite complete.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 01:29:00 +00:00
Ingo Weinhold
055d771c51 Added getters for thread wait objects/object groups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 01:27:44 +00:00
Ingo Weinhold
fb2f23e0dc Added a TreeTable class, wrapping BColumnListView for actual tree-like data
models.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 01:26:54 +00:00
Ingo Weinhold
dba899da0c * Renamed Table::Column::SetTableModel() to SetModel().
* Table::ItemInvoked(): Small optimization.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 01:25:18 +00:00
Ingo Weinhold
bfc3ef580c Apparently forgot to add those in r30414.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 01:23:36 +00:00
François Revol
5c38863b71 Add check for git repositories and update action for them (git pull), since the aGITated QEMU devs just migrated to it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-26 00:01:28 +00:00
Ingo Weinhold
e70320a769 * TableColumn no longer has BColumn as base class. We use another level of
indirection (Table::Column) instead.
* Moved TableColumn to its own header/source files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-25 23:35:29 +00:00
François Revol
f126e71d49 Fix header guard conflict... it still doesn't build with gcc4 though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-25 21:14:09 +00:00
Ingo Weinhold
ca98712224 Added a "General" and "Teams" page to the main window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-25 20:51:37 +00:00
Ingo Weinhold
31391fed6b Added base time, last event time, and data source name to the model.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-25 20:50:37 +00:00
Ingo Weinhold
602a9fe54d Added optional DataSource::GetName() to get a name for the data source.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-25 20:49:34 +00:00