Commit Graph

28781 Commits

Author SHA1 Message Date
Ingo Weinhold
526d707eb6 Added new build tool create_image which is now used to create and/or clear a
raw image. This fixes the problem that an existing image couldn't be resized.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 09:18:18 +00:00
David McPaul
25b3d00ba8 finally h264 decoding
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 03:34:24 +00:00
Rene Gollent
11c511b999 Make BListView's doubleclick handling a bit more sane. Should fix ticket #3724.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 03:28:39 +00:00
Rene Gollent
fcdaa0c79d If an item does not have an expand/collapse latch, let the left arrow jump to its parent (if any). Implements ticket #3725.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 03:13:08 +00:00
Ingo Weinhold
0f37915687 * debug_create_symbol_lookup_context() gets a team ID instead of a
debug context now. That's all it needs.
* Added the option "-a" to the profile command line tool. It triggers profiling
  of the whole system. There are still some issues, particularly image related
  ones.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 22:59:31 +00:00
David McPaul
2ad2768adc ifdef out another function that causes issues under linux
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 22:53:43 +00:00
Ingo Weinhold
e2ae69da52 The kernel side of a new system-wide sampling-based profiling mechanism.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 22:20:51 +00:00
Ingo Weinhold
efd536ff89 * Cleared up a misconception in the notification mechanism. We already had
methods that used an "event mask" field. There was no need to introduce
  a "flags" field for the same purpose.
* Renamed protected DefaultNotificationService methods (removed "_" prefix).
* Adjusted the code providing a notification service accordingly.
* Changed the event message several notification services generated by renaming
  the "opcode" field to "event".
* Implemented the TEAM_ADDED event and also added a TEAM_EXEC event.
* Added notifications for threads and images.
* Added visitor-like iteration functions for teams, threads, and images.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 21:45:25 +00:00
Axel Dörfler
78c00a4a53 * Applied patch by sil2001 that fixes bug #3666 (handling of existing symlinks).
* Refactored PkgItem classes, and pulled out a PackageItem base class. Renamed
  other classes to Package*.
* The ItemExists() method should really get a "Apply this choice to all files"
  kind of option...
* Style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 21:37:51 +00:00
Ingo Weinhold
60bfde6e0f Added data accessors for B_POINTER_TYPE.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 21:29:22 +00:00
Ingo Weinhold
4fba3522e0 * Removed src/kits/tracker/OpenHashTable.h. The shared version in
headers/private/shared is newer, though with small interface changes.
* Removed the unnecessary Debug.h include in
  headers/private/shared/ObjectList.h.
* Adjusted sources using these headers, mostly by adding missing includes.
* Lots of automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 21:24:32 +00:00
Ingo Weinhold
a76d4f314c Removed avcodec from the build as long as it is broken.
gcc 2.95.3 build:

Cc /home/bonefish/develop/haiku/haiku/generated-gcc2/objects/haiku/x86/release/add-ons/media/plugins/avcodec/libavcodec/dsputil_mmx.o
In file included from /home/bonefish/develop/haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/dsputil_mmx.c:31:
/home/bonefish/develop/haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/mmx.h:24: warning: #warning Everything in this header is deprecated, use plain __asm__()! New code using this header will be rejected.
/home/bonefish/develop/haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/dsputil_mmx.c: In function `gmc_mmx':
/home/bonefish/develop/haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/dsputil_mmx.c:1753: Invalid `asm' statement:
/home/bonefish/develop/haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/dsputil_mmx.c:1753: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 20:22:10 +00:00
Stephan Aßmus
c3f8b9752e Patch by Chico CHEN: Just use the new path of the userguide in DiskUsage and
the help button comes to live. Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 19:42:01 +00:00
David McPaul
da4c34f2a2 ifdef out function that has a problem asm instruction. It does not seem to be called anyway
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 13:26:01 +00:00
David McPaul
c773b05743 put ape_reader back in image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 06:52:43 +00:00
David McPaul
78bec5f3c6 change ape_reader to lower case
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 06:49:46 +00:00
David McPaul
959dd58287 cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 06:48:44 +00:00
David McPaul
b51fbe43f5 change to lower case
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 06:48:18 +00:00
David McPaul
7ab08187b3 correct avcodec build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 06:30:53 +00:00
David McPaul
31433f615e test for valid ASFLAGS before calling yasm
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 06:23:14 +00:00
Michael Lotz
96e5f9e535 * Don't build avcodec with assembly targets using yasm - because it breaks the
build.
* Remove the APE reader from the image as it also depends on the non-working
  yasm rule.

Please don't just leave the build in such a broken state. It's really annoying
when you're held up by stuff like that when you want to work on something.
Just leave changes like those disabled until you have verified that they work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 00:00:19 +00:00
Michael Lotz
61f3dd4f28 Forgot this in the last commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 23:13:25 +00:00
Michael Lotz
33d80ba202 * Rework ATAPI handling, removing all PIO interrupts. As Marcus pointed out the
complication is not really worth it and it would in any case be unreliable
  in the shared interrupt case (even though you could always check the poll
  condition in the interrupt handler).
* Probably broke ATAPI with those changes though.
* Change blocksLeft to bytesLeft to allow using it for arbitrary ATAPI requests.
* Check some more error conditions and actually let those states get through
  to the SCSI layer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 22:29:59 +00:00
