Commit Graph

52726 Commits

Author SHA1 Message Date
Jérôme Duval
85d8fa4988 Updated bash packages. 2015-01-10 18:11:35 +01:00
Jérôme Duval
2e386f20b7 Updated freetype packages 2015-01-10 17:20:31 +01:00
Jérôme Duval
6c1c9aa2b3 openssl: security update
Fix for CVE-2014-3571
Fix for CVE-2015-0206
Fix for CVE-2014-3569
Fix for CVE-2014-3572
Fix for CVE-2015-0204
Fix for CVE-2015-0205
Fix for CVE-2014-8275
Fix for CVE-2014-3570
2015-01-10 14:34:20 +01:00
Fredrik Holmqvist
1c355970ab Only add global handlers on debug.
It is only useful for ACPI devs. If the need ever arise it can
easily be reworked to be enabled / disabled at runtime.
For everyone else it was just syslog garbage.
2015-01-10 12:58:47 +01:00
Adrien Destugues
18d6754608 Remove leftover varialbe declaration.
Thanks to Oliver for watching.
2015-01-10 11:47:38 +01:00
Adrien Destugues
c50131cd6a Complete and rework BJoystick docs. 2015-01-10 11:44:58 +01:00
mandar
c8e6696716 Add documentation for the Open method in the joystick class. 2015-01-10 11:31:02 +01:00
Adrien Destugues
d1644d7e4f Fix another misuse of BOpenHashTable::Iterator
* This ioctl is used only in the arp command, but still we should keep
it working
* Similar to the problem in elf.cpp, this relied on entry being set to
NULL when trying to iterate after the last element.
2015-01-10 10:48:43 +01:00
Adrien Destugues
42eb787c74 rule_based_prefetcher: actually implement hashing
This file is apparently not part of the image so I don't know how to
test these changes.
2015-01-10 10:48:43 +01:00
autonielx
740112693b Update translations from Pootle 2015-01-10 07:26:25 +01:00
Rene Gollent
f894ab70ea BMessage: Fix #11710.
The refactored version of Unflatten() encapsulated the raw buffer
into a BMemoryIO with a specified size of SIZE_MAX, since the total
size of the messageisn't known up front. On 32-bit this was no problem,
but on x86_64, this would lead to an overflow in BMemoryIO, since it
stores its internal length as a size_t, which on that platform is the same
size as off_t. Consequently, when it would cast its length to off_t to
compare against the requested seek position in ReadAt/WriteAt, this would
overflow to a negative, leading it to reject all requests, which
subsequently caused Unflatten() to fail.
2015-01-09 18:04:46 -05:00
Rene Gollent
6e9704175e kernel: Style fix. 2015-01-09 19:49:52 -05:00
Janus
cde8a1ab69 Fix #11727 - Teams listview is navigable
Signed-off-by: Rene Gollent <rene@gollent.com>
2015-01-09 19:47:24 -05:00
Rene Gollent
d05a5a70e0 kernel: Fix ELF hashtable iterator handling.
As a result of the refactoring for OpenHashTable, the iterator semantics
have changed a bit, such that the end of the table is no longer signalled
by the iterator returning NULL. This wasn't taken into account during
refactoring, which would lead to various places returning the last item
in the list in the case where no matching item was found, causing e.g.
drivers not to be loaded properly. This fixes the boot hang regressions
introduced in hrev48640.
2015-01-09 14:42:13 -05:00
Stephan Aßmus
9550c5ec8e HaikuDepot: Fixes and cleanup to the Contents tab patch
Most changes were in the PackageContentOutliner and its HandleEntry() method
to make it work correctly. The parent entry of a visited entry may not be
the last parent entry, but some other previously added entry. We need a
PackageEntryItem class to also store the BPackageEntry together with the
list item.
Other small fixes.
2015-01-09 23:07:20 +01:00
Sidhant Sharma [:TigerKid001]
f52ceebacb Bug#11563 - HaikuDepot Contents Tab
Signed-off-by: Stephan Aßmus <superstippi@gmx.de>
2015-01-09 23:07:19 +01:00
Adrien Destugues
463de30aa0 NetworkSetup: cleanup replicant checkbox handling
* Use GetInt32 instead of deprecated FindInt32
* Dont implicitly convert int32 to bool
* Add missing break
2015-01-09 21:46:10 +01:00
Adrien Destugues
3b3cad8468 kernel elf: Fix Compare function
I forgot to change the function to return true on equality, instead of
returning the difference as khash required. Fixes a panic on boot.
2015-01-09 21:31:34 +01:00
Adrien Destugues
a2c274e70e rule based prefetcher: migrate to BOpenHashTable.
For #9552.
2015-01-09 18:09:12 +01:00
Adrien Destugues
271ac910a4 Remove useless includes of khash.h
* These files were already converted to BOpenHashTable.
* For #9552.
2015-01-09 18:09:12 +01:00
Adrien Destugues
955d5259d0 Rewrite sample HashTable description to use the typedefs
This makes the code more readable (as KeyType and ValueType are clearer
than int and Foo) and easier to copypaste and edit.
2015-01-09 18:09:11 +01:00
Adrien Destugues
d4aabe75c3 Network stack: migrate to BOpenHashTable 2015-01-09 18:09:11 +01:00
Adrien Destugues
6a89f8040f devfs: migrate to BOpenHashTable
For #9552.
2015-01-09 18:09:10 +01:00
Adrien Destugues
6f05b191d7 ARP: convert to BOpenHashTable
* Replaced the hash function as it wasn't really useful. It seems better
to use the full in_addr_t as a hash as it is a 32bit value. Shuffling it
like the previous hash function did can only increase the number of
collisions.
* BOpenHashTable lacks the "range" parameter to the hash function, so we
can't know which bits from the hash are actually going to be used.
2015-01-09 18:09:10 +01:00
Adrien Destugues
f5acc807f8 ipv6 datagram: migrate to BOpenHashTable. 2015-01-09 18:09:09 +01:00
Adrien Destugues
69ff01cb9e Migrate image hash table to BOpenHashTable.
For #9552.
2015-01-09 18:09:09 +01:00
Adrien Destugues
ce39d3a366 BTextView: use calloc to replace malloc+memset
Fixes #11721.
2015-01-09 11:04:16 +01:00
Adrien Destugues
149ce46d14 Update Shortcuts to use standard ColumnListView
Patch by atalax (GCI2014)

