49672 Commits

Author SHA1 Message Date
Jérôme Duval
6e157720e1 only builds fwcontrol for x86 hrev46313 2013-11-04 18:03:37 +01:00
Jérôme Duval
45c56fdb6b acpi_lid: correctly report lid status
* notify handling not working (like acpi_ac).
* deleted header
* code cleanup
2013-11-04 18:03:36 +01:00
Jérôme Duval
c9fb65f961 acpi_button: improved traces 2013-11-04 18:03:35 +01:00
Jérôme Duval
d0a75d2c3a acpi: added driver for AC Adapter devices.
* correctly report the AC status
* notify handler not called
2013-11-04 18:03:33 +01:00
Jérôme Duval
b7c15bf02a acpi: use AcpiGetObjectInfo() for get_device_hid(). 2013-11-04 18:03:32 +01:00
François Revol
0e1c6462de Merge branch 'sam460ex' hrev46312 2013-11-04 17:04:49 +01:00
Oliver Tappe
298d500b37 Adjust URLs of HaikuPorts-repositories. hrev46311 2013-11-04 00:27:45 +01:00
Oliver Tappe
e4bd712d11 Replace jam build-remote-repository with jam upload-packages
* We are moving the HaikuPorts repositories over from haiku-files.org
  to packages.haiku-os.org, and we will be creating new repositories
  during a push hook from now on. As a result, only a small helper for
  uploading new packages into the appropriate upload folder is required.
hrev46310
2013-11-03 23:53:31 +01:00
autonielx
79f5b73db6 Update translations from Pootle hrev46309 2013-11-02 06:16:49 +01:00
Rene Gollent
4f157da334 Update Vision package to fix missing app icon. hrev46308 2013-11-01 22:48:57 -04:00
Jérôme Duval
d5e0bd3412 acpi: removed iasl tool
* it didn't build since at least five years.
* it should become a user package anyway.
hrev46307
2013-11-01 12:50:12 +01:00
Jérôme Duval
c70258b79f acpi: Update to ACPICA 20130823. 2013-11-01 12:50:12 +01:00
Ingo Weinhold
3329eaa1ad Deskbar: Use shift modifier for page-wise wheel scrolling hrev46306 2013-10-31 23:02:11 +01:00
Ingo Weinhold
40082f768a BMenu: Update comment hrev46305 2013-10-31 22:46:57 +01:00
Ingo Weinhold
0b4c2d3210 BMenu: Use shift modifier for page-wise wheel scrolling
Fixes part of #9907.
hrev46304
2013-10-31 21:50:25 +01:00
Humdinger
b9b1c2834c Changes to icon related MIME types.
Added image/x-hvif for vector icons.
Changes to description of Icon-O-Matic documents.
Added x-hvif to Icon-O-Matic's supported types.
hrev46303
2013-10-31 15:07:51 +01:00
Pawel Dziepak
c2763aaffb kernel: Add spinlock for undertaker data 2013-10-31 02:34:09 +01:00
Pawel Dziepak
d8fcc8a825 kernel: Remove B_TIMER_ACQUIRE_SCHEDULER_LOCK flag
The flag main purpose is to avoid race conditions between event handler
and cancel_timer(). However, cancel_timer() is safe even without
using gSchedulerLock.

If the event is scheduled to happen on other CPU than the CPU that
invokes cancel_timer() then cancel_timer() either disables the event
before its handler starts executing or waits until the event handler
is done.

If the event is scheduled on the same CPU that calls cancel_timer()
then, since cancel_timer() disables interrupts, the event is either
executed before cancel_timer() or when the timer interrupt handler
starts running the event is already disabled.
2013-10-31 01:49:43 +01:00
Jérôme Duval
e856422f12 acpi_button: switch to fixed event and notify handlers.
* install a fixed event or notify handler depending on the device type.
* on handling, a non zero status is available for read.
* fixed #10154.
hrev46302
2013-10-30 22:29:40 +01:00
Jérôme Duval
cb4d33ca26 acpi: create fake acpi devices for FADT power and sleep buttons.
* adjust ACPIDeviceModule to accept nodes without ACPI_DEVICE_PATH_ITEM.
2013-10-30 22:29:38 +01:00
Jérôme Duval
daf95c6d8c acpi: use acpi_event_handler instead of interrupt_handler. 2013-10-30 22:29:37 +01:00
Pawel Dziepak
c8dd9f7780 kernel: Add thread_unblock() and use it where possible 2013-10-30 03:58:36 +01:00
Pawel Dziepak
d70728f54d kernel/lock: Do not use *_locked() functions when not needed 2013-10-30 03:26:13 +01:00
Pawel Dziepak
d54a9e0a41 kernel: Do not use gSchedulerLock when accesing UID and GID
Reads and writes to uid_t and gid_t are atomic anyway. The only real
problem that may happen here is inconsistent state of triples
effective_{u, g}id, saved_set_{u, g}id, real_{u, g}id, but team locks
protect us against that.
2013-10-30 02:57:45 +01:00
Ingo Weinhold
577411006e Update requires entries for the packages we build
* Add build tool update_package_requires. Given a package info file and
  a repository cache file, it updates the minimum versions of the
  requires entries of the package info file according to what is
  provided by the repository.
* PreprocessPackageInfo rule: Use update_package_requires (with the
  HaikuPorts repository file).
