Commit Graph

48285 Commits

Author SHA1 Message Date
François Revol
4d5508263e libroot: Properly fix linking with libgcc without cmdline overflow
Instead of listing all the objects we want from the libgcc archive
we just make a copy of it and remove those we don't want, and link
to it.

This should allow returning MAXLINE in jam to a sane value.
2013-10-08 23:34:57 +02:00
Jérôme Duval
3ad66bf0d6 ipro1000: fixed the build after the 9.2 update 2013-10-08 23:17:42 +02:00
Jérôme Duval
d57b624667 Update FreeBSD network drivers with the 9.2 release 2013-10-08 23:17:41 +02:00
Ingo Weinhold
ea4f2ac2dc boot loader: Optimize heap implementation
* Increase general allocation alignment from 4 to 8 byte. That was even
  incorrect.
* Use a splay tree instead of a singly linked list to manage the free
  chunks. That increases the size of the per-chunk structure to manage
  the free chunks, i.e. the of minimally allocatable memory size (from
  align(sizeof(void*)) to align(3 * sizeof(void*))), but make finding
  and inserting chunks much faster.

Fixes #10063 respectively improves the situation significantly.
2013-10-08 21:03:50 +02:00
Ingo Weinhold
e1b63b4fb8 boot loader: mount_file_systems(): Fix warning 2013-10-08 21:03:50 +02:00
Ingo Weinhold
33def4258e boot loader: bios IA32: Add optional timestamps to debug output 2013-10-08 21:03:49 +02:00
Ingo Weinhold
908ce69d6e IteratableSplayTree: Add FindClosest() 2013-10-08 21:03:49 +02:00
John Scipione
e67f9c9bd1 Revert "MenuBar: Fix sticky menu issue. #6408 comment:9"
This reverts commit 7462734202.

Fixes #10072, breaks #6408 comment:9 again.
2013-10-08 13:29:56 -04:00
François Revol
c09cf60cc2 U-Boot: Remove duplicate target for <build>makebootable
And comment the use of libbe, which isn't needed for now and
didn't build anyway.
2013-10-08 19:04:53 +02:00
Adrien Destugues
afd547b368 Refactor UrlRequest/UrlProtocol in the Service Kit
* Remove the BUrlRequest class, which was only delegating work to
BUrlProtocol and subclasses
 * Rename BUrlProtocol to BUrlRequest, and BUrlRequestHttp to BHttpRequest
 * Creating a request is now done through the BUrlProtocolRoster. For
now there is just a static MakeRequest method, this will be completed
when we get to actually allowing add-ons to provide different request
handlers.

This allows cleanup of the API for requests:
 * Remove the universal SetOption method with constants, and have
dedicated setters for each protocol option.
 * Setters can now have multiple parameters, for example you can give
BHTTPRequest a BDataIO and a known size
 * In this case, the BHttpRequest will not use HTTP chunked transfers,
which were always used before and made most servers unhappy (tested and
failed with lighttpd, google accounts and github).
2013-10-08 11:42:05 +02:00
Rene Gollent
65e2db9f84 HaikuDepot: Add TODO note. 2013-10-07 23:07:00 -04:00
Rene Gollent
f2cf36df83 HaikuDepot: Resolve system dependencies.
- While building the installed package list, resolve the dependencies
  of the OS packages. Flag the resulting list as protected so as
  to disallow uninstallation of them in addition to the OS packages.
2013-10-07 23:06:39 -04:00
Rene Gollent
0eb4ee61ff HaikuDepot: Disallow actions on system deps as well. 2013-10-07 23:05:31 -04:00
Rene Gollent
6ec9478bd2 HaikuDepot: Add PackageInfo flag for system dependencies. 2013-10-07 23:05:07 -04:00
Matt Madia
73f8409af2 Fixed directories. Thanks jessica.
Note to self: Don't push on an empty coffee cup.
2013-10-06 21:33:14 -04:00
Matt Madia
c3cb090f10 Update script for package-management related changes.
A hpkg will be created locally, which contains the firmwares. This hpkg will
be copied to system. IIRC, the firmware must live in their respective
subdirectories.

To note, once the approve_license flags are implemented on the end-user
applicacation side, the Intel ipw2100 and Intel ipw2200 could be moved
to a separate package. However (and IIRC) the Broadcom involves using a closed
binary blob, that should not become a pre-made package.
2013-10-06 21:21:28 -04:00
Rene Gollent
5b7ba6624e Fix build. 2013-10-06 21:01:09 -04:00
Matt Madia
047fa72472 Fix permission of text files within archive.
LICENSE.iwlwifi-4965-ucode and README.iwlwifi-4965-ucode were mistakenly marked
as executables.
2013-10-06 18:48:45 -04:00
Matt Madia
de1fec7996 Fix permission of text files within archive.
README.iwlwifi-3945-ucode and LICENSE.iwlwifi-3945-ucode were mistakenly marked
as an executable. Was uncertain if iwlwifi-3945-2.ucode should or should not
be marked as an executable and was unchanged.
2013-10-06 18:31:41 -04:00
Matt Madia
ed25f656ff Fix permission of text file within zipfile.
LICENSE.marvell-firmware.txt was mistakenly marked as an executable.
2013-10-06 18:19:22 -04:00
Rene Gollent
fe18453425 HaikuDepot: Clean up some aspects of package handling.
- A package can potentially be installed in more than one location. As
  such, track all of them on PackageInfo (not yet exposed/used).

- Rather than attempting to use location, check the package's flags to
  see if it's a system package. If so, disallow deinstallation. Not quite
  complete yet though, as we still needs to also resolve the deps of any
  system package, and likewise disallow removal of those.
