Stephan Aßmus
f890fab65b
TextDocument: Change _Insert() to use TextDocument
...
In preparation for implementing Undo/Redo support, we need _Insert() to
take a TextDocument instead of a BString, CharacterStyle and ParagraphStyle.
When a chunk of the TextDocument has been removed, we need to be able to
Insert() that as part of the Undo operation. Not well tested, but typing
still works.
2015-09-20 22:17:26 +02:00
Stephan Aßmus
2e2ff27a92
Paragraph: Added EndsWith(BString)
2015-09-20 22:17:21 +02:00
Stephan Aßmus
9a8dd79cc2
TextDocumentLayout: Use Invalidate() instead of InvalidateParagraphs()
...
Added TODO about which data the TextChangedEvent should have in order to
know how to respond in the TextDocumentLayout. For now, update all paragraphs
in the layout, add new ones as necessary, and remove the ones we have in
excess by using Invalidate().
2015-09-20 22:17:17 +02:00
Stephan Aßmus
1fa37d5af8
HaikuDepot: Text: Fix regression for B_SELECT_ALL
...
An Invalidate() was removed, since I originally planned to remove the need
to invalidate on selection changes, but then saved it for later.
2015-09-20 22:17:12 +02:00
Rene Gollent
287dab9d8e
x86_64: Add cvsps package.
...
- Required by git-cvs.
2015-09-19 23:24:57 -04:00
Rene Gollent
8bcb4e047a
x86_64: Accidentally forgot to update gettext in previous change.
2015-09-19 20:40:46 -04:00
Rene Gollent
3b87365388
x86_64: Update various packages.
2015-09-19 20:27:07 -04:00
Jessica Hamilton
2d34b65ec2
Tracker: fix insets of vertical scrollbar.
2015-09-20 00:14:31 +00:00
autonielx
b4c4b96794
Update translations from Pootle
2015-09-19 06:33:44 +02:00
Stefano Ceccherini
e5f9dfebd7
FlattenPictureTest: Add FillTriangle() with gradients test
2015-09-18 23:20:09 +02:00
Stefano Ceccherini
00c573d643
FlattenPictureTest: Add tests for FillRoundRect with gradients
2015-09-18 23:20:09 +02:00
Stefano Ceccherini
b8c65995cd
FlattenPictureTest: Add tests for FillRegion with gradients
2015-09-18 23:20:08 +02:00
Stefano Ceccherini
7cf26360d9
FlattenPictureTest: Add failing test
...
InvertRect, when mixed with SetDrawingMode calls, fails to draw correctly
to a BPicture.
2015-09-18 23:20:08 +02:00
François Revol
594187ade2
glibc/ppc: add missing math stuff
...
hopefully fixing the build for the 53rd time...
2015-09-18 03:59:56 +02:00
François Revol
bbdf4c27fa
glibc: avoid linking long double math stuff on PPC and M68K
2015-09-18 03:59:56 +02:00
François Revol
dab2aa8189
complex.h: fix __NO_LONG_DOUBLE_MATH test
...
PPC doesn't support long double yet...
2015-09-18 03:59:55 +02:00
François Revol
22dc6b7f47
mpd: update package
2015-09-18 00:27:51 +02:00
Stefano Ceccherini
abf565b12b
FlattenPictureTest: add tests for Gradients.
...
None of the tests pass. BPicture currently doesn't have support for gradients.
Also add DrawString with offsets test.
2015-09-17 22:54:05 +02:00
François Revol
eed4335a85
libmpdclient: update package
2015-09-17 21:19:25 +02:00
Automatic Committer
ccff90f597
Update pci.ids from pciids.sourceforge.net
2015-09-17 05:21:31 +02:00
François Revol
045af160e7
df: silently accept -h
...
Traditional Unix 'df' use -h for human readable units.
I always end up typing 'df -h' so it's frustrating to see the usage there.
2015-09-17 00:29:50 +02:00
François Revol
490dc7aa16
keymap: avoid showing usage twice
2015-09-17 00:22:13 +02:00
Axel Dörfler
90ec3fc165
AHCI: disable interrupt reset for unsolicited COMINIT for now.
2015-09-15 10:23:24 +02:00
Jessica Hamilton
8927348ef1
Boot menu: change colours of sub-menu headers. Fixes #12371 .
...
Changed from white on red background, to yellow on black
(neutral) background. Red on black made it look like a
warning, whereas yellow feels more informative.
2015-09-15 01:32:07 +00:00
Jessica Hamilton
31b0eb9f53
BWindow::MoveOnScreen(), fix parentheses warning.
2015-09-15 00:51:07 +00:00
Jessica Hamilton
93244a65e6
BScrollView: _ComputeFrame(BRect,...) used incorrect insets.
...
Previously, the BRect would be expanded by the call to
InsetBy(), but the replacement _InsetBorders() forgot to
take this into account.
Fixes #12380 .
2015-09-15 00:39:23 +00:00
Fredrik Holmqvist
c8bd1b0ad0
Set ACPI io and physical address to 32 bit on 32 bit arch.
...
This is temporary fix, our ACPI.h header needs a review, and perhaps
a better approach.
2015-09-14 22:18:02 +02:00
Axel Dörfler
268e4ea27d
ScreenSaver: Make preview relative to font size.
...
* This commit got somehow eaten by git rebase :-/
2015-09-14 20:54:26 +02:00
Axel Dörfler
64ee9242db
Time: properly center the window.
...
* The previous code was broken, and did not take the actual window
size into account; it's now using BWindow::MoveOnScreen().
* Also, make the width of the time zone list relative to the font size.
2015-09-14 20:46:02 +02:00
Axel Dörfler
8d46a99fe9
Sounds: Center initial window.
...
* Now uses BWindow::MoveOnScreen().
2015-09-14 20:46:00 +02:00
Axel Dörfler
8bf216d6dd
Screen: improved window position, fixed empty line.
...
* The monitor size now scales with the font size.
* It now uses BWindow::MoveOnScreen() to find a good position on screen.
* The monitor info is now properly hidden when there is no info (this
removes a blank line at the top of the left box).
2015-09-14 20:45:58 +02:00
Axel Dörfler
4d9fc65ec7
Mouse: let the mouse scale with the font size.
...
* It's really confusing that SetOrigin() ignores the current
scaling.
2015-09-14 20:45:55 +02:00
Axel Dörfler
881325a06e
Keymap: improve initial window size, and position.
...
* By making it scale with the font size, and by using
BWindow::MoveOnScreen().
2015-09-14 20:45:53 +02:00
Axel Dörfler
3f772f525b
Backgrounds: let the preview scale with the font size.
2015-09-14 20:45:51 +02:00
Axel Dörfler
b11399ff60
BAlert: fixed missing initialization of fAlertSem.
...
* Fixes bug #12372 .
2015-09-14 20:45:49 +02:00
Axel Dörfler
4df20b63c0
Sudoku: improve initial window size, and position.
...
* By making it scale with the font size, and by using
BWindow::MoveOnScreen().
2015-09-14 20:45:47 +02:00
Axel Dörfler
adcbc17bf5
DeskCalc: improve initial window size.
...
* By making it scale with the font size.
2015-09-14 20:45:45 +02:00
Axel Dörfler
0342049e48
CharacterMap: improved initial window size, and position.
...
* By making it scale with the font size, and by using
BWindow::CenterOnScreen().
* Minor cleanup.
2015-09-14 20:45:43 +02:00
Axel Dörfler
2603848d7d
ActivityMonitor: improve initial window size, and position.
...
* By making it scale with the font size, and by using
BWindow::CenterOnScreen().
2015-09-14 20:45:40 +02:00
Axel Dörfler
8e96ec340b
BWindow::MoveOnScreen() now has a flags field.
...
* You can now specify whether or not you want to resize the window,
and move it on screen, or center it.
* Removed PulseWindow::MoveOnScreen() method.
2015-09-14 20:45:38 +02:00
Humdinger
2080899fd5
Added package fasm.
2015-09-14 19:18:52 +02:00
Fredrik Holmqvist
65ecbac0dc
Switch from ACPI_SIZE to ACPI_PHYSICAL_ADDRESS.
...
Should fix build bustage on 32 bit builds.
2015-09-13 22:16:19 +02:00
Fredrik Holmqvist
e226d1d04f
Update ACPICA to 20150818.
...
Previous update was 20140724.
Changes at:
https://acpica.org/sites/acpica/files/changes_25.txt
2015-09-13 21:12:49 +02:00
Rene Gollent
b03721632c
x86: Add packages for libpcre0 for compat reasons.
...
Thanks to Jerome for the hint.
2015-09-13 10:56:53 -04:00
Rene Gollent
2d6cf4f6e8
x86: Add/update some more packages.
2015-09-12 23:56:04 -04:00
Rene Gollent
597bcfc4dc
x86: Update pe to 2.4.5-2.
2015-09-12 19:53:34 -04:00
Rene Gollent
67cfdb4470
x86: Add/update various packages.
2015-09-12 19:32:04 -04:00
autonielx
6d16a7f007
Update translations from Pootle
2015-09-12 06:37:23 +02:00
Axel Dörfler
41082c87ac
AHCI: only perform the reset when ST is not set.
...
* As the specs say, this causes undefined behavior.
* Should help with the recently introduced boot issues, but cannot
be considered a full fix -- as mmlr pointed out, one has to detect
unsolicited COMINITs.
2015-09-11 17:34:27 +02:00
Axel Dörfler
eb62d3337b
VFS: Slight rework of the FD disconnect feature.
...
* This should fix ticket #4157 , although I probably have missed
something.
* In any case, it no longer messes with the ref counts of the
file descriptor, and the race condition in put_fd() should be
gone.
* It's still rather messy all in all.
2015-09-11 17:25:01 +02:00