Commit Graph

55703 Commits

Author SHA1 Message Date
Murai Takashi
ab9903c56a ringqueue.cpp: fix gcc6 build 2016-05-09 10:39:59 -05:00
Murai Takashi
5265115b17 Ports.cpp: fix gcc6 build
* Reindent source code, to fix gcc6
  '-Werror=misleading-indentation' warnings.
2016-05-09 10:36:34 -05:00
Murai Takashi
50b0cba0c4 debugger: fix gcc6 build
* Reindent source code, to fix gcc6
  '-Werror=misleading-indentation' warnings.

Signed-off-by: Rene Gollent <rene@gollent.com>
2016-05-08 17:21:39 -04:00
Alexander von Gluck IV
8fe5054828 intel_extreme: Extend DDI port probing to A-E
* The Linux code made this a bit hard to figure out via
  complex define functions, however there can be up to
  5 DDI ports (A-E)
2016-05-08 15:40:57 -05:00
Augustin Cavalier
88445a43e8 bluetooth_server: Attempt to fix the x86_64 build. 2016-05-07 22:00:46 -04:00
Augustin Cavalier
5559d51db7 bluetooth_server: Nuke the weird logging system, just use macros...
... just like everything else on Haiku does. Permanently enabled for the
time being. At least I can tell what's going on now.
2016-05-07 21:10:34 -04:00
Augustin Cavalier
b83e81795a bluetooth: Rename rdefs to be the same as binary names as is convention. 2016-05-07 20:22:21 -04:00
Augustin Cavalier
a563f9b38b preferences/bluetooth: More UI creation fixes.
Hopefully fixes a "pure virtual call" crash I was getting in UI kit
layout code in the InquiryPanel.
2016-05-07 20:18:19 -04:00
Augustin Cavalier
a9cf7e56e0 Nuke the "DUN" (Dial-Up Networking) preflet.
It literally did nothing except look nice^W^W^W^Wterrible, as it didn't
use the Layout Kit and it pre-dates the Haiku coding style (last "real"
modification was sometime before 2005). Supposedly it saved its settings
to disk but I can't find that.

See the "pppconfig" and "ppp_up" applications in src/bin/network for
something that actually works (though the modem stuff in the kernel PPP
stack hasn't been rewritten, so those are PPPoE only at the moment.)
2016-05-07 18:21:02 -04:00
Augustin Cavalier
685e5cbd2e virtualkeyboard: Delete some of the copied classes and use the originals.
The keyboard view class has too many modifications to be trivially merged.
2016-05-07 18:21:02 -04:00
Murai Takashi
70906e8f57 MediaJack.cpp: fix gcc6 build
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-05-07 22:47:08 +02:00
Dario Casalinuovo
b18c444994 BMediaEventLooper::SetBufferDuration: Clamp if negative
* For the sake of making the code more backward compatible,
and safer eventually.
2016-05-07 22:23:28 +02:00
Dario Casalinuovo
6d63bc5e60 launch_media_server: Use BLaunchRoster::Start
* Remove SyncToServices and the related code from BMediaRoster.
2016-05-07 22:22:55 +02:00
Dario Casalinuovo
f2bb946bd8 BMediaEventLooper: Handle events in past differently
* When the loop didn't handle an event in performance time, we will
attempt at reading the port only if there are messages using a null
timeout.
2016-05-07 22:22:55 +02:00
Dario Casalinuovo
e042d9ebff MediaEventLooper: Calculate lateness from the nearest value
* When the event is late there are two major situations, the first
is when the enqueue time is in past compared to the performance time.
The second happen when the performance time is in past compared to the
enqueue time. The purpose of this change is to calculate the lateness
considering always the nearest of the two values. This way the exceding
latency is trimmed out from the calculus depending on what the actual
source of delay is.
* There is a lot more that could be done by looking at the previous
lateness value.
2016-05-07 22:22:55 +02:00
Dario Casalinuovo
17078f9997 MixerCore: Use a normal acquire_sem call
* Make the thread really wake up only when requested.
2016-05-07 22:22:55 +02:00
Dario Casalinuovo
30456a328a media_reader/media_writer: Fix build issue and cleanup
* Remove references to the old project name.
2016-05-07 22:22:55 +02:00
Dario Casalinuovo
663ed1f6a0 MediaPlayer: Select previous item after item deletion
* Little usability improvement, avoid to select the item each time
in case the user want to delete more than one element.
* Minor cleanup included.
2016-05-07 22:22:55 +02:00
Jérôme Duval
f022c304b0 readdir_r(): uses the logic of readdir()...
to retrieve more than one entry.
* readdir_r() is now affected by rewinddir(), thus fixing #12755.
* extends dirent_test with readdir_r().
2016-05-07 16:40:53 +02:00
autonielx
60f1f7efe4 Update translations from Pootle 2016-05-07 06:50:22 +02:00
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