Commit Graph

31986 Commits

Author SHA1 Message Date
Joachim Seemer
e0fab22f7d Separating topics with a horizontal line on the contents page. Mentioning translations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 16:19:28 +00:00
Axel Dörfler
18a16affab * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 15:28:19 +00:00
Axel Dörfler
a1a928319d * This should fix #4760.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 14:33:53 +00:00
Adrien Destugues
d572484dd5 Added swedish translation, done by Johan Holmberg. Thanks ! Also fixed an error in Locale French localization.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 13:09:04 +00:00
Axel Dörfler
2786236c21 * Added -l option (--long) that will also show the contents of the attributes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 12:52:23 +00:00
Adrien Destugues
759e8f0181 Japanese catkeys for appearance, done by the JPBE.net team. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 12:32:08 +00:00
Axel Dörfler
6ba60f6392 * Making mountvolume an application broke invocating it without any arguments.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 10:02:21 +00:00
Ingo Weinhold
e8e4e613b2 The variables view does now save/restore part of its state when the stack
frame changes. Currently that's only the expanded/collapsed state of the
items in the tree view, but that already makes single stepping through code
much less annoying.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 05:46:45 +00:00
Ingo Weinhold
9f018b7c77 Fixed typos and indentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 05:40:51 +00:00
Ingo Weinhold
aa311fb590 More debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 05:37:51 +00:00
Scott McCreary
79273df015 Updated builds of openssh and neon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 05:37:21 +00:00
Ingo Weinhold
6d17ef0d59 TreeTable:
* IsNodeExpanded(): It always returned false due to a missing return.
* _SetNodeExpanded(): We must call our version of ExpandOrCollapse() or the
  listeners won't be notified.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 05:36:27 +00:00
Michael Lotz
1af7d11504 * Rework page writing to combine page writes where possible. For now the pages
are required to be physically contiguos, which should be reworked to put them
  into seperate iovecs. Still this manages to combine a great deal of page
  writes into larger bursts already. Reduces the amount of IO requests being
  scheduled (and greatly benefits media where page wise writes are slow when
  they are accessed through a non-IOScheduler path, i.e. USB mass storage until
  that is properly implemented).
* Abstracted per page page writing tasks into a PageWriteWrapper class.
* Abstracted per transfer page writing tasks into PageWriteTransfer class which
  formerly was the PageWriterCallback.
* Use both classes from the PageWriterRun and from
  vm_page_write_modified_page_range to remove code duplication.
* Adjusted synchronous VMAnonymousCache::Write() to cope correctly with larger
  iovecs and more than one iovec. It assumed that there was exactly one page per
  vector previously.
* Introduced MaxPagesPerWrite() and MaxPagesPerAsyncWrite() to VMCache to allow
  a cache to specify restricitions. VMAnonymousCache does restrict the max pages
  to 1 for WriteAsync right now as I didn't feel like reworking that one to cope
  with non single page writes just yet.
* Pulled out PageWriteTransfer methods for better readability.
* Some typo fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 22:37:26 +00:00
Michael Lotz
793d0f340d Add a nogrow variant for new[] as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 22:29:11 +00:00
Michael Lotz
101da8e486 Typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 21:14:06 +00:00
Michael Lotz
0986056934 Fix two space to tab indents.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 21:10:46 +00:00
Michael Lotz
f3bd145c09 When the need for physical to virtual mapping arises because of emulating IO
reads or writes for old style drivers, map the physical memory at once. Since
USB is pretty much the only one affected and there small reads/writes are
exponentially slower, the performance gain of the burst transfer far outweighs
the additional overhead of the mapping. Still this could be further optimized
and will eventually be superseeded by also providing a physical memory API in
USB. For now it should bring back USB reads to an acceptable level. Writes are
still page wise though because of how writing back memory works in general.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 19:55:13 +00:00
Michael Pfeiffer
0855dececa Look into user settings add-on Print folder for printer drivers too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 15:12:28 +00:00
Michael Pfeiffer
afa7938a8d - Cleaned up usb_printer driver.
- Fixed issues sending data over USB bus (actually write data when
requested to; increased timeout when writing data).
- Added usb_printer to build and Haiku image.
- Sending data to printer over USB bus works now in Haiku (cat ... >
/dev/priner/usb/0). Not sure if it works when printing from an
application as I don't have a driver that supports my printer yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 15:08:58 +00:00
Michael Pfeiffer
56cd7d5c50 Added Print folder to user settings add-on folder. Some third party
printer drivers expect the existence of this folder (for instance
Philippes Canon bubblejet driver).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 14:58:54 +00:00
Jonas Sundström
2ca06527ac Move Pe and lpe symlink creation out of PCRE if-statement block, on request by mmadia in #4743
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 13:38:18 +00:00
Joachim Seemer
13cab1cb73 Worked in Jonas' new Deskbar Preference panel. Thanks HaikuBot for the reminder.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 13:17:44 +00:00
Adrien Destugues
c2dee74390 Added finnish localization for all locale aware apps. Done by Jaakko Leikas aka "Garjala". Thanks! (hope it does not breazk the build this time... worked for me but you never know :))
--Cette ligne, et les suivantes ci-dessous, seront ignorées--

