Commit Graph

58840 Commits

Author SHA1 Message Date
Janus f15270537a WebPositive: fixes the layout of fonts tab
* Fixes #13165

Change-Id: Id056495e09dea751b172391a5abfdd77857df9cb
Reviewed-on: https://review.haiku-os.org/619
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2018-10-17 19:27:40 +00:00
Kuroneko f0d35c6dbf add-ons/mail-daemon: IMAP: fix folder not selected bug on fetch req
As the IMAP connection handler disconnects when idle, it loses the
folder state at that time - however, it wasn't resetting it's internal
folder selected flag.  This is now fixed.

Change-Id: Ib56f55664ab5d7383a13705a8f4a8585b29f2c92
Reviewed-on: https://review.haiku-os.org/627
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
2018-10-17 19:25:00 +00:00
Leorize 3074920054 posix/pthread.h: mark pthread_exit as noreturn
This should prevents GCC from throwing -Werror=return-type when
pthread_exit is used in place of return

Change-Id: Ied7da58b671e77b53d859b67193259aa78ec27d6
Reviewed-on: https://review.haiku-os.org/632
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-10-17 19:23:17 +00:00
Murai Takashi 5723e0b250 RegionSupport: Fix memory leak
In XXorRegion(), memory allocated in if statement might be leaked.
Pointed by Clang Static Analyzer.

Change-Id: I6b8b68bc5fea7b7c1fd354f05f03d3ebb0b11b62
Reviewed-on: https://review.haiku-os.org/633
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
2018-10-17 11:42:58 +00:00
Augustin Cavalier 66c7a2ac9c KPath: Add to kernelland_emu.
This replaces the one in the "playground." It's identical to the current
kernel implementation, except with the few VFS functions replaced with
Storage Kit calls.

Userland packagefs will need this.
2018-10-16 18:50:00 -04:00
Augustin Cavalier 85cbf99307 kernelland_emu: Add some stub team functions.
KPath was going to need these before I tweaked the emu version to
not need them...
2018-10-16 18:32:02 -04:00
Augustin Cavalier 7f46de0a58 fs_shell: Integrate btrfs_shell's command_cat into fs_shell itself. 2018-10-16 16:13:55 -04:00
Murai Takashi f7989c0226 Correct comment
Change-Id: I529322e5862bc731ce1775a046ec21106e14c352
Reviewed-on: https://review.haiku-os.org/629
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-10-15 14:22:58 +00:00
Murai Takashi 5475c081e2 AddResource(): use index instead of count
In AddResource(), parameter 'index' is not used.
It seems AddItem() use index instead of count.

Change-Id: I997ac96b7d32c5705606cdbf23c7fd71550c9aa6
Reviewed-on: https://review.haiku-os.org/630
Reviewed-by: Rene Gollent <rene@gollent.com>
2018-10-15 12:33:24 +00:00
Murai Takashi af567e32be storage_support.cpp: add NULL check
check_path_name() had NULL check of path, but its result was not used.
So, add if statement to return B_BAD_VALUE when path is NULL.

Change-Id: I8ceec5d592267bf0f00f606eba44c0ecaef5a209
Reviewed-on: https://review.haiku-os.org/628
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-10-14 17:34:05 +00:00
Murai Takashi bd4813fcc3 Media server: Suppress -Werror=class-memaccess
Suppress -Werror=class-memaccess pointed out by gcc8.
* Remove unneed memset(), since media_format is cleared by constructor.
* Use media_format::Clear() instead of memset()

Change-Id: If905db6c0b7d759e72cfa649951be5109f952f54
Reviewed-on: https://review.haiku-os.org/485
Reviewed-by: Barrett17 <b.vitruvio@gmail.com>
2018-10-14 10:33:05 +00:00
Kuroneko 7f8a5c09b8 add-ons/mail_daemon: remove spurious/unused vector in imap worker
Change-Id: Id78ff3ab751fa535362833f30cf62a70f5177975
Reviewed-on: https://review.haiku-os.org/625
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-10-12 00:06:54 +00:00
Peter Kosyh 642ac9c9ea xhci: GetPortStatus, ClearPortFeature (PS_PLC, PS_WRC) fix
Fixes #13768.

