Commit Graph

46521 Commits

Author SHA1 Message Date
Ithamar R. Adema ef5e0ba938 ARM: stub out missing int64 atomic functions
Also, add an item to the TODO list for this. Really need to figure it out soon...
2013-09-15 04:22:04 +02:00
Ithamar R. Adema 20d9063c36 debugger/debuganalyzer: Remove the explicit -Werror from Jamfile
Specifying -Werror in the Jamfiles directly prevents the build
system from disabling error-on-warning for some arch specific
warnings (or even globally), breaking the ARM build.

The "src/apps" directory is already setup to compile with -Werror
by the build system anyway, so remove the explicit setting here.
2013-09-15 04:21:39 +02:00
Ithamar R. Adema 90742b59be ARM: boot: pass boot disk identifier
This to stop the vfs_boot.cpp code from complaining.
2013-09-15 04:18:31 +02:00
Jorma Karvonen 9d79ce816b Localize tgainfo
Closes ticket #7168
Signed-off-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
2013-09-14 22:52:43 +02:00
Jorma Karvonen ba4746794a Localize bmpinfo
Closes ticket #7164
Signed-off-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
2013-09-14 22:47:58 +02:00
Jorma Karvonen d05bb5a8e6 Localize bitsinfo
Closes ticket #7162.
Signed-off-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
2013-09-14 22:43:44 +02:00
John Scipione eeb345aa17 Use uname -s instead of uname -o
...since BSD uname (on OS X at least) doesn't have a -o param, only a -s,
Haiku has both, and both print "Haiku".
2013-09-14 14:55:53 -04:00
Ithamar R. Adema cfa8ecbc86 ARM: boot: Make dd on MacOS happy
Turns out dd on MacOS does not like '1M' as size descriptor, but
wants '1m'. To prevent us breaking Linux builds (as it does not
accept 1m), just use the actual number of bytes explicitely instead.
2013-09-14 20:15:33 +02:00
Jérôme Duval b31f2d53e0 add a constant for 10G base T ethernet. 2013-09-14 18:11:43 +02:00
Jérôme Duval 4b308f30ca virtio_net: allocate queues, read macaddress, handle ioctl. 2013-09-14 18:05:54 +02:00
Jérôme Duval d038239669 virtio_net: add feature labels. 2013-09-14 18:05:54 +02:00
Rene Gollent 729075a5e8 Debugger: add Inspect context item to Registers view.
- Allows one to treat the value of a register as a memory
  address and jump directly to inspecting said address.
2013-09-14 17:55:33 +02:00
Rene Gollent 20c5fc4aa6 Debugger: Add missing std::nothrow. 2013-09-14 17:55:32 +02:00
Ithamar R. Adema fda9d308e1 ARM: kernel: Fix compilation issue with new gas.
Turns out the new gas does not like spaces :(
2013-09-14 17:27:17 +02:00
Rene Gollent 74e89b3446 Fix accidentally truncated addresses in call frame unwind. 2013-09-14 17:07:55 +02:00
Jérôme Duval b5082c11cc virtio_net: initial skeleton driver. 2013-09-14 11:48:37 +02:00
Jérôme Duval 0ce7ab1ebe ext2: access the parent variable once checked it's non null
* cleanup
* add some inode flags we don't use
2013-09-14 11:00:07 +02:00
Niels Sascha Reedijk aba841d810 Update translations from Pootle 2013-09-14 06:14:15 +02:00
Pawel Dziepak b8dc812f3e x86[_64]: Enable NX on non-boot CPUs as soon as possible 2013-09-14 05:28:50 +02:00
Rene Gollent 426f721b81 Fix default alignment on BCheckBox.
Was most readily noticeable in WebPositive's Find pane, where the
CheckBox was incorrectly top-aligned. Thanks to Humdinger for reporting.
2013-09-11 18:23:07 -04:00
Pete Goodeve 78e450554e Fix to std dev calculation in ping 2013-09-11 14:30:47 +02:00
John Scipione fb90f7ffe4 ScreenSaver: ScrollToSelection off-by-one
For some reason calling PopulateScreenSaver() list in AllAttached()
scrolls the selection off-by-one, so, call PopulateScreenSaverList()
in AttachedToWindow() and then call ScrollToSelection() again in
AllAttached() which seems to fix the problem.
2013-09-10 18:46:09 -04:00
John Scipione 5041c8ae6e ScreenSaver: Set min window height by font height
...rather than font spacing which only scales linearly in the horizontal
direction. This sets the min window height nicely at 11pt font while
continuing to work at 12pt, 8pt, and 18pt.
2013-09-10 18:09:50 -04:00
John Scipione c8e6af02f2 ScreenSaver: Open screensaver initially via message
..instead of calling _OpenSaver() directly.

At least one screensaver, Message, depended on the Bounds() of the
preview to be set when run, which wasn't established when you first
started the app causing the app to quit while trying to draw.

Also call PopulateSaverList() in AllAttached()  so that ScrollToSelection()
works without having to be called again.

Also, fix pointer style in ScreenSaverWindow::MessageReceived()
2013-09-10 18:09:50 -04:00
John Scipione e73001dc80 ScreenSaver: Refactor list item selection
Split out the list emptying into an EmptyScreenSaverList() method and use it in
various places where it should happen.

Call PopulateScreenSaverList() in ModulesView::AttachedToWindow() instead
of in the constructor because some of the methods depend on the view being
attached.

Don't try to select Blackness saver by name, instead if no other selection
is located select it as the default. Also, a tiny optimization, once we've found a
selection there's no reason to continue to keep looking for another one.
2013-09-10 18:09:49 -04:00
John Scipione b3aa1c10f5 ScreenSaverApp: Style fixes
Update copyright info
2013-09-10 18:09:49 -04:00
John Scipione 4843382d02 ScreenSaver: Convert ScreenSaverItem.h to utf-8 encoding
For some reason this file was encoded as a MacRoman or some sort
of high ASCII non utf-8 encoding that made my editor sad.

Also, update the copyright and style while I'm at it.
2013-09-10 18:09:48 -04:00
Siarzhuk Zharski 726e47bb80 vfs:Remove extra put_vnode call on error B_LINK_LIMIT exit
Fixing the autoconf test: attempt to create file in place of already
existing symlink. On error exit put_vnode was called explicitly before
returning error. The second, implicit call to put_vnode was issued on
destroying the VNodePutter instance that references the same vnode. At
this time the vnode has references count equal to 0 so corresponding
panic was executed. Great thanks to Ingo for pointing it out!

Fixes #9140.
2013-09-10 19:47:36 +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
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
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