Commit Graph

48336 Commits

Author SHA1 Message Date
autonielx
b7f865a04d Update translations from Pootle 2013-11-09 06:14:35 +01:00
John Scipione
0096a29e9c Add BMenuField class documentation 2013-11-08 19:29:13 -05:00
John Scipione
d7d2ff5bde Minor updates to the BMenu and BMenuBar classes.
Remove the reimplemented hook methods groups because some
hook methods are there, some are not, unfortunately doxygen can’t
tell if a hook method just calls the default or does something else and
we tend to include all the hook methods even if we don’t actually make
any functional changes to them making the docs a bit more verbose
than they otherwise would be.
2013-11-08 19:29:13 -05:00
John Scipione
a676c40c3e Some minor updates to BControl docs. 2013-11-08 19:29:12 -05:00
John Scipione
8b4655091d More minor updates to the BView docs. 2013-11-08 19:29:12 -05:00
Stefano Ceccherini
8897f2780d NetworkStatus: Use the network API
Use the Network API instead of querying the net_stack via socket.
2013-11-08 23:26:26 +01:00
Jérôme Duval
fe2d4a0fa3 ac97: added a few codec ids.
* minor code cleanup
2013-11-08 19:01:31 +01:00
Jérôme Duval
4d9dca1905 hda: added a few quirks.
* trace the quirks along with codec ids.
2013-11-08 18:46:45 +01:00
waddlesplash
72dfdc7940 Set INLINE_INHERITED_MEMB to NO.
* "YES" causes all members of a class to be stuck in that class' page.
* No need to do that, there's a "List all members" page.
* This will make the docs a lot smaller and easier to read.

Signed-off-by: John Scipione <jscipione@gmail.com>
2013-11-07 17:18:54 -05:00
Axel Doerfler
0c873619ce ahci: Fixed missing endian conversion.
* Spotted by Rene, thanks a lot!
2013-11-07 19:06:35 +01:00
Axel Dörfler
e6bde50a07 scsi_periph: use synchronous command.
* The call waited anyway, so there is no reason to make it async.
2013-11-07 19:06:24 +01:00
Axel Dörfler
547cd462f8 trim: Added is_called_via_syscall() function.
* And use it in get_trim_data_from_user(), formerly known as copy_*().
* This fixes differentiating between user and kernel buffers.
2013-11-07 19:06:13 +01:00
Axel Dörfler
79cb543ae0 ahci: Minor coding style cleanup.
* Renamed some methods to camel case.
* Replaced coding error panics with ASSERTs.
2013-11-07 19:06:04 +01:00
Axel Dörfler
dbeb6b56b4 ahci: Fixed braindead variable naming.
* Again, thanks Marcus!
2013-11-07 19:05:53 +01:00
Axel Doerfler
2e4e1eb2d9 ahci: fixed endless loop, and missing bit.
* The value for trim is bit 0, not 0; added sata_request::SetFeature()
  to change this.
* The lba range fill loop never ended.
* Thanks to Marcus for proof-reading!
2013-11-07 19:05:41 +01:00
Axel Dörfler
930cb4206b ahci: Minor cleanup. 2013-11-07 19:05:31 +01:00
Axel Dörfler
fd88486a31 ahci: Set the command bits as required.
* The trim command should be functional now, but it's completely untested
  at this point.
2013-11-07 19:05:22 +01:00
Axel Dörfler
10deaef118 ahci: Added missing wait_for_completion().
* Thanks Marcus!
* That made the return code for ExecuteSataRequest() pretty much useless,
  so I removed it again.
* Also, a delete sreq was missing; I now allocate it on the stack instead.
2013-11-07 19:05:04 +01:00
Axel Dörfler
e858a6b2a0 ahci: WIP of implementing trim command.
* Data Set Management specific bits are still missing.
2013-11-07 19:04:52 +01:00
Axel Dörfler
6317a4c399 scsi_periph: fixed copy&paste error in periph_trim_device(). 2013-11-07 19:04:44 +01:00
Axel Dörfler
d82e6bcf6b ahci: Use get_memory_map_etc().
* Simplifies code a bit.
2013-11-07 19:04:32 +01:00
Axel Dörfler
13e72c9a72 ahci: Minor cleanup.
* Mostly utilized ATACommands.h
2013-11-07 19:04:20 +01:00
Axel Dörfler
33945c5c89 ahci: Pushed TRIM support a tiny bit further.
* Now doesn't do anything on SCSI_OP_UNMAP, instead of doing nothing on
  SCSI_OP_WRITE_SAME_16.
2013-11-07 19:03:55 +01:00
Axel Dörfler
99086aa323 trim: Target SCSI UNMAP command instead of WRITE SAME.
* The UNMAP command is theoretically much faster, as it can get many block
  ranges instead of just a single range.
* Furthermore, the ATA TRIM command resembles it much better.
* Therefore, fs_trim_data now gets an array of ranges, and we use SCSI UNMAP
  to trim.
* Updated BFS code to collect array ranges to fully support the new
  fs_trim_data possibilities.
