Commit Graph

16336 Commits

Author SHA1 Message Date
Jérôme Duval
3a247e366b added signature we tried to launch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 20:18:46 +00:00
Stefano Ceccherini
88ae0d494c Seems like BeBook lies on BTextView's autoresizing mode. The textview itself isn't resized, but only the textrect is. Fixes bug 161, but maybe it needs more work
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 19:51:15 +00:00
Marcus Overhagen
8b6f573f3f Fixed screenshot function. Creates PNG files without alpha channel now.
This should fix bug #124 and makes much nicer screenhots.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 18:43:13 +00:00
Axel Dörfler
ae99c86041 Should now play much nicer with broken settings files. Fixes bug #165.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 18:22:59 +00:00
Axel Dörfler
58d9acf59e Enlarged the kernel heap to 32 MB for now, to relieve the "heap overgrown" thing a bit.
That buys some more time before switching to a slab allocator :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 17:18:15 +00:00
Michael Lotz
0581480cfe * Fixed ServerBitmap::ImportBits() to use the correct width/height
* Extended ConvertBits() to properly handle negative offsets and overlapping lines
* Implemented blitting the software cursor to the bitmap returned from ReadBitmap()

Note: In the future we will have to directly use the final graphics buffer for ReadBitmap() if we want DirectWindow output too (R5 includes it). I don't know how R5 handles the hardware cursor though.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 16:48:44 +00:00
Axel Dörfler
3a8f1f31bd Implemented a very simplistic and slow leak checker as compile time option
(defaults to turned off).
To make any use of this, you have to call the __dump_allocated() function
at the point you want to check the leaks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 16:10:32 +00:00
Axel Dörfler
6686623070 * Fixed possible crashing bug, since fWindow was never initialized.
* Fixed another BMessageRunner leak.
* Added an optional second parameter which you can use to limit the run time
  of the app.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 15:59:58 +00:00
Stephan Aßmus
1dec876930 * Micheals patch alone didn't fix the problem.
I'm also wondering where those exceptions are actually caught.
* when unflattening into a message, MakeEmpty() will be called
  on it first. This will actually fix the crashing bug I observed,
  but it makes me suspicious - there should be an error somewhere
  else. Something to do with initialization perhaps?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 12:28:20 +00:00
Axel Dörfler
ca69de45a8 Applied Michael's patch for MessageUtils.h - this is supposed to fix some
crashing bugs with R5 message format conversion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 11:52:28 +00:00
Marcus Overhagen
a27ff91108 added command line file players
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 11:44:54 +00:00
Marcus Overhagen
b1e4df1386 created a new variation of playsound
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 11:41:38 +00:00
Marcus Overhagen
f916862c2e Switched to using a local debug header file, instead of using the private media kit file.
This should prevent mixer from beeing build with debug enabled, when media kit is build with debug.
Thus CPU usage will be reduced as mixer no longer prints a lot of information to stdout.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 11:34:24 +00:00
Marcus Overhagen
8bf2c25330 copied from private media kit headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 11:21:46 +00:00
Marcus Overhagen
6d7951f1ae add auich instead of auvia, should work better with multiaudio.media-addon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 08:54:08 +00:00
David McPaul
6bbb0c4786 added mp4_reader to Haiku Image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 08:12:03 +00:00
David McPaul
d2428b6bc7 Corrected possible infinite loop
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 08:11:10 +00:00
David McPaul
8607ac2ce7 Fix to allow mp4_reader to build again
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 08:10:17 +00:00
Axel Dörfler
557e9c04eb Setting fRunCalled in case of failure is stupid, as this prevents the
window from being freed on Quit(). There still is a memory leak within
StressTest, though - but it's pretty tiny now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 23:12:17 +00:00
Axel Dörfler
bc63570c9b BWindow::Show() will no longer Run() its looper without a valid app_server
connection.
StressTest now detects this case and quits those windows.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 22:59:49 +00:00
Axel Dörfler
3dd881e3af * Fixed memory leak in StressTest and BWindow: they both did not delete the
message they passed to a BMessageRunner object.
* Added note about the ownership of the message to the BMessageRunner
  documentation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 22:35:36 +00:00
