Commit Graph

57351 Commits

Author SHA1 Message Date
Adrien Destugues
19b3ca491b Add a MIME type and sniffing rule for Protracker mods. 2017-09-06 07:29:31 +02:00
Jessica Hamilton
6cc6f04747 build_cross_tools_gcc4: bring in sync with native compiler.
* Previously, the cross-compiler would generate code that doesn't
  run on Haiku, particularly where TLS is concerned. It also ended
  up with a c++config.h header incompatible with the version in
  the native compiler.
* Now possible to correctly cross-compile rust for Haiku.
2017-09-05 21:41:39 +00:00
Jessica Hamilton
fe434a740e rust (x86_64): new package, development snapshot.
* Note that this is a cross-compiled version from git
  master, so may run into bugs.

ref: https://github.com/haikuports/haikuports/b2214fb42
2017-09-05 21:23:19 +00:00
Jessica Hamilton
e8caf2e794 llvm (x86_64): update to package with threading enabled.
ref: https://github.com/haikuports/haikuports/commit/c539ff63
2017-09-05 15:49:40 +00:00
Humdinger
274c11610b Add Filer v1.2.0 and StreamRadio 2017-09-02 19:23:37 +02:00
autonielx
9f265de100 Update translations from Pootle 2017-09-02 07:20:56 +02:00
François Revol
b7fc170ebd MIME: Open Gopher URLs with WebPositive, as we support them now 2017-09-01 22:18:11 +02:00
Akshay Agarwal
28eb6b3f2b Use formatters from locale kit to format time remaining/finish time.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-09-01 21:37:35 +02:00
Akshay Agarwal
22d88eb415 BCalendarView: Adjust day name format to available space.
* Use BDateFormat::GetDayName() to fetch weekday names.
* Use appropriate symbol width(Mon, Mo, M) depending on the frame width.
* Provide functionality to update day name header in case of locale
preferences change.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-09-01 20:20:06 +02:00
Augustin Cavalier
a222e4d0cc virtio_net: Add to image.
Stress-tested in VirtualBox. No major performance or usability problems;
even when I had tracing enabled, it was transferring data at ~1.1MB/s.
2017-08-31 17:37:50 -04:00
Humdinger
7a8f174967 Updated FilWip package
...includes crash fix for 64bit when launching preferences.
2017-08-31 17:29:10 +02:00
Automatic Committer
1cf5ededc4 Update pci.ids from pciids.sourceforge.net 2017-08-31 05:20:23 +02:00
Augustin Cavalier
bcc52318d6 NetworkTimeView: Add missing default in MessageReceived switch.
Fixes #12652.
2017-08-30 20:09:26 -04:00
A-star-ayush
bb382cf816 Preferences/Time: Use BNetworkAddressResolver.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Some coding style changes by me.
Fixes #12319.
2017-08-30 20:03:18 -04:00
Akshay Agarwal
ed3f47fe2e BDateFormatTest: Add tests for day and month names for all format syles.
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2017-08-31 10:27:26 +12:00
Akshay Agarwal
ec3dbaa13f Use B_FULL_DATE_FORMAT as the default style value.
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2017-08-31 10:27:09 +12:00
Adrien Destugues
62abb67d6e Cleanup my mess.
Repeatedly applying the wrong patch won't work.

When do we switch to Gerrit? :'(
2017-08-30 20:29:58 +02:00
Akshay Agarwal
bb3ad41ada Implement functions to get localized long/short dayofweek name and short month name in BDateFormat.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-08-30 20:28:31 +02:00
Akshay Agarwal
f2c460497c BDurationFormatTest: Add test cases for abbreviated format style.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-08-30 20:15:30 +02:00
Akshay Agarwal
dadffbdbff BDurationFormatTest: Add test cases for abbreviated format style.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-08-30 19:32:48 +02:00
Adrien Destugues
8fe6df22f8 update php version to remove ICU55 dependency. 2017-08-29 19:26:39 +02:00
A-star-ayush
5c31f5a67a tcp: rfc 2018: implemented SACK option
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2017-08-28 08:52:19 +00:00
A-star-ayush
515cda7241 tcp: rfc 6582: implemented NewReno modification
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2017-08-28 08:52:19 +00:00
A-star-ayush
15c58f0cb7 tcp: rfc 5681: implemented ideal timer
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2017-08-28 08:52:19 +00:00
A-star-ayush
30982ed7b9 tcp: rfc 6298 & 7323: updated rto calculations and semantics
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2017-08-28 08:52:19 +00:00
A-star-ayush
aaa7cebc24 tcp: rfc 7323: added PAWS timestamp check on Receive
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2017-08-28 08:52:19 +00:00
A-star-ayush
39bba929ac tcp: rfc 3042: implemented limited transmit
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2017-08-28 08:52:19 +00:00
A-star-ayush
ec63a32913 tcp: rfc 5681: implemented fast retransmit and recovery
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2017-08-28 08:52:19 +00:00
A-star-ayush
05743f6a13 tcp: slow start@rfc5681 : updated rules for congestion window
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2017-08-28 08:52:19 +00:00
Adrien Destugues
e9300454b6 Update vlink to latest version. 2017-08-27 20:34:01 +02:00
Adrien Destugues
a7c71e2acb Add HxC Floppy disk image conversion tool. 2017-08-27 11:28:35 +02:00
Adrien Destugues
f04a6bd9b9 Update vasm version. 2017-08-26 21:17:05 +02:00
Adrien Destugues
83776950cd SerialConnect: fix mixup of file panels
- Use separate file panels for "load" and "save" directions
- Change the message sent by the "load" panel according to the protocol
  to use (it just forwards the one from the BMenuItem used to invoke it,
  which already has the protocol information).
