Commit Graph

29167 Commits

Author SHA1 Message Date
Ingo Weinhold
5664cf424e An axis legend source regarding the range as ordinary numbers and producing
string legends for them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 22:58:55 +00:00
Ingo Weinhold
707b2f9a94 Cosmetical.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 22:53:47 +00:00
Ingo Weinhold
b8c273de21 Generalized the axis drawing code. All four sides of the chart area are
supported, now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 22:52:59 +00:00
Ingo Weinhold
d7c160d3e6 Take the one pixel wide border around the chart area into account when
computing the axes' frames.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 22:50:01 +00:00
David McPaul
ce487efa98 Slight performance optimisations
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 22:41:56 +00:00
David McPaul
527e8f9dd4 modfy debug a bit, no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 22:37:57 +00:00
David McPaul
2cbce7bb7a Add support for mpeg audio in wav format files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 22:36:22 +00:00
Oliver Tappe
435455abc1 * textviews that aren't editable no longer perform cut or paste actions (again
reported by kirilla, thanks!)
* when tracking the mouse in order to detect drags, it is not necessary to
  check if the pointer is within the selection, as that causes problems when
  you e.g. click on the border of the selection and then move the mouse outside
  of it (we'd still want to initiate a drag in that case)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 20:19:43 +00:00
Oliver Tappe
c27ffb3a23 Fixed a bug reported by kirilla:
* the textview now only initiates a drag after the mouse has been moved to 
  another offset, making it possible to click into the selection in order to 
  position the caret at the offset corresponding to the point of the click
  (just as R5 does it)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 19:56:54 +00:00
Axel Dörfler
c39ecc608f * If getting a new port message failed, we must release the port's write sem
again, or else the port loses capacity.
* This fixes bug #2720.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 19:07:38 +00:00
Oliver Tappe
819c98a383 Fixing #3040 (DeskCalcs textview showing wrong/multiple styles)
* fixed crash in StyleBuffer::SetStyleFromMode() if any of the given pointers
  is NULL (which is perfectly valid)
* BTextView::SetFontAndColor() now syncs the null style before it sets the 
  range, thus making sure that there is only one style if the view is not 
  stylable

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 18:44:26 +00:00
Axel Dörfler
d5ad762913 Fixed several problems of the prefetching code:
* Did claim to have reserved pages when calling vm_page_allocate_page(), but
  didn't have any (copy&paste bug). We cannot use it without reserved pages,
  as we need to call vm_page_allocate_page() with a cache locked.
* No longer use low_resource_state() to determine whether to precache or not,
  but use the new vm_page_num_used_pages() instead.
* Also don't (try to) precache when the cache already has more than 2/3 of its
  pages to safe some unnecessary work.
* The size to precache was limited to the file size incorrectly.
* When precaching failed, the cache reference was not released.
* The precaching started one page too late, causing bug #3835.
* Reenabled precaching.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 15:53:41 +00:00
Axel Dörfler
2d8073a9dc * Added a TODO about a problematic use of vm_page_allocate_page() in combination
with vm_cache_acquire_locked_page_cache().
* Added new function vm_page_num_unused_pages() which returns the pages that are
  actually completely free and unused.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 15:46:55 +00:00
Stephan Aßmus
1ce7a6b540 Even when making temporary hacks, please still follow
the coding style! :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 15:45:19 +00:00
Jonas Sundström
bb048d75be Move Deskbar Restart and Shutdown options into a submenu and ask Registrar not to question the user's intent.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 15:31:50 +00:00
Axel Dörfler
88cfea9fc2 * Added a version of reindex that works under Haiku. Changes made to the
original version:
  - removed the BFS bug work-around to create two temporary files first; this
    work around is not needed in our BFS implementation.
  - improved error output.
  - remove attributes before rewriting them. This is needed as BFS won't update
    the indices anymore if the attribute has not actually been changed.
  - applied our coding style.
* This also fixes bug #3843.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 12:56:45 +00:00
David McPaul
5b8ab325b5 add asf_reader to build for real this time
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 12:54:48 +00:00
Fredrik Modeen
f3f19aa7d7 Revert some out commented error tracing code, thanks Jerome for noticed this.
(Got an error when I tried to spell your name correct)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 12:37:59 +00:00
Ingo Weinhold
529067127e Added thread activity page that charts the thread's runs, waits, latencies, and
preemptions over time. WIP.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 12:29:57 +00:00
Ingo Weinhold
ef8252e1e0 Add the thread's scheduling events to the thread model.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 12:27:04 +00:00
Ingo Weinhold
8cd416d9e6 The thread model does now also store the scheduling events for the thread.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 12:25:56 +00:00
Ingo Weinhold
e8e86a50aa Added getters for the event data.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 12:25:18 +00:00
Ingo Weinhold
ef0ce69148 Added optional BDebugEventStream::ReadNextEvent() return parameter for the
stream position of the event header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 12:24:25 +00:00
Ingo Weinhold
22a332f0b0 Added a base struct for the scheduling event structures. To keep the interface
C friendly it's not an actual base class, but casting to it is fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 12:23:02 +00:00
Ingo Weinhold
9073b0dccc Made _debuggerAssert()'s "message" parameter const. Fixes building with gcc4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 12:21:20 +00:00
Ingo Weinhold
bea425f17c Beginning of a framework for drawing charts. Works a bit already, but there are
lots of loose ends.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 12:19:01 +00:00
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