58715 Commits

Author SHA1 Message Date
Autocommitter
374241d0e7 Translations: remove Croatian and Slovenian
Change-Id: Ic37bc951be461eb7cbf1f61d9fbbc2d91009e365
Reviewed-on: https://review.haiku-os.org/527
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-11 06:24:29 +00:00
Autocomitter
58a509d69b Update translations from Pootle
Change-Id: I59c14d092dc6987d4bc3e12219a4d9ae227b6046
Reviewed-on: https://review.haiku-os.org/526
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-11 06:24:29 +00:00
Autocomitter
18a62b7a42 Update translations from Pootle
Change-Id: Id2a0302da49bef25592721211b723d7c03456c6e
Reviewed-on: https://review.haiku-os.org/525
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-11 06:24:29 +00:00
Alexander von Gluck IV
cb97f36fe0 xhci: gcc2 buildfix from hrev52319
Change-Id: I5d82059bd002c26ba372d55f5a5538ce7d19ffb2
Reviewed-on: https://review.haiku-os.org/523
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-09 19:06:09 +00:00
Alexander von Gluck IV
bc3a6aa245 xhci: Turn OpsReg waits into common function
Change-Id: I52ada3447b638db07622fa51746e75ce6cce7a46
Reviewed-on: https://review.haiku-os.org/518
Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com>
Reviewed-on: https://review.haiku-os.org/522
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-09 19:06:09 +00:00
Alexander von Gluck IV
039fdd9ffe repo: Update repositories to match master
This change matches hrev52316 in master. These URL's will be around
for a long time since haikudepot references them for repository
matching.

Change-Id: Ifbfbc8a69ab45f76ee0a10e05903b0b05c161d9b
Reviewed-on: https://review.haiku-os.org/519
Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com>
2018-09-08 03:19:00 +00:00
Jérôme Duval
1cb2399f27 s3: fixes for SMAP.
Change-Id: Icbb3ddf8c0f840fae0e2107ca211728036ba8aa7
Reviewed-on: https://review.haiku-os.org/510
Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com>
(cherry picked from commit 0ff73852d13d60324e101e889cec8c368cab8a93)
Reviewed-on: https://review.haiku-os.org/511
Reviewed-by: Kacper Kasper <kacperkasper@gmail.com>
2018-09-04 17:27:10 +00:00
Humdinger
6bd83a4a87 Installer: update 'EULA' window
* De-escalate the severety of data loss from "high risk" to "risk".

* Remove the advice to not create partitions with DriveSetup. It's been tested
  and been working well since the last alpha. Do recommend making backups of
  all partitions.

* Remove description how to add Haiku to Grub. It's too much detail and the
  user would have to memorize the info. Add a link to our Booting guide
  instead.

* Mention BootManager as an alternative to boot Haiku, refering to the
  Userguide for more info.

* Alpha -> Beta

* Only give normal thanks instead of "a lot" and don't beg to like us.
  Sounded a bit desperate...

Change-Id: I212513fde01287f5d1c9c5c9891827aaf0b7e1ea
Reviewed-on: https://review.haiku-os.org/502
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-03 01:39:26 +00:00
Alexander von Gluck IV
ebd3fb55d9 repository: Adjust haiku repository to r1beta1 'release' branch
Change-Id: Ie6556e04c2cf3ce06aa3ba1b4fe05c58f9ad6a07
Reviewed-on: https://review.haiku-os.org/505
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-08-31 23:21:40 +00:00
Alexander von Gluck IV
476cca2a2b intel_extreme: Disable ValleyView per #13751
Change-Id: Iceb16890c358f95089170e9c506ce1650c863a55
Reviewed-on: https://review.haiku-os.org/506
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-08-31 23:21:22 +00:00
Adrien Destugues
f17c7cddb7 BView: Hack a pen location update to fix printing.
When recording a BPicture, the app_server just record events and does
not draw anything. As a result, drawing code that relies on the view
state can get out of sync.

Specifically, our text drawing code relies on getting the pen position
from app_server when asked to draw at "current pen position". As a
result, the pen is never moved and when drawing multiple chunks of text,
they end up overlapping, all drawn at the same cursor position.

To avoid the problem and show that this is indeed what is happening,
this patch adds an explicit cursor move into the BPicture after drawing
a string. This also updates app_server internal pen position, so further
drawing happens at the expected place.

This is however not the right way to fix this. Either we should remove
the code that gets the pen position back from app_server, and let
app_server completely manage the cursor position, or, we should make
sure recording a BPicture also updates the pen position so the
application can rely on accessing it and getting up to date data.

Fixes #6761.

NOTE(waddlesplash): It seems to make sense to include this hack
in R1/beta1, so that printing is not totally broken. Obviously
it should stay out of master.

