Commit Graph

30046 Commits

Author SHA1 Message Date
Clemens Zeidler
ceaa15b6a7 Forgot this, thanks to Andrea Bernardi!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 18:24:27 +00:00
Ingo Weinhold
5d0e14e988 Link bfs_fuse against the static host libroot.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 18:06:53 +00:00
Oliver Tappe
33cd079785 * revert libtool to an older version that doesn't expect sed to live
in /boot/common/bin (why does it care where sed lives?)
* revert subversion to 1.6.2, as that does not depend on the expat optional
  package
I think we (well, I) should be more thorough when testing new packages,
it would probably be a good idea to test each package on a new, minimal
image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 17:54:33 +00:00
Clemens Zeidler
a635614420 Battery interface for the driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 17:53:09 +00:00
Clemens Zeidler
6aed176c09 Add a ACPI battery driver interface to the PowerStatus app. If there is anyone with a working APM please test if its still working!
TODO:
- Get along with the Layout engine, the extended info window looks "no very nice".
- Reading the battery status takes too long so put it into a thread or cache it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 17:16:31 +00:00
Clemens Zeidler
34fc10ad1f Work in progress of the battery driver.
TODO: 
- Move watching stuff from driver to device cookie so it can be used by multiple instances. 
- Find out why we only get notified about AC / battery changes.
- Fetch _BMD info.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 16:42:30 +00:00
Clemens Zeidler
8c042be3d7 - Fix the timeout from millisecond to our microsecond spin/ wait functions.
- The timeout in Wait was ignored because B_RELATIVE_TIMEOUT was missing.
- Some cleanup.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 16:25:54 +00:00
Clemens Zeidler
2f0441f7e3 Already get the DCP module when init the ACPI modul.
Doing it on demand in AcpiOsExecute leads to kernel panic on my machine.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 16:06:40 +00:00
Stephan Aßmus
c85e773511 Forgot to remove invalid TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 13:10:29 +00:00
Stephan Aßmus
0f3f344fb4 * Implemented calculating the correct display aspect ratio.
* Removed some dead code.
* Fixed a style violation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 13:09:23 +00:00
Stephan Aßmus
f9aac21f11 Define the proper FFmpeg flag.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 13:08:00 +00:00
Stephan Aßmus
a920a6e2a0 Use media_format pixel_width/height_aspect as it was meant to be used. This
avoids rounding issues (1440x1080 -> 1920x1080 instead of 1921x1080).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 13:05:55 +00:00
Stephan Aßmus
591ce51a9c Improved error logging.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-09 13:04:40 +00:00
Rene Gollent
a41067fcb4 When initializing a file panel, check if the view is being targetted at the desktop. If so we need to flag appropriately as we need a different iterator which will also return the volume poses. Fixes ticket #4073.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 23:22:38 +00:00
Ingo Weinhold
4d12369dce Use unsafe character access to avoid a gcc 4 warning. We check the range
ourselves anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 21:55:12 +00:00
Jérôme Duval
1001e99388 This file is based on previous work in fwcontrol from FreeBSD. Adjusted the header accordingly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 21:52:54 +00:00
Oliver Tappe
1aea6ab6e5 * updated URL of subversion - built by Scott (like so many others), thanks!
* adjusted sorting of sqlite/rsync


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 21:52:43 +00:00
Jérôme Duval
c7ec967019 added raw dv format support. tested with PAL DV, I don't know for NTSC though
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 21:41:31 +00:00
Oliver Tappe
be1f4fe800 * find_symbol_breadth_first() didn't ever set _foundInImage, although
it's signature indicates that it should - the callers just never use
  the value currently, so it caused no harm
* squashed a TODO in the runtime_loader about the resolving strategy
  for undefined symbols in add-ons: I've implemented the breadth-first
  strategy (leaving out the add-on itself), as that one made most sense to
  me.
This avoids loader problems with older optional packages of Pe on gcc4, as some
add-ons (e.g. "Expand Tabs") could not be loaded due to them containing undefined
symbols that are found in second level dependencies (libstdc++.so in this case).

Ingo: please review.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 21:22:12 +00:00
Oliver Tappe
3a111f3310 Fixed what seems to be a typo:
* the default ABI for gcc2 builds should be B_HAIKU_ABI_GCC_2_HAIKU, not B_HAIKU_ABI_GCC_2, as the latter 
  is equal to B_HAIKU_ABI_GCC_2_ANCIENT and enforces the old symbol resolving behaviour.
  If our build isn't ..._HAIKU, what is? ;-)