There are some useability changes because our CLV isn't as flexible as
the Santa's Gift Bag one.

Fixes #11007.
2015-01-09 09:03:52 +01:00
Axel Dörfler
e3debc9e26 Sudoku: remove hints when setting a value.
* When you set a value, all then superfluous hints are removed
  automatically now.
2015-01-09 08:57:41 +01:00
Axel Dörfler
fc64ef86ff Sudoku: reordered SudokuView's methods.
* Their declaration order now matches their implementation order.
2015-01-09 08:57:39 +01:00
Axel Dörfler
50e3347692 Sudoku: minor refactoring.
* Pulled _Toggle[Hint]Value() methods out of MouseDown().
2015-01-09 08:57:38 +01:00
Jérôme Duval
b9962ceac2 IMAP,POP3,NewMailNotification: fixed x86_64 build.
* Notifier::HeaderFetched(): fixed the method signature (go figure how it could
build on x86).
* POP3: fSizes type is now std::vector<size_t> instead of BList. Please review.
off_t might be a better choice.
* added the mail_daemon add-ons to the Haiku package again.
2015-01-08 22:31:43 +01:00
Jérôme Duval
1d766e9dd3 mixerToy: fix build on gcc4 2015-01-08 21:21:42 +01:00
Humdinger
c531aa7cc5 Update Clockwerk package. Added the "Quick HowTo" document. 2015-01-08 17:01:54 +01:00
Adrien Destugues
6e19777018 AboutSystem: Activate() window on B_SILENT_RELAUNCH
Fixes #9094.
2015-01-08 16:39:32 +01:00
Axel Dörfler
070e77cc59 PowerStatus: added note battery color.
* When the capacity drops below 30%, it now turns yellow.
2015-01-08 15:37:00 +01:00
Axel Dörfler
e889ce2519 PowerStatus: fixed how the info is retrieved.
* The state was usually 0 once there was more than one battery
  slot.
* We now ignore missing batteries completely, instead of taking
  eventually bogus data into account.
* Fixed how to determine fOnline, and fHasBattery, and when to ignore
  probes.
* Made it more strict when to show the notification, ie. it's now only
  shown when actually discharging.
* This fixes all spurious notifications for me.
2015-01-08 15:36:57 +01:00
Axel Dörfler
b19e9d5b71 PowerStatus: improved API, minor fixes.
* ioctl() does not return a status_t; fixed its usage.
* Do not overwrite the cached battery info with bogus data (this is
  quite strict, though).
* Improved DriverInterface API with a more "natural" argument order.
* Simplified some code.
2015-01-08 15:36:55 +01:00
Axel Dörfler
90169e6310 PowerStatus: give the locker a name.
* Plus minor cleanup.
2015-01-08 15:36:52 +01:00
Axel Dörfler
6f04ad0358 ACPI: increased acpi DPC thread priority.
* Since the power status outages only happen on load, it's likely
  that we run some code too late (I haven't looked at the ACPI specs,
  though).
* In any case, I now get wrong results much less often.
2015-01-08 15:36:49 +01:00
Axel Dörfler
4fe2002b47 IMAP: fixed GCC4 build. 2015-01-08 15:36:47 +01:00
Adrien Destugues
f873c092c7 Network: make sure the DNS list is wide enough to show the addresses.
Fixes #11720.
2015-01-08 09:17:35 +01:00
Augustin Cavalier
7732094125 data/bin/welcome: update #! line to reference sh and not bash.
Fixes #11719.
Makes it possible to use another shell package to run Haiku (such as zsh
or mksh).

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-08 08:58:29 +01:00
Dario Casalinuovo
14896b937a Implement BMediaRoster::RollNode().
Fixes #9083.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-08 08:57:01 +01:00
Rene Gollent
67d5656fab Fix x86,x86_64 build.
For the time being, exclude the new mail_daemon add-ons from the image,
as they break both the x86 and x86_64 builds by failing to compile in a
variety of ways.
2015-01-07 18:25:48 -05:00
Automatic Committer
612375687c Update usb.ids from www.linux-usb.org 2015-01-08 05:20:29 +01:00
Automatic Committer
eacb73f53d Update pci.ids from pciids.sourceforge.net 2015-01-08 05:20:26 +01:00
John Scipione
b433c2ad87 Keymap: Add ability to remove a key mapping
... of a normal (non-modifier) key via a right click menu.
2015-01-07 21:11:39 -05:00
Adrien Destugues
6aa4d138bf LayoutBuilder: document C++ method chaining behavior
Fixes #8515.
2015-01-07 17:29:35 +01:00
Humdinger
61c227c6eb Added Clockwerk package. 2015-01-07 17:21:07 +01:00