Commit Graph

59444 Commits

Author SHA1 Message Date
Augustin Cavalier
3bfc859a38 attansic: Upgrade to FreeBSD 12. 2018-12-27 16:53:47 -05:00
Augustin Cavalier
ca813faa3c atheros813x: Upgrade to FreeBSD 12. 2018-12-27 16:53:24 -05:00
Augustin Cavalier
b240ae40df ar81xx: Upgrade to FreeBSD 12. 2018-12-27 16:53:15 -05:00
Augustin Cavalier
71f1250df5 3com: Upgrade to FreeBSD 12. 2018-12-27 16:52:27 -05:00
Augustin Cavalier
d5b99ecde7 freebsd_network: Some small additions for FreeBSD 12 drivers. 2018-12-27 16:51:48 -05:00
Augustin Cavalier
125df15288 drivers/vlance: Remove.
Never included in the build, and entirely superseded by the "pcnet"
driver from FreeBSD.
2018-12-27 14:15:30 -05:00
Augustin Cavalier
3592a2eba4 vt612x: Clean up Jamfiles. 2018-12-27 14:14:45 -05:00
Augustin Cavalier
9b7ef99599 syskonnect: Clean up Jamfiles. 2018-12-27 14:14:45 -05:00
Augustin Cavalier
34b46b4548 rtl8139: Clean up Jamfiles. 2018-12-27 14:14:45 -05:00
Augustin Cavalier
72d64e3cb1 rtl81xx: Clean up Jamfiles. 2018-12-27 14:14:44 -05:00
Augustin Cavalier
df1dd1f8a8 rdc: Clean up Jamfiles. 2018-12-27 14:14:44 -05:00
Augustin Cavalier
cb5334b37b pcnet: Clean up Jamfiles. 2018-12-27 14:14:44 -05:00
Augustin Cavalier
148d1b2c69 nforce: Clean up Jamfiles. 2018-12-27 14:14:44 -05:00
Augustin Cavalier
3fcac9ac04 marvell_yukon: Clean up Jamfiles. 2018-12-27 14:14:43 -05:00
Augustin Cavalier
360f405d3d packages/HaikuSource: Place sources into develop/sources.
Fixes #14781.
2018-12-27 13:08:03 -05:00
Barrett17
e0a0f13051 ffmpeg: Use unsigned integers for chapter data 2018-12-27 12:26:45 +01:00
Barrett17
e98351d3bc MetaData: Revert types to uint32 and define framerate as float
* Adds some missing methods signatures.
* integer vs float framerate is a longstanging debate. In theory,
in digital a/v there should not be need for floating point framerates.
This is because unless the software is run on exoteric hardware, there
is not need for it. Unfortunately, some legacy from the past like the
29.7 hz debate (NTSC) still may need to work under floating point framerates.
Even if in pratice it'd be run at 30 hz anyway.
* In theory, to handle all those correctly we should use a rational framerate,
however most code should be rewritten to support that correctly, and
it'd add some excessive complexities.
* All integer types are reverted back to unsigned ones. There's really
no reason to use signed integers there, and more importantly the danger
for integer underflows and the attached security concerns is very big.
2018-12-27 12:26:45 +01:00
Barrett17
ec75b9fc8e MetaData: Add missing keys 2018-12-27 12:26:44 +01:00
Michael Lotz
13beda00d3 kernel: Fix race condition when waiting for load of new team.
There was no synchronization of the check of the done flag and the
waiting thread suspending to wait for it. It was therefore possible that
the new team both set the flag and triggered the wakeup of the waiting
thread in that time window, causing it to miss both the set flag and the
thread resumption.

Use a condition variable instead.

Fixes #13081.

