Commit Graph

51799 Commits

Author SHA1 Message Date
Ithamar R. Adema
6048591e9d Revert "Added check to ensure KDL does not include frames beyond kernel entry in the backtrace. This prevents KDL from faulting when printing backtrace on ARM."
This reverts commit 3fbb24680c.

As I mentioned in #11131, this fix is not correct, and works around
the problem. The real reason was that arch_debug_call_with_fault_handler
was not working properly, so the fault handler went crazy.

With commit eb92810 that is fixed so this can be reverted.
2014-09-07 19:15:01 +02:00
Ithamar R. Adema
eb92810edc ARM: fix arch_debug_call_with_fault_handler
This fixes the problem with KDL freaking out when doing a stacktrace
and having its fault handler triggered. Have no clue how this could
have worked before, but it did :P
2014-09-07 19:14:29 +02:00
Stefano Ceccherini
365f14bfbd Network Preflet: Implement an IPV4TextControl which only allows numbers
and use it instead of the regular BTextControl.
Unfortunately it doesn't block multi-byte characters (to do that we
should create a subclass of BTextView and override InsertText()).
2014-09-07 19:05:18 +02:00
Fredrik Holmqvist
8516e6a924 Rename display_controls to display_adapter
ACPI talks about display_adapters, and we will likely have displays
as child nodes. Displays will be attached to an adapter.
2014-09-07 19:02:06 +02:00
Michael Lotz
42a91653ba kernel: Fix missing else in dump_page_queue debugger command.
The entered page queue address would always be overwritten. Pointed
out by CID 610504.
2014-09-07 13:18:03 +02:00
Stefano Ceccherini
d94f82498f Network Preflet: Call _SetConfiguration(NULL) in _BuildInterfacesMenu()
if no interface is present, thus effectively disabling the other
controls. Also if there is only one interface, select that one.
2014-09-07 08:17:51 +02:00
Stefano Ceccherini
7da4809bfc Network Preflet: EthernetSettingsView::_BuildInterfacesMenu()
needs to call SetTargetForItems(), otherwise selecting interfaces
in the popup menu doesn't work.
2014-09-07 07:51:29 +02:00
Stefano Ceccherini
5bde266926 Fix copy/paste error which prevented correct functionality. 2014-09-07 07:51:28 +02:00
Jérôme Duval
fccfeff29e listarea: fixes warnings and output on x86_64.
* columns aren't correctly aligned anymore atm.
2014-09-06 23:57:46 +02:00
Stefano Ceccherini
af7978ef01 Network Preflet: watch for network interfaces changes.
Not yet 100% working.
2014-09-06 23:24:37 +02:00
Rene Gollent
cab2a2ba35 Debugger: Fix #11204.
- When waiting for a thread stack trace to be acquired, in some circumstances
  it was possible for us to not re-acquire the Team lock before moving on to
  parsing and writing out the information. This could potentially lead to race
  conditions when retrieving some of the Team's data, and ultimately crashing
  while writing out report data.
- Add missing error check in _DumpStackFrameMemory().
- Delete team data semaphore on exit.
2014-09-06 16:48:45 -04:00
Rene Gollent
7b5a544edb Debugger: Fix CID 1223239.
- Rework part of report generator to add missing memory allocation
  error checks.
