51381 Commits

Author SHA1 Message Date
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.
hrev47818
2014-09-05 22:32:18 +02:00
Fredrik Holmqvist
62f4f056a7 Fix include order. hrev47817 2014-09-05 22:10:30 +02:00
Fredrik Holmqvist
76a17ee226 No semicolons on defines. hrev47816 2014-09-05 18:44:16 +02:00
Fredrik Holmqvist
1c7917f33e Tell ACPI if we use PIC or APIC. hrev47815 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.
hrev47814
2014-09-05 17:12:27 +02:00
Fredrik Holmqvist
5048bd4620 Add a global notify handler for logging. hrev47813 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. hrev47812 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 hrev47811 2014-09-05 00:47:07 +02:00
Michael Lotz
aba4cb2085 NetworkStatus: Sort wireless networks by signal strength. hrev47810 2014-09-05 00:28:30 +02:00
Rene Gollent
4d292b8186 AboutSystem: spelling correction. hrev47809 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.
hrev47808
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.
hrev47807
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.
hrev47806
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.
hrev47805
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 hrev47804 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. hrev47803 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.
hrev47802
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>
hrev47801
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.
hrev47800
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. hrev47799 2014-09-02 23:06:42 +02:00
PulkoMandy
5de8dca2e4 Bootloader: fix loading of ARM ELF files
* Let the loader know about PT_ARM_UNWIND (and ignore it)
 * Allow up to 32K of space between sections of an ELF files as ARM ones
need that.
hrev47798
2014-09-02 18:15:50 +02:00
PulkoMandy
83f5e2a258 Fix stack alignment for bootloader.
The ARM SP is pointing to the top item of the stack, not the first free
byte. This was confusing dprintf making it fail to print 64bit integers.
hrev47797
2014-09-02 17:01:27 +02:00
Arvind S Raj
3fbb24680c 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. 2014-09-02 13:39:57 +02:00
PulkoMandy
23b891504c Define the minimum-mmc profile for the ARM build.
Now that the fake packages are in place, it is much easier to build the
MMC image for ARM without the need for a bootstrap build.

This image still does not manage to access the tarfs and load the kernel
modules, but it gets to KDL, at least.
hrev47796
2014-09-02 10:54:07 +02:00
Adrien Destugues
ab280d4400 Fix SVGView test build (missing strings.h include) hrev47795 2014-09-02 10:16:03 +02:00
Adrien Destugues
e94bd4810e Fix "strict aliasing rules" warnings
Treated as errors when trying to build the test_app_server for x86_64.
2014-09-02 10:16:01 +02:00
Adrien Destugues
dc83a48d25 Make TargetLibstdc++ work for libbe_test target
Needed for the test_app_server.
The logic here may need some improvements, but I'm not sure how to find
the right library name in all cases. I fixed at least the x86_gcc2 case
here.
2014-09-02 10:15:59 +02:00
Adrien Destugues
b367d3a77c registrar ClipboardHandler: Style fixes. 2014-09-02 10:15:57 +02:00
PulkoMandy
90520f9b43 Second attempt at fixing non-bootstrap ARM build
- Revert the change to BuildFeature since the latest version of the zlib
sources package indeed uses the correct "sources" directory.
- Make the fake zlib package for ARM use the same revision number as the
current zlib version (4) so it can use the current version of the source
package instead of some older one.
hrev47794
2014-09-02 09:16:54 +02:00
PulkoMandy
2ba0ffcef0 Fix zlib source directory name.
This fixes the non-bootstrap ARM build.
I'm not sure this is the right fix, the zlib package seems to come with a
"source" (not "sources") folder on both ARM and x86_gcc2 but then I
don't understand how this worked for the x86_gcc2 build before.
hrev47793
2014-09-01 23:00:31 +02:00
Alexander von Gluck IV
f3ed89bb64 partition/intel: Fix GPT error language.
* Yeah, intel shouldn't support GPT :-)
hrev47792
2014-09-01 19:41:19 +00:00
Ithamar R. Adema
f9f3b564ac ARM: only enable C++11 for libroot, not globally
This resembles the x86_64 build, and fixes the compilation issues
with the bootloader stdio.h header.

Fixes #11144
hrev47791
2014-09-01 15:28:49 +02:00
Ithamar R. Adema
c144d33901 Json: use B_PRI* constants
This fixes the x86_64 build.
hrev47790
2014-09-01 13:12:59 +02:00
Adrien Destugues
12cd565ad7 SecureSocket: add OpenSSL locking.
This shoiuld make OpenSSL more thread safe and help with the random
network related crashes in Web+ (and anything else using SecureSocket
with more than one thread).
hrev47789
2014-09-01 09:54:46 +02:00
Michael Lotz
064018fbf1 UHCI: Reject request debug transfers on control pipes.
Requests aren't handled in the debug transfer code path and would
end up in wrongly constructed descriptor chains.
hrev47788
2014-09-01 00:12:37 +02:00
Michael Lotz
dbd527de10 usb_keyboard: Try clearing endpoint stall on transfer failure.
As the keyboard is used from usb_hid in the userland as well, we quite
probably are not in sync with the data toggle. Clearing the stall
should restore the toggle and make things work.
2014-08-31 23:02:31 +02:00
Michael Lotz
e31cac6e5a USB: Implement usb_clear_stall kernel debugger command.
It constructs a clear feature request for the endpoint halt selector
and sends the request using debug transfers. Clearing a stall condition
can be done safely and has one nice side effect: it reinitializes the
data toggle to a known state. This command can therefore be used when
a pipe is possibly used from userland as well and the data toggle may
therefore be out of sync.
2014-08-31 23:02:30 +02:00
Michael Lotz
326645d2da usb_keyboard: Simplify to generalized usb_process_transfer. 2014-08-31 23:02:29 +02:00