34098 Commits

Author SHA1 Message Date
Ingo Weinhold
085cf27b40 * Added Directory::CreateFile() which can be implemented by file systems to
support file creation.
* Extended open() and open_from() to support O_CREAT to create files.
  open_from() has got an optional "permissions" parameter for that purpose.
* Fixed errno. It would crash when being used. Also changed the POSIX functions
  to return their error code via errno as expected.
* Added writev().
* FAT file system:
  - Added support for reading long file names.
  - Added support for creating files (8.3 name only) and writing to them.
  - Enabled scanning partitions with it.
* Boot loader menu:
  - Enabled the "Reboot" menu item unconditionally.
  - Added "Save syslog from previous session" menu item to the debug menu.
    Currently saving the syslog to FAT32 volumes is supported.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35882 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35882
2010-03-16 17:29:58 +00:00
Ingo Weinhold
d1367a37cc Implemented BIOSDrive::WriteAt(). Currently it supports only LBA addressing
and requires position and size to be block-aligned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35881 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35881
2010-03-16 17:10:00 +00:00
Ingo Weinhold
fac2ce3d92 Added ring_buffer_get_vecs() that returns iovecs describing the contents of
the buffer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35880 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35880
2010-03-16 17:07:40 +00:00
Scott McCreary
46fe29acd8 Fixed optionalpackage for subversion, this contains the fix discussed in HaikuPorts trac ticket 300, to put the subversion settings folder into ~/home/config/settings/subversion rather than home/subversion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35879 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35879
2010-03-16 16:02:53 +00:00
François Revol
3904a8dba0 export the project top level directory as $DEVPROJ.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35878 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35878
2010-03-16 14:52:19 +00:00
Michael Pfeiffer
2d468e62de Forgot to update the condition after not increasing the length variable
in r35872. 
Thanks Axel for pointing that out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35877 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35877
2010-03-16 09:57:41 +00:00
Michael Pfeiffer
ce5750a743 Added translation comment that "Unnamed %d" must use characters from
codepage 437.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35876 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35876
2010-03-16 09:29:34 +00:00
Michael Pfeiffer
2367c2d78d Replace each occurence of an invalide character. Before all invalid
characters where omitted and the substitute character was append at the end
of the input text.
Added comment how the continuation of incomplete multibyte sequences
could be solved.
Please review.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35875 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35875
2010-03-16 09:28:53 +00:00
Michael Pfeiffer
4e19eb33b3 Removed authors and copyright year from translation text.
Take the length of the about title text into account when making it
bold (might be translated as well).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35874 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35874
2010-03-16 09:21:26 +00:00
Michael Pfeiffer
0546e55379 Show preview of partition name if conversion was successful.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35873 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35873
2010-03-16 09:20:00 +00:00
Michael Pfeiffer
5bc2eb3bab BString:UnlockBuffer expects the length without the null-terminator.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35872 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35872
2010-03-16 09:14:42 +00:00
Matt Madia
26b5ececca Create "anyboot-image" and define build profile rules to utilize it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35871 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35871
2010-03-15 23:51:45 +00:00
Adrien Destugues
b3a0c3e552 Add new german translations from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35870 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35870
2010-03-15 21:47:18 +00:00
Adrien Destugues
98e1709057 Update some german catalogs from hta
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35869 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35869
2010-03-15 20:58:31 +00:00
Jérôme Duval
69681c7500 fix typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35868 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35868
2010-03-15 20:38:13 +00:00
Matt Madia
0e82d313d6 Allows AddOptionalHaikuImagePackages and OptionalPackageDependencies to work in
arbitrary order. Follow-up to r35830.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35867 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35867
2010-03-15 16:11:47 +00:00
Stephan Aßmus
a9daf3d911 Improved the DrawString() method that takes offsets per glyph by making the
client provide the array size. Added version that doesn't take a string length
for convenience.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35866 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35866
2010-03-15 15:08:07 +00:00
Stephan Aßmus
77e5acc0d9 * Extended the BView drawing API by a DrawString() version that takes an array
of locations, one for each glyph.
 * Added a test for the new functionality.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35865 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35865