Change-Id: Ia783e62a15917a2c8f7b3169ee5204a8d8d6f5ef
Reviewed-on: https://review.haiku-os.org/622
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com>
2018-10-10 14:14:24 +00:00
Alexander von Gluck IV 20e420cdbe kits/shared/JsonTextWriter: Correct misaligned while compare 2018-10-08 15:23:10 -05:00
François Revol 4a3dae2bac package kit: add a NULL check on requests
This avoid crashing on malformed repository URL (like missing http://).
2018-10-08 00:56:11 +02:00
Andrew Lindesay 15fed7905d Json : Fix String Writer
Tidy-up and correct logic around writing JSON
encoded strings.

related #13832

Change-Id: I1eca33e11dff4457f85a896c02331c1cd9ae1110
Reviewed-on: https://review.haiku-os.org/617
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-10-06 19:58:35 +00:00
Andrew Lindesay f1962303a3 HaikuDepot : Add Italian To Languages
Unfortunately reference data is not downloaded
from HDS to HD (it is being worked on) and in
the meantime somebody wants to work with Italian
translations so this will add Italian into the
list of hard-coded supported languages.

Change-Id: Ie0b923ce60acd473cbbea5bbac2254402d7a8fdd
Reviewed-on: https://review.haiku-os.org/618
Reviewed-by: Humdinger <humdingerb@gmail.com>
2018-10-06 19:58:11 +00:00
Augustin Cavalier 489f56e58b fat: If the filesystem extends past the end of the partition, mount read-only.
instead of failing to mount at all. This matches behavior of Linux and
the BSDs.

Fixes #14539.
2018-10-06 14:48:00 -04:00
Augustin Cavalier 906af5f58c storage: When fs_mount_volume returns < 0, it's a status_t.
The "mount" command which calls fs_mount_volume direclty handled this
properly, but this class did not; which meant that user-visible error
messages about partitions failing to mount just said "general system error"
instead of the real one.

Fixes #14540.
2018-10-06 14:23:16 -04:00
Autocomitter d6bc0fdbdb Update translations from Pootle 2018-10-06 06:29:05 +00:00
Augustin Cavalier ece593e6cd freebsd11_wlan: Remove the BOSII_* ioctls.
They are not used anywhere (the rest of the stack uses the FreeBSD
ioctls instead), and there has been a TODO to remove them for
quite some time.
2018-10-04 20:07:11 -04:00
Augustin Cavalier 8dea3e53a9 freebsd11_network: Fixup last commit for C++ compatibility. 2018-10-04 20:06:15 -04:00
Augustin Cavalier bb40dfec8f emulex_oce: Import from FreeBSD 11.2.
This is Haiku's first 10Gb ethernet driver, ported upon request
by kallisti5. It's completely untested (I don't have this hardware),
so for now it's not been added to the image.
2018-10-04 19:36:32 -04:00
Augustin Cavalier d20b9323d8 freebsd11_network: Additions and modifications for emulex_oce.
This change turned out to be bigger than expected...
2018-10-04 19:34:50 -04:00
Andrew Lindesay 6ab878c0e5 HaikuDepot : Fix Rating of Installed Pkg
This commit resolves a problem where a user would be
unable to rate an installed packge.

fixes #14554

Change-Id: I3141eaebbdf531f17eb05302a536c6e0d722a164
Reviewed-on: https://review.haiku-os.org/611
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-10-04 19:47:19 +00:00
Janus 49a3ee2a3b WebPositive: uses system colors for url text
* Fixes #14518

Change-Id: I76f33694d318e93c096ecab24a9b0316eacda68e
Reviewed-on: https://review.haiku-os.org/613
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Skipp_OSX <jscipione@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-10-04 19:46:50 +00:00
Andrew Lindesay 6d18e980e1 HaikuDepot : Performance for Package List Updates
Performance improvements for the application updating
lists of packages when the user is operating with the
locale set to Russian.

fixes #14513

Change-Id: I1e2514a2afbd43503ac0edfe280a856411738026
Reviewed-on: https://review.haiku-os.org/612
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-10-04 19:45:52 +00:00
Alexander von Gluck IV 3a44db1167 intel_extreme: Add missing IvyBridge chipset 2018-10-03 01:30:26 +00:00
Andrew Lindesay 018d5927d5 HaikuDepot : User-Rating / Star Selection Fix
This commit resolves a problem where the user-rating
is able to specify a rating (how many stars) or not.
The behaviour was not properly honouring the checkbox
to specify if the rating was to be used or not.

Change-Id: I01067bf899e1d5beab1474a197c5698166b9f582
Reviewed-on: https://review.haiku-os.org/600
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-10-02 19:24:40 +00:00
Kacper Kasper ebb4be2aef Make spinner buttons look consistent with other controls
Change-Id: Icb29772c91687f4c7e4795a726636cf588b83f16
Reviewed-on: https://review.haiku-os.org/610
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-10-02 19:24:23 +00:00
Kacper Kasper a8c0b1c873 FontDemo: fix font style submenu placement
Change-Id: I1182fb466e5007b728410872991eea7fd6018fdf
Reviewed-on: https://review.haiku-os.org/609
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-10-02 19:24:04 +00:00
Janus 1b437a3d76 BeDecorator: Avoid to draw an invalid zoom button
* Fixes #13119

Change-Id: Ia75f06c61476324951d44cfe2a1b281bf014b5f4
Reviewed-on: https://review.haiku-os.org/607
Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com>
2018-10-01 19:53:23 +00:00
Fredrik Holmqvist aacc409159 intel_extreme: use int cast to please the grumpy oldtimer gcc2 2018-09-30 21:38:06 +02:00
Fredrik Holmqvist 39a3fe56de intel_extreme: check that vbt_header is in area 2018-09-30 12:18:00 +02:00
Fredrik Holmqvist 597837c788 Remove unused variable in intel_extreme 2018-09-30 12:17:39 +02:00
waddlesplash 0dd0b40f89 BuildFeatures: Remove curl buildfeature.
No longer used.

