Commit Graph

54004 Commits

Author SHA1 Message Date
Augustin Cavalier
6031dea0cb BTabView: Lots of fixes & cleanup.
* Address TODO about setting fSelected when nothing is done.
 * Pass a pointer to the tab view to the BTab so that it can call Invalidate().
  (Checked against BeOS).
 * Call Invalidate() from the BTab after SetView() & SetName().

Fixes #12108 & #12196.
2015-07-13 21:34:52 -04:00
Dario Casalinuovo
fb6c8a0479 NodeTest: Add GetNodeAttributesFor test 2015-07-13 18:13:48 +02:00
Dario Casalinuovo
c079d8d6d9 Implement BMediaRoster::GetNodeAttributesFor 2015-07-13 18:13:48 +02:00
Adrien Destugues
76e7f5688d bfs_tools: add some extra checks to avoid crashes.
I'm not sure I'm fixing the root cause of problems here, but this avoids
some crashes and I could recover my files this way.
2015-07-13 18:09:18 +02:00
Adrien Destugues
10e6523159 bfs_tools: some more structs needed packing. 2015-07-13 18:08:53 +02:00
Jérôme Duval
e5e3ac7f70 Updated gcc package for x86_64. 2015-07-13 06:47:26 +02:00
Rene Gollent
32b9dee486 Debugger: Minor tweaks. 2015-07-12 15:14:51 -04:00
Dario Casalinuovo
8abf9450f0 BMediaNode API is now feature complete
* Change BMediaNode::GetNodeAttributes macro to CALLED(),
  since the base implementation should just return B_ERROR,
  unset as unimplemented for consistency.
* This means that since the latest changes the class
  is now feature complete and implements the whole R5 API.
* Add documentation comment for it as well.
* Fix some lines going over 80 chars.
2015-07-12 13:58:44 +02:00
Humdinger
32e484046d Updated yab-ide to 2.2.5-1. 2015-07-12 08:12:21 +02:00
Dario Casalinuovo
57fddf2a93 AudioMixer: Remove duplicated case forgot after cleanup 2015-07-11 16:50:32 +02:00
Dario Casalinuovo
44cd1f48f3 MediaKit: Move old R3 API files to legacy subdir 2015-07-11 16:44:43 +02:00
Dario Casalinuovo
331792160a BBuffer: initialize variables and cleanup
* Restore the BSmallBuffer exception in constructor,
  it's not actually implemented or used but it should
  still be keep safe.
* Initialize some variables in BBuffer and BBufferGroup.
2015-07-11 15:40:17 +02:00
Dario Casalinuovo
8c19f07f3c AudioMixer: check for errors.
* Improve CreateBufferGroup function.
* Initialize variables.
* Check for BBufferGroup::InitCheck.
2015-07-11 15:40:17 +02:00
Dario Casalinuovo
e3b2c4efea multi_audio_node: check BBufferGroup init errors 2015-07-11 15:40:17 +02:00
Dario Casalinuovo
714446cfab BufferProducer: check for BBufferGroup creation 2015-07-11 15:40:16 +02:00
Dario Casalinuovo
280c64a92f BBufferGroup: rework init error handling 2015-07-11 15:40:16 +02:00
Dario Casalinuovo
1cc20d8231 BBufferGroup: Check for duplicated buffer id
* This exclude some possible cheating cases.
  It impose to have only a buffer_id per thread,
  so instances will not be duplicated if not needed.
2015-07-11 15:40:16 +02:00
Dario Casalinuovo
0341eac71b BufferConsumer: rework SetOutputBuffersFor
* Use MemoryDeleter.
* Avoid use of dynamic allocation.
2015-07-11 15:40:15 +02:00
Dario Casalinuovo
f50d7408b5 BBufferGroup::GetBufferList: avoid dynamic allocation 2015-07-11 15:40:15 +02:00
Dario Casalinuovo
aa50bf9e9e BufferCache: Don't find anonymous buffers 2015-07-11 15:36:00 +02:00
Dario Casalinuovo
2e60efdafe BMediaNode: Improve readability
* Style fixes.
* Remove pervasive comments.
* Cleanup.
2015-07-11 15:36:00 +02:00
autonielx
1f5588ed21 Update translations from Pootle 2015-07-11 06:40:05 +02:00
Jérôme Duval
a83446983d libroot: added a complex.h header based on ...
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/complex.h.html
* added missing parts from glibc.
* x86_64 was already complete, x86 was missing a few functions.
* should help with #12202, provided that the gcc4 buildtools are rebuilt.
2015-07-10 22:39:21 +02:00
Dario Casalinuovo
b6f0f88432 Implement BMediaRoster::GetFileFormatsFor 2015-07-10 18:46:20 +02:00
Dario Casalinuovo
42d17c1aa0 Add more checking for BFileInterface related methods
* Validity of node and correct kind are now checked.
2015-07-10 18:46:19 +02:00
Dario Casalinuovo
7548648420 Implement BMediaRoster::SyncToNode 2015-07-10 18:46:19 +02:00
Dario Casalinuovo
5720dfd49a MediaKit: Update NodeTest
* Update it to actual API and restore build.
* Add SyncToNode test.
2015-07-10 18:46:18 +02:00
Augustin Cavalier
394cd746c0 AboutSystem credits: Move Alexandre and Siarzhuk to "past".
Siarzhuk requested he be moved to "past".
2015-07-10 11:24:24 -04:00
Augustin Cavalier
d2f31ec424 AboutSystem credits: Move a few maintainers to "past", add Dario. 2015-07-10 10:31:33 -04:00
Dario Casalinuovo
1363ef8d85 MediaFilePlayer: use BString for fName attribute 2015-07-09 23:45:17 +02:00
Dario Casalinuovo
8208641822 media_addon_server: cleanup of MediaFilePlayer 2015-07-09 23:45:17 +02:00
Dario Casalinuovo
7bcdb36249 media_server: Improve BTimeSource slave nodes management
The media_server is now able to remember the timesource associated to
a certain registered_node and always remove it when the owner
application crash, Fixes Ticket #11852
2015-07-09 23:45:16 +02:00
Dario Casalinuovo
d97447ba40 media_server: Add missing notifications for flavors/nodes changes 2015-07-09 23:45:16 +02:00
Humdinger
b7d5c81a95 Updated yab and Clipdinger packages. 2015-07-09 19:18:52 +02:00
Automatic Committer
2f4a204dc3 Update pci.ids from pciids.sourceforge.net 2015-07-09 05:20:29 +02:00
John Scipione
0f0de97fed Nebula: Convert fixed length char to BString 2015-07-08 15:33:10 -07:00
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