This fixes a whole lot of perl tests, which failed because the required shared libs could not be loaded
(as they contained undefined symbols that are only found in second level dependencies).
Note: the existing perl optional package works, since it does not contain any ABI specification symbol yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 20:28:23 +00:00
Ingo Weinhold
1cc5e46925 Added offset and size parameters to create_child_partition() and
KPartition::CreateChild(). CreateChild() calls AddChild(), which publishes
the new partition, though at that point offset and size were not set, so that
the published devices would not be usable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 20:26:43 +00:00
Oliver Tappe
967294dbd8 * Turns out that the "upper" half of the old (gcc2) libio - the C++ classes -
keeps its own idea about what a wchar_t is and that was still a short.
  This of course made the data structure of a streambuf incompatible with the
  "lower" half - the glibc part - causing (potentially all sorts of) crashes
  when these classes were used.
  This should fix the crash of gensyscalls when building haiku natively
  on a gcc2-haiku.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 16:31:01 +00:00
Joachim Seemer
3dcda2693e * Fixed typos.
* Added links to bug tracker and mailing list etiquettes. I don't think those
  have to be available offline. Other opinions?
* Moved warning about the alpha status in welcome.html into a warning box.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 16:26:00 +00:00
Ingo Weinhold
4dceabd707 * Publish the newly added child partition, not the (already published) parent
partition.
* Don't fail, if publishing failed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 12:50:13 +00:00
Ingo Weinhold
eff35b90f2 Patch by Bryce Groff: Fixed the partition size slider. It had the partition
offset as minimum and the maximum partition size as maximum value. It's now
the partition start and end offset.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 12:35:24 +00:00
Stephan Aßmus
dec28f85e0 * Better debug output.
* We can actually tell libavformat to discard packets for streams that
  we are not interested in. Found this in the ffplay code. This should hopefully
  avoid the efficiency impact of using one AVFormatContext per stream.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 11:09:49 +00:00
Stephan Aßmus
12a9eb5d93 * Coding style cleanup, some removal of dead code.
* Refactored NegotiateOutputFormat() and Decode() into two separate private
  methods each, one for video and one for audio.
* Keep reading chunks when video decoding, until we have got a picture. This
  gets us scrambled video instead of a black picture for h264 in mpegts.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 09:43:06 +00:00
Stephan Aßmus
0c4d88d353 Added "mpegts" to the supported demuxers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 09:41:00 +00:00
Axel Dörfler
82a8a20999 Made the template Haiku vmx file a bit more useful:
* Added (disabled) settings for sound, and CD-ROM.
* Added commented options "numvcpus", and "msg.autoAnswer".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 09:26:44 +00:00
Stephan Aßmus
274f43b917 * Virtualize the stream index and implement finding streams when the
context has AVPrograms. I gather this feature is for container streams
  that contain multiple "groups of streams" like how it would work for
  satilite mpeg-ts streams with multiple TV channels in one stream. For this
  to be properly supported, we should extend the BMediaFile/Track API. For
  now, the AVFormatReader uses the first program, if one is there. This
  was also needed to get make mpegts demuxer work, but it is not yet enabled
  for other reasons.
* Read more probe data. 1024 bytes were not enough to detect "mpegts" properly
  for example.
* For now, I disabled the locking in the AVFormatReader hooks themselves,
  this should not be necessary, though I hope libavformat is reentrant as
  long as you have your own AVFormatContext for each thread. So far everything
  hints that it is the case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 08:51:31 +00:00
Ingo Weinhold
f379415697 Partition type strings that we hand out we should also be able to handle. I.e.
we need to parse the "Unrecognized Type ..." strings we produce for partition
type IDs we can't match to a name. This fixes the "Failed to prepare
modifications" error the userland tools would produce when a partition with
such a type was encountered.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 01:32:09 +00:00
Oliver Tappe
f612278f55 * switched back libiconv to a static library and remove all references to
it (headers and library) from the image. The libiconv in our tree is 
  only used internally as a backend for libtextencoding. The real libiconv
  is provided as an optional package.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 01:00:22 +00:00
Oliver Tappe
2180971924 * adjusted wchar-related defines in config.h of libiconv, coreutils, findutils and tar to match
the new reality


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-08 00:56:55 +00:00
Oliver Tappe
f6ed6c11cb fixed two mishaps with new optional packages:
* gcc-4.3.3 did contain too-far-stripped versions of static libraries, missing all symbols.
  Now only the unneeded ones have been removed - fixing the build of the kernel on haiku natively