2013-10-06 18:12:37 -04:00
Rene Gollent
09729f54ff Set system package flag on OS packages. 2013-10-06 17:55:55 -04:00
Rene Gollent
1db2f863d8 Fix #10045.
- app_server's FontManager also needs to watch ~/config/non-packaged/fonts.
2013-10-06 11:18:13 -04:00
Ingo Weinhold
897d5af7ff Don't code the Haiku version into all the package infos 2013-10-06 01:37:13 +02:00
Ingo Weinhold
635d2ac485 Add some missing B_USER_*_DIRECTORY constants 2013-10-06 01:13:22 +02:00
Rene Gollent
3697e7e8b1 HaikuDepot: Show packages that don't have a repository.
- If a package was installed, but didn't have a corresponding remote
  repository package, it would have been missed in the list. Detect these
  and create a special local depot object to house them, so they also make
  their way into the visible package list.

Thanks to diver for reporting the discrepancy.
2013-10-05 17:35:36 -04:00
Rene Gollent
f302cc52a4 FilterView: Fix depot list.
- Since the package list is built lazily in the background, the list of
  depots won't actually be available immediately at construction time.
  Defer building the menu for both that and the categority list until the
  model has actually been populated.
2013-10-05 17:35:36 -04:00
Ingo Weinhold
cb434e1a2b Also add repository cache files to image
This makes package management operations that require a repository cache
immediately usable (even offline). Also makes sense for the
update-{all,packages} build profile actions, since those update the
repository config which would otherwise no longer match a potentially
existing cache.
2013-10-05 22:49:49 +02:00
Ingo Weinhold
049874acda update-{all,packages} build action: Update repository config 2013-10-05 22:49:49 +02:00
Ingo Weinhold
50ffb21291 update-{all,packages} build profile action: empty packages dir
... before copying the new contents to the image. This caters to the
typical use case of updating an existing Haiku, making manual
intervention to get the new packages activated unnecessary. The downside
is that manually added packages will be removed as well.
2013-10-05 22:49:48 +02:00
Ingo Weinhold
7076d5bb2b Fix update-all build profile action
The same disclaimer as before package management applies (i.e. voids
warranty, use at your own risk).
2013-10-05 22:49:48 +02:00
Rene Gollent
bcb9521c0e Update Vision package to r946. 2013-10-05 14:01:37 -04:00
Adrien Destugues
7ed015e409 Integrate comments from Axel over the ML. 2013-10-05 10:09:44 +02:00
Niels Sascha Reedijk
7b333e22fd Update translations from Pootle 2013-10-05 06:16:12 +02:00
Ingo Weinhold
de49e34927 Add symbol versioning for find_directory()
Should already have been done back when the semantics for the
B_COMMON_*DIRECTORY constants was changed.

Currently old and new version behave the same. So this is just a
contingency measure ATM.
2013-10-05 01:33:26 +02:00
Ingo Weinhold
c471444a33 find_directory(): Fix build 2013-10-05 01:33:26 +02:00
Adrien Destugues
49e7165f9d Use ssize_t to allow returning a negative error code 2013-10-04 16:57:02 +02:00
Adrien Destugues
4cf6217227 Document some classes for the Network Kit. 2013-10-04 16:57:00 +02:00
Adrien Destugues
6ec9625a36 Fix mismatched prototypes in the Haiku Book. 2013-10-04 16:56:59 +02:00
Jérôme Duval
f0d09d4925 ps2: rename a constant also used in pads 2013-10-04 16:05:59 +02:00
Jérôme Duval
df6c32e882 ps2: disable elantech support until it's more functional 2013-10-04 16:04:25 +02:00
Jérôme Duval
6eb9729145 tty: fixed warnings about an uninitialized variable. 2013-10-04 15:21:52 +02:00
Jérôme Duval
da9508d5e3 rtf: fixed a warning about an uninitialized variable. 2013-10-04 15:21:52 +02:00
Jérôme Duval
fa49d9714d neomagic: fixed a warning about an uninitialized variable. 2013-10-04 15:21:51 +02:00
Jérôme Duval
b449921515 pegasus: cleanup 2013-10-04 15:21:48 +02:00
Ingo Weinhold
38fa81bf8f Remove B_COMMON*_DIRECTORY and kCommon*Directory constants
* This does intentionally break source compatibility, so that a review
  of concerned code is forced.
* Binary compatibility should be maintained in most cases. The values
  of the constants for the writable directories are now used for the
  writable system directories. The values for the non-writable
  directories are mapped to "/boot/system/data/empty/...", an empty or
  non-existent directory, so that they will simply be skipped in search
  paths. Only code that explicitly expects to find something in a
  B_COMMON_* directory, will fail.
2013-10-04 02:30:30 +02:00
Ingo Weinhold
8f83a0f831 Haiku package: Add a data/empty directory
Can be used when a path to a directory is needed that is certainly
emtpy.
2013-10-04 02:19:31 +02:00
Ingo Weinhold
dfd6a5c973 Make the "build" build profile action more intelligent
If additional parameters are specified, only those targets are built,
but under the influence of the build profile. E.g. "jam @alpha-raw build
haiku.hpkg" builds the package with SSL support, while "jam haiku.hpkg"
would build it without (unless explicitly enabled in UserBuildConfig).
2013-10-04 00:20:53 +02:00
Ingo Weinhold
efd7a43c66 HaikuPortCross repository: Update libsolv version 2013-10-03 23:01:13 +02:00
Ingo Weinhold
45b3329d9f Fix incorrect uses of getpwuid_r()
The function's behavior was recently fixed to succeed, but return a NULL
pointer, when the entry was not found. Fixes a crash in this case.
2013-10-03 21:55:26 +02:00