Commit Graph

52562 Commits

Author SHA1 Message Date
Adrien Destugues
d23c413188 Interpolating resampler: un-break it.
The interpolation was performed only on the samples in a buffer,
without "linking" with the previous one. This can't work.
* Remember the last sample from a buffer to be able to use it when
interpolating the first samples of the next one
* Adjust the kernel to properly loop over all samples in the buffer

Fixes #9438.
2014-12-08 19:07:45 +01:00
Adrien Destugues
dab42bf05b MixerToy: do an initialisation run on the mixer
The Interpolating mixer has internal state which must be setup by a
previous frame (we assume 0 for the first frame). Since we work on
exactly a period of the wave here, sending the same data twice works as
it should.
2014-12-08 18:51:47 +01:00
Adrien Destugues
258fbe371b MixerToy: app for testing mixer resamplers.
* Shows a source wave (black), a sampled version of it (red), and a
resampled version of that using the mixer (green).
* Debugging tool for #9438. Shows that the drop/repeat resampler is
working ok, but interpolate is quite broken.
2014-12-08 18:10:31 +01:00
Adrien Destugues
9f9d972f79 Minimal documentation for BOptionPopUp.
This was available in R5 but somehow went missing from our version of
the Be Book (it is documented in the release notes in Tycom Systems
version). Document the more important methods of it, at least.
2014-12-08 14:38:09 +01:00
Sergei Reznikov
2b89943545 Keymaps: add Russian ruble symbol...
to Russian, Belorusian and Ukrainian keymaps

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

This is the new official symbol for ruble since october 2013, and was
added to Unicode 7.

Note that our version of the DejaVu font doesn't support it yet, we need
to update it as well.
2014-12-08 12:48:29 +01:00
Adrien Destugues
27606dae36 Mixer resampler: refactor using templates.
There is no need to copypaste the resampling code which is mostly the
same for all formats. However, gcc2 is confused by member function
templates (I hit an internal compiler error) so the resampling code was
moved to a static function instead.
2014-12-08 12:43:45 +01:00
Adrien Destugues
bd67cb1531 Outsource VL-Gothic font.
Fixes #11576.
2014-12-08 09:28:08 +01:00
Adrien Destugues
f87c1cec88 Mouse prefs: further layout fixes.
* Use BSeparatorView instead of trying to replicate it with a BBox
* Use B_USE_SMALL_SPACING instead of 7.

Fixes #11528.
2014-12-08 08:39:55 +01:00
Laurent Chea
ed35dbde39 Mouse prefs: Layout improvements
* Some spacing was uneven leaving items uncentered
* Removed "slow/fast" labels from the sliders as they were not correct
(a delay is short/long, not slow/fast, same for acceleration) and not
very useful.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2014-12-08 08:37:56 +01:00
Augustin Cavalier
bc6db669fd ResourceEdit: delete from tree.
It has been moved to HaikuArchives.
2014-12-07 16:20:43 +00:00
Alexander von Gluck IV
70cc56922e ResourceEdit: Re-add subdir for clean gci removal 2014-12-07 16:18:00 +00:00
Alexander von Gluck IV
d26095f20f Cortex: Fix build on x86_64 (and others?) 2014-12-07 16:05:42 +00:00
Alexander von Gluck IV
74349b4ff4 RedEdit: Fix build 2014-12-07 15:49:05 +00:00
Jonathan Hanna
6543bf0ae1 radeon_hd: Ensure all PLL's are INVALID to begin with
* If something breaks, it is likely because the wrong PLL
  is chosen later.
2014-12-06 10:38:00 -06:00
Adrien Destugues
e1424d2104 Update arm_none_eabi_gcc and _newlib packages. 2014-12-06 11:17:04 +01:00
autonielx
1f4afc1217 Update translations from Pootle 2014-12-06 06:30:41 +01:00
autonielx
24cddc96bc December 2014 update: remove Norwegian, Hindi and Greek 2014-12-06 06:30:41 +01:00
John Scipione
459706ee4d Update BView and BStringView docs
... based on Adrien's suggestions.

* Add \warning back to BView::ResizeToPreferred(), add \remark to highlight
  methods only appropriate to use as part of a BLayout.
* Clarify BView::SetFont() method and refer to BFont docs.
* Clarify BStringView::SetText(), Text(), and Draw().
* add field descriptions for BStringView::Instantiate().
2014-12-05 20:35:40 -05:00
Adrien Destugues
8f4cd9c976 Improve Workspaces Zoom() implementation
* Do not move the window, this is annoying
* Instead of putting the window at a fixed size, keep the current width
and adjust the height so the preview has a correct aspect ratio.

Fixes #5034.
2014-12-05 15:28:54 +01:00
Adrien Destugues
c4e8d88f7c app_server: fix gradients with no stops at the ends
When a gradient has no stop at offset 0 or 255, the drawing code will
not automatically complete the gradiet with the first or last color,
instead agg interpolation generated invalid random colors.

To avoid this, insert extra stops at the start and end in the
DrawingEngine when we prepare the gradient for drawing. We just copy the
first and last stops to new stops at offsets 0 and 255, which makes sure
the gradients covers the whole range and gives the expected result.

