Commit Graph

16835 Commits

Author SHA1 Message Date
Jérôme Duval
8cea73aade avoids a gcc warning on definition of INT32_MIN
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 16:06:06 +00:00
Jérôme Duval
2a562c4223 raise now calls kill to have errno set correctly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 15:46:47 +00:00
Jérôme Duval
e0080ebf3b added a sigsuspend test (fyi failing on beos)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 15:02:25 +00:00
Axel Dörfler
6632e1f482 * Changed type of "bytesNeeded" to size_t whereever it's used.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 14:12:41 +00:00
Axel Dörfler
467a2ae6f8 AcquireWriter() could succeed without fulfilling the bytesNeeded acquirement.
This fixes bug #477.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 14:09:36 +00:00
Axel Dörfler
d41fb4db6e * Overlay::fVisible was not maintained correctly, but already used in ViewLayer.
* Overlay::SetView() no longer calls HWInterace::UpdateOverlay() if it's currently
  hidden.
* ViewLayer::UpdateVisibleDeep() now calls _UpdateOverlayView() before showing
  the overlay.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 12:46:56 +00:00
Jérôme Duval
2cb33db616 added some tests from posixtestsuite-1.5.1, these ones fail on Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 10:19:31 +00:00
Stephan Aßmus
a2a6a329e8 a bunch of ListView fixes:
* removed weird stuff that seemed to have no purpose in life
* added more comments where I had to figure things out
* fWidth is now adjusted in FrameResized()
* ListView scrolls up when items are removed at the end and
  there would be empty room
* fixed SwapItems(), MoveItem() and ReplaceItem() by making
  DoMiscellaneous() use the private implementations instead
  of calling the public ones again resulting in an endless
  loop
* renamed private methods with underscore
* removed more unused/empty private methods
* some slight performance increases here and there
* more correct tracking of fFirstSelected and fLastSelected,
  at least I cannot reproduce one crash in the WonderBrush
  Layer list anymore