Change-Id: Ib8e031355032228ef29aceee5f1e1ca21565b831
Reviewed-on: https://review.haiku-os.org/498
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-08-30 19:22:29 +00:00
Augustin Cavalier
d7d39dcb6f bin/multiuser: Do not exit with an error if stdin is not open.
As the comment says, there are a number of scenarios when this is
the case, e.g. non-interactive SSH sessions.

Change-Id: I3a10043820039f344b3f036f7861c81f6fb7ef05
Reviewed-on: https://review.haiku-os.org/499
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit bd114eeb370ba18d65f641fcb6b78b453ffc2937)
Reviewed-on: https://review.haiku-os.org/500
2018-08-28 23:34:42 +00:00
waddlesplash
ebe111f14d build_cross_tools: Also touch .in files to prevent their regeneration.
Change-Id: Id893460327fd6db064c6fc0fb4de8e6ada1b1773
Reviewed-on: https://review.haiku-os.org/496
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 6214a291acad1b006eb475472a70962f7d17c313)
Reviewed-on: https://review.haiku-os.org/497
2018-08-28 21:28:04 +00:00
Augustin Cavalier
513633f486 install-wifi-firmwares: Cleanup and fixes.
* Unlink/Symlink not needed as we now use a package.
 * Use correct URLs to download headers.

Fixes #14412.

Change-Id: I76dbca3d48d0b2933a27bea666551ff86d404a93
Reviewed-on: https://review.haiku-os.org/493
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 60eefaaad87efb6a1207f6b2d5fc469eb2c92bea)
Reviewed-on: https://review.haiku-os.org/495
2018-08-28 20:14:13 +00:00
Augustin Cavalier
b66bf6382b freebsd11_network: Implement pause() using snooze() instead of cvars.
This is much simpler than the prior condvar-based method and should be
functionally equivalent. It seems tsleep() cause a NULL dereference,
though (which will be fixed in the next commit), so this probably
also fixes #14355.

Change-Id: I36968de38ceb0a1c0896cae8839821f5ca383504
Reviewed-on: https://review.haiku-os.org/489
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 2e64054de804b4dbf471b0c1834b30e4be2c48d1)
Reviewed-on: https://review.haiku-os.org/491
2018-08-28 19:51:03 +00:00
Augustin Cavalier
0fcb625606 freebsd11_network: Tolerate a NULL mutex being passed to msleep.
Our implementation of tsleep does this. It seems very few things
actually use that, though, so the issue referenced in the previous
commit may be one of the first things to use pause/tsleep.

Change-Id: Id2edb2268b3b078b9ded5d634cfa241599f882f1
Reviewed-on: https://review.haiku-os.org/490
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 5e7b3530c8197a5950c34035dc33f5eb141d925a)
Reviewed-on: https://review.haiku-os.org/492
2018-08-28 19:50:50 +00:00
Adrien Destugues
4860ac1076 Fix documentation for BMessage::Previous
The function allocates a message because it uses lazy initialization,
however the user does not get ownership and must not delete it.

Fixes #14413.

Change-Id: I94807026c6969746a804492ee07808d621533ac3
Reviewed-on: https://review.haiku-os.org/488
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-08-28 19:50:04 +00:00
Augustin Cavalier
17418500c2 Installer: Hide the packages view.
Fixes #14310.
2018-08-28 01:06:18 -04:00
Augustin Cavalier
6db6c0b275 kernel_debug_config: Turn KDEBUG_LEVEL down from 2 to 1.
Per the ReleaseCookbook.
2018-08-28 00:36:21 -04:00
Augustin Cavalier
81fb2084b0 Disable serial debug output by default.
Per the ReleaseCookbook. Based on hrev36721.
2018-08-28 00:35:52 -04:00
Augustin Cavalier
b5c9e6620e Versioning: This will be R1/beta1. 2018-08-28 00:29:07 -04:00
Augustin Cavalier
372195500d Versioning: Add BETA_1 and PRE_BETA_2 version constants.
* PRE_BETA_2 is now the default in master.
 * For libbe: R1/alpha4 used internal=8, but nobody bumped master
   at the same time, so now we are on internal=9.
hrev52295
2018-08-28 00:21:13 -04:00
Murai Takashi
e998f2e4ac Terminal: Fix -Werror=class-memaccess
Fix -Werror=class-memaccess pointed out by gcc8.
* Use TerminalLine::Clear() instead of memset()
* Use rgb_color::operator=() instead of memcpy()

Change-Id: I41360e245fd55c526d9c2802a2f247ba22583080
Reviewed-on: https://review.haiku-os.org/483
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev52294
2018-08-28 03:26:01 +00:00
waddlesplash
d34addaf3f build_cross_tools: Compile GCC2 as 32-bit everywhere.
It is just straight up broken on most systems without this, as
the same "cast specifies signature type" appears there too.

