Commit Graph

26561 Commits

Author SHA1 Message Date
Ingo Weinhold
e18bafbdb5 Print the error code. Supposedly B_NO_MEMORY, but one never knows.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 21:58:59 +00:00
Stephan Aßmus
71662bf2cc Renamed Screenshot to App_Screenshot. Nice work, btw!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 21:07:52 +00:00
Stephan Aßmus
2cda3f8770 Slight tweaks (?) ... been lingering for a while.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 21:07:08 +00:00
Karsten Heimrich
8e4e6e30ff * Screenshot app icon, kudos to Humdinger
- /me still wonders why we have to use such tiny icons in Deskbar,
  fuzzy look and for sure not handicapped people friendly, hmmm...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 19:19:36 +00:00
Axel Dörfler
56ab6f077f * I accidently broke get_next_locked_block_cache() in r27074; it would always
ignore every other cache (starting from the first).
* The consequence of this was that no blocks were written back automatically
  for those caches, and their transactions were never idle, causing bug #2781.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 17:05:26 +00:00
Axel Dörfler
1b910a79a2 * Since the "restart"/"shutdown" alert has the inconvenient consequence that the
shutdown process is entered (ie. you cannot start new applications anymore),
  I changed its window feel to normal to make it possible to let it appear on
  all workspaces.
* We should think about if simply letting it enter that phase later isn't the
  better solution, though. Opinions welcome.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 16:45:59 +00:00
Stephan Aßmus
fb2f3ef96c As pointed out by Ingo, Mime.h is also a Haiku header and includes MimeType.h
for convenience.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 16:27:15 +00:00
Stephan Aßmus
4df6a8c3fb * As with other controls, for BeOS compatibly behavior, don't shrink
a BTextView via GetPreferredSize() if it is large enough. (Have not
  confirmed this is necessary... gut feeling.)
* Calculate a minimum line height even if the BTextView is empty yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 16:12:21 +00:00
Ingo Weinhold
567f78895b Fully inline {disable,restore}_interrupts() and friends when including
<int.h>. Performance-wise not really significant, but gives nicer
profiling results.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:33:10 +00:00
François Revol
fd9d807978 NFS addon does build fine here, add to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:30:18 +00:00
Ingo Weinhold
296f476ec9 * Missing config header directories in the CreateAsmStructOffsetsHeader
rule.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:26:08 +00:00
Stephan Aßmus
ea2317a80c * Tweaked registrar icon to make 16x16 version slightly clearer.
* Added icon to the registrar.
* Updated copyright years in version info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:23:22 +00:00
Stephan Aßmus
657cd741d1 Added zuMi's vector icon to fortune command. Not like you would see it easily,
but since he made it, fortune will be happier this way and tell more pleasing
fortunes. I hope.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:03:26 +00:00
Stephan Aßmus
78068f1f76 * MimeType.h is not a BeOS header.
* Honor 80 char/line limit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 14:00:07 +00:00
François Revol
0fecbff55f First try at a dragging hand (for replicant handle maybe ?).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 12:51:08 +00:00
Stefano Ceccherini
2ebd72b194 sprintf -> snprintf. malloc.h ain't no standard header. Removed non-haiku code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 12:39:59 +00:00
Stefano Ceccherini
01632a5340 Added optional debug code for the acpi busmanager. Removed code for compiling the module on beos/dano/zeta
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 12:33:04 +00:00
François Revol
747b6fb8ff Unfinished Hand icon for use on servers maybe... modeled after the bitmap one. Would need some bezier and 3dization, stippi ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 12:23:28 +00:00
Ingo Weinhold
6486b756d0 Callgrind output: Added the missing time costs in the "summary" line.
Also added the missing "totals" line.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 11:57:42 +00:00
Ingo Weinhold
f8bdc2443d Created a central place for putting kernel debug enabling macros.
Currently it only contains KDEBUG and the block cache debugging macros.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 11:56:44 +00:00
Stephan Aßmus
165e3a7944 * Tweaked MediaServer icon a bit to improve gradients and make the 16x16
icon a little clearer.
* Applied icon to MediaServer rdef. Removed original BeOS icons. Updated
  copyright years.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 11:29:02 +00:00
