Commit Graph

54721 Commits

Author SHA1 Message Date
Axel Dörfler
5860caae39 launch_daemon: Added basic ability to stop/start jobs via API.
* Stopping a job is very simplistic right now, and will have to be
  extended considerably, probably with its own job.
2015-11-07 21:58:12 +01:00
Axel Dörfler
de0e15ae8c launch_daemon: corrected print server signature.
* Not sure yet why it actually worked before; must be some other
  bug :-)
2015-11-07 21:58:12 +01:00
Axel Dörfler
d8c022250d BMailAccountSettings: use BPathFinder.
* This allows to put add-ons in non-packaged folders, too.
* Also, Set{In|Out}boundAddOn() only ever looked in the system dir.
2015-11-07 20:55:14 +01:00
Jonathan Schleifer
617793f41b Add back declarations to kernel_cpp.h for GCC
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2015-11-07 20:53:13 +01:00
François Revol
9b1ce4307b Added flag for the Breton language.
Anyone wants to do the translation?

BZH POWAH!
2015-11-07 18:32:27 +01:00
Jonathan Schleifer
96474f3de2
Define __ARM_ARCH__=7 for RPi2 when using Clang 2015-11-07 18:30:07 +01:00
Jonathan Schleifer
55de0addd5
arm/arch_string.S: Only use sane insns for Clang 2015-11-07 18:29:50 +01:00
Jonathan Schleifer
ed6dfed2a0
Fix a type mismatch for std::min() 2015-11-07 18:16:40 +01:00
Jonathan Schleifer
71e0324992
Move new / delete kernel_cpp.h -> kernel_cpp.cpp
new and delete may not be defined as inline, as Clang loudly complains.
The same is true for static.
2015-11-07 18:16:23 +01:00
Jonathan Schleifer
b310316956
Fix arm/arch_string.S for Clang 2015-11-07 18:08:01 +01:00
Jonathan Schleifer
95d4ed6778
Add missing "using std::nothrow" 2015-11-07 18:08:01 +01:00
Jonathan Schleifer
5213914cec
Fix flags for RPi2
There's no point in tuning for the RPi1 CPU.
2015-11-07 18:07:45 +01:00
Jonathan Schleifer
95fd629fa3
Don't use -mapcs-frame with Clang 2015-11-07 18:07:45 +01:00
Humdinger
ad926b253a Improve/fix tab view layout as discussed
See http://www.freelists.org/post/haiku-development/Unifying-visuals-of-BTabView-usage

Besides the tab bar going the full width of the window, also some
layouting tweaks to several apps and prefs.

Still missing: the first (and last) tabs in the tab bar should be inset by
B_USE_WINDOW_SPACING so the controls in the tab view line up nicely.
I think I remember stippi wanting to look into it... :)
2015-11-07 17:40:24 +01:00
Humdinger
3c5208e439 Improve/fix layout
Some tweaks to the layout of apps/prefs in the course of using
B_USE_WINDOW_SPACING.
2015-11-07 17:40:22 +01:00
Humdinger
c8325bb7d7 Improve layouting of Expander
Especially actually hide the content's scroll view, which
otherwise would peak out if the B_USE_WINDOW_SPACING would
ever be increased.
2015-11-07 17:40:20 +01:00
Humdinger
744a39273b Use templatized version of BLayoutBuilder
...also more B_USE_WINDOW_SPACING
2015-11-07 17:40:18 +01:00
Humdinger
d0ac609964 Use B_USE_WINDOW_SPACING
Use B_USE_WINDOW_SPACING as inset from contents to window border.
Some whitespace cleanup.
2015-11-07 17:40:16 +01:00
Axel Dörfler
d5607aa971 SMTP: properly use const, and extern "C".
* This fixes having it picked up in the mail_daemon. That shouldn't have
  worked in the last three years...
2015-11-07 17:07:06 +01:00
Axel Dörfler
5ab027fdc9 Sudoku: use the layout API.
* This removes the CenteredViewContainer class, as it is no longer
  being used.
* However, it also removes its functionality, ie. the Sudoku view now
  fills the complete window (even without any borders), again.
2015-11-07 17:07:03 +01:00
Axel Dörfler
2e14f933e5 Sudoku: minor cleanup. 2015-11-07 17:07:01 +01:00
François Revol
4b53c7b1cf automake: update package to 1.15.0-1
I thought it would help fixing the current ARAnyM build, but no.
2015-11-07 16:17:47 +01:00
Humdinger
23efcbf39e Updated fish package.
Thanks to miqlas!
2015-11-07 15:15:35 +01:00
Humdinger
702f1b2e88 Added flag for the Catalan language.
Currently used in the user guide and welcome pages.
2015-11-07 14:37:15 +01:00
Michael Lotz
c869b2bb07 BPathMonitor: Remove unused headers, some whitespace cleanup. 2015-11-07 09:55:04 +01:00
Michael Lotz
8599f4b330 BPathMonitor: Lock on incoming node monitor messages.
The lock was only acquired when paths to watch were added or removed,
protecting the data structures against concurrent modification due
to addition/removal of entries by the API user.

Locking is also required for node monitor messages since these can
trigger the data structures to be modified (due to recursive watching
and new directories becoming available or due to resyncing of modified
ancestor chains).

Previously it was possible to corrupt the data structures when node
monitor messages were received while still starting to watch a directory
structure. This was especially likely in the case of watching devfs
directories, as accessing these can trigger device scanning which in
turn could possibly add new device entries. Either the path monitor
looper or the API user would then trip over the corrupted data
structures.

Probably fixes #11280. Although I was only able to reproduce crashes
on the API side, corruption of the hash tables and corresponding endless
loops are quite plausible.

Possibly also fixes #12412 if the input_server was in the process of
starting to watch entries. It's hard to tell due to the lack of a back
trace but would fit the crashes I was able to reproduce with a synthetic
test case.
2015-11-07 09:52:20 +01:00
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