Exactly why this fixes the problem does not appear to be any more known
than it was when this was first instated in 2012.
hrev52293
2018-08-27 22:25:18 -04:00
waddlesplash
2cf7d49495 build_cross_tools: Touch configure scripts so the Makefiles don't regenerate them. hrev52292 2018-08-27 19:06:22 -04:00
JackBurton79
fee62e6a6e ffmpeg media decoder: revert latest changes to the AVCodecDecoder destructor.
Let's see if it fixes #14394.

Change-Id: Iba3a77197703b43f7c5e29292940b3a9018b4585
hrev52291
2018-08-27 10:08:31 +02:00
Augustin Cavalier
0804aecea1 HaikuPorts: Add lcms, needed by openjp2. hrev52290 2018-08-27 00:45:29 -04:00
waddlesplash
75f7932ae2 build_cross_tools_gcc4: Forcibly disable maintainer mode.
This should stop GCC from trying to reconfigure.
hrev52289
2018-08-26 22:24:45 -04:00
Augustin Cavalier
e55dd14050 freebsd11_network: Rework uninitialization order.
It is now in the exact reverse order of initialization. Untested,
but may help with some strange KDLs.
hrev52288
2018-08-26 14:15:09 -04:00
Augustin Cavalier
8636e31a55 BNotification: Fix copy-n-paste bug in OnClickRefAt.
Fixes #14405.
hrev52287
2018-08-26 13:48:51 -04:00
Augustin Cavalier
b58a151493 build: Link against libgcc_s.so.1 instead of libgcc_s.so.
The latter is not just a symlink to the former, but is a small pseudo-
library that tells the linker to use the .so.1 version instead. As we
do not pass -L to this directory to the linker invocation, the linker
thus cannot find it, and so errors out.

We rightly do not want the linker doing "magic" things for us that
we don't expect, and so even if this one case is fine, we shouldn't
allow the linker to take care of this automatically for us when
it comes to libroot and other core system functionality, especially
as going forward we may indeed add a second libgcc version due to ABI
breaks. Instead, link against .so.1 directly.

Fixes the build breakage caused by the GCC 7 bump.
hrev52286
2018-08-26 13:35:40 -04:00
Augustin Cavalier
5fd406b4c8 HaikuPorts: Add OpenJPEG to the build packages set.
We now build libicns against it. It seems that it is better-maintained than
JasPer, so we should probably consider switching the JPEG2000Translator to
use it also.
hrev52285
2018-08-26 12:44:29 -04:00
Augustin Cavalier
7d5faaf44f OptionalPackages: Remove some of the less-useful devel packages.
ffmpeg_devel pulls in some other devel packages we don't really need,
and very few things are built against it anyway, so whoever needs it
can install it manually. Same goes for freetype and fontconfig.
2018-08-26 12:33:36 -04:00
Jérôme Duval
546fafa0a1 pty.h: fix typo. hrev52284 2018-08-26 12:02:52 +02:00
Augustin Cavalier
21909dacd2 HaikuPorts: Update build-packages set. hrev52283 2018-08-26 01:29:35 -04:00
Augustin Cavalier
427edfcf0d Makefile Engine template: Whitespace cleanup and synchronization.
Also update comment as FULL is O3 not O2, fixing #14396.
hrev52282
2018-08-25 21:28:29 -04:00
Augustin Cavalier
99158ccedd makefile-engine docs: Fix app_name_catalog_entry.
Fixes #14392.
2018-08-25 21:22:54 -04:00
Augustin Cavalier
7426861a93 radeon_hd: Add another working device ID.
Fixes #14379. Thanks cb88 for testing!
2018-08-25 21:08:35 -04:00
kerwizzy
1c2518b407 Mandelbrot: Implement incremental rendering and other improvements.
* Incremental rendering allows the user to see how the render is progressing.
 * Can move to a new location before the render finishes. Render will automatically restart at the new location.
 * Multi-threaded rendering now renders from a horizontal line in the center, giving a better experience.
 * Improved behavior for scrollwheel zooming. Now zooms with the mouse as the origin, as is the standard behavior in other applications such as map viewers.
 * Added lots of TRACE statements internally, which can be turned on in the code for debugging.

Change-Id: I1ad39a262ebe5c1b51d46b8cc09fb4de5113b9de
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
hrev52281
2018-08-25 19:51:33 -04:00
Murai Takashi
3bee8ef61d Package Kit: Fix -Wmismatched-tags
Replace class with struct, since BJobStateListener is previously declared
as a struct in Job.h
Pointed by clang  [-Wmismatched-tags]

