Commit Graph

57789 Commits

Author SHA1 Message Date
Automatic Committer
d3499f24a7 Update usb.ids from www.linux-usb.org 2017-09-14 05:20:26 +02:00
Rene Gollent
cdf821eb2a Debugger: Fix #13710.
TeamWindow:
- When changing the active function, we would also attempt to select a stack
  frame matching that function. However, in the case where the active function
  was set via changing stack frames, this logic would break if the function was
  recursive, and would cause the topmost frame to be selected instead of one at
  the desired recursion depth.
2017-09-13 21:20:18 -04:00
John Scipione
032a3f45f7 Revert "Deskbar: eliminate infinite loop bug"
This reverts commit 6d7890478b.

Fixed the bug, but, causes another bug, will revisit.
2017-09-13 15:48:24 -07:00
John Scipione
6d7890478b Deskbar: eliminate infinite loop bug
TBarWindow::FrameResized() calls TBarView::UpdatePlacement() to
resize the ExpandoMenuBar, however, UpdatePlacement() as part of its
work also resizes the window, which calls TBarWindow::FrameResized()
which in turn calls TBarView::UpdatePlacement() and so on.

To get out of this mess remove TBarView::UpdatePlacement() from
TBarWindow::FrameResized() but that leaves ExpandoMenuBar the
wrong size initially.

To fix this call SizeWindow() on AllAttached() which resizes
ExpandoMenuBar along with the rest of the window, but, just once not in
an infinite loop. Use AllAttached() rather than AttachedToWindow() so that
we are assured that ExpandoMenuBar and all of its children have been
attached thus avoiding the potential for an embarrasing Deskbar crash.

Fixes #13706
2017-09-13 15:26:02 -07:00
John Scipione
ff8f17e7ef Deskbar: minor style fix
minor whitespace fix in ExpandoMenuBar
2017-09-13 15:25:57 -07:00
Augustin Cavalier
e03db9304f Terminal: Specify ourselves as xterm-256color.
This was originally instated back in 2013, but was reverted then
due to #9636 because most other systems did not yet recognize that
terminal type.

Nowadays, nearly all Linux terminals specify themselves as being
"xterm-256color" by default, so reinstating this should be fine.
2017-09-12 14:36:28 -04:00
Augustin Cavalier
0ed0bc5384 termcap: Update from 2011/02/20 to 2017/08/26.
Note that this reverts a Haiku-specific patch to mark "xterm"
as supporting 256-color mode.
2017-09-12 14:34:42 -04:00
Augustin Cavalier
e736356cfa Revert "tcp: slow start@rfc5681 : updated rules for congestion window"
This reverts commit 05743f6a13
(and the portions of following commits that were layered on top of it.)
2017-09-12 14:10:30 -04:00
Jérôme Duval
ccd42320c4 libroot: add posix_spawn(). 2017-09-12 19:42:57 +02:00
Jérôme Duval
854c63b57b ipro1000: remove ids already declared in if_lem or if_igb.
* should fix #13698.
2017-09-12 18:37:33 +02:00
Jérôme Duval
e53a95baad ipro1000: Revert part of e32c64c113.
driver.c is part of the beos driver.
2017-09-12 17:39:36 +02:00
Alexander von Gluck IV
b82657abfb radeon_hd: Improve tracing; implement older DCE3 DP training.
* Implement older DCE 3 DisplayPort Training Service.
2017-09-12 10:15:59 -05:00
Alexander von Gluck IV
ce1ac42908 radeon_hd: Fix logic bug in transmitter init.
* Don't use any functions requiring knowledge of
  attached displays before they are probed.
* ucDigMode un-needed on INIT action.
2017-09-11 22:24:20 -05:00
Alexander von Gluck IV
e5f5c3c4ce radeon_hd: Cosmetic cleanups. No functional change 2017-09-11 22:24:20 -05:00
John Scipione
00171c6f43 Deskbar: fix a crash holding window over drag area
state: Call (Calling BeginLineArray with a count <= 0)

Thanks diver
2017-09-11 13:48:05 -07:00
John Scipione
e4cb43d506 Deskbar: constrain width setting within limits
... on settings load. This will prevent 0 in the width setting from setting
Deskbar's width to 0.

This should make the Desktop appear again.
2017-09-11 13:35:30 -07:00
John Scipione
378aa08b54 Deskbar: refactor, no functional change
* Split int32 declarations into own lines.
* Merge if and return stmts into single return stmt using ternary operator.
2017-09-11 10:23:25 -07:00
John Scipione
3641948f78 Deskbar: better checking on string comparison
Check if both strings are NULL before passing to strcmp().

It would be bad if view->Name() were NULL and we tried to dereference it.

Thanks Jérôme for noticing this.
2017-09-11 10:18:32 -07:00
Jérôme Duval
9b80d1767a Set the image size for the debug minimum profile to 450MB. 2017-09-11 18:12:53 +02:00
John Scipione
1bb2e6239d Deskbar: variable width Deskbar in vertical mode
Feature to make Deskbar width variable via a dragger.

Resize Deskbar by clicking and dragging the mouse on the
horizontal side of Deskbar opposite the screen's edge.
(left side for default top right).

The resize dragger is hidden in horizontal mode.

Details below:
* ExpandoMenuBar is resized with rest of window.
* Rename where to whereScreen to make it clear that the variable
  is in screen coordinates.
* Lock focus on window while resizing
* Resize via TResizeControl class which is based on TDragRegion
* Set default width to minimum so everything stays the same.
  - don't set the width setting to 0 on quit, use the new setting.