Fixes #2945.
2014-12-05 14:52:31 +01:00
Adrien Destugues
96bac1b30b Add a test for #2945. 2014-12-05 14:51:47 +01:00
Adrien Destugues
336c69d9c4 Add credits for the Slovenian translation.
Will be included starting tomorrow.
Fixes #11157.
2014-12-05 12:50:39 +01:00
Adrien Destugues
654d47f356 Magnify: fix layout with big font sizes
* Move the menu to the left side so it doesn't overlap the status.
* Fixes #6934.
2014-12-05 10:20:44 +01:00
John Scipione
6db90d17a1 Fix BMimeType::SetIconForType() docs 2014-12-04 19:55:40 -05:00
John Scipione
7ec9bf2f5a A few more small fixes, trying to go quick 2014-12-04 19:33:35 -05:00
John Scipione
9bd3dedfce Fix a bit of copy pasta in the locale docs 2014-12-04 19:23:47 -05:00
John Scipione
4a31c32620 Update locale docs to match new reality.
Created docs for NumberFormat, DateFormat, DateTimeFormat, and TimeFormat
and moved the docs from BLocale to the respective new file. Also
DurationFormat was updated as well.

doxygen once again compiles the docs without warnings.
2014-12-04 19:13:46 -05:00
John Scipione
02e24cdbfd StringView docs, capitalize T 2014-12-04 19:12:45 -05:00
John Scipione
a3a2f89ec6 Tiny fix to StringView docs 2014-12-04 18:24:04 -05:00
John Scipione
44bcfa5d3b Add BStringView class docs 2014-12-04 17:57:11 -05:00
John Scipione
13c789f6c0 A few updates to the BView docs (needed for BStringView) 2014-12-04 17:56:53 -05:00
John Scipione
5ae0cde363 Style fixes to BStringView related to docs 2014-12-04 17:56:24 -05:00
Adrien Destugues
522f368179 Update mc, mtr, colors, pecorename, netpulse packages. 2014-12-04 13:19:16 +01:00
Adrien Destugues
8e8d5c85b8 Remove vmware driver from the image. 2014-12-04 12:54:44 +01:00
Adrien Destugues
1554429045 Remove the vmware graphics and mouse drivers.
They are now available as a package in HaikuDepot.
2014-12-04 12:48:23 +01:00
Adrien Destugues
7291c0a8d9 Expander: escape backslashes in path.
Fixes #9969.
2014-12-04 10:20:32 +01:00
Adrien Destugues
db7fc944bd FileTypes: disallow directories only where it makes sense.
Better fix for #8805.
2014-12-04 09:28:05 +01:00
Adrien Destugues
529cd177b5 BFilePanel: allow to change the node flavors
There doesn't seem to be anything ini the implementation that would
cause a problem, as long as you don't try to change this while the
window is already open.
2014-12-04 09:26:49 +01:00
Adrien Destugues
14c42c3783 Synaptics: remove useless delay.
As pointed by Axel and explained in Synaptic docs, the touchpad should
delay the first command itself until it's ready, so an arbitrary delay
should not be needed after reset.

Note: I don't have a touchpad on my machine. Please test this :)
2014-12-04 08:43:17 +01:00
Rene Gollent
049e8f6fbd Debugger: Tweaks to ConsoleOutputView.
- When receiving console output, we now put it into a pending output list.
  An asynchronous worker thread then tells the view to add another line to
  the output view, with a 10 msec delay between lines. This ensures that if
  the debugged program has a large amount of console output, it doesn't result
  in the debugger UI going unresponsive due to handling the constant influx
  of text insertions in rapid succession.
2014-12-03 19:23:48 -05:00
Theodore Kokkoris
1ee239ec7c Removed implicit conversion to int32 (CID: 1251478) 2014-12-03 21:22:54 +01:00
Theodore Kokkoris
f78b08d846 Removed unsigned comparison to zero (CID: 611234) 2014-12-03 21:20:07 +01:00
Theodore Kokkoris
249a4944c3 Removed dead code (CID: 1255314) 2014-12-03 21:14:24 +01:00
Adrien Destugues
a3a6fd837a makebootable: remove outdated "compatibility" options.
Fixes #3779.
2014-12-03 18:00:20 +01:00
Alexander von Gluck IV
bf4b97c694 x86_64: Add libsdl2 2.0.3-1
* I think it's ready, working here in a few SDL2
  demo apps
2014-12-03 16:30:06 +00:00
Adrien Destugues
06e005d120 Add package for vmware addons
Fixes #3838.
2014-12-03 16:51:03 +01:00
Alexander von Gluck IV
2ceafe4ec1 x86_64: Update glu package to 9.0.0-3 2014-12-03 15:38:04 +00:00
Alexander von Gluck IV
2e6421c613 x86_64: Update bash package to 4.3.30-1 2014-12-03 15:23:53 +00:00
Adrien Destugues
c2872486ec Reset PS/2 devices before probing as synaptics touchpad.
Patch from dukscry, fixes #8616.
2014-12-03 13:18:47 +01:00
Adrien Destugues
721e32f7a0 Network prefs: missing DoCatalogs invocation.
Fixes #11191.
2014-12-03 11:28:06 +01:00