Commit Graph

48413 Commits

Author SHA1 Message Date
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
John Scipione f8133e6de7 Documentation updates to HttpForm
Stub out missing method docs.
2013-11-04 20:17:18 -05:00
John Scipione c2c1ce1dc5 Style fixes to HttpRequest 2013-11-04 20:16:26 -05:00
John Scipione f1e63b05cb Style fixes to HttpForm 2013-11-04 20:16:05 -05:00
Jérôme Duval e2183a14c4 Increased kernel stack size by another page for 64-bit
* USB boot now works on x86_64 with PM.
2013-11-04 18:53:49 +01:00
Jérôme Duval 6e157720e1 only builds fwcontrol for x86 2013-11-04 18:03:37 +01:00
Jérôme Duval 45c56fdb6b acpi_lid: correctly report lid status
* notify handling not working (like acpi_ac).
* deleted header
* code cleanup
2013-11-04 18:03:36 +01:00
Jérôme Duval c9fb65f961 acpi_button: improved traces 2013-11-04 18:03:35 +01:00
Jérôme Duval d0a75d2c3a acpi: added driver for AC Adapter devices.
* correctly report the AC status
* notify handler not called
2013-11-04 18:03:33 +01:00
Jérôme Duval b7c15bf02a acpi: use AcpiGetObjectInfo() for get_device_hid(). 2013-11-04 18:03:32 +01:00
François Revol 0e1c6462de Merge branch 'sam460ex' 2013-11-04 17:04:49 +01:00
Oliver Tappe 298d500b37 Adjust URLs of HaikuPorts-repositories. 2013-11-04 00:27:45 +01:00
Oliver Tappe e4bd712d11 Replace jam build-remote-repository with jam upload-packages
* We are moving the HaikuPorts repositories over from haiku-files.org
  to packages.haiku-os.org, and we will be creating new repositories
  during a push hook from now on. As a result, only a small helper for
  uploading new packages into the appropriate upload folder is required.
2013-11-03 23:53:31 +01:00
autonielx 79f5b73db6 Update translations from Pootle 2013-11-02 06:16:49 +01:00
Rene Gollent 4f157da334 Update Vision package to fix missing app icon. 2013-11-01 22:48:57 -04:00
Jérôme Duval d5e0bd3412 acpi: removed iasl tool
* it didn't build since at least five years.
* it should become a user package anyway.
2013-11-01 12:50:12 +01:00
Jérôme Duval c70258b79f acpi: Update to ACPICA 20130823. 2013-11-01 12:50:12 +01:00
Ingo Weinhold 3329eaa1ad Deskbar: Use shift modifier for page-wise wheel scrolling 2013-10-31 23:02:11 +01:00
Ingo Weinhold 40082f768a BMenu: Update comment 2013-10-31 22:46:57 +01:00
Ingo Weinhold 0b4c2d3210 BMenu: Use shift modifier for page-wise wheel scrolling
Fixes part of #9907.
2013-10-31 21:50:25 +01:00
Humdinger b9b1c2834c Changes to icon related MIME types.
Added image/x-hvif for vector icons.
Changes to description of Icon-O-Matic documents.
Added x-hvif to Icon-O-Matic's supported types.
2013-10-31 15:07:51 +01:00
Jérôme Duval e856422f12 acpi_button: switch to fixed event and notify handlers.
* install a fixed event or notify handler depending on the device type.
* on handling, a non zero status is available for read.
* fixed #10154.
2013-10-30 22:29:40 +01:00
Jérôme Duval cb4d33ca26 acpi: create fake acpi devices for FADT power and sleep buttons.
* adjust ACPIDeviceModule to accept nodes without ACPI_DEVICE_PATH_ITEM.
2013-10-30 22:29:38 +01:00
Jérôme Duval daf95c6d8c acpi: use acpi_event_handler instead of interrupt_handler. 2013-10-30 22:29:37 +01:00