Commit Graph

34059 Commits

Author SHA1 Message Date
Stephan Aßmus 2318b47802 Indentation update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35841 a95241bf-73f2-0310-859d-f6bbb57e9c96
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
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
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
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
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
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
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
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
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
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
2010-03-12 17:37:11 +00:00
Matt Madia ff1b6201b3 IsParallelAccessLocked() is defined as a debug-only conditional in the header.
Fixes the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-12 17:35:11 +00:00
Alexandre Deckner cfbd755443 * When launching an app by signature, check against the correct device trash when checking if an executable is in the trash.
When using find_directory(B_TRASH_DIRECTORY... to check if an entry is in the trash one should always pass the entry's volume otherwise you might be checking in the wrong trash.
Might happen elsewhere in the tree, will have an opengrok look.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-12 17:09:36 +00:00
Ingo Weinhold 6daecfb154 Ignore physical memory ranges that are smaller than 64 KB. Those don't
contribute significantly to the usable memory, but possibly make the MTRR
setup impossible. Might improve #5550.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-12 16:59:26 +00:00
Ingo Weinhold f795376ec6 remove_addr_range() is actually called remove_address_range().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-12 16:55:42 +00:00
Ingo Weinhold 6b110c63fd Postpone clearing the debug syslog buffer signature to the time when going
to start the kernel with the option disabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-12 12:57:35 +00:00
Stephan Aßmus a0b37b6e38 Tried to fix all issues with running a DEBUG build of app_server.
* CopyRegion should not need the HWInterface to be exclusive locked.
 * BitmapDrawingInterface does not need to be locked at all, since
   it doesn't use a shared HWInterface instance.
 * Window and Desktop should lock the HWInterface appropriately
   before invoking CopyRegion() on the DrawingEngine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-12 12:46:24 +00:00
Ingo Weinhold 98248b1612 Let the compiler decide whether to inline or not.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-12 11:25:30 +00:00
Stephan Aßmus 8b56f14aeb Fixed debug build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-12 11:07:23 +00:00
Ingo Weinhold 2d263cff46 Build fix (on 64 bit hosts).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 23:23:37 +00:00
Matt Madia 4a27232637 Fixes build for PXE NetBoot. Uncertain if additional changes are needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 20:15:39 +00:00
Ingo Weinhold 8d25a30c3f Changed the location for the debug syslog buffer from 16 MB to 63 MB. On my
machine the previous location was overwritten, probably by GRUB.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 18:15:43 +00:00
Ingo Weinhold 28a2172c3f kernel:
* The kernel syslog ring buffer is no longer emptied by the syslog sender
  thread. Instead we only drop the oldest data from the buffer when we're
  writing to it and there's not enough free space in it.
  Advantages: We drop old data rather than the most recent data when the buffer
  is full. The "syslog" KDL command has more data available now. So the odds
  are that kernel syslog messages not written to disk yet are at least still
  in the kernel buffer.
* Changed dprintf_no_syslog() semantics: Now it writes to the syslog, but
  doesn't notify the syslog sender thread.

boot loader:
* Added the ring_buffer implementation and a dummy user_memcpy().
* bios_x86: Moved the syslog stuff from serial.{cpp,h} to debug.{cpp.h}.
* Moved the debug options from the "Select safe mode options" menu to a new
  "Select debug options" menu.
* Added option "Enable debug syslog" to the new menu (ATM available on x86
  only). It allocates a 1 MB in-memory buffer for the syslog for this session
  in such a way that it can be accessed by the boot loader after a reset.
* Added item "Display syslog from previous session" to the new menu, doing
  what its name suggests.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 17:46:36 +00:00
Ingo Weinhold 90bf6bef34 Added mmu_allocate_physical(), which allocates a specified physical memory
range.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 17:42:00 +00:00
Ingo Weinhold bb7711cd5a Updated boot loader copyright year.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 17:13:12 +00:00
Ingo Weinhold 546f4e5e05 * Added create_ring_buffer_etc() which allows to re-create a ring buffer from
a given flat buffer.
* Added ring_buffer_peek() for random position reading from the ring buffer
  without changing its state.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 17:12:21 +00:00
Ingo Weinhold dd5f340aea A simple pager implemented on top of the generic text console interface.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 17:09:11 +00:00
Joachim Seemer 37895b5d76 The bold title in Installer's about window encompassed a few letters of the regular text. Fixes #5555. Thanks diver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 14:20:55 +00:00
Joachim Seemer a28171ff53 Added all translators (as far as they mailed me their consent) of the user guide to the translation section of AboutSystem. Removed the second newline after every language heading.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 09:48:00 +00:00
Scott McCreary 8ca09ebceb Updated nano to 2.2.3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 05:45:03 +00:00
Matt Madia 6a9a6885e5 Removed the optional package "Firefox". People building their own images may
need to edit their UserBuildConfig to use "BeZillaBrowser".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 05:09:23 +00:00
Jonas Sundström 269b77069d Change message constant to not use all upper case, which is the system namespace. Thanks Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-11 00:11:05 +00:00
Philippe Houdoin b19902ae4e Made BGLView by default freely resizable by layout manager. I'm not sure I didn't break binary compatibility, please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 23:03:03 +00:00
Jonas Sundström f2a68969a4 Adding menu item Restart Tracker, to be shown when Tracker isn't running.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 22:25:01 +00:00
Michael Pfeiffer 7bd66e4347 Added help text to .catkeys files. Sorted files by second and first
column.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 19:20:20 +00:00
Michael Pfeiffer e4872e666e Missed two translation comments in r35800.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 19:19:16 +00:00
Ingo Weinhold 5d1f3d53e2 get_next_physical_address(): Directly update the
gKernelArgs.physical_allocated_range array. This way it is always up to date
and we don't need to fix it in mmu_init_for_kernel().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 18:38:57 +00:00
Ingo Weinhold 73a72c42e2 Added get_free_address_range() to get a free range in a given range array.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 18:36:44 +00:00
Michael Pfeiffer c7e6a67024 Added translation comments.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 18:11:58 +00:00
Axel Dörfler 47f23fb5c1 * If get_cached_block() failed reading a block, it would leave a deleted object
in the unused list if it got the block via block_cache::_GetUnusedBlock().
* block_cache::_GetUnusedBlock() leaked the compare data block if the
  BLOCK_CACHE_DEBUG_CHANGED feature had been enabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 10:57:37 +00:00
Scott McCreary 7794164d61 updated sqlite to 3.6.22
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 06:34:45 +00:00
Michael Lotz 67f1ff42ed Add missing check for non-data items which lead to picking up some mice as
keyboards due to buttons being padded by non-data arrays. The keys wouldn't
actually be used later, but a (useless) keyboard device would still be
published.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 01:12:12 +00:00
Michael Lotz 18074c28fa Reworked the handler adding to be based on input reports. This way multiple
handlers may be added to a single device if it provides more than one report
for a kind of device. Should fix #5549 where two mouse reports are present
and only the first one was picked up and made available as device.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-10 01:06:14 +00:00
Adrien Destugues b11dde545b Sync some russian catalogs from hta. The new ones will come up later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-09 21:02:34 +00:00
Axel Dörfler a9022acd2a * BlockAllocator::CheckNextNode() did enter an endless loop if it experienced
problems iterating over a B+tree (due to corruption).
* For now, it will stop the check process when this happens, but we definitely
  need to be able to fix broken B+trees in the future.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-09 20:08:25 +00:00
Adrien Destugues 3542c0958e Oops. These missed my checkup procedure
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-09 14:50:41 +00:00
Adrien Destugues 0484ff6792 Fix hta patch generation errors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-09 12:40:55 +00:00
Adrien Destugues c15e7bf559 Sync german translation from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-09 12:12:11 +00:00
Adrien Destugues eae673e874 Sync portuguese translation from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-09 12:11:14 +00:00
Adrien Destugues 2ed2cb025b Sync spanish translation from hta.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-09 12:09:34 +00:00