Commit Graph

53968 Commits

Author SHA1 Message Date
John Scipione
a11f9c281c Nebula: Internationalize strings 2015-07-08 15:33:08 -07:00
John Scipione
5a17435fc3 Nebula: whitespace style fixes only, no functional changes 2015-07-08 15:33:05 -07:00
John Scipione
ab2bb7fe61 Nebula: Use size_t instead of int32 for iterator 2015-07-08 15:33:03 -07:00
John Scipione
1a1667fc1d Nebula: Use B_PRId32 instead of %ld 2015-07-08 15:33:01 -07:00
John Scipione
3ad91dc4f1 Nebula: Convert fixed length char array to BString 2015-07-08 15:32:37 -07:00
John Scipione
d1c13fd009 Nebula: Move prefs layout into constructor.
Only setting the targets is done in AttachedToWindow()
Some style fixes also applied
2015-07-08 15:32:34 -07:00
John Scipione
dd822ba860 Nebula: Style screen saver prefs
* Make the title the default font and bold like other screen savers
* Don't center the copyright text, left align
* Put spacing strut between title/copyright and the rest
* Put the pop-up menus in a grid, make them variable width
* Add some more glue so items grow apart more nicely
2015-07-08 15:32:18 -07:00
Adrien Destugues
2df2dca422 bfs tools: missing null check, 64bit support
* Some NULL checks were missing, but on 32-bit machines recover will still fail on my big data partition as it goes out of memory.
* Pack structures that are mapped to on-disk data, so when using a 64-bit compiler, no padding is inserted. Hopefully with 8GB of RAM I have enough to recover my data.
2015-07-08 18:35:58 +02:00
Adrien Destugues
3c3582974a recover: fix 64 bit build
* format strings
* wrong parameters passed to Inode::CopyTo

The 64-bit version does not detect any inodes on my disk, whereas the
32-bit version does. So, more work is needed.
2015-07-08 18:35:57 +02:00
Augustin Cavalier
e274ee171a screen_savers/Nebula: Cleanup DrawStars.
The assembly I converted this from didn't look hand-generated, which
probably explains why it was so convoluted.

No functional change intended (the generated code will change, though.)
2015-07-08 10:57:20 -04:00
Augustin Cavalier
548f42a880 screen_savers/Nebula: Initialize "fStarted" member.
CID 1311316.
2015-07-08 10:43:10 -04:00
Augustin Cavalier
43b42b98fe screen_savers/Nebula: Create header files for Draw.c/DrawStars.c. 2015-07-08 10:43:07 -04:00
Augustin Cavalier
01732795a5 screen_savers/Nebula: Add/update copyright headers to all files. 2015-07-08 10:43:05 -04:00
Augustin Cavalier
693e10ef55 screen_savers/Nebula: Restore "internal resolution" setting.
However, now it defaults to the screen resolution.
2015-07-08 10:43:02 -04:00
Alexander von Gluck IV
63b02c37d4 accelerants/common: Add displayport aux message struct 2015-07-08 00:03:38 -05:00
Augustin Cavalier
35c984142e screen_savers/Nebula: Rename variable in DrawStars.c.
Lots of cleanup here still needed, but it's OK for now.
2015-07-07 20:06:29 -04:00
Augustin Cavalier
d3a89219a7 screen_savers/Nebula: Fix GCC4 warning. 2015-07-07 20:05:36 -04:00
Augustin Cavalier
0fe33fd516 images/regular: Add Nebula to the default image. 2015-07-07 20:05:33 -04:00
Augustin Cavalier
88f0064617 screen_savers/Nebula: Switch to using the Layout API for settings.
Also clean up bits of the style at the same time.
2015-07-07 20:05:30 -04:00
Augustin Cavalier
6b37a7d187 screen_savers/Nebula: Update license header and copyright. 2015-07-07 20:05:27 -04:00
Augustin Cavalier
dc9d1c8290 screen_savers/Nebula: Get rid of the version string.
This isn't needed anymore, now that Nebula is part of Haiku.
2015-07-07 20:05:25 -04:00
Augustin Cavalier
91490e67b8 screen_savers/Nebula: Get rid of the "internal horizontal resolution".
I don't know why this was in there -- possibly for older machines
that couldn't do their fullscreen resolution at 60fps? Which doesn't
make a lot of sense, since there's a frame-limiting option too.
2015-07-07 20:05:22 -04:00
Augustin Cavalier
e58a469849 screen_savers/Nebula: Remove optimization CFLAGS, let the compiler decide. 2015-07-07 20:05:19 -04:00
Augustin Cavalier
2f4d14b7e8 screen_savers/Nebula: Switch to using a Jamfile. 2015-07-07 20:05:16 -04:00
Augustin Cavalier
c5fe084ea4 screen_savers/Nebula: Make STAR_WIDTH an argument instead of a #define. 2015-07-07 20:05:13 -04:00
Augustin Cavalier
9bc305b2ed screen_savers/Nebula: Remove assembly comments from DrawStars.c. 2015-07-07 20:05:10 -04:00
Augustin Cavalier
413d14fb36 screen_savers/Nebula: Convert draw_stars.S to C.
Hand-translated. I left the assembly in as comments for easy analysis,
I'll remove it in the next commit.
2015-07-07 20:05:08 -04:00
Augustin Cavalier
c93cc19069 screen_savers/Nebula: Remove assembly comments from Draw.c. 2015-07-07 20:05:05 -04:00
Augustin Cavalier
e0f44d02f4 screen_savers/Nebula: Convert draw.S to C.
Hand-translated. I left the assembly in as comments for easy analysis,
I'll remove it in the next commit.

