Commit Graph

31954 Commits

Author SHA1 Message Date
Ingo Weinhold 2fc49d9b36 Added ColumnAt(BPoint) version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-15 04:31:42 +00:00
Axel Dörfler e628f41c49 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 12:51:19 +00:00
Axel Dörfler 417ba86ea2 * Applied patch by "v"/olaf that adds a missing line. This closes bug #4771.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 12:35:21 +00:00
Axel Dörfler 780d2d5df7 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 12:23:48 +00:00
Axel Dörfler 8e52aee982 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 12:12:52 +00:00
Axel Dörfler af7fec0304 * A small test application that shows that our abort() implementation does not
work correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 11:05:30 +00:00
Axel Dörfler d5a396a60b * r33037 broke the handling of reserved areas, more specifically, it ignored
the RESERVED_AVOID_BASE flag of those, and introduced a way to fill them
  from the start. This caused #4778.
* Turned IS_VALID_SPOT() macro into an inline function.
* Removed already resolved TODO comment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 07:53:45 +00:00
Axel Dörfler ea95b4d03e * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 07:50:53 +00:00
Ingo Weinhold 9ea0d9494e Added BoolStringTableColumn for boolean values.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 05:04:36 +00:00
Ingo Weinhold 0fc8a75c02 * Moved TargetAddressTableColumn into own source file in gui/util.
* Fixed misspelled MSG_*_BREAKPONT constants.
* model/Team: Added separate event class UserBreakpointEvent for user
  breakpoints.
* SourceView::MarkerManager: Invalidate the markers when new source code is
  set.
* Added breakpoints view.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 05:03:00 +00:00
Ingo Weinhold 5f73bbcdce Don't crash on stack frames without recognized function.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 04:50:27 +00:00
Jonas Sundström 3363f0c5bd Clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 00:14:34 +00:00
Oliver Tappe 41426d9bac * Moved three locale-related headers back into a safe place (where no
software looking for them will find them) as a temporary fix for #4747.
  In the long run, the functions declared in these headers should be
  implemented by means of ICU and then the headers shall be made public again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 17:15:49 +00:00
Joachim Seemer 087b6f8e62 Mail isn't ready yet. Revert. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 15:23:36 +00:00
Joachim Seemer b717803733 The screenshot shows in fact a PNG, not a JPEG. Thanks HaikuBot for noticing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 15:21:22 +00:00
Michael Lotz 23d857d96a Fix missing initialization of fSpacing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 12:58:06 +00:00
Axel Dörfler c679d93a10 * Correctly evaluate the TMailApp::ShowButtonBar() setting. This fixes bug
#4706.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 12:46:30 +00:00
Axel Dörfler 273dbd0916 * The network syscalls now check if you try to pass a non-userland address to
them (which you previously could use to easily crash/take over Haiku).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 07:19:18 +00:00
Axel Dörfler 6a6aa9bdb0 * Someone forgot to add the mount_server to the image, causing Haiku to wait
forever for it on boot... :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 07:17:34 +00:00
Michael Pfeiffer 2044d20e91 Hopefully fixed gcc4 build (untested).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 05:36:56 +00:00
Ingo Weinhold 42d7d768ca Removed unintentionally introduced code. Spotted by Stippi.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 03:17:35 +00:00
Michael Lotz 417f446051 The parameter to toFixPtString() only controls the decimal places, not the
actual digits. Therefore the buffer was always too small leading to memory
corruption. Use the version that allocates the string for us instead, then trim
it and assign it to the result.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 02:48:17 +00:00
Michael Lotz 39e251f2d2 Remove the -U option when building the CD. It's not needed as we use rockridge
anyway and makes the CD more compliant.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 02:03:01 +00:00
Michael Lotz baddb6942c Check for user buffers and properly use user_memcpy() in that case. Fixes #4770.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-13 00:13:08 +00:00
Jonas Sundström 8637183adf Laid out views to fit better on-screen. Made it use BAboutWindow and BWindow::CenterOnScreen(). Partial clean-up of code I passed by. A few obvious comments removed. Hopefully an improvement. Still needs a lot of work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 23:59:35 +00:00
Niels Sascha Reedijk 49aa230740 Style, spelling and grammar changes. Courtesy of Tim Howe
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 21:09:12 +00:00
Michael Pfeiffer 11209c604f * Fixed crash at cancelation.
* Simplified class LprSetupDlg using DialogWindow.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 20:01:09 +00:00
Axel Dörfler 361f5cdfaf * Build fix for the boot loader (it's now using the new utility functions as
well). Sorry!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 19:42:50 +00:00
Michael Pfeiffer daff73b116 Correction for style issue fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 19:27:18 +00:00
Michael Pfeiffer 3d9c7baae6 Fixed style issues.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 18:48:47 +00:00
Michael Pfeiffer fe017baf74 Fixed style issues.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 17:17:25 +00:00
Axel Dörfler f9ca76e8c6 * Applied patch by "v" to enable the TUI mode in gdb, see ticket #4738.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 16:43:23 +00:00
Stephan Aßmus c1b274fd67 * Removed auto mounter code from Tracker.
* Tracker forwards auto mounter related messages to the mount_server.
* Rewrote AutoMounterSettings to not know AutoMounter and use
  the layout-management.