2014-09-06 16:48:30 -04:00
Paweł Dziepak
ece6f8ba5d boot: remove check against large gaps between elf segments
As discussed on the ML the limitation of the gap between segments
imposed by this check is completely artifical and pointless.

Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
2014-09-06 19:38:13 +02:00
Jérôme Duval
bfe33f1603 Add qemu and dependencies for x86 and x86_64. 2014-09-06 13:19:30 +02:00
Matej Horvat
c1fcde6665 Set the archive bit on new or modified directory entries (but not subdirectories)
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2014-09-06 12:57:49 +02:00
autonielx
884dab8a17 Update translations from Pootle 2014-09-06 06:19:21 +02:00
Stephan Aßmus
7eb09bfa29 HaikuDepot: Make sure lists are cleared...
... in case the code runs multiple times for the same package-ref.
(Did not happen, but it's just better form.)
2014-09-05 23:23:27 +02:00
Stephan Aßmus
863f0b1979 HaikuDepot/List: added IsEmpty() method 2014-09-05 23:23:00 +02:00
Stephan Aßmus
87038da74f HaikDepot: Lazily load screenshots.
The first one is displayed. Clicking the thumbnail does nothing,
as before. (There is a TODO in the code to open the bigger version.)
2014-09-05 23:12:49 +02:00
Stephan Aßmus
d11eb2d5d8 HaikuDepot/SharedBitmap: Try load BBitmap via BTranslationUtils 2014-09-05 23:12:48 +02:00
Stephan Aßmus
8db8f33658 HaikuDepot/WebInterface: Implemented retrieving screenshots 2014-09-05 23:12:47 +02:00
Stephan Aßmus
1d9d48738e HaikuDepot: Store the screenshot info...
... from the bulk request results in each PackageInfo.
2014-09-05 23:12:46 +02:00
Ithamar R. Adema
72b52fdf92 ARM: u-boot: work around dd issues on OSX
The oflag parameter does not exist on OSX, and neither on BSD. Just
use "cat" to append instead.
2014-09-05 22:32:18 +02:00
Fredrik Holmqvist
62f4f056a7 Fix include order. 2014-09-05 22:10:30 +02:00
Fredrik Holmqvist
76a17ee226 No semicolons on defines. 2014-09-05 18:44:16 +02:00
Fredrik Holmqvist
1c7917f33e Tell ACPI if we use PIC or APIC. 2014-09-05 18:40:38 +02:00
Fredrik Holmqvist
b4908ff5d8 Todo about walking namespace and init _PRW's.
This needs a deeper understanding and brighter mind than mine.
2014-09-05 17:12:27 +02:00
Fredrik Holmqvist
5048bd4620 Add a global notify handler for logging. 2014-09-05 15:44:21 +02:00
Fredrik Holmqvist
78d6bbf1e5 Fix indention issues.
Two tabs since it's inside a function call inside an if.
2014-09-05 15:44:21 +02:00
Adrien Destugues
ca4143eeb4 Add package for ccache. 2014-09-05 14:21:48 +02:00
Adrien Destugues
1044814dfa Release NetSurf 3.2
Many bugfixes, most importantly a bug was fixed which makes network
downloads go much faster (without waiting for you to wave the mouse over
the window).
2014-09-05 14:21:47 +02:00
Julian Harnath
bf519f589e Add myself to maintainers list 2014-09-05 00:47:07 +02:00
Michael Lotz
aba4cb2085 NetworkStatus: Sort wireless networks by signal strength. 2014-09-05 00:28:30 +02:00
Rene Gollent
4d292b8186 AboutSystem: spelling correction. 2014-09-04 17:32:53 -04:00
Rene Gollent
d4d87b13de AboutSystem: Adjust credits.
- Add Andrey Lindsay to the maintainer list for his excellent
  (and ongoing) work on the Haiku Depot web app/server.
2014-09-04 17:26:14 -04:00
Adrien Destugues
f59dadc4d4 Web+: Update URL on LoadFinished and LoadCommitted
* LoadFinished is called after redirects have taken place, so we can
show the final URL. It's also called for navigation inside a document
(jumping to anchors), whereas LoadCommitted is not.
* LoadCommitted is called earlier so we also want to set the URL there.
2014-09-04 16:29:43 +02:00
Adrien Destugues
6e38076e81 Libnetapi: fix abortion of file requests.
* We didn't wait for the thread to terminate, so the thread could use
the object after deletion.
2014-09-04 11:29:40 +02:00
Stephan Aßmus
0d50f6af5b HaikuDepot: Pull package info for selected package in worker thread.
Selecting packages in the list view is instant again. Fixes #11198.
2014-09-04 10:13:23 +02:00
Stephan Aßmus
48045f5a08 HaikuDepot: More fine grained locking in Model::PopulatePackage() 2014-09-04 10:13:22 +02:00
Julian Harnath
08e98ffde1 Style fix: line length 2014-09-04 00:46:42 +02:00
Julian Harnath
7ef10f899a Relaxed CORB read pointer reset checking for nVidia HDA
* At least some nVidia HDA controllers do not acknowledge the CORB
  read pointer reset, which is required by the spec (cf. HDA 1.0a
  ch. 3.3.21). For these controllers, do not fail when acknowledge
  is missing.

* Makes hda driver work for nVidia HDA controllers again, thus fixing
  the regression pointed out in #10212.
2014-09-04 00:46:40 +02:00
Stephan Aßmus
1a23bff796 HaikuDepot: Removed debugging left-over. 2014-09-03 23:44:33 +02:00
Stephan Aßmus
7ff94fd072 HaikuDepot: Implemented getting user-ratings for packages.
This happens when a package is first clicked, and its details are shown.
Currently, ratings can only be entered via the web-app.
2014-09-03 23:42:24 +02:00
Stephan Aßmus
2b411c028e HaikuDepot: Update for web-app API changes.
* Category identifyers are lower-case, we can use the "name" facility which
   already existed for this purpose and simply iterate the list of known
   categories.
 * The getBulkPkg method now takes the architectures as a list as well,
   helps with finding the right package in case there is a mix of
   architectures across the requested package names.
2014-09-03 22:54:04 +02:00
Paweł Dziepak
5fa80ab691 usb: fix format string
fDebugChunkSize is an uint32.

Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
2014-09-02 23:35:42 +02:00
Julian Harnath
ec8fc5ee39 Use uncached memory areas if snooping is not possible
* Some chipsets do not support bus-snooping for the HDA data
  transfers. So, when trying to enable snooping, verify that the
  setting was accepted.

* When snooping is not possible, set memory areas for audio buffers,
  buffer descriptor lists and command ring-buffers as uncached to
  ensure memory coherency with the HDA controller.

* This fixes KDLs during booting on some systems where snooping
  is not supported (seen on two systems with AMD chipsets, maybe
  applies to others as well).
  After setting up the buffer descriptor list for a stream, it was a
  gamble whether these writes would be visible to the HDA controller
  when subsequently enabling the stream. On some boots it was unlucky
  and then the HDA controller's DMA engine would go haywire and start
  overwriting random kernel memory with audio input data. The
  scheduler was usually the first victim and caused page fault KDLs
  due to corrupted data structures.
2014-09-02 23:10:57 +02:00
Julian Harnath
84dfba2972 Preserve reserved bits in registers
* Do read-modify-write cycle to preserve bits marked as RsvdP in the
  following registers: WAKEEN, CORBWP, CORBCTL, CORBSIZE, RIRBWP,
  RINTCNT, RIRBCTL, RIRBSIZE.
2014-09-02 23:10:55 +02:00
Julian Harnath
2d498c889c Use correct sequence for resetting CORB read pointer
* Spec requires software to wait for hardware to acknowledge the
  reset by waiting for the bit to become set and then manually
  unset it and again wait for it to become unset.
  (cf. HDA spec 1.0a ch. 3.3.21)

* Also, do read-modify-write to protect preserved bits
2014-09-02 23:10:53 +02:00
Julian Harnath
78b950bd2d Read back CORB/RIRB control register to ensure DMA has stopped
* Spec is somewhat unclear about whether that is really necessary,
  but let's play safe.
2014-09-02 23:10:52 +02:00
Adrien Destugues
952aff674e update devIL and dependencies. 2014-09-02 23:06:42 +02:00