Change-Id: I3a97e18e76da0995f9ab8599b796144c5bc0452c
Reviewed-on: https://review.haiku-os.org/606
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-30 04:33:42 +00:00
waddlesplash 1a7a96606c BuildSetup: Link against -ldl as well as -lm on non-Haiku.
Fixes the build of libpackage_build following Curl dependency removal.

Change-Id: Idd08fc1c099ba19c6b46c447686f36ce0b35652a
Reviewed-on: https://review.haiku-os.org/605
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-30 03:28:44 +00:00
Jérôme Duval e4ae6cb42f Media: add offset to inactive sound card.
fixes #14522.

Change-Id: Ib1c43b63cc43d0b66e5415fbbc42cbc821a25087
Reviewed-on: https://review.haiku-os.org/593
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-29 17:25:34 +00:00
Kacper Kasper 42b6e5279f Revert "HaikuDepot: don't scale bitmaps"
This reverts commit 2ba2d60351.

...and properly fix the scaling issue.

Change-Id: I2c7ef833c1ff592dd95ea7d83d3f7beced42f209
Reviewed-on: https://review.haiku-os.org/589
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-29 17:24:49 +00:00
CodeforEvolution 106ae4ec35 Remove Curl, Switch to NetApi in Package Kit
Change-Id: I92213ab60dc987175c323d1d9ed11ac8b3517f2f
Reviewed-on: https://review.haiku-os.org/475
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-29 17:23:52 +00:00
Andrew Lindesay 66f8dcb1f1 HaikuDepot : Improvement for Buffer Management
Changes the logic flow around reverting the position of
the request / response buffers when the buffer is logged
during trace logging.

Change-Id: I025ca9988b32447e225e3ad1b1d4da1174d2d122
Reviewed-on: https://review.haiku-os.org/599
Reviewed-by: Rene Gollent <rene@gollent.com>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2018-09-28 19:18:40 +00:00
Andrew Lindesay 88575af1d2 HaikuDepot : Fixes for User-Ratings Related API Calls
Corrections to some areas where the 'position' of a
data stream was not being set correctly before reading.

Change-Id: I0030a113008028d5480dc36d034cf06915d928de
Reviewed-on: https://review.haiku-os.org/588
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
2018-09-27 18:08:21 +00:00
Augustin Cavalier 2627aa0698 HaikuPorts: Update build-packages again to pull in new Mesa. 2018-09-27 00:37:43 -04:00
Augustin Cavalier b16a18cba6 build: Include extra information in the package version.
Previously only the "effective revision", i.e. the hrev by itself,
was used. Now we include the "commits ahead" count and the "dirty" flag,
if they're there, using _ instead of - of course.

Change-Id: I5238d01926c2cca242bffbdef30bff606a173a06
Reviewed-on: https://review.haiku-os.org/596
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit e7c5d994267fb7d49e3dd50c2854e9b37c9ffca1)
Reviewed-on: https://review.haiku-os.org/597
2018-09-27 03:38:07 +00:00
Leorize c29a7780db net_socket: getsockname() now works with unnamed sockets
getsockname() now set the socket family and zero all other fields
of sockaddr if an unnamed socket is passed as an argument. This allows
retrieving the socket family from an unnamed socket.

This change is compatible with POSIX and appears to aligns with
Linux, FreeBSD, DragonflyBSD and OpenBSD behaviors.

Fixes #14312

Change-Id: I55dbf4d6738399941bef71e6b3d7201cf78876df
Reviewed-on: https://review.haiku-os.org/594
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2018-09-26 19:05:56 +00:00
Alexander von Gluck IV f6381ea210 installer: Bump installer logo
* Version font is https://fonts.google.com/specimen/Oswald
* We're no longer alpha, lets refine our logo a bit :-)

Change-Id: Ic7297944252e28281a928112ddf718b8ad5dbd62
2018-09-26 09:17:55 -05:00
Augustin Cavalier 36378fb355 DefaultBuildProfiles: Make sure the final CD image is <= 694MB. 2018-09-26 02:45:05 -04:00
Augustin Cavalier 7a382debc3 HaikuPorts: Update the build-packages set. 2018-09-26 02:43:36 -04:00
waddlesplash 6f415a4a02 Update userguide and welcome pages.
This is the first userguide export on the Postgres-based translation tool
(previously it used MySQL), so please double-check it extra carefully.
(I spotted a few minor problems in the export and fixed the relevant
bugs already.)
2018-09-26 01:46:30 -04:00
Augustin Cavalier fdb2588484 userlandfs: Make the "request data" area user-cloneable.
Fixes #14497. Thanks to leorize for helping debug!
2018-09-26 00:03:48 -04:00