* Moved the "Eject When Unmounting" setting into the Mount Settings.
* Launch the mount_server during boot, but delay the script until all
  previously mounted volumes have been mounted. This solves some annoying
  timing bugs during boot. For example when you have desktop backgrounds
  on other volumes and some servers don't deal well with the situation
  of links to add-ons on other volumes becoming valid with a delay...
* src/kits/tracker/Commands.h includes the private headers/private/
  mount/MountServer.h header, which made adjustments to the DiskUsage
  Jamfile necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:52:17 +00:00
Axel Dörfler 6392fa4dc9 * Now stores signatures and status files to "~/config/settings/Mail/" instead
of "bemail".
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:47:16 +00:00
Stephan Aßmus 206761086b Extend waitfor to except the syntax -s app_signature and wait until
the team with the signature becomes a valid target for BMessages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:44:40 +00:00
Axel Dörfler 5762cbce56 * Fixed typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:37:49 +00:00
Axel Dörfler 16a821d968 * Inode::FindBlockRun() now checks the block run size of double indirect runs,
and stops processing if it finds something wrong.
* The default indirect/double array size differs from BeOS' BFS. I've changed
  the size for double indirect arrays only, since the other size should work
  either way (not tested yet, this change has a negative effect on the maximum
  file size, but improves BeOS compatibility).
* The read/write path of BFS is now double indirect block size agnostic, and
  should work with what it finds.
* Merged all double indirect size computation into some utility inline
  functions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:37:21 +00:00
Axel Dörfler 265694bb1f * Fixed warnings when compiled with DEBUG=1.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:33:22 +00:00
Axel Dörfler 8e13fac960 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:30:48 +00:00
Axel Dörfler b74a098352 * Got rid of the duplicated functionalities provided by RWLocker.cpp, and
Locker.cpp.
* The services are now using recursive_locks, and rw_locks instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:29:05 +00:00
Axel Dörfler 4baa865937 * Added casts to the *_INITIALIZER macros, so that they can also be used in
a member constructor list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:27:02 +00:00
Axel Dörfler fd111c8162 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 13:59:59 +00:00
Axel Dörfler 31cce05240 * Removed useless tool.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 13:42:00 +00:00
Michael Lotz 3bb69a8235 * Use mutex and rw_lock and the proper AutoLockers as in the kernel version, as
these interfaces are now available.
* Don't be quite so paranoid by default, the checks that are on by default
  should be enough to detect most memory corruptions.

This makes the debug heap way more usable, so much that you can even use it as
your normal everyday heap without noticing much performance impact (it has quite 
a bit of additional memory overhead though).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 11:29:25 +00:00
Michael Lotz 93b63126e1 Adding mutex and rw_lock with the same interface as the kernel versions to
libroot. The mutex is a simple benaphore, the rw_lock is pretty much the same
as the one from libkernelland_emu but uses a mutex per lock instead of emulating
a global thread lock. Also added MutexLocking and RWLock{Read|Write}Locking and
AutoLockers based on them. It's cased with __cplusplus so the locks are also
usable from C. Everything's currently exposed in shared/private/locks.h but I
think we should make these locking primitves public.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 11:19:33 +00:00
Ingo Weinhold d75e3d6c23 Ignore unnamed function parameters in the stack frame.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 03:17:17 +00:00
Ingo Weinhold fced6d136a Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 03:16:11 +00:00
Ingo Weinhold 6c4cad54ed Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 03:15:17 +00:00
Ingo Weinhold a7fb35d93d When rows are added to/removed from the model, we need to adjust the row
indices we store in the fields of subsequent BRows. Fixes the broken threads
list in Debugger (should be some ticket -- can't access Trac ATM).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 03:14:34 +00:00
Scott McCreary c5e5cd3b04 Fixed neon build to remove dependency on gettext
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-11 21:38:56 +00:00