Commit Graph

54826 Commits

Author SHA1 Message Date
autonielx
f22bfa7665 Update translations from Pootle 2015-11-07 06:32:09 +01:00
Simon South
75c31ae28d system: Build using public elf.h header
Reduce duplication of code by

* Removing from elf_common.h definitions available in os/kernel/elf.h
* Deleting elf32.h and elf64.h
* Renaming elf_common.h to elf_private.h
* Updating source to build using public and private ELF header files
  together

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2015-11-07 11:49:56 +13:00
Simon South
e3616ca108 system: Provide elf.h to applications
Make a version of elf.h (assembled from the private header files
elf_common.h, elf32.h and elf64.h, and including Haiku's extensions for
C++) available to applications ported from UNIX.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2015-11-07 11:49:53 +13:00
Axel Dörfler
e2f83cbd6b launch_daemon: Monitor teams, and restart services.
* Services that end are now automatically restarted.
* However, this is very basic at the moment, there is no throttling,
  and no support for shutting down the system.
2015-11-06 22:50:05 +01:00
Axel Dörfler
d8c0972a81 launch_daemon: Added "setting" condition.
* Moved the mail_daemon to the user startup, and start it only if
  enabled in the settings.
2015-11-06 22:49:17 +01:00
Axel Dörfler
c2f71fa688 launch_daemon: give the main worker thread a different name.
* It's now called "main worker" instead of just worker.
2015-11-06 22:49:10 +01:00
Axel Dörfler
3282b758b0 launch_daemon: Add API to get information on jobs.
* Ie. a listing of all targets/jobs, as well as specific (basic) info
  on each.
* Also added a bit of optional debug output.
* Moved translating the path to launch time -- we should take the job's
  environment into account here at some point.
2015-11-06 22:47:56 +01:00
Automatic Committer
7e45dd1057 Update pci.ids from pciids.sourceforge.net 2015-11-05 05:20:22 +01:00
Michael Lotz
44f5830503 BLocker: Make misuse warning more useful.
Also print the locker sem (for manual name lookup) and the involved
threads. It was also missing the line terminator which messed up the
following output.

Also fix a typo in a comment.
2015-11-04 00:11:17 +01:00
Michael Lotz
1cffe0dc51 BLocker: Fix recursive count for "unusual" use cases.
Since a BLocker can be unlocked from other threads than the one holding
the lock, it can also be further unlocked even when already unlocked.
This caused the recursive count to become negative. The first lock then
needs to reinitialize the count to 1 for the lock balance to work again.

Just incrementing the negative recursive count lead to it never
counting back down from one to zero in the unlock case, which made the
BLocker impossible to unlock.

This makes the Haiku BLocker behave exactly like the BeOS one, including
the negative recursive count and reinitialization, as evidenced by its
debugging features showing the internal counts.

Alternatively to reinitializing the recursive count it could be
prevented from going below zero in the first place, but I don't see why
we should deviate from BeOS there while allowing its awkward unlock
behaviour.

This makes some more exotic use cases work like the BGLView <-> SDL
combination that previously would always just hang. While these abuses
should be reviewed/corrected, just hanging the BLocker doesn't seem
useful.
2015-11-04 00:11:16 +01:00
Michael Lotz
271f422a92 listsem: Clean up format strings to use format macros.
Fixes printing values on x86_64.
2015-11-04 00:11:16 +01:00
John Scipione
f672379ca1 Tracker: Redraw info window when file path changes
The hard work was already being done, we just had to redraw to get the new path.

Fixes #12437
2015-11-03 11:25:04 -08:00
John Scipione
299467d2a3 configure: remove set -e
This was added in hrev47174 but isn't needed. (confirmed with jessicah)

the -e flag was causing the script to exit when it encountered an error
instead of allowing us to print an error message and exit ourselves.
I accidentially tried to compile Haiku on a case-insensitive FS and
tripped over this.

The configure script should print an error message if you try to configure
on a case-insensitive FS once again.
2015-11-02 16:30:39 -08:00
John Scipione
7a05e252c8 configure: Update the case-sensitive FS error text
Remove the second line so that it fits in 80 chars and the sentence does not
end in a proposition; reads better.
2015-11-02 16:29:50 -08:00
Simon South
6abbd31061 unittests: Build copied BAppTest files
This adds to the "unittests" target a dependency on the
"AppTestRunApp3a" (etc.) files meant to be copied as part of the
BApplication test suite so they are generated when "jam unittests" is
run.

* TestsRules: Add "UnitTestDependency" rule.
* testapps/Jamfile: Make unit tests depend on copied files.

Fixes #12441.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2015-11-01 14:19:04 +01:00
Adrien Destugues
8d314f692b FireWire: gcc5 compatibility.
Fixes #11991.
2015-11-01 14:13:15 +01:00
François Revol
a02541b9b3 HardwareChecker: of course now netcat is called 'nc' again... 2015-11-01 03:08:41 +01:00
François Revol
894526b51a HardwareChecker: try to install the netcat package
and do it before trying to use it.
2015-11-01 03:05:13 +01:00
Adrien Destugues
2a9ee98bf0 Add package for scummvm and depdendencies. 2015-10-31 22:29:29 +01:00
Humdinger
896ed702e6 Remove HaikuWebkit source package.
Having to upload the 650+ MiB source package with every new version is a drag.
People interested in the code can get it directly at
https://github.com/haiku/webkit/releases
2015-10-31 17:46:42 +01:00
Adrien Destugues
ec4b80371c Add packages for colormake and python_imaging. 2015-10-31 17:20:46 +01:00
Michael Lotz
f2d2a6b51f Update fifechan package to include non 32 bit screen mode fixes. 2015-10-31 16:09:49 +00:00
Yourself
5b2d459712 HaikuWebkit 1.4.13 package for gcc4 2015-10-31 16:27:48 +01:00
Humdinger
9059d52817 HaikuWebkit 1.4.13 package for x86_64 2015-10-31 13:25:57 +01:00
Adrien Destugues
4e9575976e HaikuWebkit 1.4.13 package.
* There is a small API change, and only the x86_gcc2 package was
  updated. This means the x86 and x86_64 builds are broken until someone
  updates the packages.