Stephan Aßmus
518d80b48e zuMi has been at it again and contributed 9 great looking icons!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 10:38:15 +00:00
Stefano Ceccherini
60097e8433 fixed gcc4 warnings. BSlider::UpdateText() actually returns a const char *, not a char *
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 08:17:34 +00:00
François Revol
a1830cbd57 Add missing copyrights.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 04:52:09 +00:00
François Revol
f0d95841ee Add missing copyrights.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 04:28:35 +00:00
François Revol
ae0e40586a Guidelinizationing again...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 04:19:30 +00:00
François Revol
ac171d8311 More guidelinization...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 03:52:08 +00:00
François Revol
0ad2d70ef7 Some guidelinization...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 03:37:33 +00:00
François Revol
3f8cbad2d0 - shut up debug output
- fix decor fallback for dano


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 03:10:18 +00:00
François Revol
2e631be55d Play safe with BString::LockBuffer...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 01:22:51 +00:00
François Revol
59967bf000 - re-add todo: descriptions still aren't handled
- MSTheme: map windows system sounds
- MSTheme: fix UTF-8 issue (BString::RemoveSet() is buggy on BeOS) and NTFS path handling (check several capitalizations).
- MSTheme: force Deskbar at the bottom, disable Z-Snake
- add fallbacks for window decors to importers and decor addons
- add 1.0 sound gain from R5


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 01:18:23 +00:00
Ingo Weinhold
9aabd0ab3a Added option "-v <directory>". The tool will generate output files in
valgrind's callgrind format in the given directory. Those can be
analyzed with graphical tools like KCachegrind.
Recursive functions are probably not handled correctly yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 22:17:22 +00:00
Karsten Heimrich
611c6ed977 * forgot this file...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 21:56:31 +00:00
Karsten Heimrich
3580c2cf12 * remove png dump from app_server
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 21:49:20 +00:00
Karsten Heimrich
eb1466cf86 * use the screenshot app to take a screenshot
* remove libpng and libz dependency in case we build for Haiku



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 21:48:35 +00:00
Karsten Heimrich
9ee4aec913 * add Screenshot app to image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 21:46:09 +00:00
Karsten Heimrich
ef52eb17ea * make sure we close the app on ESCAPE
* do not launch a second window in case of RefsReceived



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 21:43:36 +00:00
François Revol
4c39bafa21 - We don't actually need netapi libs, this fixes building for R5 under Zeta.
- name the theme list populator thread.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 20:22:33 +00:00
Ingo Weinhold
39be9709cf * Moved counting/getting the hit images into separate utility method
GetHitImages() of base class AbstractThreadProfileResult.
* gcc 4 build fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 20:01:19 +00:00
Rudolf Cornelissen
970abd0254 applied coding style change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 19:58:28 +00:00
Stephan Aßmus
fcb3a3c7c3 With the fix to the apic timer interrupts, the thread scheduling latency has
apparently vastly improved, so that audio hardware buffers can be configured
as small as on BeOS in the OSS node. This is especially nice for multi-media
apps since it reduces interactive response times.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 18:16:51 +00:00
Stefano Ceccherini
fb62af45a2 Use B_ANY_KERNEL_ADDRESS instead of B_ANY_KERNEL_BLOCK_ADDRESS, like suggested by Axel and Marcus
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 15:19:30 +00:00
Axel Dörfler
2c348abbf7 * Most of the other file systems now maintain the st_blocks value. It might not
always be correct, but should be at least close.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 14:29:34 +00:00
Axel Dörfler
87e560d420 * Remove useless symlink (if the BeOS stuff needs it, it should be generated
by the makefile [and that should be removed from here as well]).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 14:28:17 +00:00
Axel Dörfler
b2ec044cb8 * Added stat::st_blocks field as required by POSIX. This also closes ticket
#2261.
* Made at least BFS report it more or less correctly (the attributes are
  ignored, though).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 14:16:39 +00:00
Axel Dörfler
3ddf6441ea * Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 14:13:55 +00:00
Stephan Aßmus
dc55af6452 Applied patch by Urias McCullough:
* Added stdio_ext.h header with declaration for the only currently implemented
  stdio extensions fsetlocking() and flushlbf() and associated constants. This
  helps compiling some software like gettext and cvs.

NOTE: I have not tested this myself, but trust the review done by Andreas
and Scott.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 10:04:22 +00:00
Ingo Weinhold
051fad0f92 More refactoring:
* Moved the BasicThreadProfileResult class, its subclasses and related
  code into separate files.
* Made ThreadImage an abstract base class. Pulled the meaty part into
  new subclass BasicThreadImage.
* Templatized AbstractThreadProfileResult over the ThreadImage type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-29 23:49:29 +00:00
Ingo Weinhold
394def6bf6 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-29 23:45:45 +00:00
Ingo Weinhold
1352fb0975 Added GNU LGPL v2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-29 22:33:32 +00:00