Commit Graph

56033 Commits

Author SHA1 Message Date
Augustin Cavalier
e20d72d947 preferences/bluetooth: Remove a bunch of needless debug statements. 2016-05-06 17:35:34 -04:00
Augustin Cavalier
aa0020bf07 preferences/bluetooth: Remove last non-layout code. 2016-05-06 17:35:34 -04:00
Augustin Cavalier
0cce7d31c5 bluetooth_server: Remove the "show debug console" item from the replicant.
Redundant (the Preferences dialog now has this), and unnecessary, as only
developers want it; it'll confuse end-users.
2016-05-06 17:35:34 -04:00
Augustin Cavalier
f7359bb49a preferences/bluetooth: Make the "show debug" menu item actually work. 2016-05-06 17:35:34 -04:00
Augustin Cavalier
f52a021a33 preferences/bluetooth: Add some missing NULL checks.
Fixes some more crashes when nothing is selected.
2016-05-06 17:35:34 -04:00
Augustin Cavalier
ebb0fb0364 bluetooth_server: Don't dereference before NULL check.
Fixes a crash when there are no local devices.
2016-05-06 17:35:34 -04:00
Augustin Cavalier
b984932928 bluetooth_server: Make the replicant remove itself if the server isn't running. 2016-05-06 17:35:34 -04:00
Augustin Cavalier
73f5ab0cf6 bluetooth_server: Don't show an error when the Prefs app couldn't start.
The only error I can think of (and the one that this displays) is that
the preflet is already running, which is not very helpful.
2016-05-06 17:35:34 -04:00
autonielx
9c59cb0692 Update userguide translations, leavengood as nielx 2016-05-06 20:48:02 +02:00
autonielx
b98538a5b5 Remove duplicate welcome and userguide directories 2016-05-06 20:28:17 +02:00
John Scipione
9d48ecb522 Bluetooth Window: Defaults and Revert on left
These buttons go to the left according to the ad-hoc rule we've
created for preflets. The right side is reserved for an Apply or OK
button and is left blank otherwise.
2016-05-06 09:51:41 -07:00
John Scipione
1231bfebe4 Bluetooth Window: Layout tweaks
SetBorder(B_NO_BORDER) on tabView.

Add a BSeparatorView to draw a line between tabs and bottom buttons
Inset by B_USE_WINDOW_SPACING around buttons.
(B_USE_DEFAULT_SPACING betwen buttons and the tabview)
2016-05-06 09:46:07 -07:00
autonielx
bd3f6a54ec Update userguide translations, leavengood as nielx 2016-05-06 04:15:13 +02:00
Augustin Cavalier
f1d1e8297b preferences/bluetooth: Remove the unused 'View' menu. 2016-05-05 18:27:09 -04:00
Augustin Cavalier
9080758a24 preferences/bluetooth: Some coding style cleanup. 2016-05-05 18:25:25 -04:00
Augustin Cavalier
9f95282c84 preferences/bluetooth: Rephrase 'services not running' dialog. 2016-05-05 18:20:38 -04:00
Augustin Cavalier
ef3761dd07 preferences/bluetooth: Use BAboutWindow instead of BAlert.
Now the about window will actually fit on my screen vertically.
2016-05-05 18:09:58 -04:00
Augustin Cavalier
deaef0eb2e preferences/bluetooth: Use BLayoutBuilder instead of B*LayoutBuilder.
Fixes a bunch of window sizing issues and the weird space between
the window border and the contents.
2016-05-05 18:09:16 -04:00
Jérôme Duval
c9dba74273 Added some support for GCC 7. 2016-05-05 18:20:26 +02:00
Jérôme Duval
07215f2aff Update mpfr package for x86_64. 2016-05-05 15:19:19 +02:00
Automatic Committer
fac6ada134 Update pci.ids from pciids.sourceforge.net 2016-05-05 05:20:17 +02:00
Jérôme Duval
11ece1736c build_cross_tools_gcc4: disable libatomic. 2016-05-03 21:05:31 +02:00
Murai Takashi
109459c8a5 MailProtocol.cpp: fix gcc6 build
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2016-05-03 21:01:48 +02:00
Jérôme Duval
ab7c65d33d arm: remove duplicate arch_get_thread_debug_cpu_state(). 2016-05-02 21:25:05 +02:00
Murai Takashi
56d0435fd2 LocaleRoster.cpp: fix gcc6 build
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2016-05-02 19:18:31 +02:00
Murai Takashi
33bb983188 netresolv: Fix gcc2 build
Change suppress warnings options to -Wno-sign-compare
since -Wno-error= can be used with gcc 4.2 or later.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2016-05-02 19:07:24 +02:00
Rene Gollent
6d4e35f60e BSocketMessenger: Fix size mismatch.
- The header size was accidentally being included in the flat buffer size,
  leading to a mismatch error when reading the incoming message.
2016-05-01 14:23:58 -04:00
Rene Gollent
6dd98243c2 BSocketMessenger: Style fixes. 2016-05-01 09:53:42 -04:00
Humdinger
f4b9f0fcb5 Added package for Einsteinium
Einsteinium provides smarter monitoring of applications and system services for
Haiku. It will restart applications and system services that quit or crash,
gather statistics on application usage and provide customizable ranked lists
of applications.
2016-05-01 09:48:10 +02:00
Rene Gollent
493cced1ef libbnetapi: Add socket messenger class.
- Introduces new network API class BSocketMessenger, allowing one to send
  and receive BMessages across a network socket in a BMessenger-like
  fashion. Still very much WIP, hence currently not exposed via public headers.
  Based partly on previous work by Axel.
