57935 Commits

Author SHA1 Message Date
Alexander von Gluck IV
2dce5eecef build/arm: Correct missing sources in search
* Group into local var to prevent recurrence.
hrev51573
2017-11-20 09:36:56 -06:00
Alexander von Gluck IV
a42249db2d arm: Add 8250 omap variant uart driver
* Untested, someone with an omap3,4,5 could though.
hrev51572
2017-11-20 09:16:58 -06:00
François Revol
0835170c80 Actually use the serial port and speed from the kernel settings
Turns out we just reused the already set values, disregarding the new ones.
hrev51571
2017-11-20 11:44:43 +01:00
François Revol
587b70d5cd Add a get_driver_settings debugging tool hrev51570 2017-11-20 11:23:34 +01:00
Adrien Destugues
d1805b9a36 BSecureSocket: use opt-out to select ciphersuites.
We just want to disable known broken ones, rather than opt-in for
working ones. This keeps the list of authentications shorter and is more
future proof.
hrev51569
2017-11-20 09:44:50 +01:00
Adrien Destugues
c312da45a8 media_client: print usage in case of missing arguments
Now the obvious "media_client somefile.wav" will tell you what to do.
2017-11-20 09:44:50 +01:00
Jérôme Duval
1f384bf443 atheros813x and attansic_l1: also switch the mii Jamfiles. hrev51568 2017-11-19 12:45:26 +01:00
Jérôme Duval
c6ca84c3a0 attansic_l2: sync with FreeBSD 11.1. hrev51567 2017-11-19 11:54:19 +01:00
Jérôme Duval
c8f44197fe attansic_l1: sync with FreeBSD 11.1. 2017-11-19 11:44:23 +01:00
Jérôme Duval
cf42509b42 atheros813x: sync with FreeBSD 11.1. hrev51566 2017-11-19 10:33:39 +01:00
John Scipione
5c6208cc0c Tracker: Line TitleView up with scroll bar arrow
Make TitleView a few pixels shorter at the default font size so that
it lines up with the scroll bar arrow to its immediate right.

Note the font size used in the title view before and still is 9px
(12px * 3/4)

Make this the minimum TitleView height even for smaller font sizes
so that the title view never is shorter than the height of a
scrollbar button.  Make the minimum font size for TitleView 8px
because 6px (8px * 3/4) was just too small to read.

As font size is made larger it will increase the height of the
titlebar to accomodate the increased font size and consequently no
longer line up with the scrollbar arrow.

The code to scale the bar height via the font height was taken from
BColumnListView. The code to position the title in the middle of the
title bar was also taken from BColumnListView.

Some included style fixes:
* Rename height to fontHeight
* Rename loc to titleLocation
* 80 column limit
hrev51565
2017-11-18 16:25:01 -08:00
Janus
24c9b9df7a [PowerStatus] Fixes some drawing glitches
* Fixes the position of the lightning over the battery
* Fixes the selection in the info Window (Why is the selected color hardcoded?)
* Fixes #13784
hrev51564
2017-11-19 01:05:38 +01:00
Jérôme Duval
aafb7e69a9 ipro1000: MSI interrupts use a handler, no check needed.
tested on Qemu with model=e1000e.
hrev51563
2017-11-18 23:10:25 +01:00
Alexander von Gluck IV
f6c47144a6 kernel/uart: Refinements to irq and FIFO management hrev51562 2017-11-18 13:20:53 -06:00
Alexander von Gluck IV
dc9cdc37d0 dtb/rpi2: Correct UART base frequency.
* https://github.com/raspberrypi/firmware/issues/643
* Mimics what the RaspberryPi guys adjusted it to in
  the firmware.