2010-03-15 13:59:14 +00:00
Adrien Destugues
f237e4182b * Fix a small bug in BLanguage::GetName
* Use BLanguage in AboutSystem to get the names of the languages in the credit list, no need to add useless work for the translators
 * Add some contributors to the credits for japanese translation


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35864 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35864
2010-03-15 11:19:21 +00:00
Matt Madia
1a15ddf4f4 Updated BeZillaBrowser optional packages. Built on r35860. Uses internal libpng
and Haiku's libjpeg & libz.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35863 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35863
2010-03-14 23:44:53 +00:00
Jérôme Duval
8d2a059077 update pci idsO
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35862 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35862
2010-03-14 20:37:27 +00:00
Jérôme Duval
f406c2a4de pass the firewire comm cookie instead of the bus driver cookie
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35861 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35861
2010-03-14 18:52:07 +00:00
Michael Pfeiffer
b9b8a156d4 Reverted r35043. The "Save as PDF" printer could not save to
a PDF file, because it could not locate the "Print To file"
transport add-on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35860 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35860
2010-03-14 15:40:18 +00:00
Adrien Destugues
9d933b5156 Dummy strings used as size indicators should not be localized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35859 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35859
2010-03-14 14:53:57 +00:00
Adrien Destugues
fa0e574177 Identifiers in BMessages should not be localized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35858 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35858
2010-03-14 14:39:58 +00:00
Jérôme Duval
e842ee1933 * moved tiff public headers to headers/libs/tiff
* build shared and static libraries for libtiff, cleaned libtiff sources
* TIFFTranslator now uses this library
I used 3.8 as library version as it seems the API didn't change since then


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35857 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35857
2010-03-14 14:13:12 +00:00
Stefano Ceccherini
8074fdceb9 Set the preferred height of the separator to be always even, since, and center
the horizontal lines which represents it to the actual bounds. Should fix
#5440.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35856 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35856
2010-03-14 12:54:53 +00:00
Jérôme Duval
b0ec5aef02 copied libtiff 3.9.2 to trunk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35855 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35855
2010-03-14 12:15:52 +00:00
Jérôme Duval
b4f7c2428d adjusted png library version as suggested by Oliver. I hope I got it right!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35852 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35852
2010-03-14 11:37:15 +00:00
Michael Pfeiffer
a3d7d84d2d Fixed UI issues:
* Centered "file" text control and "select" button vertically.
* Made "file" text control smaller, so it is not overlapped by "select"
  button.
* Updated the scroll bar proportions in the "partitions" list.
* Positioned rows in "partitions" list correctly so they do not overlap.
* Increased row height, so the text control always fits into it.
* Centered "show" check box vertically.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35851 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35851
2010-03-14 10:16:37 +00:00
Stephan Aßmus
9bd81dbeac Subtract the dragger size more consequently from the legend frame, fixing the
ugly big color indicators.

BTW, I noticed that the ActivityView is not really using layout management at
all. But with the incomplete archiving features, this probably wouldn't work
too well anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35850 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35850
2010-03-14 10:10:59 +00:00
Scott McCreary
0ba947b7db Added BeAE as an optionalpackage, so far just for gcc2 builds, might also work on gcc4, but haven't tested that yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35849 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35849
2010-03-14 07:19:45 +00:00
Scott McCreary
3f39ea6467 Removed vim, since it is now available as an optionalpackage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35848 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35848
2010-03-13 19:41:07 +00:00
Jérôme Duval
5291bbb0be libpng API changed, adapted PNGTranslator accordingly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35847 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35847
2010-03-13 18:38:33 +00:00
Jérôme Duval
6793fc9a17 updated libpng to 1.4.1
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35846 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35846
2010-03-13 18:30:53 +00:00
Stephan Aßmus
5d2022c521 Fixed completely broken restoration of the path as the main means to refer to
an application location. It was basically always using the fallback of launching
apps by signature... Should fix #5458.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35845 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35845
2010-03-13 18:28:25 +00:00
Scott McCreary
38adad4cfb Moved tar to be a MandatoryPackage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35844 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35844
2010-03-13 18:08:39 +00:00
Scott McCreary
f781c8dbb4 Removed tar from the Jamfile instead of just commenting it out.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35843 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35843
2010-03-13 18:02:47 +00:00
Scott McCreary
ca84a1d958 Removed tar from the image as it's now added in as an optionalpackage
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35842 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35842
2010-03-13 17:55:41 +00:00
Stephan Aßmus
2318b47802 Indentation update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35841 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35841
2010-03-13 17:55:17 +00:00
Joachim Seemer
14f88b3412 Added a few more translators to AboutSystem. Thanks, guys.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35838 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35838
2010-03-13 16:23:37 +00:00
Jonas Sundström
59aee10aef Adding the preferred copyright and license clause.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35837 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35837
2010-03-13 14:53:17 +00:00
Ingo Weinhold
7778bccf93 sigsuspend() would previously wake up correctly when a matching signal was
received, but if the signal was in the thread's signal block mask, it would
not be handled. Added thread::sig_temp_enabled, an additional mask of not
blocked signals, which is set by sigsuspend() and evaluated and reset by
handle_signals(). Fixes #5567.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35836 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35836
2010-03-13 13:17:40 +00:00
Jonas Sundström
5975d86a38 Adding MessageStatus class, meant to replace booleans passed around.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35835 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35835
2010-03-13 12:32:22 +00:00
Ingo Weinhold
f427f6af3f Added some kernel tracing for sigsuspend().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35834 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35834
2010-03-13 12:31:01 +00:00
Scott McCreary
fe58216997 updated mercurial to 1.5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35833 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35833
2010-03-13 05:14:14 +00:00
Matt Madia
7785598bb7 Remove the hard coded path to sed. Fixes #5565
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35832 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35832
2010-03-12 23:05:37 +00:00
Matt Madia
429618d249 Moves the conditional adding of OpenSSL from HaikuImage to the root Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35830 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35830
2010-03-12 18:07:19 +00:00
Matt Madia
a5c31cbbc0 * Introduced "MandatoryPackages", which is added to all default images
* Renamed "BasicCommandLinesTools" to "Sed"
 * Removed isCDPackage's parameter from "Sed"s InstallOptionalHaikuImagePackage
 * Currently, "MandatoryPackages" only dependency is "Sed"
 * Fixes #5560


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35829 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35829
2010-03-12 18:03:57 +00:00
Matt Madia
0fee9c60ae Two blank lines between functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35828 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev35828
2010-03-12 17:37:11 +00:00