Change-Id: I75293b48bcb521d25e98702d1fc1e0ab1008d504
Reviewed-on: https://review.haiku-os.org/482
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev52280
2018-08-25 18:53:32 +00:00
Adrien Destugues
c2d37953f3 Rework PLL calculations for Iron Lake
The limits were wrong in several places. Checked the sandy bridge, ivy
brige and haswell docs, they all say mostly the same.

- The value of p2 is either 7, 14, 5 or 10 depending on 1 bit in the
  config register and on the display type. We can guess which values are
  right according to the global P limit (5-80 when using 5/10,
  28-something when using 14/7). The values are different because CRT
  need a precise, but rather low pixel clock, while modern display
  interface can accomodate being faster than required by a few MHz, but
  need a much higher speed (the bits are transferred serially, so they
  need to be at least 8 times faster than a DAC).

- The limits for N were obviously wrong, as the register is written with
  N-2, so values less than 2 make no sense. Use 3-8 as specified in the
  datasheet.

- The reference frequency (set by the driver) was wrong, too. It is
  120MHz, not 96. It is 100MHz in some cases (FDI, etc), we should see
  when this happens and switch to the right reference for PLL
  computations.

- There was an attempt to minimize the value of N (a powersaving effort,
  I guess?), but it would basically force the loop to stop at the first
  value of N tested, resulting in way off timings in some cases.

- To ease testing and stop sending patches and syslogs back and forth
  with vidrep, extract the "test mode" from pll.cpp into a proper test
  executable, making it a little easier to experiment with the code and
  fix the problems.

This should fix #13669 and possibly other cases of "out of range", black
screen, bad timings, etc.

Change-Id: Ic4c1c159701f352b7c1ef15a647f023c82ac26c
Reviewed-on: https://review.haiku-os.org/360
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev52279
2018-08-25 18:52:33 +00:00
Humdinger
c0bbce07c8 Terminal: Make blinking cursor settings live
Change-Id: I51b2f4753c4c331c075293a7d531b26a2fbdc457
Reviewed-on: https://review.haiku-os.org/479
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev52278
2018-08-25 18:51:29 +00:00
Andrew Lindesay
8f30879b98 Support : Validation for Host Portion of URL
Partly Fixes #14377

Change-Id: Ia611d3653d2c16c6dcdc48ce57bd61bb6e6db366
Reviewed-on: https://review.haiku-os.org/476
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev52277
2018-08-25 18:50:36 +00:00
Kacper Kasper
df8b692ac0 Revive unit tests
* Fix build on 64-bit.
* Test suite can now run from start to finish.
* Changes in OutlineListView test need an explanation:
  for some reason when BApplication is created on heap, be_app is not
  reset. This causes other tests to crash due to second BApplication
  object being created.

Change-Id: Ic7d55f4622192f83572bfd83fa37f1f5fd641e22
Reviewed-on: https://review.haiku-os.org/465
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev52276
2018-08-25 18:50:26 +00:00
Murai Takashi
6d99295f41 bus_managers/pci: Fix -Wmismatched-tags
Replace class with struct, since PCIDev is previously declared
as a struct in pci.h
Pointed by clang  [-Wmismatched-tags]

Change-Id: I6d85a8e4faa039c9905e4710715331e72beff413
Reviewed-on: https://review.haiku-os.org/481
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev52275
2018-08-25 18:50:12 +00:00
Murai Takashi
992ba1a5ce Media Kit: Fix -Wmismatched-tags
Replace struct with class, since it is previously declared as a class
in SharedBufferList.h
Pointed by clang  [-Wmismatched-tags]

Change-Id: I3ff4e285862f31a2088a773be2967102bc8b18b6
Reviewed-on: https://review.haiku-os.org/480
Reviewed-by: Barrett17 <b.vitruvio@gmail.com>
hrev52274
2018-08-25 15:23:52 +00:00
Fredrik Holmqvist
b2e0398cd4 ps2_dev encapsulate TRACING code
Avoid doing system_time() calls in a loop.
Is this even needed anymore?
hrev52273
2018-08-24 13:51:48 +02:00
JackBurton79
5aff790ae1 ffmpeg media reader: remove useless avformat_free_context():
avformat_close_input() already calls it.

Change-Id: I45433527459bda430b8f0d15850fdcc019042db3
hrev52272
2018-08-24 09:34:41 +02:00
JackBurton79
de9e43cd6a ffmpeg media decoder: Fix double free() (and possibly #14394.
Don't call avcodec_close() and then avcodec_free_context().
The latter replaces the former.

http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ef6dab0a79a9852a92ed80b07f9e32a37530d9e

Change-Id: I346dc8da20a274bcfd901b4a67e612f0f38323b0
2018-08-24 09:34:01 +02:00
Augustin Cavalier
9b41d53230 HaikuSource: Add missing SEARCH. hrev52271 2018-08-23 20:11:49 -04:00