A    src/preferences/fonts/fi.catkeys
M    src/preferences/fonts/Jamfile
A    src/preferences/appearance/fi.catkeys
M    src/preferences/appearance/Jamfile
A    src/preferences/locale/fi.catkeys
M    src/preferences/locale/Jamfile
A    src/preferences/bluetooth/fi.catkeys
M    src/preferences/bluetooth/Jamfile
A    src/preferences/cpufrequency/fi.catkeys
M    src/preferences/cpufrequency/Jamfile


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 10:01:11 +00:00
Axel Dörfler
75f5498c0a * Fixed two problems of the OR operator (||): if the first of the equations
failed to evaluate, the whole term was ignored. Also, if the left term got
  the higher score (and was thus evaluated first), the second term was never
  evaluated anymore. This should fix, for example, MDR sometimes not sending
  out pending mails.
* Minor cleanup, improved comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 09:33:52 +00:00
Ingo Weinhold
d054be0d8c * Moved the data location resolution methods from StackFrameDebugInfo to the
respective Type classes. StackFrameDebugInfo is pretty much out of work now,
  but maybe something comes up later.
* Renamed GlobalTypeLookupContext to GlobalTypeCache and renamed its methods.
* A TeamDebugInfo does now have a GlobalTypeCache which is used for resolving
  types. Formerly it was created per stack frame, so all types had to be
  resolved after each single step. Single-stepping is usably fast again.
  The disadvantage is that DWARF theoretically allows types properties to
  depend on instruction/frame/frame base pointer and we don't support that
  anymore. I can't think of a reasonable application for that feature, though.
* Refactored DwarfStackFrameDebugInfo:
  - Moved the type classes into new DwarfTypes.{h,cpp}.
  - Moved the creation of types into new class DwarfTypeFactory.
  - Added class DwarfTypeContext which bundles all the dependencies of the type
    classes.
* Made DwarfFile a BReferenceable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-10 05:05:33 +00:00
Joachim Seemer
958c547554 Some additions and fixes by Idefix. Thanks! Fixes #4748.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-09 15:56:38 +00:00
Axel Dörfler
41983084e2 * Style cleanups, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-09 14:59:57 +00:00
Axel Dörfler
786fa7359e * Fixed drawing glitch with B_FANCY_BORDER.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-09 10:25:22 +00:00
Michael Pfeiffer
0a10f2b5b7 Added vector icon created by zuMi.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-09 07:00:01 +00:00
Philippe Houdoin
e0aefacfbb Add vector icons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-09 06:08:22 +00:00
Ingo Weinhold
aa6f54aa24 Amended the {user,debug}_strlcpy() fix: Due to the strlcpy() semantics to
always return the source string length, we can't really prevent an overflow
of the source address.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-09 03:07:11 +00:00
Jonas Sundström
10e3075f26 Use layout-friendly view constructors. Fixes drawing glitch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 23:03:10 +00:00
Stephan Aßmus
994b23564f Cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 19:32:21 +00:00
Stephan Aßmus
011a4cdbfc * Removed now obsolete notification (this was not even used in Tracker
anymore).
* Added interface to get the current settings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 19:31:57 +00:00
Stephan Aßmus
2cfe13f4b9 Reverted accidental commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 19:29:49 +00:00
Stephan Aßmus
21f2402e20 Work in progress of moving the (audo-)mounting functionality from Tracker into
a dedicated mount server. This is pretty much a straight copy from the
AutoMounter code from Tracker, except
* the eject on unmount setting has been added (in Tracker, it's part of the
  general settings, not the mount specific ones),
