Commit Graph

34113 Commits

Author SHA1 Message Date
Stefano Ceccherini
43e738bd36 Style fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-18 06:31:01 +00:00
Ingo Weinhold
64c15cfc27 * sCurrentKernelDebuggerMessageArgs is no longer used directly. Whenever it
is passed to some v*printf(), we clone it first. This way we can use it
  repeatedly. It worked only on certain architectures correctly before.
* Changed the panic() semantics a bit: When the format contains the
  (hopefully unusual enough) string "@!" only the part before it is
  considered to belong to the panic message. The part after it is interpreted
  as a command line to be executed directly after entering KDL. This way it
  is possible to provide helpful command invocations only developers somewhat
  familiar with the subsystem might come up with. E.g.:
    panic("dec_vnode_ref_count: called on busy vnode %p"
      "@! vnode -p %p; mount _mount", vnode, vnode);


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-18 00:47:43 +00:00
Ingo Weinhold
6365627b33 * Added support for giving multiple kernel debugger commands in a single
line, separated by ";".
* Fixed incorrect parsing when "|" was not separated by a space from the
  previous argument.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-17 22:56:07 +00:00
Stephan Aßmus
bbba047c2d * Added copy constructors.
* Let the AddHours(), Add*() return itself, so that they can be chained.
 * Made the previous *Name() methods static and added non-static versions that
   take the day/month of the object.
 * Make BDateTime::Date/Time() return references (const or non-const).
 * Fixed the BDateTime comparison operators.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-17 18:51:41 +00:00
Stephan Aßmus
991ab2d375 Removed left-over, thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-17 15:39:28 +00:00
Stephan Aßmus
cc28efee7e Use the new cursors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-17 12:43:57 +00:00
Stephan Aßmus
769912c87b Use the new cursors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-17 12:39:24 +00:00
Stephan Aßmus
a5b1cf5973 * Style cleanup.
* Use the new cursors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-17 12:31:51 +00:00
Stefano Ceccherini
33e11f7c0f Squashed todo: only compute the numEntries once, and made it static.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-17 12:19:34 +00:00
Stephan Aßmus
770ebceafa Just realized that BTabViews don't have a BLayout set when not layouted. But
just in case someone calls the BSize methods on such a tab view, provide a fall
back implementation. This one should now also report the correct size, only
less efficient.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-17 12:15:14 +00:00
Stephan Aßmus
7b19a569be The layout on the BTabView already knows the correct necessary size, because
the insets for the border and tab height have already been applied. The old
implementation for the BSize methods did not take border width into account.
It fixes tabviews being layouted too small.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-17 12:10:05 +00:00
Stephan Aßmus
2db604ae36 r34118 broke setting the repeat delay in the Keyboard preflet.
Thanks to diver for tracking it down! Fixes #5281.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-17 10:07:31 +00:00
Siarzhuk Zharski
a1070c1661 Russian/Belarusian/Ukrainian cyrillic keymaps reworked in result of discussion in community;
Mac-alike keymaps for Russian/Belarusian/Ukrainian were added and are waiting for refugees from Mac OS. ;-)
Belarusian (Latin) and Russian (Typewriter) keymaps added;
Basic Belarusian keymap was renamed in correspondence with ISO 963-2.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-16 21:34:07 +00:00
Ingo Weinhold
38c7ed7c47 Added kernel debug config option KDEBUG_ENABLE_DEBUG_SYSLOG which determines
the default setting for the "debug syslog" feature (can still be overridden
in the boot loader). Per default enabled for kdebug level >= 1.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-16 19:39:22 +00:00
Ingo Weinhold
3fded33493 * Write kernel debugger output to the syslog as well. This should make life
for people who cannot capture serial output easier.
* The syslog sender thread waits with timeout now, so output added to the
  syslog buffer without explicit notification is still written after a few
  seconds at the latest.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-16 19:36:54 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2010-03-13 18:30:53 +00:00