* Solves corrupted UART serial on the RaspberryPi 2
* I think linux live-probes this frequency via dt-bindings.
2017-11-18 13:20:52 -06:00
Jérôme Duval
dcdad04383 pcnet: Update with the 11.1 release of the le/pcn driver.
* switch compat layer.
* tested on Qemu, model=pcnet.
hrev51561
2017-11-18 18:45:37 +01:00
Jérôme Duval
ad7432f214 freebsd11_network: adapt code based on needs of the pcnet R11.1 driver. 2017-11-18 18:44:18 +01:00
Jérôme Duval
45b4110c1c ipro100: Update with the 11.1 release of the fxp driver.
* switch compat layer.
* tested on Qemu, model=i82557b.
2017-11-18 18:14:52 +01:00
Jérôme Duval
5dc915bd4d freebsd11_network: adapt code based on needs of the ipro100 R11.1 driver. 2017-11-18 18:13:33 +01:00
Jérôme Duval
f57e467bd8 Update libroot stubs. hrev51560 2017-11-18 17:28:06 +01:00
Jérôme Duval
edfefa187b libroot/posix: remove useless keyword extern. 2017-11-18 17:28:06 +01:00
Janus
23871bd25d [PowerStatus] Fix different problems with the replicant
* Fixes #11329
hrev51559
2017-11-18 17:11:07 +01:00
Jérôme Duval
7472cf5784 rtl8139/rtl81xx: Update with the 11.1 release of re and rl drivers.
* switch compat layer.
* tested on Qemu and RTL8168 rev 10.
hrev51558
2017-11-18 16:40:39 +01:00
Jérôme Duval
76ad0d68c3 freebsd11_network: adapt code based on needs of the rtl81xx R11.1 driver. 2017-11-18 16:34:12 +01:00
Automatic Committer
1c53604c91 Update translations from Pootle hrev51557 2017-11-18 06:52:28 +01:00
Alexander von Gluck IV
1d3d336a97 libbsd: Move lutimes to bsd compat
* Rework be149e8ccf9 since lutimes isn't posix
hrev51556
2017-11-17 14:27:26 -06:00
John Scipione
015b5dd659 Deskbar: replicant tray width adjust for 2 draggers
Revision of last commit, everything I said about how we needed to
use 8px instead of 12px for the drag width and replicant tray
padding was correct, BUT, because we are subtracting from the
window width setting we need to account for the width of BOTH
draggers, so it becomes 2 * 8px or 16px that needs to be
subtracted -- sorry about that.

The minimum Deskbar width was calculated to fit 6 replicant icons,
however, this calculation doesn't take into account the extra width
taken up by the recently added second dragger. Consequently only 5
16x16 replicants currently fit.

However you can expand Deskbar to fit 6 (or more) icons now so it
is not a big deal.

Would it be desirable to adjust the minimum Deskbar width to fix 6
replicant icons again?
hrev51555
2017-11-16 16:30:19 -08:00
John Scipione
bc08a7d6c8 Fix first replicant wrapping bug on wide clock
In this commit:
a44504a168548e129e58eeace336a6a2315257ad
    Deskbar: Refactor TRelicantTray::LocationForReplicant()

I made the following assumption that:
    * if index == 0 return right away, no calculation required.

But this assumes that the first replicant will always fit on the
same line as the clock which doesn't work if you have a wide clock.

Update to always calculate the position even of the first replicant
in vertical (multi-row) mode.

In horizontal mode we still skip some calculations for the index 0
case.

Also I was using kClockMargin (12px) for the right margin, the
right margin should be only 8px: 5px for the dragger plus 3px more
for kTrayPadding. Finally we add in the width of the clock and
extra clock margin iif we're on first row and clock is not hidden.

Fixes (hopefully the last of) #8641
hrev51554
2017-11-16 15:19:54 -08:00
John Scipione
aa19dd0236 BSpinner: Draw spinner buttons activated if mouse down
Fixes #13469
hrev51553
2017-11-16 14:11:01 -08:00
John Scipione
6a634757e6 BSpinner: Draw spinner plus sign better
The plus was a bit too tall making it look odd.
hrev51552
2017-11-16 11:59:16 -08:00
Augustin Cavalier
7d8eb4d7f9 time: Address review comments.
* Use ENOSYS not B_DONT_DO_THAT (thanks korli)
 * Use unsigned long not uint64 (thanks axeld)