2013-11-07 19:03:47 +01:00
Axel Dörfler
960c56aea5 This gets the trim command as WRITE SAME operation to SCSI
* Neither hardware nor driver to test it; AHCI/IDE support is next
  on the table.
2013-11-07 19:03:35 +01:00
Axel Dörfler
0a0ba4b5f0 Added B_TRIM_DEVICE support to BFS.
* It currently ignores the offset/size, though, and always trims everything.
* Now only SCSI support is missing.
2013-11-07 19:03:15 +01:00
Axel Dörfler
a352b43896 Added fstrim command.
Later, there should be a service that runs this from time to time for all
devices that support it.

Conflicts:
	build/jam/HaikuImage
2013-11-07 19:02:53 +01:00
Axel Dörfler
29a8450843 Added B_TRIM_DEVICE ioctl. 2013-11-07 19:01:24 +01:00
John Scipione
34ce2cefc8 BMenuBar docs, silly mistake 2013-11-06 19:35:01 -05:00
John Scipione
ed7c19b5ef Added BMenuBar docs. 2013-11-06 19:26:34 -05:00
John Scipione
ef92b3dd4c BMenuBar: Update param names related to docs.
No functional change intended.

Renamed title => name in regular constructors,
      No right or wrong here but consistant now.
Renamed data => archive in Achive constructor,
      Ditto.
2013-11-06 19:26:19 -05:00
John Scipione
0d635255f5 Minor updates to BMenu docs.
Added an Archive() method description.
2013-11-06 19:23:48 -05:00
John Scipione
45e17d3d42 Update BView::DrawAfterChildren() param name
... from r to updateRect, no functional change intended.

Also a tiny change to the param description in the docs.
2013-11-06 13:14:53 -05:00
John Scipione
2f746eafdc Add BMenu documentation 2013-11-06 12:21:58 -05:00
John Scipione
9a9ebda459 BMenu: Some style fixes related to docs
Mostly just making the variable names match between the
header and source.

No functional change intended.
2013-11-06 12:21:58 -05:00
John Scipione
45b87db2b7 A few minor updates to the BView docs 2013-11-06 12:21:57 -05:00
Jérôme Duval
a0fe2facbd x86_64: added wlan drivers to the image. 2013-11-06 13:47:28 +01:00
Jérôme Duval
4089e1c1ca FreeBSD compat layer: fixed bus_space_barrier for x86_64 2013-11-06 13:47:27 +01:00
Ingo Weinhold
24394a9d11 Add findpaths command line tool
It provides the new find_path*() functionality to the shell.
2013-11-05 21:42:24 +01:00
Ingo Weinhold
8afbcbeb6f Add class BPathFinder
It's a more convenient C++ wrapper for the new find_path*() C functions.
2013-11-05 21:40:43 +01:00
Ingo Weinhold
986e4abce4 Add new API find_path[s](), find_path_for_path()
The new functions are meant to replace many uses of find_directory():
* find_paths() is supposed to be used when the directories of a certain
  kind in all installation directories are needed (e.g. font
  directories, add-on directory, etc.). Using this API makes code
  robust wrt addition or removal of installation locations.
* find_path() is supposed to be used when files/directories associated
  with a loaded program, library, or add-on need to be found (e.g. data
  files or global settings).
* find_path_for_path() is similar to find_path(), but it starts from a
  given path instead of an image.
2013-11-05 21:40:43 +01:00
Ingo Weinhold
a712cdd0b1 image.h: Add B_{APP,CURRENT}_IMAGE_SYMBOL macros
* Those can be used in cases where a pointer to an image symbol is
  required.
* Adjust BResources::SetToImage() accordingly.
2013-11-05 21:40:43 +01:00
Ingo Weinhold
a05e0af507 BeBuild.h: Fix B_DEFINE_WEAK_ALIAS for use in C++ code 2013-11-05 21:40:42 +01:00
Ingo Weinhold
efe2665986 packagefs: Add automatic SYS:PACKAGE_FILE attribute
* Rename SYS:PACKAGE attribute to SYS:PACKAGE_FILE.
* Re-add SYS:PACKAGE attribute. It contains the versioned name of the
  package.
2013-11-05 21:40:42 +01:00
Ingo Weinhold
415e374ec5 packagefs: Package: Add versionedName property 2013-11-05 21:40:42 +01:00
Oliver Tappe
e2e7d9647e Adjust repository files to changed repo URL.
* the repository URL should better define the type of repository (in
  this case: haikuports) and the branch (i.e. release) name.
2013-11-05 21:17:08 +01:00
John Scipione
d0350bc385 Comment out B_COMMON_ constants for now 2013-11-05 13:40:22 -05:00
John Scipione
dd1281c99b Style fixes to FindDirectory 2013-11-05 13:36:23 -05:00
John Scipione
f27f868283 Not in group libbe 2013-11-05 13:25:00 -05:00
John Scipione
40cbf3eb0e Documentation fixes to HttpRequest, fixes warnings. 2013-11-04 20:17:45 -05:00