Change-Id: I93c45db8dd773fe42b45c4b67153bcd39e200d3b
Reviewed-on: https://review.haiku-os.org/803
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-12-26 23:48:41 +00:00
Augustin Cavalier
b5ccfd350d ntfs: Actually return errors from fs_mount.
This should fix the "mount succeeded but ops is NULL!" panic that
occurs on auto-mounting read-only NTFS disks on boot.
2018-12-26 17:30:28 -05:00
Barrett17
30d69e3f5e BMetaData: Add missing stuff to describe a media format
* We will need those for BMediaFormatBuilder.
2018-12-26 12:34:44 +01:00
Augustin Cavalier
3b5e6232de libroot: Fix GCC2 build. 2018-12-25 18:34:18 -05:00
Michael Lotz
e4103b1b92 libroot: Introduce thread specific heap init/exit hooks.
This allows heap implementations to initialize and clean up any thread
specific structures. The current default hoard heap does not use these.

Note that the thread exit hook will not be called for the main thread as
the heap may be needed during process termination (__cxa_finalize for
example).

Change-Id: I703fbd34dec0d9029d619a2125c5b19d8c1933aa
Reviewed-on: https://review.haiku-os.org/799
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-12-25 23:00:20 +00:00
Rajagopalan-Gangadharan
20e0f7607c WebPositive: Add default download folder location option.
Change-Id: I76e90646c5e7d9a4082cd1c237047c0eda16b9e6
Reviewed-on: https://review.haiku-os.org/786
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-12-25 18:48:14 +00:00
Humdinger
0ca55d11eb x-mail MIME: make Subject attribute editable
Fixes #2832

For details, please check the comments to ticket #2832.
In short: while not needed normally, it'd be nice to be able to edit
the subject attribute, for example when the sender accidentally forgot
to enter a subject or made an especially awkward typo that would spoil
querying for it.

Also: sentence casing the attribute name to "Reply to".
Change-Id: I41e0ebade25d550d0cb260c0dfebd4b9c1c8b34c
Reviewed-on: https://review.haiku-os.org/793
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2018-12-25 18:47:17 +00:00
Murai Takashi
ab6bcb08bc Roster: Fix PVS 456-459
Remove unneed if condition, since 'error' is initialized to B_OK.

Change-Id: I2fd0edb99a3d055beafaf15f1140071a31140892
Reviewed-on: https://review.haiku-os.org/798
Reviewed-by: Barrett17 <b.vitruvio@gmail.com>
2018-12-25 17:49:46 +00:00
Murai Takashi
09a5380d0c CharacterSetRoster: Fix PVS 528-530
Remove unneed if conditions, since unsigned type value is never < 0.

Change-Id: I76621f79883752cd3560c6e02f18384b1ddd9cf3
Reviewed-on: https://review.haiku-os.org/797
Reviewed-by: Barrett17 <b.vitruvio@gmail.com>
2018-12-25 17:49:36 +00:00
Murai Takashi
12dba4e70f poorman: Fix PVS 922
Remove unneed appending a null character, since inet_ntop() adds null to 'addr'.

Change-Id: I21f5be7f737badd388f36a6dcf56a3b446b5d91c
Reviewed-on: https://review.haiku-os.org/795
Reviewed-by: Barrett17 <b.vitruvio@gmail.com>
2018-12-25 17:49:30 +00:00
Murai Takashi
26c68df839 MediaDefs.cpp: Fix PVS 593
Remove unneed if condition, since 'size_t size' is unsigned.