* Set max tray width based on setting
* Make clock area a bit wider preventing replicant icons from
  overrunning the clock area.
* Leave more room left of clock makes replicants wrap earlier,
  leaving icon gap width between replicants and clock. Before it
  would butt flush against the clock before moving down a row.
* Remove FrameMoved from TDragRegion, we are already doing this
  in BarView -- no reason to do it twice.
* Need to redraw the drag region after moving or it will be half
  drawn.
* Hide resize control in horizontal mode
* Add room for resize dragger when placing replicants
* Update width setting unless window is hidden
  - This prevents Deskbar from being set to minimum width after it
    is hidden.

Also, constrain width setting within limits but not width of the
BarView which we want to track the window width. In practice they
should be the same but it is possible for them to get out of sync
and that's okay. Obvious example of the setting and actual width
of the window being out of sync is in the hidden case.

unify dragger width and kDragWidth vars

Make drag regions pixel perfect:
* Vertical mode status tray reduced in height by 1px to match height
  in horizontal mode exactly.
* move icons over by 2px in horizontal mode so that there is a bit more space
  on the left and so that it matches pixel perfect with vertical mode.
  - to see this quickly switch between bottom right vertical at the minimum width
    and horizontal mode then notice how the icons don't move

Draw drag background then menu color when not active to get rid of drawing
glitches in horizontal mode on the top pixel.

Add some more room between last icon and clock in horizontal mode.
2017-09-10 18:33:30 -07:00
John Scipione
a6be6c4d67 Deskbar: Minor functional changes
Use std::min() over min_c in TimeView.cpp
Check for NULL view before dereferencing
Return B_BAD_VALUE for bad inputs
2017-09-10 17:08:48 -07:00
John Scipione
e4d65fe7ae Deskbar: Style fixes to StatusView
Deskbar: Minor style fixes in TimeView.cpp
2017-09-10 17:08:48 -07:00
Jessica Hamilton
9533c3e921 docker: tools for creating a container with Haiku cross-compilers.
* This also includes the package tool for easy use of installing
  dependencies in a container.
* Pre-built docker images are also available at
  https://hub.docker.com/r/haiku/cross-compiler/
2017-09-11 07:06:52 +12:00
Jessica Hamilton
c5e77784a8 compatibility/bsd: add endian.h for BSD extensions. 2017-09-11 07:06:52 +12:00
Jessica Hamilton
f995cdcc5f Revert "endian.h: add BSD extensions when _BSD_SOURCE is defined."
This reverts commit b8cfd96db1.
2017-09-11 07:06:52 +12:00
Augustin Cavalier
bfbb965580 Interface Kit: Remove more non-BControlLook code. 2017-09-10 14:58:35 -04:00
John Scipione
3b9755d72f Webpositive: unset tool tip over tab close button
Tool tip reads tab name or "New tab" for new tab, making it sometimes
appear that the close button would produce a new tab instead. Removing
the tooltip over the close button eliminates this confusion.

An alternative suggested in hrev45298 was to make the tool tip say
"Close tab" instead but some felt it unneccessary and so was reverted.

"A tool-tip for the close buttons is completely unnecessary. The
prevailing thought for items where the action is easy to grasp (or easy to
grasp upon clicking the first time), is that a tool tip is not necessary."

This method fixes the confusion w/o adding uneccessary clutter.
2017-09-09 13:20:37 -07:00
John Scipione
ec7c3ff311 Webpositive: Refactor
... to make variables available in outer scope,
eliminate now redundant nested if and reorder condition
variables to avoid function call in common case.

all prep for next commit...
2017-09-09 13:09:07 -07:00
Jessica Hamilton
b8cfd96db1 endian.h: add BSD extensions when _BSD_SOURCE is defined. 2017-09-10 07:37:32 +12:00
Jessica Hamilton
77815ad59a ftp: rename variable named bool.
* Causes conflicts with <stdbool.h>
2017-09-10 07:35:41 +12:00
Jessica Hamilton
d995db52e5 radeon_hd: fix typo in hrev51403. 2017-09-09 22:16:46 +12:00
autonielx
df0f0f87a3 Update translations from Pootle 2017-09-09 06:56:15 +02:00
Alexander von Gluck IV
1121a23254 radeon_hd: Improve external/dce PLL programming
* Bug fix around pll_external_set. We prepared all the args,
  but never actually executed the AtomBIOS table.
* Add new AtomBIOS methods in Polaris to set external PLL
  clock frequencies.
* Implement new 1.7 PLL set table on Polaris.
2017-09-08 21:05:43 -05:00
Alexander von Gluck IV
66a16010b7 radeon_hd: Add missing DP STATUS request type
* Name change inline with DP specifications.
2017-09-08 18:02:32 -05:00
Alexander von Gluck IV
807f4d4d5e radeon_hd: Add FirePro W4100 per #13693
* Thanks moochris!
2017-09-08 17:27:51 -05:00
Alexander von Gluck IV
25ef6f0bb7 radeon_hd: Implement AtomBIOS debug op 2017-09-08 17:22:40 -05:00
Automatic Committer
06094b5f13 Update pci.ids from pciids.sourceforge.net 2017-09-07 05:20:24 +02:00
Akshay Agarwal
defdefa89a docs/user: Update locale kit description.
- Delete the introduction from the kits list page, as it is already
under locale_intro.
- Update the description in locale_intro.
- Since the locale kit now lives in libbe, delete the paragraph about
libraries from the intro, and move the still relevant part about
liblocalestub to the catalog translation macros description in
Catalog.dox.
2017-09-06 07:47:47 +02:00
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