Commit Graph

553 Commits

Author SHA1 Message Date
Adrien Destugues
18900042ce * Use defines for the SCSI commands instead of the numeric opcode directly
* Colorize the trace output for easier syslog reading
 * Add usb_floppy to the default image
 * disable error tracing


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-28 08:57:29 +00:00
Stephan Aßmus
e9a09f6670 * Enabled the mp2/mp3 decoder in the ffmpeg plug-in (CodecTable.h).
* Removed the mp3_reader and mp3_decoder from the image and from
   the source tree even. The mpeg123lib based decoder was crashy,
   since the lib didn't cope with bad input data too well, whatever
   the reason, but bad input can also be a specially crafted file.
   I didn't see the value in keeping two decoders around that use
   a third party library as backend. While reading in the mp3_decoder
   code, I even saw that it used global variables in the mpeg123 lib
   to figure out framerate and channel count, after decoding a bit of
   input. Obviously this has concurrency issues.
 * Removed the mp4_reader from the image. It is native code, and should
   perhaps be preferred over imported code, but I don't have the
   resources to look into it, and David doesn't seem to have the time
   either. There are basically three types of problems with the
   native mp4 reader: 1) It is way too CPU intensive. I have many HD
   files that don't play at all, since there is not enough time left
   for actual decoding. 2) Seeking leaves a lot of visual artifacts
   (with the very same decoder plug-in), since there seems something
   wrong either with finding true keyframes, or with flushing buffers
   correctly. And 3) very often audio stops working at all after
   seeking. Sometimes a keyframe is returned for audio which is very
   far away from the wanted frame, which currently triggers bad
   behavior in the audio producer node in MediaPlayer and can even
   crash the media_addon_server. With the ffmpeg based mp4 reader,
   none of these problems exist: Seeking is perfect, no artifacts,
   CPU load is low enough for pretty much all HD clips I tested with,
   and audio always works and is always in perfect sync with the video
   after seeking.

If there are regressions after this commit at all (I tested a lot of
files), then I anticipate only that the ffmpeg plugin does not advertise
support for files it could actually handle (i.e. easily fixable). In
those cases hopefully a test stream can be made available. If the
native mp4 reader is improved to the point that it works as well as
the ffmpeg mp4 demuxer, we can easily switch it back, but for now, users
will prefer reliable playback.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-27 17:16:00 +00:00
Philippe Houdoin
e45b794a5d OpenGL add-ons should be hybrid targets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-04 14:09:48 +00:00
Adrien Destugues
4d978eea2f * Fix the WinDecorator and some parts of the MacDecorator
* Since they all work reasonalbly well, add them to the default image. (beOs had them after all)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-03 10:32:19 +00:00
Matt Madia
19aa183a5d Increased the size of the default image. Upon first boot, less than 800 KiB was
available for a gcc2hybrid.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-29 18:31:36 +00:00
Axel Dörfler
61729d9323 * Reworked the complete stack to allow more than one address per network
interface - this caused quite a number of changes.
* Network interfaces, and its addresses are now reference counted (not yet
  complete, though, InterfaceAddresses need to hold references to their
  interface as well).
* There are two known regressions of this commit that I will fix later:
  - you cannot remove interfaces anymore
  - IPv4 multicast was broken anyway, but now it's disabled, too.
* Moved a device_interfaces.cpp|h out of interfaces.cpp.
* The datalink layer chain is now instantiated per domain per interface,
  not just per interface anymore.
* When a buffer reaches the network layer, it has no known interface yet, ie.
  the ipv4|6|whatever modules need to set this manually.
* Added more debug output, and some new debugger commands, the control option
  is now printed in clear text.
* Added hash_address() function to the address modules. Added "const" to
  set_to_defaults() where needed.
* Fixed net_buffer's restore header functions offset use as reported by Atis.
* Improved buffer dump output, use the domain module to print the address if
  available.
* Moved net_buffer::type into the union, as it's not needed by the upper layers
  anymore.
* Moved IPv6 specific code from {add|remove}_default_route() to where it
  belongs, but disabled it for the time being.