(I didn't do this on my own, I had help.)
2015-07-07 20:05:02 -04:00
Augustin Cavalier
1461b362da screen_savers: Import Nebula.
This is an unmodified version of Axel's "Nebula" screensaver,
except with the RSRC converted to an RDEF.
2015-07-07 20:04:59 -04:00
John Scipione
0afa3a4850 BRoster docs: force be_roster to link, lang cleanup 2015-07-07 16:22:31 -07:00
John Scipione
e8aeed6eef Fix BRoster::Launch documentation const mismatch 2015-07-07 16:22:29 -07:00
John Scipione
49a56113ef Fix typo: on => one 2015-07-07 16:22:27 -07:00
John Scipione
046d20afd1 BScrollView::ScrollBar return val docs past tense 2015-07-07 16:22:25 -07:00
John Scipione
5a2ed95c23 Clarify ScrollView::ScrollBar() direction parameter in docs 2015-07-07 16:22:23 -07:00
John Scipione
c466b4daeb IK: Change orientation param name to direction
for ScrollView::ScrollBar in ScrollView.h and the documentation. This makes
the parameter name consisent and fixes a doxygen warning.
2015-07-07 16:22:22 -07:00
Alexander von Gluck IV
0de3a59590 radeon_hd: ss_probe reads the pixel clock; set before calling.
* CID 743876
2015-07-07 15:16:36 -05:00
Humdinger
310cd0e731 Added Vacuum package.
See http://www.vacuum-im.org.
Thanks Diver!
2015-07-07 20:16:53 +02:00
Augustin Cavalier
93c67e52f3 docs/user: Add/update some '\sa's. 2015-07-07 11:57:42 -04:00
Augustin Cavalier
0426b7e7e8 docs/user: Fix documentation of BTab::SetLabel. 2015-07-07 11:57:40 -04:00
Alexander von Gluck IV
bf8fe3ddb3 radeon_hd: Add Hawaii,Topaz,Tonga,Carrizo chips/cards 2015-07-07 10:27:44 -05:00
Julian Harnath
db8517e2d7 netresolv: use thread-safe version of res functions
* Make getaddrinfo() and friends thread-safe by using the thread-safe
  versions of the res functions.

* NetBSD offers two versions of the res functions: one in res_state.c
  from the netresolv directory, defined as weak symbols. It is the
  legacy version and only for single-threaded applications.
  A thread-safe version of the functions is in res_state.c inside
  their libpthread directory. An application that uses pthreads on
  NetBSD will then use the non-weak symbols from the pthreads
  library.

* On Haiku, the thread-safe version is now always used. The
  res_state.c is taken from NetBSD's libpthread directory, and then
  only struct _nres from the other file is added to it.

  Please keep this in mind for future updates of netresolv, do not
  accidentally replace it with the single-threaded version.

* This e.g. fixes WebPositive just hanging when opening websites
  (even in situations where no IPv6-related problems apply), waiting
  forever to resolve names.
2015-07-05 13:26:02 +02:00
Michael Lotz
29e8040d58 log_overlay: Fix 64 bit build and add to image. 2015-07-05 10:40:01 +02:00
Michael Lotz
1a776b25ce fat: Fix debug build after creation time cleanup in hrev49339. 2015-07-05 10:09:01 +02:00
Ingo Weinhold
fb29004aaf disk device manager: Remove obsolete include path
virtualdrive hasn't been used for a long time. Should help with #12162.
2015-07-05 09:40:13 +02:00
Michael Lotz
dbaafd15c0 fat: Remove directory from dlist on unlink, not in remove_vnode.
The removal of the vnode happens later than the actual unlink. As part
of the unlink, the vnode cache is already updated to mark the unlinked
directory invalid. This means its entry in the directory list needs to
be removed as well. Otherwise, if a directory list entry is looked up
in the time between unlink and remove_vnode, the assertion which checks
the validity of the directory list entries would fail.
2015-07-04 23:32:08 +02:00
Michael Lotz
adc769a79f fat: Fix function name in debug output. 2015-07-04 23:32:07 +02:00
Michael Lotz
b241080102 fat: Fix corruption of file data with removed directory entries.
Directory entries are cached using the block cache, so the cached
blocks need to be discarded when directories are removed/shrunk.
Otherwise freed directory blocks that were reused for file data would
later be clobbered when the block cache was flushed.

The forced cache sync for removable media hid the problem for these
devices. It was easily triggered on non-removable media however.
2015-07-04 23:32:07 +02:00
Michael Lotz
de3763846d fat: Whitespace cleanup only. 2015-07-04 23:32:06 +02:00
Michael Lotz
59891eb49c fat: Remove cluster cache init and data structure.
The cluster cache was used before porting to the file map API and is
not and can not be used there anymore.
2015-07-04 23:32:06 +02:00