* Use arch-independent format specifiers.
* Print pointers at a fixed length padded with 0s,
length is eitther 8 or 16 depending on pointer width.
* Uppercase titles.
* Add an extra space between Data and Seq# columns to
more clearly show that they represent separate titles.
* Move the Name column last because it is variable length.
This way, all columns line up vertically and the name can
overflow past the end, before a long path would push all
the other columns to the right.
* Make the Name column title is left-aligned, dashes go to
80 cols.
* Use C89 comments and C89 variable declarations.
Screenshot:
http://38.media.tumblr.com/4aea59cf15f8a7c186fc97d62916f38b/tumblr_n7yrw7nwma1r0f0hfo1_1280.png
Also use puts() in place of printf() in a couple places
where no string interpolation takes place.
Replace the variable name "status" with "result", I just like
it better that way for easier grep-ability.
... to use BPathFinder instead of iterating through each of the
(current) add-on directories.
Update copyright header, add myself to authors.
add an ATRACE() of the path once it is found.
Should be functionally identical.
* Removed / after Tracker, thanks Axel.
* BString::FindFirst() returns an index not a status_t so check that
it finds the path at the start of the string (index 0).
* Put paths.CountStrings() in a count variable.
I wanted to clean this code up because I use it as a reference.
- When we explicitly handle sending B_COPY/B_SELECT_ALL, don't
then pass control back to BWindow::DispatchMessage(), as that will
wind up sending the message to the target view twice.
#9882 comment:8 suggested applying a similar fix
to MidiPlayer as the one to Backgrounds, which makes
the menu fields variable width and isn't affected by the
check box.
In addition this replaces BGroupLayoutBuilder and
BGridLayoutBuilder with BLayoutBuilder templates and
replaces hardcoded spacing units with B_USE_ spacing
constants.
I also put the Volume slider on its own line and tightened
up the spacing around the scope view.
picture:
http://31.media.tumblr.com/74d93b806033d9adee83eeb2adead48d/tumblr_n7v06onPdl1r0f0hfo1_250.png
Change the BAlert about box into a BAboutWindow.
Add Authors based on commit logs.
Unfortunately the description contained:
"Haiku MIDI Player 1.0.0 beta\n\n" which means that it
is going to get flagged for re-translation, sorry! This was
bound to happen when the version number changed,
on the bright side it shouldn't happen again in the future
since the Name and version number are separate.
Add Haiku, Inc. for all changes 2008-2014 based on commit logs.
If people want to assign their own copyright for work they did they
probably should add there name to the copyright list.
...instead of hardcoding black.
Only you can prevent hard-coded colors.
Make sure to set both high color and low color so we don't get
anti-aliasing glitches.
Also, use be_control_look->DefaultLabelSpacing() instead of 5.0f.
Only you can prevent hard-coded label spacings.
Also return early if text is NULL (not set).
Fixes a small part of #10840
... matching the rest of the list view borders.
* Don't draw the middle bar in DrawItem(), that already happens in
owner->Draw(), no reason to draw it twice.
* Update copyright header.
* Currently, no command line options are being passed via u-boot
to haiku. However, the comparison doesn't ensure that cmdline
is not an empty string - it merely ensures cmdline is not null.
Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>
* After initializing the page table and enabling MMU,
the pre-MMU stack becomes invalid leading to a fault.
This was fixed by moving the stack to SDRAM as specified
in LOADER_MEMORYMAP before ARM entry point start_netbsd.
Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>
- Isolate the filesystem query/result list building into a separate
worker thread in order to prevent blocking the window thread in
case the query winds up being a bit more time consuming. This
doesn't yet handle intelligent prefetching (and associated can of
synchronization worms), but that will come once time permits.
- Also fixes a missing break statement introduced in the aforementioned
commit, though that one shouldn't have caused any actual harm.
* To avoid problems caused by the varying python versions used by the
different architectures, switch those packages from 'any' to explicit
architecture.
The only purpose of this was to use the installed version of Errors.h,
which isn't strictly needed and create some annoyance when new error
codes are added.
A lot of clarification.
Also, sometimes "the object" was used to refer to the BString you're doing
stuff to and sometimes "the BString" was used, settle on "the BString".
Keep the brief description as a regular comment above each public method.
Leave the docs of private methods.
Some variable renaming mostly because of abbreviations.
Add documentation for all the public methods and app_info members and defines
that didn't have docs in the cpp file.
This also adds the libtool_cross_generic package to ARM bootstrap,
which seems to be required for building ncurses successfully. I did
not have the time to verify that this is the case for x86_64 too, so
I'm not yet adding it to there (yet).