Commit Graph

51599 Commits

Author SHA1 Message Date
Adrien Destugues
74635841cb rocksndiamonds: fix broken provides
Make the package installable.
2014-09-22 08:44:19 +02:00
Stefano Ceccherini
1d5966ca12 BSoftSynth: Revert to Pete's original code
When you change code that you don't understand correctly... just DON'T.
Fixes a crash.
2014-09-22 07:24:16 +02:00
Adrien Destugues
e4c33a936d Fix Python to include the ctypes package.
Fixes #11264.
2014-09-21 22:20:24 +02:00
Stefano Ceccherini
d553b90c86 BSynth/BSoftSynth: implemented GetAudio().
Patch by Pete Goodeve (modified by me, hopefully for the better and
without introducing bugs) which implements BSynth::GetAudio().
2014-09-21 19:46:04 +02:00
Stefano Ceccherini
b2e8d9627a Style fixes 2014-09-21 19:21:34 +02:00
Stefano Ceccherini
94bfc1f561 BSoftSynth: pointer style, 80 column limit 2014-09-21 17:40:10 +02:00
Stephan Aßmus
36171a48e7 HaikuDepot: Only authorize requests where needed.
No requests are implemented yet which need to identify a user (such as rating
a package).
2014-09-21 00:17:25 +02:00
Stephan Aßmus
28075ee427 HaikuDepot: Implemented logging into haiku-depot-server
UserLoginWindow:
 * Focus nickname text field on tab switches
 * Implement testing the login info, the web-app replies with a token, if
   valid. It could be used for Token Bearer authorization of requests, but
   this is not used yet. Instead the username and password are set on the
   Model. Also after creating a new account successfully.
Model:
 * Use a member instance of WebAppInterface. Set the preferred language
   and the login-info only once.
2014-09-21 00:09:17 +02:00
Stefano Ceccherini
f511367b33 BSoftSynth::SetInstrumentsFile(): Check if file exists. 2014-09-20 19:57:03 +02:00
Stefano Ceccherini
c0622eb3d3 Fix spacing 2014-09-20 19:21:23 +02:00
Stefano Ceccherini
bd68cd0517 Midi Kit: SoftSynth: Implement reverb (patch by Pete Goodeve)
Applied patch by Pete Goodeve which implements reverb in the soft synthesizer.
2014-09-20 19:19:12 +02:00
Stefano Ceccherini
6cd948da2a Midi Kit: Actually look in /home/config/settings/synth/synth.sf2 2014-09-20 19:08:34 +02:00
Stefano Ceccherini
bee3de4dbb Midi Kit: Made it possible for the user to use a soundfont different
from the one supplied by default.
Since the PM move, it was not possible anymore to use a different soundfont,
since the /boot/system/data folder became read only.
Now the user has to put the soundfont (or, better,  a symbolic link to it)
into /home/config/settings/synth.sf2
In the future we'll supply a preflet to select the soundfont.
2014-09-20 19:01:41 +02:00
autonielx
937e70aa28 Update translations from Pootle 2014-09-20 06:22:44 +02:00
Stephan Aßmus
9be707603f HaikuDepot: Implemented creating web-app user accounts
The accounts are created for real, but the information is not yet stored.
Nothing which would need it is currently implemented, like rating packages.
It is recommended to create accounts with a valid email address. Otherwise
the password cannot be reset, and it will need to be soon, since there
is a small change to the password storage in the pipe.

The error response from the service is parsed and presented
to the user, when the account could not be created. However, other checks
before contacting the server are not performed, like if the two passphrases
actually match.

