Commit Graph

29441 Commits

Author SHA1 Message Date
Rudolf Cornelissen
bb0ac35825 added partial DDC/EDID support using the accelerants common staticlibrary. Only dumping config, monitor info to logfile. logfiles are welcome as the CRTC/DAC to I2Cport relationchip is not known by me yet. Bumped version to 0.89.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 09:58:11 +00:00
Stephan Aßmus
6664c21747 New icons from zuMi. Thanks a lot! (Scott sent me those, I still want to keep
all Haiku vector icons ever made in this folder... :-)

The new generic app icon looks pretty cool (Haiku colors) and could replace
our current generic icon (broken link icon needs to be updated as well then),
feedback welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 09:35:12 +00:00
Oliver Tappe
04af87bd58 * reverted the part of 30545 that added the locale kit to the image,
since it does not build with gcc4

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 09:27:00 +00:00
David McPaul
80622eee82 Add asf_reader to the image. Feedback welcome
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 04:38:47 +00:00
David McPaul
4d97ad948b return LAST_BUFFER_ERROR when last buffer reached
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 04:32:01 +00:00
David McPaul
008c3af957 Now plays 2 out of 3 files and that is good yes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 04:29:36 +00:00
Rene Gollent
4328106485 gcc4 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 01:09:26 +00:00
François Revol
95ba950511 Fix missing NULLs corresponding to io() and cancel_io() hooks which made all other calls shifted... This should fix #3500 and #3832.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 00:54:10 +00:00
Oliver Tappe
723383c0f4 Applied patch by PulkoMandy, adjusted and extended by myself:
* integrating most of the locale kit into the build (and image)
* removed LocaleBuild.h and _IMPEXP_LOCALE since that does not make
  sense for elf (which usually exports all symbols anyway)
* added a couple of locale kit related pseudo targets for convenience
Hey, some of that stuff already seems to work :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 21:56:16 +00:00
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