I got a Lenovo USB Ethernet adapter, which is recognized by the USB_ASIX driver.
When I disconnect the adapter, the network interface is not removed, and calling ifconfig hangs.
On syslog I see lots of errors relative to the usb_asix driver.
Avoid undefined behavior by using unsigned int instead of int. * 1 << 31, 2 << 30, 3 << 30 replaced by 1U << 31, 2U << 30 or 3U << 30.
When we set the main MediaPlayer window to the top and want to open the Settings, that window will not shown until the player is on the top.
Patch has been added. Tested: works fine.
Done in hrev46478.
Cookie Jar: allow setting cookies on "file" URLs. * These are shared with HTTP cookies set for localhost. We probably want to split them apart later on, so cookies should store and check the protocol, additionally to the path and domain. * Fixes #10195.
WebKit canvas support requires some extra drawing modes we currently don't have in BView:
I think these are available in AGG as "composition operators": http://antigrain.com/__code/include/agg_pixfmt_rgba.h.html#comp_op_rgba_dst_atop
No idea if (or how) this could be used in our drawing code, yet.
BView drawing has support for basic transformations: scale and translate.
Support for arbitrary transformations would be nice to have. This could maybe use the BAffineTransform class.
This would help with complete support for WebKit HTML canvas code: missing at least rotations and different X and Y scaling factors, but probably also combination of transforms.
The older SetScale and SetOrigin methods could affect the current matrix. Not sure what Scale and Origin should return in that case, however.
HttpRequest: simplify and optimize receiving loop * Do not start with a ridiculously small buffer for socket reads. Sockets return data they have available, instead of trying to fill as much of the buffer as possible. In some cases a single Ethernet frame can hold a complete request. * Remove some looping and try parsing all the request in sequence each time we receive some bytes. * Avoid reallocating a temporary buffer each time we read some data from the socket. Instead, allocate it once, and grow it as needed. Since servers usually send chunks of equal size, we should get away with one reallocation on the first chunk.
Provisioning ticket for GCC 4.8 to track activities and see if it works well.