Commit Graph

47544 Commits

Author SHA1 Message Date
Ingo Weinhold
a87c7d67e3 Don't use BPackageKit::BPrivate; avoids clashes 2013-09-10 19:14:18 +02:00
Ingo Weinhold
43bd5a49c7 <package/Request.h>: Don't leak JobQueue into public namespace 2013-09-10 19:14:17 +02:00
Ingo Weinhold
cf3bb0d753 BPackageManager: Abstract installed repository initialization
* Rename TransactionHandler -> InstallationInterface and
  DaemonClientTransactionHandler -> ClientInstallationInterface.
* Add InstallationInterface::InitInstalledRepository(). Use in
  _AddInstalledRepository() to get the repository packages instead of
  using the package roster. The ClientInstallationInterface
  implementation does it that way.
2013-09-10 19:14:17 +02:00
Ingo Weinhold
c138f1f2af BRepositoryBuilder: Add constructor for pre-init'ed repository 2013-09-10 19:14:17 +02:00
Jerome Duval
378a2b8580 updated usbdevs from NetBSD revision 1.653 2013-09-09 21:35:01 +02:00
Siarzhuk Zharski
c68e172312 usb_audio:fix parameters web compilation logic
* parameters web compilation improved - harvest the feature units
  assigned to non-streaming output terminals in the same way as ones
  assigned to streaming output terminals.

Fixes #9950
2013-09-09 08:56:20 +02:00
Stephan Aßmus
2520ac68a8 HaikuDepot: Introduced LinkView utility class
* Inherits BStringView
 * Highlights string on hover and changes cursor shape.
 * Sends message when clicked.
2013-09-08 19:09:14 +02:00
Stephan Aßmus
d6bd4f068d HaikuDepot: TextDocument-Layout and -View optimize drawing...
... by drawing only the paragraphs that intersect with the
 update rect.
2013-09-08 19:08:26 +02:00
Stephan Aßmus
375dff4eaa HaikuDepot: Use TextDocumentView for package description.
* The rating items are also justified for consistency.
 * Refactored usages of TextDocumentView and MarkupParser into
   MarkupTextView.
2013-09-08 18:41:45 +02:00
Stephan Aßmus
6c5c4d8437 HaikuDepot: Added TextView::ParagraphStyle() ...
... to get the initial/default paragraph style.
2013-09-08 18:41:08 +02:00
Stephan Aßmus
cb97f2349f HaikuDepot: Make MarkupParser a bit more flexible...
... by allowing to append markup to an existing document.
2013-09-08 18:39:56 +02:00
Stephan Aßmus
97c332e107 HaikuDepot: Added TODO. 2013-09-08 18:39:13 +02:00
Stephan Aßmus
cf94e360d5 HaikuDepot: Beef up the Sequitur changelog with more markup.
* The bullet paragraphs were already working, now we have
   bold and italic plus the heading style. The links in the
   original changelog are not yet supported.
2013-09-08 14:40:43 +02:00
Stephan Aßmus
0e61e1ef80 HaikuDepot: Use a TextDocumentView for the Changelog.
* This allows simple media wiki markup in the changelog.
2013-09-08 14:40:42 +02:00
Stephan Aßmus
2a059affa4 HaikuDepot: TextDocumentView: SetInsets(), control scroll bars.
* Added SetInsets() to allow for a margin around the text.
 * Update BScrollBars if they exist.
2013-09-08 14:40:42 +02:00
Stephan Aßmus
1fb1d2103b HaikuDepot: MarkupParser: Added SetStyles().
* Also include the terminating \0 in the loop
   over the characters, in order to consume the
   last paragraph correctly when it's not finished
   by a line break.
2013-09-08 14:40:41 +02:00
Oliver Tappe
a4b13eda69 Increase size of bootstrap image to 20 GB. 2013-09-07 15:25:55 +02:00
Oliver Tappe
797c1a7590 Update x64_64 to current state of things. 2013-09-07 15:25:15 +02:00
Jérôme Duval
7d5632a0da agp_gart: added message logs on errors. 2013-09-07 12:04:11 +02:00
Jérôme Duval
c4a8ae38d4 realtime_sem: fixed a compiler warning.
* the variable is initialized anyway on the success code path.
2013-09-07 11:34:21 +02:00
Niels Sascha Reedijk
986b702f54 Update translations from Pootle 2013-09-07 06:14:25 +02:00
Stephan Aßmus
df10644048 HaikuDepot: MarkupParser: Fixed off-by-one error...
... when finishing a paragraph to include the last character.
2013-09-07 00:14:29 +02:00
Stephan Aßmus
59b52a1163 HaikuDepot: Added very simplistic markup parser.
* Follows MediaWiki or TracWiki style.
 * Supports only level 2 headings, bold, italic and top-level
   bullet paragraphs.
 * Line break handling would need to be changed.
 * Outputs a TextDocument.
2013-09-07 00:12:01 +02:00
Stephan Aßmus
c6a0782a8f HaikuDepot: Paragraph: Added IsEmpty(). 2013-09-07 00:12:00 +02:00
Stephan Aßmus
720f7fdf54 HaikuDepot: ParagraphLayout: Fix work around
* Bail early if the TextSpan length is 0.
 * When the span starts with a space, the work
   around for the app_server bug, which I should fix,
   needs to offset by the other delta.
