Commit Graph

33857 Commits

Author SHA1 Message Date
Michael Pfeiffer 8c468cb466 Localized Printers preferences application.
Added German translation. Feel free to improve it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 13:24:26 +00:00
Adrien Destugues 84df7867f8 Patch by stargater : localize pairs. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 13:13:18 +00:00
Stephan Aßmus e8e5e0caa0 Strings in BMessages don't necessarily have to be \0 terminated. Use the already
known length to print the stream so printf() doesn't potentially crash when
trying a strlen() on the string. Fixes for example printing B_KEY_DOWN messages,
where such strings are used, in certain conditions.

Review welcome, printf() formatting is not one of my strengths. :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 09:44:30 +00:00
Oliver Tappe 3fbef6e0ec * added one more missing dependency for ICU_Confusables, fixing #5475
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-27 01:08:26 +00:00
Oliver Tappe 5dbf6e515e closing #5039:
* fix ICU jamfiles to no longer MakeLocate on source files and added some 
  missing dependency declarations for break-iterators - now building with
  -j16 no longer fails (it did before, for me too)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-26 23:27:21 +00:00
Ingo Weinhold c35e2c70cb Added option "-p" to the "vnode" debugger command. Using the entry cache it
tries to resolve the vnode's path.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-26 22:14:42 +00:00
Ingo Weinhold 83291a2a64 Added DebugReverseLookup() method to reverse-lookup directory and entry name
for a given vnode (for debugging purposes).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-26 22:13:18 +00:00
Ingo Weinhold 561d4cb9eb Sort the package credits case-insensitively. Fixes #5185.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-26 14:55:31 +00:00
Ingo Weinhold e76c1e84b7 Added static NameLessInsensitive() comparison method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-26 14:54:32 +00:00
Ingo Weinhold 3ccf442a03 Author: Matt Madia
Cleaned up usage comment of ExtractArchive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-26 12:34:07 +00:00
Stephan Aßmus 9e412eb2f1 * Renamed Navigation_* to Action_*
* Added Action_Stop
 * Minor tweak to App_ArmyKnife


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 20:48:52 +00:00
Ingo Weinhold 8b3d3d8a15 Correctly handle cases when a thread single-steps into the kernel as it can
happen on syscalls or "int" instructions. The debug exception handler sets
the thread debug flags B_THREAD_DEBUG_STOP and
B_THREAD_DEBUG_NOTIFY_SINGLE_STEP (new) and lets the thread continue. Before
leaving the kernel the thread is stopped and a single-step notification is
sent. Fixes #3487.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 20:20:16 +00:00
Ingo Weinhold a304e08905 Patch by Matt Madia:
Work-around for a jam bug with multiple jobs that causes the builtins.o
actions to be executed before builtins.c has been built.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 19:10:44 +00:00
Rene Gollent b5db1a786f Patch by Matt Madia: fix ARM build.
Closes ticket #5476.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 18:49:45 +00:00
Ingo Weinhold 76fa0be374 Patch by Matt Madia:
* Renamed DownloadFile to DownloadLocatedFile.
* Pulled a generalized rule DownloadFile out of DownloadOptionalPackage.
* Added InstallSourceArchive rule which can be used in OptionalPackages to
  add sources for installed packages to the image.
* Added configure option --include-sources to enable including the sources
  for third party software in the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 16:13:22 +00:00
