Somehow gcc doesn't detect the linker is GNU ld when run in Haikuporter.
We now force this in the recipe. This allows gcc to invoke the linker
with response files, avoiding "command line too long" errors, for
example when building WebKit.
* Determine whether called from userland or kernel.
* Check the buffer address via IS_USER_ADDRESS(), if from userland.
* Simplify things by merging UserRead() with Read() and
UserWrite() with Write().
* Network stack socket module: socket_control(): The FIONREAD argument
is int, not ssize_t.
* Net kit: getsockopt(): R5_SO_FIONREAD: Fix ioctl() argument. Was
taking a pointer of what already was a pointer to the buffer.
* libedit: el_gets(): The FIONREAD argument is int, not long.
The Open method can fail and leave the StreamBase object without an
IOContext, but the destructor tried to dereference it anyway.
This fixes APlayer crashing on many files instead of skipping them.
* Increase FIFO buffer capacity from 32 to 64 KiB and the FIFO atomic
write size ({BUF_SIZE}) from 512 bytes to 4 KiB (both like Linux).
* Fix *pathconf(..., _PC_PIPE_BUF). It was returning 4 KiB although the
implemented atomic write size was 512 bytes only. Now both *pathconf()
and the FIFO implementation refer to the same constant.
Use a default context instead. This allows apps without a context
management to still have cookies and HTTP digest authentication (without
persistence to disk).
First part of fix to #10239 (it also needs changes in WebKit).
* Replace the package action button with a download-progress bar
while the package downloads. Needs some tweaks to the layout code
to avoid pushing the rest of the title area to the left, but its a
first step. An additional dedicated area somewhere in the UI which
lists all on-going tasks would be nice as well.
These allow getting the duration of the currently playing item and the
current playing position as well as setting the absolute position and
seeking by relative time via scripting.
When using the copy constructor of BNetEndpoint the socket of the
original endpoint gets dup'ed. The Accept() method later directly reset
the fSocket member of the newly created BNetEndpoint to the socket
returned by accept(). The socket dup'ed by the copy constructor was
therefore leaked.
Of course dup'ing the socket and copying the local and remote addresses
is superfluous in the accept case, as these members all get set to new
values. To reduce that overhead there is now a new private constructor
that directly gets the final socket and remote and local address.
* Some commented-out code to require two line-breaks to start a new
paragraph. Doesn't work well with current set of packages.
* If the character before a line-break is a space, do not start a new
paragraph. Doesn't seem to occur in current package descriptions.
* Wrap the two menu fields into a group with unlimited size and give that
a weight to achieve a stable width for the two which is independent from
the active menu field entries.
* also increase PhysicalMemoryAllocator max to 128KB instead of 16KB.
This translates in a 8MB-sized USB Stack Allocator area.
* tested OK on a Fresco Logic FL1009 USB 3.0 Host Controller but KO on a
Nec Corporation uPD720200 USB 3.0 Host Controller.
* tested a synched copy to a BFS partition on a Lacie USB3 disk takes about
8 seconds for 350MB versus 11 seconds on eHCI.
* Fix adding WebPositive optional package.
* Fix adding wonderbrush package. Add it only for gcc2 to avoid a
warning by AddHaikuImagePackages.
* Simplify adding xz_utils package.
* Add rule HaikuRepository to build a repository from a repository info
file and a list of package files. It calls a build_haiku_repository
script which does all the work.
* Add target <repository>haiku for building the Haiku package
repository.
It should be built via "jam -q @alpha-raw build <repository>haiku";
the build profile is only needed to activate all build features.