2013-09-07 00:11:59 +02:00
Jérôme Duval
8a1f303840 ffmpeg: release the reader context on destruction.
* avformat_open_input() is to be balanced with a avformat_close_input().
* should help with #9945.
2013-09-06 23:36:58 +02:00
Oliver Tappe
a84cf45805 Add missing search path for <build>package_repo. 2013-09-06 22:49:08 +02:00
Oliver Tappe
818ed1eaf0 Remove blocks for secondary packages for x86_64. 2013-09-06 17:21:35 +02:00
Jérôme Duval
ba654b1b91 virtio_pci: try at fixing build on Haiku x86_64
see #9912.
2013-09-06 17:16:07 +02:00
Stephan Aßmus
d94326b1c6 HaikuDepot: CharacterStyle: SetBold() and SetItalic()
* Added convenience methods to derive the bold and italic
   font face from the currently set font. May not yield
   results depending on wether a specific face is available
   for the font.
 Ü * Changed test accordinly.
2013-09-06 10:49:37 +02:00
Stephan Aßmus
e75fda0202 HaikuDepot: List.h: Coding style fix 2013-09-06 10:10:39 +02:00
Stephan Aßmus
00861147be HaikuDepot: Removed first iteration of text layout classes. 2013-09-06 10:04:04 +02:00
Stephan Aßmus
8d0c791d5f HaikuDepot: Switched TextView to use new ParagraphLayout
* The ParagraphStyle can be set as well.
2013-09-06 10:04:03 +02:00
Stephan Aßmus
822872d6c3 Paragraph: Added Clear() method to remove all TextChunks. 2013-09-06 10:04:02 +02:00
Evgeniy Abdraimov
fcc745e0e7 Reopening FreeBSD's compat devices was broken due to a missing flag
clear. Patch part of #7040. Thanks.
2013-09-06 01:11:31 +02:00
Stephan Aßmus
6576e6c774 HaikuDepot: Text stuff: Support for simple bullet lists.
Also:
 * Fixed off-by-one bug when extracting wrapped TextSpans until the
   line's end text offset.
 * ParagraphStyle::FirstLineInset() is now additional to LineInset().
 * Potential Bullet::Spacing() is added to all lines as inset.
2013-09-05 22:07:44 +02:00
Stephan Aßmus
ccfedbc4fa HaikuDepot: text stuff: Layout all document paragraphs.
* Use TextDocumentLayout in TextDocumentView.
 * Extend test case demonstrating paragraphs with
   different alignments, something unsupported in
   BTextView.
2013-09-05 18:07:14 +02:00
Stephan Aßmus
8e8d1b55d3 ParagraphLayout: Don't ignore the given drawing offset. 2013-09-05 18:06:39 +02:00
Stephan Aßmus
f1a08c0848 HaikuDepot: ParagraphLayout: Alignment and justify support. 2013-09-05 16:54:28 +02:00
Stephan Aßmus
169de499b5 HaikuDepot: Removed no longer needed info from GlyphInfo. 2013-09-05 15:52:55 +02:00
Stephan Aßmus
68dfaf0f9d HaikuDepot: New TextDocumentView and test app.
* TextDocumentView still only shows the first paragraph
   of a TextDocument, but this time using the new
   ParagraphLayout. A class for layouting all paragraphs
   of a TextDocument is up next.
 * A simple test app shows that TextSpans with different
   CharacterStyles already work in one Paragraph. The test
   is nowhere extensive and does not test for bugs in
   corner cases.
2013-09-05 13:26:15 +02:00
Stephan Aßmus
24523b867b HaikuDepot: ParagraphLayout: Debugged and now working.
* The biggest problem was that adding the wrapped
   sub-TextSpan to the LineInfos was missing. Other
   problems included missing handling of ascent and
   descent per CharacterStyle.
2013-09-05 13:24:31 +02:00
Stephan Aßmus
4b810a1e92 HaikuDepot: TextDocument: Added Paragraph access by index. 2013-09-05 13:24:01 +02:00
Stephan Aßmus
d922357fa1 HaikuDepot: CharacterStyle: Added convenience methods 2013-09-05 13:21:32 +02:00
Stephan Aßmus
15990b01a2 HaikuDepot: Text stuff: ParagraphLayout compiles and maybe works 2013-09-05 10:59:39 +02:00
Stephan Aßmus
f668e7dd19 HaikuDepot: Text stuff: Switched from TextStyle to CharacterStyle 2013-09-05 10:59:03 +02:00
Stephan Aßmus
036fabe903 HaikuDepot: List: Changed parameter order for Replace()
(index first)
2013-09-05 10:58:16 +02:00
Stephan Aßmus
a452d51705 HaikuDepot: Text stuff: Added line spacing to ParagraphStyle 2013-09-05 10:57:19 +02:00
Stephan Aßmus
2b7ea89d14 HaikuDepot: Give access to glyph spacing
* The implementation for the get-accessors was missing
   from CharacterStyle.
2013-09-05 10:23:11 +02:00
John Scipione
9fc9619079 ScreenSaver: Set target for turn off display checkbox
I noticed while testing the nightly on vmware which, unlike vbox, includes
a video driver with DPMS support that this checkbox wasn't working.
This should fix it.
2013-09-04 11:14:07 -04:00