Michael Lotz
8bbb189e27 Extend and rework tracing. If ATA_TRACING is enabled in the tracing config it
will now log all the tracing details with ktrace_printf. Additionally messages
that should always be printed are outputted to the syslog.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 20:47:23 +00:00
Clemens Zeidler
d4236f6ee8 On default for pop3 accounts the mails are leaved on the server now. This was a bad trap especially for new MDR users.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 15:15:53 +00:00
Oliver Ruiz Dorantes
33941551de (Joerg Meyer) - Add Via processors IDs(Esther/Isaiah)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 15:13:20 +00:00
François Revol
d73c25b6c7 Make it less ugly. At least it doesn't try to create files in non existent dirs. But it should really be split. Besides it only supports x86.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 10:05:07 +00:00
Axel Dörfler
d1cad26854 * Added an insane block cache tracing mode that will also log the whole block
data. This is available when BLOCK_CACHE_BLOCK_TRACING is 2 or greater.
* Completely untested as of now, though. Will do so soon.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 09:55:04 +00:00
Axel Dörfler
00e8c084e6 Extremely important cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 09:53:50 +00:00
Stephan Aßmus
4024eadfda My previous fixes had an oversight and the very last fix introduced new drawing
problems. Basically, forceDraw was set to false which then prevented any new
items to be drawn when there was no scrolling necessary. Now we use a local
variable "needToDraw" that starts with "true" on each iteration. I don't really
know why forceDraw is even passed to the function in the first place. Maybe
it should be called "disabledDrawing" with reversed meaning and should be used
for windows that open on another workspace....


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 08:58:13 +00:00
Stephan Aßmus
160f5f5e2f Patch by Philippe Saint-Pierre: Don't use BTextView::LineHeight() when the font
has not yet been set... Thanks a lot!

D'oh, this one made me slap my hand against my forehead!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 08:29:05 +00:00
Michael Lotz
da4c99002d Move the lock into the request.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 08:05:17 +00:00
David McPaul
2ecebae14f ignore Stack type in elf loader
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 03:28:00 +00:00
David McPaul
8507d18bcb define Stack Program Header type
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 03:27:27 +00:00
David McPaul
ccb46ae54b Build avcodec with assembly targets using yasm
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 03:21:56 +00:00
David McPaul
1c258c3d59 use yasm instead of nasm
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 03:21:06 +00:00
David McPaul
d477c2ba88 Include APE_reader in build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 03:15:16 +00:00
Philippe Houdoin
87e87a7d96 As Urias reports, OpenGL kit and stuffs build on PPC target too now, so let's add
them to the image. Thanks Urias for testing, submitting patches and... being 
patient ;)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 03:09:05 +00:00
Philippe Houdoin
41976c3dc1 * Removed dispatch.c from glapi-dispatching.o: GLDispatcher.cpp does
the job instead of dispatch.c.
* Fixed BYTE_ORDER support for BIG_ENDIAN targets (PPC).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 02:56:26 +00:00
Philippe Houdoin
4623724398 Forgot to enable SPARC assembly support there too. Still UNTESTED.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 02:53:41 +00:00
Michael Lotz
118bb4e750 * Fix race condition between finishing a request and returning a busy status
when the channel is in use, which would cause the SCSI scheduler to stop
  sending requests.
* Indeed we need to return a status from the interrupt handler, as for PIO
  transfers there is no way of knowning whether or not the interrupt at hand
  was ours.
* Add some debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 00:14:07 +00:00
Stephan Aßmus
d3171391fa Fixes for the B_NO_BORDER LOOK:
* Draw the left/top border anyways, since it just looks bad with scrollbars
  where the frame cannot be turned off. But, don't draw the focus indication
  in this mode.
* Fixed layout of the views for B_NO_BORDER_LOOK. There was a one pixel
  overlap.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 23:49:49 +00:00
Stephan Aßmus
c44aa83365 Also draw the scroll corner when there is no border.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 23:47:54 +00:00
Stephan Aßmus
b7cafeb2ad Small style cleanups again...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 23:47:17 +00:00
Stephan Aßmus
54337aafca Small style cleanups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 23:46:38 +00:00
Rene Gollent
b5067cdcbd gcc4 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 23:14:09 +00:00
Axel Dörfler
7f5c5dc8a1 * Don't try to free the pages area when all you had was a single page (in the
union).
* This fixes a crash on restart that has been revealed by Oco's change to the
  reboot process.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 22:40:15 +00:00
Axel Dörfler
1f25254a3f * Fixed the non-working volume update when using the mouse wheel - only
the slider position was updated, not the actual volume.
* Use InvokeNotify() for wheel changes so that we correctly notify listeners.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 21:40:35 +00:00
Axel Dörfler
126d77c5d5 * Changed ContinuousMessageFilter to register for parameter value changes,
and change its slider value when such a message arrives.
* Currently, this will only work if such a view already received a message;
  added a TODO about how it should be done, but since those would require
  some more changes, I don't want to do that as long as Sean Healy is working
  on that file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 21:21:42 +00:00
Michael Lotz
ac0a972985 Adding mode sense command to retrieve the write protected status. Doesn't work
yet, so not enabled for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 20:47:10 +00:00