hrev46301
2013-10-30 02:16:14 +01:00
Ingo Weinhold
a4bdd98c7a BPackageInfo::Parser: Fix parsing the requires operator
For entries without operator (and version) an invalid enum value would
be used for the resulting BPackageResolvableExpression. Now it's
B_PACKAGE_RESOLVABLE_OP_ENUM_COUNT in that case.
2013-10-30 02:16:13 +01:00
Ingo Weinhold
690bccd46a BPackageInfo::StringBuilder: Fix writing non-string lists
Even a list with only one element needs to be enclosed in {...}.
2013-10-30 02:16:13 +01:00
Ingo Weinhold
79d29839bf BPackageInfo::StringBuilder: Fix string escaping 2013-10-30 02:16:13 +01:00
Pawel Dziepak
9c0ff0eed1 kernel: Add cpufreq module for Intel P-states
Since Sandy Bridge managing P-states on Intel processors is much easier
and more powerful than when using previous versions of EIST.
2013-10-30 00:55:03 +01:00
Pawel Dziepak
1e3cf82d85 scheduler: Manage CPU performance 2013-10-30 00:49:24 +01:00
Pawel Dziepak
22d8248267 kernel: Add support and interface for cpufreq modules 2013-10-30 00:48:07 +01:00
Pawel Dziepak
f87dd6dceb nfs4: FileSystem::~FileSystem() make sure fServer is valid hrev46300 2013-10-29 19:16:25 +01:00
Pawel Dziepak
17381b7f37 nfs4: Fix CID 1108338: Fix memory leak 2013-10-29 18:53:35 +01:00
Pawel Dziepak
bbbb0c4d7c nfs4: Fix CID 1108337: Use AutoDeleter to fix leak 2013-10-29 18:47:16 +01:00
Pawel Dziepak
0324283823 nfs4: Fix CID 1108216: Non-array delete used on array 2013-10-29 18:39:33 +01:00
Murai Takashi
7ed6150478 nfs4: Fix mismatching allocation and deallocation
Fixes CID #1108170.

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
2013-10-29 18:35:17 +01:00
Ithamar R. Adema
d22fdcae7d ARM: remove #warning from public header file
This causes configure of gcc/binutils to fail its test for sys/time.h, which
in turn causes compilation of gcc/binutils to fail.

Found trying to do a @bootstrap-raw build for ARM.
hrev46299
2013-10-28 22:04:00 +01:00
Adrien Destugues
9ce2f7e386 Improve HTTP authentication support.
The authentication state is stored (in a hash map, using the domain+path
as a key) in the UrlContext class. It can then be reused for multiple
requests to the same place. We also lookup stored authentications for
parent directories and stop at the first we find.

Authentication state is not stored on disk (unlike cookies), and there
can only be one for each domain+path.
hrev46298
2013-10-28 17:29:20 +01:00
Adrien Destugues
b7617ddd68 Network Cookie Jar: implement assignment operator.
This change is needed for implementing cookie persistence in Web+ using
the network kit backend.

The current implementation requires the user to unarchive the cookie
jar, then hand it over to the BUrlContext which will copy it to its own
field. This makes the code simpler, but maybe doing a complete copy
(with all the cookies) is an heavy operation and could be avoided.
2013-10-28 17:29:19 +01:00
Ithamar R. Adema
c157484a81 x86_64: fix bootstrap build error
Without this creating the boot symlink fails for the bootstrap build,
as the actual acpi module has not been added.
hrev46297
2013-10-28 15:54:10 +01:00
Pawel Dziepak
6d96f462dc scheduler: Use load information to migrate threads 2013-10-28 02:44:46 +01:00
Pawel Dziepak
5e2701a2b5 scheduler: Keep track of the load each thread produces 2013-10-28 01:38:54 +01:00
Ingo Weinhold
fdaba7aaa5 Skip boot device check sum test on CD boot
Whatever we read from the drive in the boot loader isn't what we can
read from the device later, so rather skip the check sum test for
identifying the boot device in the kernel when booting off CD. Fixes
#10147.
hrev46296
2013-10-28 01:18:23 +01:00
Pawel Dziepak
dc38e6ca87 scheduler: Use core load to distribute threads 2013-10-28 00:39:16 +01:00
Pawel Dziepak
d80cdf504f scheduler: Keep track of core and logical CPU load 2013-10-27 22:39:56 +01:00
Pawel Dziepak
890ba7415c scheduler: Decide whether to cancel thread penalty 2013-10-27 20:05:20 +01:00
Pawel Dziepak
1df2e75540 scheduler: Increase penalty of waiting threads
The fact that thread is waiting doesn't mean that it is nice to the others.
If the thread, indeed, waits for a longer time its penalty will be cancelled
anyway, however if the thread waits for a very short time do not count that
as being nice since lower priority threads didn't have much chance to run.
2013-10-27 18:14:48 +01:00
Rene Gollent
3fe3603ada Update Vision package. hrev46295 2013-10-26 19:11:28 -04:00
Axel Dörfler
fd5c87d53c BLooper: removed superfluous locking and code in PostMessage().
* The code duplicated the code found in the BMessenger constructor that
  it called a few lines below. This should improve PostMessage()
  performance a tiny bit.
hrev46294
2013-10-27 00:16:02 +02:00
Siarzhuk Zharski
7f94398c21 TextView:Restore caret offset on B_HOME/B_END in R/O mode
Handling Ctrl-Home / Ctrl-End shortcuts in non-editable mode left the
caret offset unchanged. That provoked stuck of the page scrolling mode.
Reset the caret offset on such actions. Fixes #9407.
hrev46293
2013-10-26 23:02:18 +02:00