Commit Graph

56615 Commits

Author SHA1 Message Date
Dario Casalinuovo
2c9fa0f278 MediaClientNode: Schedule outgoing connections on start
* Add preliminary binding support.
2017-01-15 14:45:24 +01:00
Adrien Destugues
86e8c37605 usb_modeswitch: apply changes suggested by korli
Didn't notice them in the ticket comments.
2017-01-15 12:53:48 +01:00
Adrien Destugues
7118f1582e ScreenSaver: redraw background of "active corner" screen in more cases.
Fixes 
2017-01-15 12:48:09 +01:00
Murai Takashi
a1fdbe5bb2 usb_modeswitch.cpp: fix use after free.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes 
2017-01-15 12:33:10 +01:00
Sean Healy
baf9ae1d47 Input_server: fix archiving of input method replicants
- Make sure the archive contains the replicant pop-up menu
- Make sure said menu is properly re-targetted when instanciating

Fixes 

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-01-15 12:31:13 +01:00
Brian Hill
856ecc7b19 Repository preferences: style fixes and use BUrl
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes 
2017-01-15 12:11:05 +01:00
Adrien Destugues
fd7a786b06 qt5: update to 5.6, a package which can be installed. 2017-01-14 17:10:19 +01:00
John Scipione
26d4164481 AbstractSpinner: Make TextView resizable
Fixes 
2017-01-12 14:16:43 -08:00
John Scipione
5973288e11 BSpinner: Fix copy-pasta bug, min=>min, max=>max
fMinValue was getting set to INT32_MAX then set to INT32_MIN
fMaxValue was not getting set

now set fMinValue to INT32_MIN, fMaxValue to INT32_MAX

also in _InitObject()
2017-01-12 14:16:42 -08:00
John Scipione
3705d40cd9 BSpinner: Set min value then max value
... reverse this to avoid confusion, you'll see why in next commit.

No functional change intended in this commit, functional change is in the
next commit.
2017-01-12 14:15:44 -08:00
Adrien Destugues
bdd02e0d9d BString: rename SetCharAt to SetByteAt
Makes it clear that it operates on bytes, not unicode codepoints.
Thanks to mmlr for remembering me of this subtlety.
2017-01-12 22:03:51 +01:00
Jérôme Duval
0c5219a1d6 Restore missing symbol _ZN7BStringixEi on x86 and x86_64.
* Vision and others were broken after 3eac8208df.
* this adds BStringRef in the backward compatibility section.
* fixes .
2017-01-12 21:23:50 +01:00
Jessica Hamilton
e3c6ca6589 gpt: add pointer to the GPT header for child partitions.
* This fixes odd behaviour in devices.cpp for the UEFI loader,
  which I had forgotten to commit at that time.