even more cleanup and testing would not hurt though...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 00:12:14 +00:00
Philippe Houdoin
c1a34c9be2 One more small step toward libGL.so renderer API.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 21:27:20 +00:00
Marcus Overhagen
73dacb878d Allow invisible views with overlay to be properly updated.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 20:16:31 +00:00
Axel Dörfler
8e2f6185f5 Overlay was not correctly updated when moving the window - it was only updated if
the overlay buffer changed. Found by Marcus.
As a result, the overlay window looks much smoother when moving it around (and it
even starts to move when you don't change the overlay bitmap at all...).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:12:01 +00:00
Marcus Overhagen
d38c8112a7 cache the track duration
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:07:53 +00:00
Marcus Overhagen
afc66bbbc3 Made copying into overlay save, by locking the bits.
This could be further optimized, by always holding the lock,
and only unlocking when app-server requests it. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:07:25 +00:00
Marcus Overhagen
46daa6672e Made copying into overlay save, by locking the bits.
This could be further optimized, by always hloding the lock,
and only unlocking when app-server requests it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:00:25 +00:00
Axel Dörfler
94e881ade0 No longer redirects the boot stdio to /dev/dprintf - this gives a much better media
experience (as the media server dumps quite a lot, and the serial interface is too
slow to keep up).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 14:50:46 +00:00
Axel Dörfler
94f687f9e3 Fixed an endless loop in tty_write_to_tty() that happened if there was not enough
space left to write a '\r\n'. This fixes bug #80 and probably bug #477, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 14:33:06 +00:00
Axel Dörfler
04b1590767 docRef can be NULL - this fixes the crash of the media server I introduced yesterday...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 13:28:56 +00:00
Axel Dörfler
85530ddf54 Fixed ogg sniffer rule.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 12:55:44 +00:00
Jérôme Duval
a2762cadac hopefully handles bug #587
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 12:11:26 +00:00
Axel Dörfler
81d6346e7b Launching scripts via the Roster is now actually working (there were some app
registering stuff left that prevented that before).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 01:19:34 +00:00
Axel Dörfler
973582ac0c _LaunchApp() no longer registers scripts.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 01:11:27 +00:00
Axel Dörfler
c2a2369d49 BAppFileInfo::SetTo() no longer fails in case the resources couldn't be initialized.
This allows it to read the attributes (if any) from scripts as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 01:05:43 +00:00
Axel Dörfler
9c243392a4 Even short scripts are B_NOT_AN_EXECUTABLE, and not B_BAD_VALUE.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 01:01:17 +00:00
Axel Dörfler
828a3baaa4 Added application types from Fredrik.
That application/ogg type is a good hint on why MIME types aren't the last word
on the subject, though :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 21:23:28 +00:00
Axel Dörfler
2316ec552c Added some more audio types from Fredrik.
Note, currently everything media related has VLC as preferred application - this
should be changed to our own MediaPlayer (for all supported types).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 21:16:53 +00:00
Marcus Overhagen
df59f3e69d Enabled reporting of MPEG 1 and 2 video codecs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 19:59:34 +00:00
Axel Dörfler
32349e2f08 Renamed x-mpeg to mpeg, as this actually is a registered MIME type. Reported
by Fredrik Ekdahl (that's the one who contributed those other types as well,
and more to come, too).
Also removed the useless "attr:extra" stuff.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 19:15:39 +00:00
Marcus Overhagen
4cf01e2ecc Fixed off-by-one error that prevented finding nodes using wildcard names, like DVB*
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 18:43:36 +00:00
Axel Dörfler
5fbc62e3eb WAV is not a registered MIME type, and thus, it must be called audio/x-wav.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 18:21:24 +00:00
Axel Dörfler
ce3b920126 Turns out Fredrik was right and the icon type is an officially registered MIME type.
Changed the ICOTranslator accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 18:19:35 +00:00
Axel Dörfler
f5c9c0d066 Added MS-Word MIME type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 18:04:02 +00:00
Axel Dörfler
833552e7b1 Added image MIME types from the same source.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 18:02:02 +00:00
Axel Dörfler
9c20789426 * Updated references to StyledEdit.
* Added some more types we got contributed on the mailing list (sorry, don't remember
  right now from whom...), since Ingo didn't do it yet. All usable text and video
  types are imported and cleaned where useful.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 16:46:03 +00:00
Axel Dörfler
a45ebf0c79 * StyledEdit now has "haiku" in its signature, no longer "obos".
* Removed the separate version rdef, and put it into the main rdef.
* Also moved the application icon into the main rdef.
* Removed text/plain icon from the icons rdef.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 16:39:05 +00:00
Axel Dörfler
112db6b691 * Now disables the VGA display mode explicetly, which allows it to work
without having a VESA mode set first (thanks to Stephan for noticing
  this).
* intel_set_display_mode() now calls intel_propose_display_mode() to make
  sure the mode passed in is valid. Note, B_PROPOSE_DISPLAY_MODE is still
  not working correctly (which will cause problems for BWindowScreen and
  friends).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 15:25:17 +00:00
Jérôme Duval
5e21669120 reverted my last change as it doesn't fix anything
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 08:01:12 +00:00
Marcus Overhagen
0a00d23f2e Reworked media_format meta data handling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 22:51:14 +00:00
Axel Dörfler
9b28f8873c * Added sigsetjmp_test to Jamfile.
* Fixed Jamfile (was set to only support libbe_test).
* Fixed warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 21:43:39 +00:00
Stefano Ceccherini
f190c6255e minor cleanup, adjusted copyright
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 19:50:42 +00:00
Rudolf Cornelissen
48566405f6 fixed distortions on VGA output after TVout use (G100/G200).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 16:09:26 +00:00
Axel Dörfler
382ef632d7 Forgot to include this file in the previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 14:30:25 +00:00
Axel Dörfler
973d499ee1 * Made the accelerant safer to use when cloned (though I didn't test cloning yet);
introduced a lock that is used in B_SET_DISPLAY_MODE etc.
* Correctly implemented B_ACQUIRE_ENGINE and B_RELEASE_ENGINE now (ie. they lock
  the engine now).
* The lock of the ring buffers is now deleted when the (primary) accelerant is closed.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 14:27:50 +00:00
Axel Dörfler
4955c11be9 * Moved the intel_info structure and prototypes from intel_extreme.cpp from the shared
headers into intel_extreme_private.h.
* Removed non-memory-mapped definitions from driver.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 13:58:52 +00:00
Axel Dörfler
cccc4c8383 Now advertizes the capabilities of the screen modes correctly (ie. sets B_HARDWARE_CURSOR
and B_SUPPORTS_OVERLAYS).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 13:50:26 +00:00
Axel Dörfler
7d5957df85 * Implemented hardware cursor support.
* Turns out cursor handling is simpler as originally thought, so I could remove its
  physical mapping - it's still put into the shared area, though, although that isn't
  needed for this chip (but could eventually simplify the handling of other generations
  of this chip).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 13:41:33 +00:00
DarkWyrm
8cb10e136c Fix build for all platforms and remove a hack
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 11:32:08 +00:00
Rudolf Cornelissen
e88f2e82c6 fixed MGA_TVO PAL desktop mode 640x480 (green triangle shaped distortion). MGA_TVO apparantly handles scaling limiting less forgiving than later MAVENs. RevC MGA_TVO is now fully up and running OK.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 09:56:26 +00:00
Axel Dörfler
dc30266262 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-13 22:51:56 +00:00
Rudolf Cornelissen
50572eafbb tuned PAL VCD and DVD modes for MGA-TVO (G100/G200). These are now OK.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-13 22:26:45 +00:00
Rudolf Cornelissen
69e25c27b7 removed 8 and 15bit TVout support for G100,G200: 8bit mode is troublesome indeed (at least). Tuned a bit more with picture position. Most modes for MGA_TVO revC seem OK (PAL DVD/VCD not OK yet, PAL 640x480 has a green triangle shaped distortion left onscreen).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-13 21:44:30 +00:00