Change-Id: I283afe6c1c24713b8efa21bd70747293fbc61899
Reviewed-on: https://review.haiku-os.org/796
Reviewed-by: Barrett17 <b.vitruvio@gmail.com>
2018-12-25 12:36:42 +00:00
Barrett17
df580f53de ArchitectureRules: Cleanup deprecated plugins defs 2018-12-25 11:36:01 +01:00
Barrett17
3d26587adf Media plugins are not BeOSCompatible anymore 2018-12-25 11:29:50 +01:00
Barrett17
ba5c9689e1 Remove old deprecated plugins from addons/media/plugins 2018-12-25 11:29:01 +01:00
Augustin Cavalier
179e86d1db ipro100: Clean up Jamfiles. 2018-12-24 21:10:08 -05:00
Augustin Cavalier
9c8a78130b broadcom570x: Clean up Jamfiles. 2018-12-24 21:06:41 -05:00
Augustin Cavalier
7f601aefb4 broadcom440x: Clean up Jamfiles. 2018-12-24 21:06:28 -05:00
Augustin Cavalier
c6759927e3 attansic_l2: Clean up Jamfiles. 2018-12-24 20:06:37 -05:00
Augustin Cavalier
48ce31d137 attansic_l1: Clean up Jamfiles. 2018-12-24 20:06:24 -05:00
Augustin Cavalier
e153b204d9 atheros813x: Clean up Jamfiles. 2018-12-24 20:01:34 -05:00
Augustin Cavalier
24c8f452c0 ar81xx: Clean up Jamfiles. 2018-12-24 19:57:59 -05:00
Augustin Cavalier
31888b8cd8 net_server: Do not add the FreeBSD compat headers to the include path.
This was already done for libbnetapi and ifconfig, but apparently
net_server was missed.
2018-12-24 19:52:33 -05:00
Augustin Cavalier
dba28784c2 freebsd11_network -> freebsd_network.
FreeBSD 12 has no major changes to the ifnet KPIs that constitute a
source compatibility break, save a single one related to locking
which doesn't really apply to us, and so we don't need to create
a "freebsd12_network" directory to work through the upgrades.
2018-12-24 19:49:35 -05:00
Humdinger
16e5086044 Keymap: remove item from user list, if the keymap isn't found
Fixes #4022.

When a user keymap was deleted in Tracker while the Keympas prefs
are open, the map is still visible in the list of user maps. It
just doesn't react on a click.

With this change, we just silently remove the item from the user map
list when it's clicked. Not totally nice (should I add a BAlert?),
but the suggested node monitoring for this seldomly encountered
situation is overkill, I think.

Change-Id: I5ea6dd2aa117f30a7be348a005a10f3757d52459
Reviewed-on: https://review.haiku-os.org/794
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-12-23 18:10:02 +00:00
Humdinger
54782f4255 Mail: fixing unicode for szlig;
The unicode for szlig ("ß") when filtering HTML tags was wrong, showing
"ö" instead. Discovered by miqlas, pin-pointed by PulkoMandy.
2018-12-23 10:57:13 +01:00
Augustin Cavalier
52a022f201 BMenu: Accept any alphanumeric ASCII character on the first trigger pass.
Since we use sentence-cased menus, there is probably only one capital
letter in the line, so looking for only capitals won't be very useful.
Instead, accept any ASCII character (< 255) which is alphanumeric,
as these are more likely to be command-able in any given keymap.

(IsAlNum returns true for accented Latin characters also, which may
be un-command-able if they require dead keys to type.)
2018-12-22 00:36:30 -05:00
Adrien Destugues
588a0c9f67 BMenu: Use BUnicodeChar for unicode char manipulation.
It is not allowed to use isspace, tolower, etc, on character outside of
the char type range (and EOF). Use BUnicodeChar instead to avoid out of
bound accesses.

Fixes the second crash in #14753.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Some changes by me to make "index" a byte instead of character index
as it needs to be.
2018-12-22 00:25:10 -05:00
Augustin Cavalier
c1917899cd drivers/network: Remove dp83815.
Never included in the build, and superseded by the sis900 driver from FreeBSD.
2018-12-21 14:26:24 -05:00
Augustin Cavalier
2dd61eb019 sis900: Import from FreeBSD 11.2.
This replaces the old Haiku-native driver that was removed in the last commit.
It should support all the same chips that one did, in addition to the SiS 7014,
and the DP83815 also.

I don't have this hardware, so for anyone who does, please test.

Fixes #1657.
2018-12-21 14:22:32 -05:00
Augustin Cavalier
57910e89b8 freebsd11_network: Update miidevs. 2018-12-21 14:09:31 -05:00
Augustin Cavalier
c09ed858e0 drivers/network: Remove the old sis900 driver.
As axeld said 8 years ago in #1657, it can be replaced with
FreeBSD's sis driver.
2018-12-21 13:47:27 -05:00
Augustin Cavalier
a380bb0236 drivers/rtl8169: Remove.
Has not been included in the image for a long time; all the devices
it supported are handled by the "rtl81xx" FreeBSD driver.
2018-12-21 13:16:13 -05:00