Adrien Destugues
295a23a4e3
Add some tests for cookies.
...
* Mostly extracted from Opera cookie testsuite.
* Shows one bug with parsing expiration date of cookies in
ExpirationTest.
2014-06-05 19:29:11 +02:00
Stephan Aßmus
258817720c
HttpAuthentication: improvements and fixes
...
* BString::CopyInfo() takes length as second
parameter, not the end-offset. This bug didn't
have any effect, since BString clamps the length.
* ',' is a comma, ':' is a colon.
* When parsing "additionalData" in the loop for
name=value pairs, an empty name is not useful,
continue the loop early.
* "value" may have the length 0, accessing it
with value[0] would not lead to an access violation,
since it just reads the terminating zero (I think),
but it's nicer if the code makes it clear that
value being empty is considered.
* _H() was using a static buffer, in a heavily
multi-threaded situation. I don't think this was
healthy.
* Implement the proposed optimization of using
BString::LockBuffer(). Appending one char at a time
is really bad for peformance. The Base64 encoding/decoding
should really be rewritten as well for similar reasons.
2014-06-05 00:01:13 +02:00
Jérôme Duval
3331e9ac65
updates a few hybrid packages.
2014-06-04 18:31:23 +02:00
John Scipione
819863d8a9
Docs: Put a comma in Haiku, Inc. in the copyright.
2014-06-04 11:58:08 -04:00
John Scipione
daabbbe5f9
BRegion: Style fix, update parameter name
...
No functional change.
Trying to indentify each kind of object uniquely and consistently.
... update docs as well.
2014-06-04 11:58:07 -04:00
Adrien Destugues
cd805f6793
Remove some redundant fields
...
These were getting out of sync and causing trouble, and they are easy to
compute from existing information.
Fixes some problems detected by the testsuite where the user/password or
the host would sometime disappear from the URL.
2014-06-04 11:56:23 +02:00
Adrien Destugues
3fd76758ed
Add some tests derived from Ruby Addressable
...
They have a very complete testsuite, but not all of it is relevant to
us. Pick some of the interesting tests for now.
2014-06-04 11:36:09 +02:00
Adrien Destugues
b5bde4ad81
Fix bugs identified by the testsuites
...
* Handle resolving . and .. in path properly
* Make the subtle distinction between empty and unset for the authority,
fragment and query.
2014-06-04 10:36:10 +02:00
Adrien Destugues
e29e0a0d2a
Fix Url relative constructor.
...
Actually get the query from the base URL.
2014-06-04 08:22:13 +02:00
Jérôme Duval
1db8c51081
HaikuDevel: remove tiff headers
2014-06-04 07:37:28 +02:00
Jérôme Duval
2388fa71b8
openssl, tiff: provides hybrid packages for x86
2014-06-04 07:24:50 +02:00
John Scipione
d0d41a229a
Add BRegion documentation.
...
Most was written by Stephan Aßmus, and Stefano Ceccherini.
(moved from Region.cpp)
Thank you both for your contributions.
2014-06-03 20:28:44 -04:00
John Scipione
44cee34013
BRegion: Style updates for documentation.
...
No functional changes intended.
* Updated copyright information.
* Reduced doxygen documentation down to a helpful summary
in a regular comment, the documentation has been moved into
the Haiku Book.
* Some parameter renaming for consistency and clarity.
* A few other style fixes.
2014-06-03 20:26:45 -04:00
Axel Dörfler
c1400fb617
intel_extreme: use VESA EDID info as fallback.
...
* Only in case retrieving EDID info failed on head A and C.
* Should help with detecting the native resolution for ticket #10878 .
2014-06-04 01:02:40 +02:00
Axel Dörfler
5336a8d11e
intel_extreme: fixed warnings.
...
* And also most coding style violations.
2014-06-04 01:02:39 +02:00
Jérôme Duval
27843c6ffd
TIFFTranslator is now dependent on the tiff build feature.
2014-06-04 00:42:43 +02:00
Jérôme Duval
cf588872b4
openssl, tiff: provides hybrid packages for x86_gcc2
2014-06-04 00:29:16 +02:00
Axel Dörfler
0ed0765067
create_display_modes: added missing 1600x900.
...
* Might help with #10878 .
* 1366x768 was at the wrong spot.
2014-06-04 00:23:38 +02:00
Adrien Destugues
b2468f37f6
Add hybrid tiff packages.
...
Should fix the build.
2014-06-03 18:10:36 +02:00
Adrien Destugues
0013f47d3f
Import tests from http://skew.org/uri/uri%5Ftests.html
...
This shows there are some problems with BUrl, still.
CppUnit stops at the first failed assert in each test, which doesn't
give a good overview of the number of failures in this case (the first
subtest fails). A possible solution is splitting this into smaller
subsets.
2014-06-03 17:10:29 +02:00
Adrien Destugues
002f37b0cc
Explicit template instanciation to please gcc2.
...
Makes CPPUNIT_ASSERT_EQUAL useable.
2014-06-03 15:27:53 +02:00
Adrien Destugues
68c13f94fb
Convert BUrl tests to the UnitTester framework.
2014-06-03 13:34:35 +02:00
Adrien Destugues
5abe892c76
Remove deprecated file.
2014-06-03 13:17:23 +02:00
Jessica Hamilton
01fbdbab83
xsi_semaphore: use MemoryDeleter instead of multiple free()
2014-06-03 13:38:04 +12:00
Andrew Lindesay
b4c773d32e
modified layout intro docsZ
...
Signed-off-by: John Scipione <jscipione@gmail.com>
2014-06-02 20:13:16 -04:00
Jérôme Duval
9cd7c6a433
tiff: use the outsourced packages.
...
* packages for secondary architectures would be welcomed.
2014-06-02 23:45:19 +02:00
Jérôme Duval
da76d8da0c
wget: remove
2014-06-02 23:25:12 +02:00
Jérôme Duval
31da886a61
tiff: fix headers for [u]int* types
2014-06-02 23:18:55 +02:00
Jérôme Duval
890f4d006f
add packages for tiff
2014-06-02 21:04:23 +02:00
Adrien Destugues
b2b2ae1a1f
Add quassel packages
...
provided by Arfonzo.
2014-06-02 15:04:12 +02:00
Adrien Destugues
f31bb74725
ConstrainClippingRegion does not transform.
...
Document the fact that the region-based clipping does not use the view
transform. Also hint to a way to constrain drawing to a transformed
region.
2014-06-02 14:55:23 +02:00
Oliver Tappe
d527dbc8f6
Avoid unwanted output of <build>unzip with DEBUG=1.
2014-06-02 02:00:29 +02:00
Oliver Tappe
911821275a
Increase HAIKU_BOOT_ARCHIVE_IMAGE_OFFSET for debug builds.
2014-06-02 02:00:28 +02:00
Oliver Tappe
1a7bcf6962
Lots of B_PRI... insertions to fix errors with DEBUG=1.
2014-06-02 02:00:28 +02:00
Jérôme Duval
1ee3031a90
wget: use the outsourced packages.
...
* remove wget Jamfile from the build.
2014-06-02 00:06:31 +02:00
Jérôme Duval
ec147911b4
updated for packages, added gmp, help2man, lz4, wget.
2014-06-01 23:07:19 +02:00
Jérôme Duval
f196b1a662
hda: add snoop quirk for a few other pci ids.
...
* based on alsa.
2014-06-01 16:21:08 +02:00
Murai Takashi
45e3a5edae
hda: Add Baytrail HDA controller
...
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2014-06-01 16:21:08 +02:00
Oliver Tappe
d4563ace72
Improve handling of Haiku clone without any tags.
...
* Error out early with a hint about how to solve the problem (by setting
HAIKU_REVISION explicitly).
2014-05-31 15:35:24 +02:00
autonielx
e1594b1775
Update translations from Pootle
2014-05-31 06:17:02 +02:00
John Scipione
532c873311
BRect: Replace max_c() and min_c() with std::max() and std::min()
2014-05-30 19:46:30 -04:00
John Scipione
f90a92fdb2
Add documentation for the BRect class
2014-05-30 19:32:15 -04:00
John Scipione
1f46fc6d52
BRect: Style fixes for documentation
2014-05-30 19:31:10 -04:00
autonielx
e0405a5615
Update userguide translations
2014-05-31 00:02:52 +02:00
Jérôme Duval
f9a06522bd
update gcc for x86 and x86_64
2014-05-30 22:39:37 +02:00
Oliver Tappe
087c0644cd
Update Pe to newest version in all x86-architectures.
2014-05-30 17:48:19 +02:00
Jérôme Duval
735f58f3e4
xhci: build fix
2014-05-30 16:28:40 +02:00
Jessica Hamilton
1e31468302
ByteOrder.h: separate host & Haiku versions.
...
* This avoids polluting the Haiku headers with host issues,
as pointed out by Axel.
* Should also resolve build issues for various versions of
host compilers that were introduced in previous commits.
2014-05-30 20:39:43 +12:00
Jessica Hamilton
fad4fc59f9
Revert "ByteOrder.h: remove use of __builtin_bswap16."
...
This reverts commit 040dc2eebc
.
2014-05-30 20:39:43 +12:00
Paweł Dziepak
b20eb413cd
kernel/x86_64: help gcc with devirtualization
...
This patch gets rid of some indirect calls in the paging code.
2014-05-30 02:11:05 +02:00