* libiconv was missing the shared versions of the libraries. I have updated the package to 1.13.1
  and built it with shared libs (which took me considerable time to get right - the auto*-suite 
  basically sucks)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 23:56:50 +00:00
Oliver Ruiz Dorantes
8fe1949531 Patch by Monni, wrong debug output for btCoreData module pointer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 21:45:46 +00:00
Oliver Ruiz Dorantes
6d8521b1f4 - Fix brackets to not perform a delete on a missing instance
- Security checks on dissapeared devices


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 21:38:36 +00:00
Ingo Weinhold
f66bd6256a Very much work in progress, not in a particularly working state. Haiku munged
a good part of the source tree, so I rather get those changes into the
repository before continuing.
The general aim of the work is to deal with multiple instances of the same
function, e.g. inlined or non-inlined inline functions or those weird duplicates
gcc (4 at least) seems to be generating for no apparent reason.
* Added classes FunctionInstance (wrapping FunctionDebugInfo) and Function.
  FunctionInstance represents a physical instance of a function (e.g. inlined
  function at a particular address). A Function collects all FunctionInstances
  referring to the same source code location.
* Moved the SourceCode property from FunctionDebugInfo to Function accordingly.
* Since SourceCode is no longer associated with a concrete function instance,
  several methods dealing with statements have been removed and the
  functionality has been provided through other means (e.g. TeamDebugModel or
  SpecificImageDebugModel). This part is not yet completed.
* Introduced UserBreakpoint and UserBreakpointInstance. The user sets a
  breakpoint at a source code location, which is represented by a
  UserBreakpoint. Since that source location can be mapped to one address per
  instance of the respective function, UserBreakpoint has a
  UserBreakpointInstance per such function instance, which in turn refers to a
  Breakpoint (an actual breakpoint at an address).
* Adjusted Breakpoint, BreakpointManager, and TeamDebugger accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 20:47:39 +00:00
Oliver Ruiz Dorantes
ccf28e4dd1 - Unregister the device when appears any error Issuing any command. Now at least we realize in userland when a dongle has been unplugged with the first problem appears.
- Move code between parent & children classes of the Accessors
- a bit Styling



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 19:46:40 +00:00
Ingo Weinhold
ff1a0e63f8 Linking kernel add-ons against the shared libsupc++ really spoils the fun. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 18:34:34 +00:00
Ingo Weinhold
34bc7f03ed Patch by Bryce Groff:
* SetBusy(): Use AddFlags() instead of SetFlags() so that the other flags
  aren't cleared.
* AddChild(): Publish the newly added child partition. Otherwise no-one can do
  anything with it without rebooting first. Other children may need to be
  republished under a new name, if their index changes, which doesn't happen
  yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 13:10:52 +00:00
Oliver Tappe
16d5c24e53 * merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 10:30:09 +00:00
Axel Dörfler
0a4f8d8c18 * We also need to listen to modifier changes and unmapped keys in order to quit
the blanker. This is a regression introduced with r29488.
* This fixes bug #4069.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 09:52:38 +00:00
Ryan Leavengood
675c4cfb4e Tiny typo: 0,25 becomes 0.25. BTW, great document (I learned some good stuff!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 02:35:48 +00:00
Ryan Leavengood
16a6c66131 I like your changes Humdinger (much more readable) but there were a few typos.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 01:57:45 +00:00
Stephan Aßmus
5d9b65c488 * Dump the libavformat string again in Sniff().
* Separate TRACE output for seeking related methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-06 22:52:49 +00:00
Ingo Weinhold
a78909c607 For some source files that included it the generated builtext.h wasn't
explicitly added as dependency. Fixes #4070.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-06 22:50:42 +00:00
Stephan Aßmus
a612697fc9 Actually, use a more style compliant name, and since the flags don't contain
just architecture specific flags, call them just HAIKU_FFMPEG_DEFINES.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-06 22:05:00 +00:00
Stephan Aßmus
7486c08251 Avoid some code duplication for setting the architecture depending Cc and C++
flags, using a global variable FFMPEG_PLATFORM_DEFINES.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-06 21:57:08 +00:00
Joachim Seemer
a4a0a6665e * Applied Adek336's small patches to install-source-linux.html. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-06 17:32:26 +00:00
Joachim Seemer
25ab629645 * Renamed the "Contents" box to "Index" because we already link to the "global"
contents.html on every page.
* Added an index box to Queries, Tracker, Email prefs, workshop and Deskbar. If
  anybody find another topic should get an index box, I'll add it.
* Little css tweak for the contents/index box.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-06 16:53:55 +00:00