2017-08-26 17:20:50 +02:00
Adrien Destugues
f1af46a2c0 SerialConnect: try to fix gcc5 build. 2017-08-26 16:23:55 +02:00
Akshay Agarwal
b73f6bf1c9 BDurationFormatTest: Add test cases for abbreviated format style.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-08-26 15:48:24 +02:00
Adrien Destugues
8bff17cfd8 SerialConnect: support sending raw files
Add a generic FileSender interface, which XModemSender implements. Add a
new RawSender which implements the same interface.

The RawSender currently blocks the application thread while sending,
which is not a good idea. Will rework this when I allow cancelling
transfers before they complete.
2017-08-26 15:32:44 +02:00
Adrien Destugues
7b6e6c1587 FT232x driver: support hardware flow control.
We had everything in place, except we never actually sent the command to
the device.

Note that the other drivers (prolific, etc) as well as pc_serial need to
be updated as well (might do it when I get access to hardware where I
can test the changes).
2017-08-26 15:29:37 +02:00
Kacper Kasper
cf3524e07f Fix WebPositive drawing glitches.
* Introduced with recent BTabView changes.
* Adjust drawing tabs a bit.
* Remove trailing whitespace.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-08-26 12:23:31 +02:00
Akshay Agarwal
ffdbd12882 Fix BDateFormatTest: Consider timezone in test cases.
* Issue: A time_t value of say '12345678' results into different timestamps
in different timezones. So the expected output will not match the result of
BDateFormat::Format() if the calendar's timezone is different from the
timezone of the expected output, and the tests 'TestFormat' and
'TestCustomFormat' will fail.

* Fix: Add timezone information in the test cases and pass the timezone
while calling BDateFormat::Format() in order to set the calendar's
timezone same as that of the expected output.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-08-26 12:19:59 +02:00
Akshay Agarwal
cf91123041 Add unit tests for BRelativeDateTimeFormat.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-08-26 09:02:52 +02:00
Akshay Agarwal
1e4ab34cd7 Implement a formatter for relative dates.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

It can give results such as "in 2 hours", "2 days ago", etc.
This is different from BDurationFormat which will just say "1 hour, 2
minute and 36 seconds"
2017-08-25 21:14:27 +02:00
Jérôme Duval
31e6a56fb3 kernel/fs: fix warning on x86_64. 2017-08-24 18:01:12 +02:00
Jérôme Duval
26740b2889 POSIX: F_DUPFD_CLOEXEC support (POSIX.1-2008).
* fix #12187.
2017-08-24 17:54:50 +02:00
Adrien Destugues
a74f88cf8f Build fix. 2017-08-21 18:52:28 +02:00
Adrien Destugues
faef86335b BTabView: fix binary compatibility.
Re-introduce missing symbol so that old apps can still be used.
2017-08-21 18:21:21 +02:00
Adrien Destugues
0d1bb791fc BControlLook: remove broken intersection check
When using BAffineTransform, the update rect is not in the same
coordinate space as the drawing rectangle. Hence, testing them for
intersection does not work, and leads to not drawing buttons which are
in fact visible.

Moreover, the code in BControlLook does not perform only drawing, it is
also expected to update the drawing rect, so other functions may reuse
it later (for example, drawing a button border also computes the
rectangle for the button background). Because of this, it is not
possible to skip the drawing completely, or we could break the layout of
the client.

Fixes #13664
2017-08-20 15:55:56 +02:00
Adrien Destugues
dd582ff9d5 Add a test for #13664
Interaction between ConstrainClippingRegion and transforms leads to
button frames and background not being drawn at all.

Also shows another problem with rounded corner buttons when mixed with
transforms.
2017-08-20 14:59:21 +02:00
Adrien Destugues
d47dec9356 Make gcc2 happy. 2017-08-20 09:48:29 +02:00
Adrien Destugues
1e80caa309 Add a white background version of the sticker
- Uses the Haiku URL instead of "inspired by the BeOS"
- Tweaked dimensions to match lastickerie.com templates (45x80mm + cutting margin)
2017-08-20 09:10:05 +02:00
Kacper Kasper
cb13fce878 BTabView: implement drawing tabs on all sides.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-08-20 09:04:05 +02:00