* Fix several small bugs, the most important one being that cookies are
  written to disk again.
2015-10-31 09:01:23 +01:00
autonielx
ef8ce1adf7 Update translations from Pootle 2015-10-31 06:30:55 +01:00
Humdinger
ec54f923ef Improved description of welcome and userguide packages. 2015-10-30 10:16:52 +01:00
François Revol
961fc581b7 configure: Fix copy-paste from hrev49029 2015-10-30 01:53:10 +01:00
François Revol
736bd376e9 configure: remove help text for --remote-user
This option got removed in hrev46738.
2015-10-30 01:49:58 +01:00
Simon South
9e5091d7a3 Build without linker warnings about missing entry symbols.
* BootRules: Use -Xlinker option correctly to specify entry point.
* KernelRules: Build kernel add-ons as shared objects explicitly.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2015-10-29 16:59:59 +01:00
Gerasim Troeglazov
c4d22bb933 Update liqt4 packages for x86_gcc2 2015-10-30 00:28:43 +10:00
Automatic Committer
786e713583 Update pci.ids from pciids.sourceforge.net 2015-10-29 05:20:25 +01:00
Simon South
874e9521b2 x86_64: Glue code: Keep stack 16-byte-aligned
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2015-10-28 21:24:34 +01:00
Jérôme Duval
6c009cde0b kernel: avoid dprintf messages for known header types we don't use.
* fix a typo in runtime_loader/count_regions().
2015-10-28 21:21:56 +01:00
Michael Lotz
4c7d851f15 Update libsdl packages to include 24 bit screen mode fixes. 2015-10-27 22:53:41 +00:00
Simon South
1a28be27e8 Fix unittests build.
Signed-off-by: John Scipione <jscipione@gmail.com>
2015-10-27 10:28:36 -07:00
Simon South
d5447eb9c0 runtime_loader: Do not assume executable has dynamic segment
This prevents a crash when loading a statically linked executable.

Fixes #12287.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2015-10-26 21:23:30 +01:00
Simon South
078b88b12d runtime_loader: Randomly position only relocatable code
The use of an unreliable test for relocatability effectively broke
runtime_loader's support for non-position-independent executables, as it
would insist on randomly positioning these files' segments in memory
anyway causing the program to quickly crash.

With this change runtime_loader uses the object type specified in the
file's header to determine whether its segments can be safely relocated,
restoring support for non-PI executables.

Fixes #12427.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2015-10-26 21:19:25 +01:00
Murai Takashi
1e6dd3feed Fix GCC 5 maybe-uninitialized warnings.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12020
2015-10-26 21:13:24 +01:00
Murai Takashi
949cf6ac85 Fix GCC 5 build.
* Add -fgnu89-inline flag for libroot/posix/glibc
* Change __GNUC__ == 4 to __GNUC__ >= 4

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #11990, most of the changes had already been done.
2015-10-26 19:05:24 +01:00
Adrien Destugues
ed3c7f8fc2 BTranslatorRoster::Default docs: Further rework and typo fixes 2015-10-26 18:43:35 +01:00
Markus Himmel
7676393722 Minor correction in BTranslatorRoster documentation 2015-10-26 18:40:31 +01:00
Jeroen Oortwijn
fe055bf343 change html output to confirm to XHTML Strict
Several errors in the html output caused WebPositive to not render
the file completely.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12387.
2015-10-26 18:36:50 +01:00
Adrien Destugues
4286d20b87 intel_extreme: PVS 1765-6: only use bool in conditions
* Style fix, no functional changes.
2015-10-26 18:36:48 +01:00
Adrien Destugues
9e80618520 hda: PVS1619-21: "unsigned < 0" comparisons
* Probably harmless, the overflow on the other side was already checked.
2015-10-26 18:36:45 +01:00
Humdinger
d500273dd1 Fixed typo for German user guide package. 2015-10-26 17:29:45 +01:00
Gerasim Troeglazov
3b23bfdbaf Qt5: Add Qt 5.5.1 packages for x86_gcc2 2015-10-26 23:42:05 +10:00
Michael Lotz
2a76d1c95a Add package for Unknown Horizons and dependencies for x86[_64].
While the game is pure python and packaged for any architecture, the
engine (FIFE) is C++ with python binding via swig, making the game
only installable on x86 and x86_64. We'd need to provide a python_x86
to support secondary architecture python modules.
2015-10-25 14:50:58 +00:00
Axel Dörfler
5f2abaf7df launch_daemon: Added network_available event & condition.
* Not yet tested.
2015-10-25 14:41:17 +01:00
Axel Dörfler
2e17b6504f BLaunchRoster::ResetStickyEvent() added.
* Used to unflag sticky events that already have been triggered once.
2015-10-25 14:41:17 +01:00