Ingo Weinhold 3cd300bc61 Patch by Matt Madia: Generalized the UnzipArchive rule to support *.tgz files
as well, and renamed it to ExtractArchive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 14:54:50 +00:00
Axel Dörfler 791b130291 * Fixed a possible NULL pointer access in case the list is empty.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 13:21:40 +00:00
Axel Dörfler 51e29291d2 * We now create the /tmp directory if it does not exist yet.
* Also, we now empty it if it already exists.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 10:40:58 +00:00
Michael Lotz a9038d00b4 The withLength variable wasn't initialized properly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 01:50:29 +00:00
Rene Gollent 1ac83b4fbc Patch by mjw: Fix browsing subdirectories in NFS.
Partially fixes ticket #4661. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 01:25:47 +00:00
Stefano Ceccherini 36eb70516c Fixed various problems which didn't let HPET timers work on my machine, most
notably:
- in hpet_clear_hardware_timer() we cleared the HPET_CONF_TIMER_INT_ENABLE
flag, and never set it back anymore (now we do, in hpet_set_hardware_timer())
- the incorrect interrupt configuration (although it shouldn't matter in legacy mode).
Also test the HPET counter before trying to use it.
Improved debug information.
HPET timers are still at priority 0, since I coulnd't yet test on other
machines (besides mine, QEMU and XenServer 5.5), and doen't work for
some reason with SMP enabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 21:52:04 +00:00
Stephan Aßmus 7ee2366644 Fixed regression reported by Axel. If the BStatusBar is not running in layout
mode, revert to the old behavior to include the room for the labels, even if
there aren't any.
Also in layouted mode, trigger a layout invalidation when switching from running
without labels to using labels and vice versa.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 20:41:31 +00:00
Ingo Weinhold 2cf60f9070 * Moved the syscall stuff from arch_commpage.cpp to x86_syscalls.{cpp,h}.
* On context switches we do now set the IA32_MSR_SYSENTER_ESP. This saves us
  setting esp at the beginning of x86_sysenter(). More importantly when
  entering it in single-step mode, this no longer causes a double fault
  (cf. #3487). We still don't handle the resulting debug exception correctly,
  so that we still get a (continuable) panic().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 19:50:20 +00:00
Ingo Weinhold 464d9f1252 Changed object_depot_store() return value to void. It is now always takes
over ownership of the object. Fixes double free introduced in r35605.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 19:04:41 +00:00
Ingo Weinhold 27f78bf522 Fixed build after signature change in r35601.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 18:54:59 +00:00
Ingo Weinhold bc208a852b Removed TODO that isn't one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 17:09:02 +00:00
Ingo Weinhold 462dd94a1f Don't leak the object when allocating a magazine failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 16:47:27 +00:00
Alexandre Deckner 2882dba2a1 * remove left-overs of deprecated ClassInfo.h includes (cf. OpenGrok) except in SupportKit.h for backward source compatiblity (although it shouldn't really matter).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 15:10:37 +00:00
Axel Dörfler 6426413dcb * Also print the maximum full count, and the magazine capacity when being
dumped.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 15:08:52 +00:00
Axel Dörfler f52b12e51a * Added a peak value (the maximum number of allocated objects) to the net_buffer
stats.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 15:08:06 +00:00
Axel Dörfler ff59ce680d * The low resource handler now empties the cache depot's magazines; before,
they were never freed unless the cache was destroyed (I just wondered why
  my system would bury >1G in the magazines).
* Made the magazine capacity variable per cache, ie. for larger objects, it's
  not a good idea to have 64*CPU buffers lying around in the worst case.
* Furthermore, the create_object_cache_etc()/object_depot_init() now have
  arguments for the magazine capacity as well as the maximum number of full
  unused magazines.
* By default, you might want to initialize both to zero, as then some hopefully
  usable defaults are computed. Otherwise (the only current example is the
  vm_page_mapping cache) you can just put in the values you'd want there.
  The page mapping cache uses larger values, as its objects are usually
  allocated and deleted in larger chunks.
* Beware, though, I couldn't test these changes yet as Qemu didn't like to run
  today. I'll test these changes on another machine now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 14:43:20 +00:00
Alexandre Deckner e7f640f25f * more cleanup in Sounds preflet, replaced occurences of the deprecated cast_as macro, added missing checks.
* took the opportunity to do the same for all occurences as reported by OpenGrok 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 14:10:17 +00:00
Ingo Weinhold c35b7b937b BasicTerminalBuffer::ResizeTo(): Introduced laxer buffer size limits than
the terminal size limits defined in TermConst.h. Fixes #3440, although the
main cause -- the incorrect computation of the window size limits -- still
exists.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 14:08:54 +00:00
Ingo Weinhold 6ba976d9f8 Added TODO about broken size limits computation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 14:06:40 +00:00
Ingo Weinhold 3fa02e15e7 Automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 14:06:02 +00:00
Alexandre Deckner bf7db4bb7e * style cleanup, no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 13:34:36 +00:00
Ingo Weinhold 8480d72320 Patch by Matt Madia: Fixed stdout/stderr redirection order.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 10:57:08 +00:00
Joachim Seemer a4b56b16e6 propdel'ed the svn:executable that was set for 'Marvell (firmware)' as reported by mmadia. Should resolve #5460.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 06:36:32 +00:00
Ingo Weinhold a8fe8c6360 Made ProfileResult::SetInterval() virtual, so SummaryProfileResult can
forward it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 21:46:11 +00:00
Fredrik Holmqvist af11926fa4 Added a temporary? warning if the ACPI_MACHINE_WIDTH == 32 and Rsdp->XsdtPhysicalAddress > ACPI_UINT32_MAX.
The code is in a part of the ACPI code we import, so using its code style and is based on similar code a
few lines above.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 21:40:35 +00:00
Ingo Weinhold 7506431527 Made Team BReferenceable. Since teams are usually destroyed before their main
thread, we were accessing already destroyed Team objects.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 20:37:36 +00:00
Ingo Weinhold de699cf2f1 TermView::Draw(): Fixed off-by-one errors in the checks for the left/bottom
background area.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 19:18:17 +00:00
Ingo Weinhold c645be3523 Fixed getopt string.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 19:00:52 +00:00
Fredrik Holmqvist 6799b0bfe4 Use B_ANY_KERNEL_ADDRESS when mapping physical memory as pointed out by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 17:26:47 +00:00
Ingo Weinhold f6cace5aa2 TermView::Draw():
* Apparently Draw() can be invoked with new view bounds in effect before the
  FrameResized() hook has been invoked (I suppose that's not really kosher).
  Since TermView updates the terminal dimensions in FrameResized() and relied
  on the update rect passed to Draw() to translate to positions within the
  limits, an on-stack buffer could overflow, leading to #2851. Now we clamp
  the translated positions to terminal size.
* Draw the background areas right of the last column and below the last row
  explicitly instead of drawing an additional non-existing partial
  character/row.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 15:39:30 +00:00
Ingo Weinhold 28eaa574fd Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 14:19:19 +00:00
Ingo Weinhold 682c3066c7 Don't complain about running out of MTRRs before the CPU modules have been
loaded in the first place.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 13:51:41 +00:00
Ingo Weinhold 1e3815ba3b After fork()ing we need to close the PTY master FD in the child. Otherwise
closing/killing the Terminal will not automatically wake up children
reading/writing the slave end. Fixes #3340 and probably #5395.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 13:49:30 +00:00
Ingo Weinhold 035edd562b Automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 13:45:28 +00:00
Ingo Weinhold 21d9331efa Beautified the output of the "io_context" command.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-23 13:43:43 +00:00