2016-04-30 18:32:50 -04:00
Jérôme Duval
8a808785fc Update bash package on x86_64. 2016-04-30 18:15:30 +02:00
autonielx
f42d6e7e72 Update translations from Pootle 2016-04-30 06:57:36 +02:00
John Scipione
57c4212174 LaunchRoster docs: Add warning not to use class
...as it is not yet finalized.
2016-04-29 15:51:32 -07:00
John Scipione
b5665b7243 AbstractSocket docs: Document reuseAddr param of Bind() 2016-04-29 15:43:45 -07:00
John Scipione
65d0cbfdaf BTabView: Draw bottom tab border in DrawTabs()
...instead of DrawBox().

Also use ceilf when calculating tab height to prevent non-integral height.

Fixes #12683

More Todo:

You have to understand way too much about how this class draws if you
want to have any hope of overriding one of its Draw... methods and have
it do what you expect.

e.g. The BeBook implies that the tabs are drawn first, then the box, but, we
draw them in the opposite order. Probably better this way but not intuitive.

There are a number of remaining questions:
1. Why don't we need to draw the bottom of tabs if B_FANCY_BORDER?
2. Why do we need to expand tab border horizontally if B_PLAIN_BORDER?
3. Why is the bottom border color (152, 152, 152) instead of (151, 151, 151)?

Add a bunch of TODOs for these questions and more.

There can be some unitiutive gaps between the box border and view
depending on if you choose B_FANCY_BORDER or B_PLAIN_BORDER.
You don't notice the gaps unless the view draws right on it's edge. Some
views, including in Devices and Media Prefs do this though. Media Prefs
further complicates matters by overriding BTabView.
2016-04-29 14:31:32 -07:00
John Scipione
76b2ce77bf BTabView: Remove borderOffset, no longer useful 2016-04-29 14:31:32 -07:00
John Scipione
1eb0579044 BTabView: Don't use std, just call std::nothrow 2016-04-29 14:31:32 -07:00
John Scipione
24cb14bc3d BTabView: Style fixes
Fix misleading indentation

remove extra newline

just a newline

selTabRect => selectedTabRect
2016-04-29 14:31:31 -07:00
John Scipione
3490eda827 ControlLook: Rename border param to borderStyle
border vs. borders is confusing.

BTabView: Rename border param to borderStyle

BTabView docs: rename border param to borderStyle

enumerate border styles in docs
2016-04-29 14:31:05 -07:00
Ingo Weinhold
262ddba25c Work around gcc 2 member template issue
Fixes the gcc 2 build.
2016-04-29 23:02:39 +02:00
Ingo Weinhold
fc76f5a866 Debugger: Support for reading symbols from core file images
* New class ElfSymbolLookup. Given a data source, the address of a
  symbol table, symbol hash table, string table, and a few more details
  it provides access to the symbol information.
* CoreFile: Add CreateSymbolLookup(). Creates an ElfSymbolLookup for a
  specified image.
* CoreFileDebuggerInterface: Implement GetSymbolInfos() for regular
  images (no commpage yet) via the new functionality.
2016-04-29 22:32:15 +02:00
Ingo Weinhold
a0c364c70d Core file images note: Add text delta field 2016-04-29 22:32:15 +02:00
Ingo Weinhold
9266cd66c7 extended_image_info: Add text_delta field
Needed to offset a symbol address read from the symbol table to the
actual load address.
2016-04-29 22:32:14 +02:00
Jérôme Duval
571a4030ea net_socket: check underflow condition happening on x86_64.
* move the test for the availability of the add_anillary_data function in the
protocol out of the loop, as suggested by Axel.
* fix #12737.
2016-04-29 17:34:48 +02:00
Jérôme Duval
29fa68b21c unix: fix x86_64 build with trace. 2016-04-29 17:34:48 +02:00
Rene Gollent
c9dd7d0ddf libbnetapi: Extend socket classes.
B{Abstract,Datagram,Secure}Socket:
- Add functionality to listen for and accept new connections, thus allowing
  one to use the socket classes for server functionality as well.

BSecureSocket:
- Adjust to take into account differences between how SSL needs to be called
  when accepting an incoming connection vs initiating an outbound one.
  The handshake on the accepted connection stills fails for unknown reasons
  at the moment though.

Note that these changes break the ABI, and thus any packages making use of
them directly will need a rebuild.
2016-04-28 22:30:40 -04:00
Alexander von Gluck IV
9503c26b5d intel_gart: Add SkyLake bridge ID's to match accelerant 2016-04-28 21:10:20 -05:00
Alexander von Gluck IV
1b9ee9d382 intel_gart: Add Atom DMI bridge ID's to match accelerant 2016-04-28 20:49:37 -05:00
Alexander von Gluck IV
dee0f365e1 intel_extreme: Improve LVDS panel detection robustness
* If older generation, check for mobile. If mobile GPU
  is found, make an assumption that a LVDS panel exists
  and attempt to leverage the vbios or VESA EDID.
2016-04-28 10:45:31 -05:00
Alexander von Gluck IV
42b7678198 netresolv: Fix build issues under Ubuntu 16.04 and OS X
* Either gcc or bison version changes are throwing a
  sign-compare Werror in the generateda irs nslexer.c
* This simply targets that Werror and disabled it in irs
2016-04-28 00:16:32 -05:00