Commit Graph

29182 Commits

Author SHA1 Message Date
Ingo Weinhold 28b2684912 * StringChartLegendRenderer can now take a font on construction.
* Resolved TODOs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 21:26:56 +00:00
Oliver Tappe c729e7020f * added Eclipse project files to svn:ignore
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 21:17:37 +00:00
Ingo Weinhold e062a32ba9 When there's an axis set the low color to the panel background. This causes the
axis legends to be antialiased against the right color.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 20:59:17 +00:00
Ingo Weinhold 02b4901e4c Removed obsolete ChartLegendRenderer::MaximumLegendSize().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 20:54:03 +00:00
Oliver Tappe c3ac87e8fc * Copied imported OpenTracker Locale Kit files from the vendor branch
into their new homes (at least for now, might need some adjustment).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 19:23:59 +00:00
Alexandre Deckner 4465d9277f * Fix broken copy of a BString into a fixed size char[]. Input/output
endpoints names would be broken and "Save Nodes" would create a broken file.
 Open/Save nodes now works (again?) and endpoint names display correctly in info
 windows/views.
 
 That detail is fixed but it's the design of Cortex that's broken here really :)
 To be continued... some day


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 18:52:27 +00:00
Michael Lotz c8d10a521f * Ensure that we don't clear a combined B_*_KEY as long as one of the
B_{LEFT|RIGHT}_*_KEYs is pressed for shift, command, control and option.
  This fixes bug #3841.
* Only send a B_MODIFIERS_CHANGED message when the modifiers actually changed.
* Minor simplification to only check for the lock keys once.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 18:43:57 +00:00
Rudolf Cornelissen ce6115a180 added support for all HDTV modes video overlay for all GeForce cards that have overlay support. TNT1/2/2-M64 users remain in bitmap mode: the overlay engine there can't handle above DVD quality. Bumped version to 0.88.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 15:05:43 +00:00
Oliver Tappe 73af36d459 * maintain width of 80 chars per line
* automatic whitespace cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 14:27:52 +00:00
Oliver Tappe 5cc8dc2fe3 * unified application of style into a separate method _ApplyStyleRange()
in order to maintain the null-style appropriately, if required
* finally fix #3040 for real (a single style is now maintained at all times
  for non-stylable textviews)
* the caret is now being drawn with the correct size, even if it is on
  the empty line at the end of the buffer and a specific font size has been
  requested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 13:59:13 +00:00
Rudolf Cornelissen a6cde944e6 fixed (at least NV34) card hanging after failed boot-time kernel VESA modeswitch. Updated docs. Bumped version to 0.87.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 10:09:22 +00:00
Jérôme Duval 7a282f3b28 * combine MovePenTo() with DrawString()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 08:39:02 +00:00
Philippe Saint-Pierre fadee6b0dd Make the CharacterMap start with a reasonnable window size on first
launch (without saved settings). As it was before, the window took all 
the space it needed i.e. each section was on a single line.  

Maybe a better way would be to just start it zoomed.

Maybe it fixes ticket #3752.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 23:52:59 +00:00
Ingo Weinhold 45febed680 Added the other three axes to the activity chart.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 23:52:35 +00:00
Ingo Weinhold 314f0e011f * Added a maximum size parameter to ChartAxis::PreferredSize(), specifying how
big the axis can maximally become. This helps to solve the chicken and egg
  problem that the axis can't compute a size without knowing what legends to
  use, which in turn requires knowing the size.
* Reimplemented LegendChartAxis accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 23:51:43 +00:00
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