Commit Graph

54572 Commits

Author SHA1 Message Date
Automatic Committer 228e5c39f5 Update pci.ids from pciids.sourceforge.net 2015-10-08 05:20:22 +02:00
Jessica Hamilton 0baf9d8d8d gpt partitioning: generate uuids for disks & partitions.
Also added src/libs/uuid to tree, sources adapted from
http://git.kernel.org/cgit/fs/ext2/e2fsprogs.git/tree/lib/uuid.
2015-10-08 02:12:14 +00:00
Jessica Hamilton 2346363b23 gpt partitioning: fix writing of partition entries.
When writing an individual entry to disk, the offset of the entry
was omitted, which resulted in entries not block-aligned to
overwrite previously valid entries. This in turn resulted in the
stored entries CRC no longer matching what was on disk, causing
the partitioning system to fail to identify it as a valid GPT
when read from disk later (e.g. after a reboot).

E.g. if the first entry is the ESP (which it typically is), and
then the second being an entry for a BFS partition, updating the
BFS partition entry would overwrite the entry for the ESP, thus
corrupting the entries table.
2015-10-08 02:12:13 +00:00
Gerasim Troeglazov e7b341a75e Update OpenJDK 1.7 package for x86_gcc2
it was broken after netresolv changes in hrev49293
2015-10-08 00:11:29 +10:00
Alexander von Gluck IV a1ed294ff9 AHCI: Rework port reset and control
* Move to more standardized functions matching AHCI spec
* Don't perform unnecessary double port resets
* Begin implementing a software reset to try first per spec.
  Software reset needs more work, falls through to port reset
  for the moment which is stable.
* Don't duplicate ATA defines, use what we already provide.
* Tested working on VirtualBox 1-16 AHCI ports, Intel C200,
  and AMD FCH.
2015-10-05 19:46:03 -05:00
Humdinger 3f93d71a14 Added/updated packages on request by Diver.
Diver and others have worked on a number of recipes that are now added to the
haikuports repo:

smplayer_x86, smtube_x86, qutim_x86, vmware_addons, lnlauncher, album,
aspell, libgsasl, libbluray_x86, netpulse, clipdinger
2015-10-04 19:25:24 +02:00
Automatic Committer 8f5fd0d35d Update usb.ids from www.linux-usb.org 2015-10-01 05:20:27 +02:00
Automatic Committer 6d3006b031 Update pci.ids from pciids.sourceforge.net 2015-10-01 05:20:25 +02:00
Dario Casalinuovo 5e726ed442 BMediaEventLooper: Finally fix some lateness problems
* For the moment i still remain with the classic lateness calculus.
My code wasn't perfect, but this commit fix the remaining
problems from my perspective.
* The first reason is that if we have a patologic latency
such as adding for experimental reasons a snooze() before a SendBuffer or
in the BufferReceived callback, we still can't do anything about it.
If we use enqueue_time and don't send a LateProducer notice, this latency
will never be detected by the API client. We can't do anything about it,
and it's even better that systems with such problems are recognized as
soon as possible IMO.
* The second reason is that the lateness calculus described in the BeBook
is done this way because the media_kit want us to adjust our timing in both
early and late situations.
* Realtime expect that things are always delivered under a certain time
limit, if the software at the bottom doesn't meet with this requirement,
it's just not realtime and things can't work in realtime.
* enqueue_time has nothing to do with the performance_time. But we can
still add this to the media_timed_event struct so that applications can
make use of it.
* Lateness was probably not used a lot in BeOS programs as it looks like
a relatively new feature but i have the concern to complete our API
implementation to be close to what i see was reasonably the designers aim.
2015-09-26 13:23:49 +02:00
Dario Casalinuovo 8bffda1633 media_kit: Allow to set a NULL buffer group. Fixes #12305. 2015-09-26 13:23:48 +02:00
autonielx 7e26adffc0 Update translations from Pootle 2015-09-26 06:48:57 +02:00
Stephan Aßmus 3da9a05272 TextDocumentTest: Embed text view into scroll view
Work in progress... text view does not yet control the scroll bars
properly when the contents change.
2015-09-26 01:48:41 +02:00
Stephan Aßmus da16a92894 Model: Pull changelogs from the package infos 2015-09-26 01:48:36 +02:00
Stephan Aßmus 17dd011a5f WebAppInterface: Request to receive changelogs 2015-09-26 01:48:31 +02:00
Stephan Aßmus 16f524c59b PackageInfoView: Update on changelog changes
Also re-order the bitfield test such that each sub-view is only
updated once per package changed message.
2015-09-26 01:48:27 +02:00
Automatic Committer 8533039abf Update usb.ids from www.linux-usb.org 2015-09-24 05:20:23 +02:00
Automatic Committer 4534f55930 Update pci.ids from pciids.sourceforge.net 2015-09-24 05:20:21 +02:00
Stephan Aßmus 5f80d48a76 TextDocument: Extended comment in _Insert(). 2015-09-20 22:18:10 +02:00
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