* Completely discarded useless ipv4_datagram module.
* Added ping6 to the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 17:38:23 +00:00
Michael Pfeiffer
6f0d416957 * Moved enconding files into system/data/PDF Writer directory,
as correctly pointed out by Ingo these are no setting files.
* Use find_directory() here and in places marked with TODOs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 14:45:25 +00:00
Adrien Destugues
4782f2be6c * Remove now unneeded (hopefully) timezone data
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 09:48:36 +00:00
Michael Pfeiffer
b085f93bcd * Added files used by PDF Writer to the image
(closed ticket #6380).
* Changed path to /boot/common/settings.
Someone feel free to change the implementation to get 
the path from find_directory(...). 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 18:30:36 +00:00
Matt Madia
0f75e967c8 Introduced a new variable, HAIKU_INCLUDE_TRADEMARKS. It used to include/exclude
files from HaikuImage and is set when HAIKU_DISTRO_COMPATIBILITY is 'official'
or 'compatible'


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 20:34:17 +00:00
Oliver Tappe
a3f665982e * reintegrated posix-locale
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 23:13:00 +00:00
Adrien Destugues
5098ba1b94 Update ICU to 4.4
* Remove 4.2 sourcecode
 * ICU is now an optional package (mandatory)
 * Adjust the namespaces and libraries names where needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 19:04:40 +00:00
Adrien Destugues
080f483b21 Make locale kit Hybrid build aware, so that the catalog add-ons will be available for gcc4 applications.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-13 10:51:57 +00:00
Matt Madia
61fae90060 Some improvements for installoptionalpackage
* copy the needed jam files during compile time. This ensures the correct data
 files are used, for example in non-trunk builds
 * -f now only removes the generated at runtime listing of available packages


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 22:38:47 +00:00
Axel Dörfler
4b0427bddc * Since the native rtl8169 is problematic on many chipsets (including mine),
I've removed it for now, until someone finds the time to look into it.
* Therefore, enabled all supported devices for the rtl81xx driver.
* Made the rtl81xx driver actually work by adding the missing PHYs - it doesn't
  use the same PHYs as the rtl8139 driver. Imported the rgephy.c|h from FreeBSD
  8 (not yet in vendor branch, but unchanged).
* It seems to work reliably with Gigabit now, albeit a bit slow, and with too
  high CPU load.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-08 07:04:44 +00:00
Ingo Weinhold
281e8a3d0e Removed the annoying bash_completion script from the image. Fixes #5950.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 15:14:12 +00:00
Rene Gollent
7d447b60b4 Add liblocalestub.a in the DevelopmentMin package instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 20:35:57 +00:00
Rene Gollent
4861ebd530 Publish liblocalestub.a in /system/lib and /boot/develop/lib/x86.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 13:32:31 +00:00
Matt Madia
38319af892 Updated HAIKU_DEFAULT_IMAGE_SIZE to 200 M. For some reason, building it in
Haiku causes the image file to need 193 MB; building it in FreeBSD requires
only 180 MB.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-02 16:52:58 +00:00
Philippe Houdoin
307ff45454 Promoted newest 3dfx video driver by Gerald Zajac in place of the outdated tdfx driver.
Added to Haiku image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-28 20:43:37 +00:00
Matt Madia
4676058003 Record the installed optional packages to common/data/InstalledPackages.
This will be utilized by installoptionalpackage, to determine which packages
are already installed in the system and thus should not prevent the
installation of other packages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-23 21:27:45 +00:00
Wim van der Meer
3417d2a90f * Rename "ScreenshotApp" to "Screenshot", rename its signature from
"application/x-vnd.haiku-screenshotapp" to "application/x-vnd.haiku-screenshot"
* Rename "Screenshot" to "screenshot", rename its signature from
"application/x-vnd.haiku-screenshot" to "application/x-vnd.haiku-screenshot-cli"
* Move screenshot from /system/apps to /bin


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-08 13:15:17 +00:00
Matt Madia
3317dc6d15 Copy documentation as per DiskUsage's license requirement.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-07 08:03:09 +00:00
Wim van der Meer
2ec6b3cf5d Screenshot application enhancements:
- Remove the options panel, and the "-o, --options" switch, put all options
    inside the main panel as discussed in ticket #3831.
- Add a "Copy to clipboard" button, as discussed in ticket #3831.
- Add a "-c, --clipboard" switch to quickly copy a screenshot to the clipboard
    without launching the GUI.
- All settings apply directly to the current schreenshot as well as new 
    Screenshots, as discussed in ticket #4100.
- Separate executables for the CLI (Screenshot) and GUI (ScreenshotApp).
    When "Screenshot" is launched it runs in the background, and launches the
    GUI (if not run with the -s or -c switch) before quiting itself. When a new
    screenshot is requested through the ScreenshotApp GUI interface,
    ScreenshotApp launches Screenshot before quiting itself, after which
    Screenshot re-launches ScreenshotApp. This fixes ticket #4100.
    Note that because of this change the deskbar entry will show "ScreenshotApp"
    and not "Screenshot" as might be expected. I am not sure if this is a
    problem.
- Fixed the code that determines the active window because it was just finding
    the top most window. This change fixes tickets #3112, #4878, and #4423.
- Hide the cursor by calling BApplication::HideCursor(). 
    This fixes ticket #2988 (but *not* #2997).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-05 11:23:22 +00:00
Stephan Aßmus
de9dcd41f8 Patch by plfiorini: Integration of InfoPopper as a system service. See ticket
#1245. There are some TODOs outlined in the ticket, but they will be much
easier to review as individual patches against trunk, versus as a new version
of the huge patch.

I've messed a lot with src/servers/notification/NotificationsView.cpp in order
to resolve a crash I was getting when testing this thing (rewrote line
wrapping). I've also replaced the icons with the one that zuMi did long ago.

Thanks, plfiorini, for working on this code as much as you did!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-27 14:48:27 +00:00
Oliver Tappe
1113246095 fix #5797:
* remove superfluous (unused) language files - we now get this information
  from ICU 

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-18 15:52:41 +00:00
Stephan Aßmus
f02862eb03 Moved the installation of ProcessController, NetworkStatus and the volume
control icon into a new post_install script. Tested in QEMU and the items are
persistent also for the volume control.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 14:27:39 +00:00
Stephan Aßmus
13c177daf2 Mail actually saves drafts in "~/mail/draft", not "~/mail/drafts". This fix
prevents a second folder "draft" being created when saving mails in Mail.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 14:15:21 +00:00
Matt Madia
4eb0a8c2fd Enhance InstallOptionalHaikuImagePackage to accept a new parameter, which
indicates the archive to be usable with either GCC. When utilized, the
packages shared libraries will automatically be symlinked in the alternative
gcc subdir, eg common/lib/gcc4. At the moment, packages that set isCDPackage
are not supported, as Installer needs to be enhanced.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 19:52:36 +00:00
Stephan Aßmus
d39c5aa3c9 Removed Gradients demo from the image. It's just too dull and served more as a
test for BGradient. Mandelbrot would also be a candidate for removal, but maybe
some people are sentimentally attached to it, since it was an old BeOS demo. :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 10:41:10 +00:00
Fredrik Holmqvist
761af9df7f This was not supposed to be commited.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 16:24:55 +00:00
Fredrik Holmqvist
5d9cc10f80 Moving ACPI Embedded Controller to ACPI bus manager.
* Removed irq_routing struct from ACPI.h to where it is used. Might be able to use acrestype.h instead of duplication.
 * Disable old embedded controller and remove it from image.
 * Move embedded controller code to busmanager module.
 * Remove (some) code duplication

Should work as before, but is now initialized right after the bus manager. Can probably remove further code duplication.
I hope I've done it correctly, feedback is most welcome.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 16:19:41 +00:00
Jérôme Duval
32a32c2e70 Patch from augiedoggie #5765: include mktemp from coreutils.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 20:06:51 +00:00
Axel Dörfler
2cb706444f * Check HAIKU_ADD_ALTERNATIVE_GCC_LIBS against 1 to allow a setting of 0 to
work as usual.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 18:44:54 +00:00
Jérôme Duval
9904bec576 merge coreutils 8.4
added nproc to the image


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-14 22:26:54 +00:00
Axel Dörfler
39aab96e4c * Removed the old keyboard driver - it's no longer needed as consoled no longer
uses it.
* While I were at it, I removed the ps2mouse driver as well, as well the whole
  arch directory (as it is otherwise empty).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-14 13:06:12 +00:00
François Revol
4f8e0c8604 Add kernel_debugger command to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-10 16:28:53 +00:00
Matt Madia
0660612cdb Moves the following to Vim's code block in OptionalPackages:
* addition of common/etc/vimrc
 * creation of symlink vi --> vim
Improves but not a final fix for #5699


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-08 14:22:16 +00:00
François Revol
62e2a8fccf Add googlefs back to the image, as it's working now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 23:27:03 +00:00
Matt Madia
b654ef7d7e Added a CLI application "setwep", contributed by Alex Botero-Lowry. It is a
temporary means for joining an unencrypted or WEP encrypted wifi network.
setwep works with 64- and 128-bit WEP and supports both text keys as well as
hex digit keys.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-07 04:37:00 +00:00
Matt Madia
2ccc03f388 Add PDFlib's documentation & sample programs as per licensing requirements.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-30 17:59:56 +00:00
Matt Madia
30ddf40fe7 Added HVIFTranslator to the default image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-29 00:30:07 +00:00
Siarzhuk Zharski
dceaba5e4f - jmicron2x0 NIC driver reported as working by Evgeny Abdraimov. Add it into default build image;
- re-sorted NIC jam targets in alphabet order.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-28 16:13:43 +00:00
Matt Madia
4aadab8f98 Updated a comment to reflect the value of HAIKU_DEFAULT_IMAGE_SIZE.
No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-21 18:17:14 +00:00
Jérôme Duval
e842ee1933 * moved tiff public headers to headers/libs/tiff
* build shared and static libraries for libtiff, cleaned libtiff sources
* TIFFTranslator now uses this library
I used 3.8 as library version as it seems the API didn't change since then


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-14 14:13:12 +00:00
Scott McCreary
3f39ea6467 Removed vim, since it is now available as an optionalpackage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-13 19:41:07 +00:00
Scott McCreary
ca84a1d958 Removed tar from the image as it's now added in as an optionalpackage
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-13 17:55:41 +00:00
Matt Madia
429618d249 Moves the conditional adding of OpenSSL from HaikuImage to the root Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-12 18:07:19 +00:00
Matt Madia
b353282928 Extended AddWifiFirmwareToHaikuImage to support a boolean, which determines
whether to extract the firmware archive onto Haiku Image or to simply copy
it intact. This allows the ipw2100 and iprowifi2200 firmware archives to be
copied onto the default images. Fixes #5523


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 17:23:06 +00:00
Jérôme Duval
3ec0d375d1 Removed sed (ticket #5501).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 18:27:52 +00:00