2017-01-13 00:53:12 +00:00
Automatic Committer
bcf11b8a24 Update pci.ids from pciids.sourceforge.net 2017-01-12 05:20:15 +01:00
Adrien Destugues
7556ae845b Fix unit tests for BString API change. 2017-01-11 21:54:31 +01:00
Adrien Destugues
3eac8208df Remove BStringRef and users.
As discussed in 2008
(http://www.freelists.org/post/haiku-development/BString-on-GCC4,1),
this class was not efficient because of lack of inlining. Implement the
suggested solution of a SetCharAt method instead. Also add a CompareAt
which covers a specific use case in KeyboardLayout.cpp.

Adjust all places which were using this feature to safer APIs.

Also fixes a copypaste error in FormattingConventions.cpp.
2017-01-11 20:50:41 +01:00
Jessica Hamilton
92b9c8649b MultibyteToWchar: correctly handle UTF-16 surrogate pairs.
* Whilst in WcharToMultibyte, we correctly convert our UTF-32
  wchar characters to multibyte, the same wasn't done in
  MultibyteToWchar. Now, if we detect a leading surrogate,
  we'll re-read the multibyte sequence with space for a UTF-16
  pair, which allows U16_GET to correctly convert the UTF-16
  byte sequence into the needed UTF-32 codepoint.

Fixes .
2017-01-12 06:39:55 +13:00
Jessica Hamilton
d2423e4b3c ICUCtypeData.cpp: format string fixes for tracing. 2017-01-12 03:33:11 +13:00
Jessica Hamilton
079ab7f0b1 ICU add-on: validate mbState->converter before attempting to close.
This resolves crashes in gawk with multibyte support.

Fixes , .
2017-01-12 03:33:04 +13:00
Kacper Kasper
4d83a710f5 makefile-engine: Fix catkey generation.
Fixes .

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-01-10 17:21:39 -05:00
Murai Takashi
7cfdd9242c h2generic.cpp: fix use after free.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-01-10 17:17:41 -05:00
Dario Casalinuovo
e6004b7729 MediaClient: Move WIP min/max functions into BMediaConnection 2017-01-10 22:54:53 +01:00
Dario Casalinuovo
e7aa210bca MediaClient: IsRunning() status is set at handle time 2017-01-10 22:44:16 +01:00
Dario Casalinuovo
3dbb4ff62d Fix SoundRecorder build 2017-01-10 22:36:20 +01:00
Dario Casalinuovo
3ef4b20086 Make BMediaRecorder public
* Fills a functionality lack of the classic media_kit.
2017-01-10 21:34:20 +01:00
Humdinger
a325242d7f Fix CodyCam layout
Fixes .

* Add the layout to a BView and add that to the BBox.
* Make the window correctly resize (horizontally only).
2017-01-10 16:22:13 +01:00
Humdinger
5e1e245be8 Updated NetPulse package 2017-01-10 10:52:00 +01:00
Axel Dörfler
44c76b26e8 bfs: Made updating the boot block more secure.
* It now also checks the length/offset indepdently from each other,
  so that they cannot benefit from integer overflow.
* This fixes bug .
2017-01-10 09:07:21 +01:00
John Scipione
d5b6133b93 App Server: style fixes
80 char limit
spaces => tabs
fix spelling/grammar problems in comment
2017-01-09 23:11:34 -08:00
John Scipione
b1967b1012 Revert "Deskbar: Scale cut-off leaf icon in horizontal mode"
This reverts commit 066137eb05.

Reverting while I figure out what is causing Deskbar to crash.
2017-01-09 02:32:56 -08:00
John Scipione
2154128845 Revert "Deskbar: Avoid leaking leaf bitmap's memory"
This reverts commit 223ea4329f.
2017-01-09 02:31:38 -08:00
John Scipione
da6286856f Revert "Deskbar: Inital FetchIcon() in AttachedToWindow()"
This reverts commit 52e243a7d1.
2017-01-09 02:31:32 -08:00
John Scipione
cce67d76ad Revert "Deskbar: Call parent AttachedToWindow() first"
This reverts commit bea76b8aa1.
2017-01-09 02:31:23 -08:00
Adrien Destugues
f36df2f6fc Update sdl_image and dfu_util to fix dependencies. 2017-01-08 23:25:38 +01:00
Tsimblist
5f8edc9c51 Fix for ticket - Tracker GetInfo window layout problem
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2017-01-08 23:20:57 +01:00
John Scipione
bea76b8aa1 Deskbar: Call parent AttachedToWindow() first
must have connection to App Server before FetchIcon()

Hopefully fixes 
2017-01-08 13:08:25 -08:00
Humdinger
ee7da1af0a Mail and Notification prefs: use B_WIDTH_FROM_WIDEST
Spotted by Diver: missing B_WIDTH_FROM_WIDEST for the BTabViews
resulted in labels being vut off with bigger font settings.
2017-01-08 20:47:19 +01:00
John Scipione
52e243a7d1 Deskbar: Inital FetchIcon() in AttachedToWindow()
This ensures that we have a connection to App Server at the
time we are fetching the icon.

Hopefully fixes 
2017-01-08 11:02:59 -08:00
John Scipione
223ea4329f Deskbar: Avoid leaking leaf bitmap's memory
In the vector case we are creating a bitmap, in the non-vector
case we are grabbing the bitmap from a resource.

The vector case we have to create a bitmap to rasterize.
The non-vector case we just grab the bitmap pointer.

We have to create new bitmaps from the vector icon at
different sizes, when we do that we were leaking the memory
occupied by the previous icon.

So make and use SetIcon() setter method which deletes the old
bitmap before setting the new one. In the non-vector case this
means we need to make a copy of the bitmap we grab from the
resources that we can safely delete.

Also delete bitmap on destructor.

For all other TBarMenuTitle's (meaning the team menu item),
we are grabbing a bitmap from resource, so don't delete the
bitmap as it is owned by resource set, we just use the pointer.
2017-01-08 11:00:53 -08:00
PulkoMandy
ba7f14caec Add and update some more packages from the buildbots. 2017-01-08 15:34:59 +01:00
Humdinger
4e2842425b Updated Web+ bookmarks
Removed the links to other software sites. They're much easier to
manage on a website. Linked to the new site instead:

https://www.haiku-os.org/community/software
2017-01-08 14:18:11 +01:00
John Scipione
066137eb05 Deskbar: Scale cut-off leaf icon in horizontal mode
Fixes  restoring the aesthetic integrity of the cut-off leaf.

Add vertically & horizontally centered, whole vector icon to rdef.

Reformat BarMenuTitle.h rename header guard from BARMENUTITLEH to
BAR_MENU_TITLE_H.

Created TDeskbarMenuTitle subclass which deals with Deskbar menu
item stuff like getting the icon from vector data and pushing the
leaf down a few pixels to cut off the leaf (maintaining its aesthetic
integrity).

Made TBarMenuTitle methods virtual. Remove unused expando constructor
parameter and private variable.

Add a TODO to scale the bitmap if we can't find any vector icon data.
With non-vector bitmap it behaves same as before this commit in
horizontal mode.

Adjust kMinimumTrayWidth to restore Deskbar's minimum width to its
classic value since days of yore, 143px. This, perhaps not coincidently,
is exactly the amount fit 7 replicant icons. Update constants in the
code to reflect this reality. Adjustable width coming soon.

replace dynamic_cast<TBarApp*>(be_app) with a static_cast in 1 place.
2017-01-08 02:39:39 -08:00
Jessica Hamilton
3d870da3cb UEFI: leave runtime memory identity mapped.
* We don't have kernel/userspace access to UEFI at this point
  either, and with some firmware, if we don't keep the
  runtime memory identity mapped, then the loader dies. This
  will fix booting on such machines, and shouldn't have any
  impact on already working machines.
2017-01-08 21:43:53 +13:00
Humdinger
d7f781302d Fixed build... 2017-01-08 08:53:24 +01:00
Humdinger
d193fb9437 HaikuDepot prefs: Add ellipsis to menu item
As Diver pointed out, the "Manage repositories" opens a window and
should therefore be suffixed with an ellipsis.
2017-01-08 08:48:18 +01:00
Augustin Cavalier
1aacfd6940 Repositories: Use std::min and std::max to fix the x86_64 build. 2017-01-07 14:33:50 -05:00
Augustin Cavalier
07558eb152 build: Add the Repositories preflet to the regular image. 2017-01-07 13:59:20 -05:00
Brian Hill
5bf2b6eb74 Add the new Repositories preflet.
Also includes changes to HaikuDepot to change wording and add the menu item
to open the Repositories preflet.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Closes .
2017-01-07 13:50:45 -05:00
Adrien Destugues
564aac4209 Add a 1360x768 mode to the "well known modelines"
- This is the native resolution of two of my displays here
- I am bored of manually setting it with screenmode -m
- Also fix the 1366x768 modeline which was 100Hz instead of the
  advertised 60Hz.
2017-01-07 17:38:21 +01:00
Humdinger
5ddc54f27e Updated gcc2 packages for links and lynx.
As reported by drjohnnyfever on the forums:
"Lynx needs an older version of OpenSSL and Links is looking for the old
libpng."
2017-01-07 17:18:54 +01:00