Axel Dörfler
ce0be66ff4 When the creation of the window failed, all further messages accidently went
to the ServerApp, instead of being dropped - the window link is now updated
correctly in that case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 22:04:35 +00:00
Axel Dörfler
e2c5e77531 Fixed a crashing bug Stippi's StressTest revealed: hidden (and especially,
removed and deleted) windows must not be the mouse event window (ie. while
dragging or resizing the window).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 21:49:35 +00:00
Axel Dörfler
3bb07059a4 Fixed the build for the libbe_test target.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 21:40:00 +00:00
Axel Dörfler
5b78d36e23 Fixed a possible crashing bug with early interrupts.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 21:17:26 +00:00
Axel Dörfler
ffece83014 Reduced stack usage, especially the ethernet interface was pretty careless about this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 20:12:50 +00:00
Axel Dörfler
51aacbbb39 * open_module_list() put the wrong base path length onto the stack, and thus,
no on-disk modules could be found... (since revision 16584).
* iterator_get_next_module() now makes use of the KPath features, and doesn't
  build the new path manually anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 19:48:28 +00:00
Axel Dörfler
b0976eac74 * Reduced the effects of "priority boost on sem release" to a minimum;
the thread priority is now increased by one, we'll see how that turns
  out for real (I'm not even convinced that this feature is a good idea
  at all yet).
* Enabled debugging the last semaphore acquirer by default.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 17:24:31 +00:00
Axel Dörfler
f025cd8b72 While the user resizes a window, programmatical resize operations are ignored,
likewise, while the user moves a window around, programmatical moves are ignored
as well.
This fixes bug #264.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 16:59:15 +00:00
Axel Dörfler
32600acb6b Added Reznikov Sergei a.k.a. Diver to the list of contributors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 15:37:57 +00:00
Marcus Overhagen
774caba625 added audio and video producer demo nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 15:19:44 +00:00
Axel Dörfler
aac4ccaf0d Added libGL.so to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 14:46:12 +00:00
Marcus Overhagen
462f769fab launch Tracker during boot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 14:28:35 +00:00
Marcus Overhagen
728fa950cd launch media_server during boot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 14:27:03 +00:00
Marcus Overhagen
28bb1af264 launch media_server during boot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 14:21:39 +00:00
Marcus Overhagen
959bf095a5 Added Cortex to image (not optimal, should have its own folder, and only a symlink into apps menu)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 13:54:15 +00:00
Marcus Overhagen
8fc14465b5 Added Cortex to build system, removed makefiles.
This turned out to be more complex then expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 13:51:23 +00:00
Michael Lotz
641a8290a7 Fixed converting KMessages, their target and reply info weren't preserved. Fixes bug 295.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 13:21:08 +00:00
Marcus Overhagen
8761e1bb9a have to include <typeinfo> for usage of bad_cast
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 12:51:41 +00:00
Michael Lotz
1daa34ec2c Fixed two small errors that prevented _NativeFlatten() from working. Should fix at least the Deskbar and shutdown issues of bug 295.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 12:35:26 +00:00
Axel Dörfler
56d17f07b9 Now uses the new BMessageRunner form when built for Haiku, and thus, no longer
leaks them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 12:33:56 +00:00
Axel Dörfler
43d7fe9753 * Added two new constructor forms that allow you to create a BMessageRunner
that is detached from its local object; ie. it will continue to send its
  messages when you delete the object.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 12:27:16 +00:00
Axel Dörfler
dd48600aac Minor cleanup, added a TODO about the ability to reset the parameters of
BMessageRunners that already sent their message(s).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 12:21:22 +00:00
Jérôme Duval
f357360c0e added more multibyte glibc functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 11:49:00 +00:00
Axel Dörfler
cbc6a45a40 * Fixed crashing bugs, and thus bug #88.
* Cleanup, make it better fit to our style guide.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 00:25:30 +00:00
Axel Dörfler
dcf60976b6 * New types are now no longer directly added, but delayed a bit (via a BMessageRunner);
this is done so that the type can be fully installed before investigating it.
* When the preferred app of a type changes, the "is application" property will be
  reexamined - this should help in letting new application types appear in the
  FileTypesWindow list, but not in the ApplicationTypesWindow list.
* Added a progress window for removing uninstalled apps.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 23:47:26 +00:00
Axel Dörfler
8fee027ee3 Updated the resource app version information.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 21:31:30 +00:00
Axel Dörfler
56c5bd3a77 Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 21:19:22 +00:00
Axel Dörfler
f5659a7615 Quick build fix, Stippi, can you review this?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 20:43:35 +00:00
Axel Dörfler
5ac11f960a * Fixed various minor font sensitivity/resize problems.
* Fixed translator version info; didn't correctly displayed versions < 1.
* Drastically improved looks of that info alert.
* Nicer version alert.
* Renamed class DataTranslationsView to TranslatorListView.
* Added license.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 20:14:13 +00:00