hrev51551
2017-11-16 20:53:14 +01:00
Humdinger
34a95923cd Added dvda_author package (gcc2h) hrev51550 2017-11-16 19:50:34 +01:00
Humdinger
16af9b4c61 Style, no functional changes
Make termination consistant with that last commit hrev51521.
As wished and proof-read by waddlesplash. Hope all's well...
2017-11-16 19:47:59 +01:00
Jérôme Duval
0e9000201f POSIX: shm_open: set the FD_CLOEXEC file descriptor flag...
on the new file descriptor.
Fixes #13774.
hrev51549
2017-11-16 16:46:37 +01:00
Alexander von Gluck IV
be149e8ccf libroot/posix: Add lutimes for better posix compatibility
* Didn't exist on BeOS, but exists most other places.
* Update times of a file, not following symbolic links.
hrev51548
2017-11-16 00:38:54 -06:00
Andrew Lindesay
f69a80b4bb HaikuDepot: Handling Corrupted Download Data
Damage in latter portions of the downloaded package data can cause the
meta-data for the caching to load OK, but the actual data is unable to
be parsed.  In this case, the application can fail to refresh the
broken data.  This change will mean that the data is "moved aside" into
another file so that on the next run, the application will load fresh
data in place.
hrev51547
2017-11-15 22:32:06 +01:00
Jérôme Duval
b3fb200fe3 ipro1000: Update with the 11.1 release of the e1000 driver.
* switch compat layer.
* tested on Qemu and Intel I217-LM.
hrev51546
2017-11-15 21:22:02 +01:00
Jérôme Duval
078cb10834 freebsd11_network: adapt code based on needs of the e1000 R11.1 driver. 2017-11-15 21:21:44 +01:00
Jérôme Duval
f9a21cf8ba freebsd11_network: copy freebsd_network from 9.3. 2017-11-15 21:20:07 +01:00
Augustin Cavalier
9a50e01ea6 set_real_time_clock: Change parameter from uint32 to uint64.
This should have been done along with the time_t change, but I forgot
to check this then.

Technically this breaks ABI against BeOS, but:
  1. BeOS used an int32, so we'd already slightly broken ABI here
  2. Only one thing at HaikuArchives (VMwareAddons) and one recipe at HaikuPorts
     (samba) uses this function at all.

If it turns out some critical BeOS app uses this, then I guess we can enclose
GCC2 guards around it, but since I can't find any evidence of that, I'm
pushing it without them for now.
hrev51545
2017-11-15 18:28:04 +01:00
Augustin Cavalier
a7c323c633 libroot/time: set_timezone is deprecated and does nothing, so don't return B_OK. 2017-11-15 18:11:33 +01:00
Augustin Cavalier
f009c69deb docs/develop/input: Delete useless cruft.
The only thing of any real use in this directory was the Be Newsletter
article, and the objdump from BeOS R5 (at least I guess that's what it is...)
so I kept those.
hrev51544
2017-11-15 17:52:50 +01:00
Augustin Cavalier
69da4f60e8 input_server: Delete useless functions.
As far as I can tell, these functions were "added" because they appear
in a symbols dump from R5. Nothing calls them, they don't do anything,
and they do not appear in R5 headers.
2017-11-15 17:52:39 +01:00
Augustin Cavalier
581cd2a22d Nuke COMPILE_FOR_R5.
Not used in $long_time, almost certainly broken, so it's just cruft.
2017-11-15 17:52:27 +01:00
Augustin Cavalier
304f594da1 De-wire net_stack_cleanup from boot/loader/main.cpp
This reverts commit 2960780faa7e9c2e5e7a80cb8925be5ee59ae5ef.
Sorry for the noise; I thought I'd run a compile but apparently it was
only a partial one.

It seems that the netboot core is linked into the main bootloader
no matter the build configuration, which means that since this one
function was called, the linker tried to resolve all the other symbols
from that static library. Which of course failed.
hrev51543
2017-11-13 21:17:45 +01:00
Augustin Cavalier
ec0a48e837 wlan/Jamfile: Update comments to properly reflect in-tree driver origin. hrev51542 2017-11-13 17:19:05 +01:00
Owen
a4d1e64920 Make Alt-Up and Alt-W keys work for file panels.
Fixes #11979

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-11-13 16:56:47 +01:00
Andreas Faerber
2960780faa Wire up net_stack_cleanup()
The NetStack.h header is currently not usable from C code. So while
net_stack_init() is called from platform code, we cannot call
net_stack_cleanup() from OpenFirmware's platform_start_kernel().
Thus call it directly from main()'s cleanup TODO, having assured
that the function is a no-op when no network stack was initialized.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-11-13 16:48:26 +01:00
Andreas Faerber
ce6fdd33ef Detach UDP sockets on cleanup
The UDP service does not own the UDP sockets. When shutting down,
inform the bound sockets that the service is no longer available.
This allows subsequent method calls to error out cleanly.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-11-13 16:48:09 +01:00
Andreas Faerber
74077e46e1 Add net_stack_cleanup()
Add a cleanup function net_stack_cleanup() that calls a new NetStack::ShutDown() method.
Make sure this method works even if the network stack was never initialized.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-11-13 16:47:27 +01:00