The UserLoginWindow now has the concept of a running worker thread, and
while it runs, the UI controls (except Cancel) are disabled.
2014-09-20 01:35:45 +02:00
Stephan Aßmus
dfee849828 HaikuDepot: Added WebAppInterface::CreateUser() 2014-09-20 01:35:42 +02:00
Stephan Aßmus
a067756a29 HaikuDepot: Get captcha image in UserLoginWindow 2014-09-20 01:35:40 +02:00
Stephan Aßmus
d07ca0696d HaikuDepot::Model: Set preferred language earlier
Added accessor for preferred language.
2014-09-20 01:35:38 +02:00
Stephan Aßmus
fe6f67b410 HaikuDepot: Added captcha request to WebAppInterface
Also removed some disabled debug output.
2014-09-20 01:35:35 +02:00
Adrien Destugues
ee2985c144 NetworkSetup: list and join wireless networks
* Reuse the logic from the old network preflet for now. Something better
can be done later.
2014-09-19 17:52:11 +02:00
Adrien Destugues
763cd902f6 NetworkSetup: simplify UI layout
* Temporarily disable the non-working Profiles popup
* Remove the currently single-tabbed TabView
* Remove duplicate apply and revert buttons in the interfaces add-on.

The goal here is to remove functionalities not available in the current
network preferences, and finish the other parts, so we can put this new
preferences panel in service now. We can re-add the extra functionality
later.
2014-09-19 17:52:10 +02:00
Humdinger
76a607d2fe BAboutWindow: use the standard "OK" instead of "Ok" 2014-09-19 17:26:30 +02:00
Adrien Destugues
126a04e6d6 NetworkSetup: put interface settings in main window
* The initial design was probably inspired by Windows network settings,
which are a mess of nested windows and hyperlinks.
* Instead, the settings can be put directly inside the main window, like
it is done inthe media preflet. This makes the information available at
a glance and makes the UI easier to navigate.
* Remove the "configure" button and popup menu item. A single click is
now enough to show the settings for an interface

For this to work properly, complete the move to layout kit (there were a
few BRect-based constructorls left which would mess the layout) and
remove unneeded rectangle computations (layout kit does the job
already).

Further cleanup pending:
* Removal of the duplicate "revert" button
* Removal of the "save" button and switch to applying settings realtime
* Move the disable/enable and renegociate buttons inside the interface
settings
* Remove the top-level tab view (nested tab views are not nice) and
use a hierarchized list with both interfaces and services on the side
(like the Media preflet has audio and video).
2014-09-19 14:13:01 +02:00
Adrien Destugues
941986f7f4 Add the ALM headers to the haiku_devel package.
We provide the library, so why not also provide the development headers
for it?
2014-09-19 10:26:51 +02:00
Adrien Destugues
5fae0bc1a2 Add some cppunit-based tests for BTextView.
Note that this does not reproduce #8447. I could not get more precise
details from involved people about how to reproduce this, and the patch
was already applied anyway, so I'm stopping my investigation for now.
Feel free to complete this with more test cases.
2014-09-19 09:59:38 +02:00
Stefano Ceccherini
0bbed9620a TextGapBuffer: Style changes
Change long to int32
Removed useless parenthesis
2014-09-19 09:28:14 +02:00
Stefano Ceccherini
0eb9b74e00 BTextView: Fixed GetText().
Patch by Pete Goodeve which fixes a problem in TextGapBuffer::GetString()
used by BTextView::GetText(). Thanks! Fixes #8447.
2014-09-19 09:17:17 +02:00
Stephan Aßmus
d6bd3409e5 HaikuDepot: Don't right-align publisher/copyright...
... in the available space in the package title area. Just looks too random.
2014-09-18 22:39:45 +02:00
Stephan Aßmus
81c000dd0d HaikuDepot: Add "Log in" menu item which shows new window 2014-09-18 22:39:43 +02:00
Stephan Aßmus
700a71bdb8 HaikuDepot: WIP interface for logging in...
... or creating a new account in the web application. Just the interface,
nothing is functional, yet.
2014-09-18 22:39:41 +02:00
Stephan Aßmus
4f4f859c1a HaikuDepot: Small code cleanups in PackageInfo. 2014-09-18 22:39:38 +02:00
Stefano Ceccherini
ef860b2e96 NetStack: Fix locking
Change the monitor_lock to be a recursive_lock, fixing #7039.
Notify_device_monitor acquires the monitor lock, then the
monitor unregisters itself, calling unregister_device_monitor, which
acquires the monitor lock again.
2014-09-18 21:45:44 +02:00
Adrien Destugues
3ae6595c39 Build fix. 2014-09-18 17:41:21 +02:00
Janus
a74b2df992 Fix #9448. [notification_server] monitors screen resolution 2014-09-18 17:06:15 +02:00
Augustin Cavalier
016ef2de8b makefile_engine: fix wording, rewrap, bump version, capitalize name.
* Improve wording, fix spelling errors, rewrap
* Capitalize name
* Adjust templates to match.