* scripting features have been added, such that it becomes possible to trigger
  mounting the previoulsy mounted volumes from the outside, and most
  importantly block until the operation is done (waiting for the reply).

TODO:
* Change Tracker to not run it's own AutoMounter, but send messages to the
  new server.
* Move the eject when unmounting setting to the mount settings window.
* Enable the mount_server in the Bootscript.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 18:34:29 +00:00
Stephan Aßmus
e10035a02e More icons from zuMi, thanks a lot! These should be useful for the Network
preflet eventually.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 18:23:18 +00:00
Axel Dörfler
db7e5d1960 * This fixes the coding style violations Michael recently introduced.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 16:32:26 +00:00
Axel Dörfler
931cd377aa * Added a new flag kAcceptKeyboardFocusFlag that allows B_AVOID_FOCUS windows
to still receive keyboard events. This is now used for menu windows (before,
  the menu feel alone would trigger that behaviour).
* This also fixes bug #4691, as tool tip windows use the menu feel as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 16:26:32 +00:00
Axel Dörfler
7f954bd566 * This makes event messages work again in the app_server test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 16:02:27 +00:00
Michael Lotz
0b4d87da22 Add missing word in comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 13:29:19 +00:00
Axel Dörfler
3c9dd7d78f * Build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 11:58:28 +00:00
Ingo Weinhold
71f75cdcde * WIP regarding non comilation unit local types:
- Introduced GlobalTypeLookup interface and GlobalTypeLookupContext to look
    up types by name and cache them.
  - TeamDebugInfo implementes GlobalTypeLookup iterating through all
    ImageDebugInfos, which in turn iterate through all SpecificImageDebugInfos.
  - DwarfImageDebugInfo iterates through all compilation units, using
    a temporary DwarfStackFrameDebugInfo to create the type.
  - DwarfStackFrameDebugInfo no longer caches the types itself, but uses
    GlobalTypeLookupContext. It uses GlobalTypeLookup to look up types not
    defined in the compilation unit.
  - DwarfFile: Made expression evaluation more robust, so that it also works,
    when no subroutine entry, frame pointer, and instruction pointer are
    available (and not used by the expression).
  Basically works already, although the wrong compilation unit might be used
  when resolving values for global types. It's also horribly slow, when there
  are many types in the stack frame.
* DwarfStackFrameDebugInfo::ResolveArrayElementLocation(): The element location
  piece size was set incorrectly (multiplied by 8, although bytes were
  expected).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 03:17:22 +00:00
Ingo Weinhold
d48ea308bf The type component path for the first array dimension was constructed
incorrectly. We must only replace the last component of the parent's path for
all following dimensions.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 03:16:43 +00:00
Alexandre Deckner
047eef826e * Sorry, that was supposed to be multiple launch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 00:24:19 +00:00
Alexandre Deckner
d12a4384f1 * Fixed closing via deskbar's close all. The problem was that i forgot to
define the app_flags in the rdef, case that isn't well handled apparently
when creating a BMessenger targeting the app.
Thanks to Michael and Rene for helping! Fixes #4712

* Removed unneeded and faulty App::MessageReceived and a strange (probably
 copy pasted then forgotten) MainWindow::QuitRequested.
* Minor changes. Made App destructor virtual, moved init into ReadyToRun,
 fixed a few style violations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 00:12:25 +00:00
Jonas Sundström
60cdc210a8 Changing license from public domain to MIT, to ease code sharing with other parts of Haiku and to avoid the gray area of public domain. I hope it's okay. I made the app, but a few others have a contribute fixes here and there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 22:57:35 +00:00
Jonas Sundström
a138b6339f Remove bitmap icon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 22:46:44 +00:00
Oliver Ruiz Dorantes
515209e338 Merge view class in the window object
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 20:03:36 +00:00
Stephan Aßmus
b0488dca68 Patch by "v" to fix ticket #4733, there are Core and Core 2 Celerons. I
enhanced it to also say Core 2 Quad and Core 2 Duo again, instead of just
Core 2. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 17:08:24 +00:00