Fixes #11158.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2014-09-18 16:29:44 +02:00
Alex Smith
8c7c8ec49f Update x86_64 bison package to 2.6.5
The previous package was broken (would often segfault, prevented
building Haiku cross-tools under x86_64), so update to the latest
version in HaikuPorts.

Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
2014-09-18 15:14:16 +01:00
Adrien Destugues
77e139232c Syntax fix.
Sorry!
2014-09-18 15:01:57 +02:00
Adrien Destugues
1c3d2f2da4 Remove git_cvs from the non-hybrid gcc2 image.
It depends on gcc4-only package cvsps. Thanks to Ingo for suggestion on
how to do this.
2014-09-18 14:57:50 +02:00
Adrien Destugues
fda3962062 Migrate to Python 2.7.
* I rebuilt all packages that depend directly on python: I hope I
didn't miss anything.
* SVN upgraded to 1.8.10 because I couldn't get 1.6.18 to build. This
required uodating expat, apr and apr_util, and adding serf which
replaces neon for SVN http support.
* Everything seems to be running fine so far.
2014-09-18 10:06:33 +02:00
Julien Lepiller
73309d564f bootman: add the drive's icon in the drive list
* Also check status of GetIcon()
* Delete fDrive, fIcon in destructor

Fixes #7088

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-09-18 15:50:18 +12:00
Jérôme Duval
c8990b0907 _user_wait_for_objects: remove redundant check. 2014-09-17 21:04:14 +02:00
Adrien Destugues
7603710e9a Style fixes. 2014-09-16 21:39:53 +02:00
Adrien Destugues
804876f698 Style fixes. 2014-09-16 21:38:24 +02:00
Adrien Destugues
ce1f0d0a96 Remove the "old" network preflet.
This code is unused since 2007 and it's in the git history if you ever
need it again.
2014-09-16 21:33:12 +02:00
Adrien Destugues
2c8da96546 WebPositive: improve "show bookmark bar" menu item
* Disable the menu item when the folder doesn't exist, as the bar won't
show in that case.
* Use a mark on the item to tell wether the bar is visible, rather than
changing its label
* Simplify the logic for hiding and showing the bar. It is safe to call
_ShowBookmarkBar even if the bar doesn't exist, so no need to check for
it everywhere.

Fixes #11199.
2014-09-16 17:40:34 +02:00
Adrien Destugues
21f8e588da Optimize BUrl copy.
BUrl is passed by value in many places, and we should make sure this is
as efficient as possible. There is little point in initializing all the
strings then overwriting them by using the copy constructor, when we can
set them directly.
2014-09-16 15:30:01 +02:00
Adrien Destugues
c98378e51a Add HTTP proxy support.
* Move default context management to BUrlRequest since some code
(including the testsuite) bypass the BUrlProtocolRoster.
* Introduce proxy host and port in BUrlContext
* Have BHttpRequest use the proxy when making requests
2014-09-15 14:24:37 +02:00
Jessica Hamilton
cee64ce507 intel_extreme: probe all GPIO pins 2014-09-15 09:21:00 +02:00
Jessica Hamilton
9965ac0677 Partition.cpp: fix function prototype. 2014-09-15 16:40:25 +12:00
Jessica Hamilton
f0b0d6578b Undo accidental file mode changes. 2014-09-15 16:38:30 +12:00