Commit Graph

27830 Commits

Author SHA1 Message Date
Rene Gollent
a67852c554 Reset the cursor check state if we drag over a pose that's not a suitable DnD destination for the drag. Otherwise we'll reset the cursor back to the move state and never set to copy again unless we exit/reenter the window. Thanks to luroh for reporting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 18:39:39 +00:00
Michael Lotz
2d871992b8 Only try to store attributes on destruction if the required root node is available. Should fix bug #3426 where an incompletely constructed volume object is deleted.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 16:55:45 +00:00
Rene Gollent
81796bc0b3 Don't leak memory when aborting operations due to read-only volume.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 16:00:46 +00:00
Michael Lotz
173700f0d7 Fix base URL I accidently messed up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 14:53:53 +00:00
Rene Gollent
c854c13348 Disallow move to trash and/or delete operations from read-only volumes. This fixes ticket #3421.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 14:33:22 +00:00
Jérôme Duval
0b5e655d25 Changed the error message for unreadable packages to be a passive one, as suggested by Stephan.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 14:19:06 +00:00
Michael Lotz
d5ec51ca02 Allow for a separate UserBuildConfig directly in the output directory (i.e.
generated). When not using build profiles this allows for separate configuration
per output directory. When using build profiles you could for example have a
different profile per output directory with the same name (so an @disk with
different settings per output dir for example).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 13:20:19 +00:00
Michael Lotz
fbac0185ad * Clean that up a bit and combine the ifs for GCC2/4.
* Also don't install the GCC2 package on a GCC4 based hybrid, as it's again not
  usable without proper manual setup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 12:47:29 +00:00
Jérôme Duval
b97c244e6e * exits on invalid packages
* added messages on errors


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 12:46:05 +00:00
Michael Lotz
1c433de84c * Always install the "other tools" as part of the development optional package.
These all work on pure GCC4 images as well because they do not use any of our
  C++ APIs.
* Remove the GCC4 package from hybrid installs though, as it's not usable
  without proper setup. Also the trick with rewriting the symlink obviously
  doesn't work because symlinks are done way earlier than unzipping the optional
  packages when building the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 12:40:16 +00:00
Joachim Seemer
ad7fb638cb Hopefully now correct procedure without use of sudo. Also added OptionalPackages to the mix. Some formatting stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 08:12:26 +00:00
Oliver Ruiz Dorantes
9306af4deb This allows that 2 or more LocalDevices can be retrieved with repeated calls of LocalDevice::GetLocalDevice()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 01:56:16 +00:00
Rene Gollent
42fe9293f8 Tracker now alters the cursor to indicate the resulting FS op when drag and dropping files.
If the op is determined to be a copy, the copy cursor from Wonderbrush (thanks Stephan!) is
displayed. Otherwise, the default hand cursor is used to indicate move.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 01:05:34 +00:00
Michael Lotz
3119d7c601 * Correctly handle the phantom state. In this state we don't have any valid key
information and we must not overwrite the last valid buffer. Otherwise we
  generate spurious key ups when entering and spurious key downs when leaving
  the phantom state.
* Implement getting/setting of keyboard repeat delay and rate so they become
  settable by the keyboard preferences.
* Rework repeat handling a bit. With a large enough repeat delay (i.e. bigger
  than the report interval of the device) we would never get the timeout case
  and therefore never start repeating.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 23:09:00 +00:00
Jérôme Duval
e06359547c activated wfileops.c instead of wfilestubs.c, commented out mmap stuff (as in fileops.c)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 20:05:39 +00:00
Rene Gollent
2558db1023 Oops. Fix backwards conditional.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 16:59:09 +00:00
Rene Gollent
310177b43e ChannelSlider now sends notifications while being dragged, thus allowing the volume to be manipulated in realtime from the media prefs, rather than on mouseup only. Fixes ticket #3338.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 16:55:13 +00:00
Rene Gollent
e7a0fd93e2 Fix uninitialized string that was causing the deskbar volume control replicant to crash randomly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 16:17:38 +00:00
Jérôme Duval
9cb330883d added a max length for the name text control in DriveSetup. it's atm the max value for bfs volumes.
added a TODO as it should depend of the fs type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 15:43:19 +00:00
Jérôme Duval
90e7d21528 * Truncates Installer menu fields volume labels. This fixes bug #2192.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 15:18:12 +00:00
Joachim Seemer
59ee5c81c0 Corrected jamming of images, not unnecessarily create root files by first doing a {jam -q} and then {sudo jam -q}.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 14:02:16 +00:00
Michael Lotz
f3ed32b7c0 Fix wrong usage of endpoint address.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 00:11:22 +00:00
François Revol
09a51729ad Focus the password field on Enter if it's empty and not yet active.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 23:54:39 +00:00
Michael Lotz
4a9f6b4a06 Add support for the arm target as well. Not that we'd support it in any way yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 23:09:47 +00:00
Stephan Aßmus
7999bc8711 Tiny style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 18:05:12 +00:00
François Revol
b36570e51f Do proper unlocking of the KPath when find_directory() fails. This should help with CD boot where find_directory() can't create folders on a read-only media.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 16:48:03 +00:00
François Revol
3813268c9c add a --nonmodal option.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 16:21:17 +00:00
Ingo Weinhold
9af9826fca Fixed value of _POSIX_VDISABLE. cc_t is unsigned in Haiku. ATM we don't
support _POSIX_VDISABLE at all. It's even questionable whether the value
(unsigned char)-2 is a good choice.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 12:35:01 +00:00
Ingo Weinhold
8eba0c540f Added O_NDELAY as synonym of O_NONBLOCK.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-05 11:07:20 +00:00
Axel Dörfler
01b178700f * The input_server now updates its internal state only from the messages that
actually made it through (ie. after filtering).
* This should fix filters that change the current mouse position to work as
  expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-04 23:37:10 +00:00
Jérôme Duval
c80f8962e7 Should fix Shift+TAB on text controls, as it was broken since r29028. Noticed by Karsten Heimrich.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-04 23:03:40 +00:00
François Revol
ae05e8e720 Return native error codes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-04 12:59:41 +00:00
François Revol
2bb68f8dc3 No line break here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-04 12:59:02 +00:00
Rene Gollent
2172e6b46d Update location of p7zip package. Thanks to Scott McCreary for the patch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-03 23:08:42 +00:00
Joachim Seemer
4f3347b64b As discussed here:
https://lists.berlios.de/pipermail/haiku-commits/2009-February/014198.html
We decided on a distinction between path+filename and only the path to a file.
I changed the places a user is exposed to the issue, using the definition:
Path with filename:	"Path"
Path without filename:	"Location"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-03 16:16:26 +00:00
Stefano Ceccherini
f498be9297 Applied patch by h.z. (slightly modified by myself) included in bug #2715. I tested it briefly with Konatu Tohaba font and it seems to work correctly. Please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-03 14:04:52 +00:00
Ingo Weinhold
64f6da317c Patch by Matt Madia (slightly modified): Extended the usage text by some
info regarding non-default output directories.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-03 01:08:40 +00:00
Rene Gollent
6f215e6417 Forgot to update the symlink path in the Be menu when updating that package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-02 23:07:47 +00:00
Rene Gollent
432bac0e7a BColumnListView was hiding BView::ScrollTo(BPoint), due to its own child variant ScrollTo(BRow *). Fixed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-02 01:36:54 +00:00
Michael Lotz
3572efc239 Should fix bug #3401. Put the parenthesis at the wrong spot resulting in wrong offsets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 23:47:38 +00:00
Michael Lotz
d9c6f9a92c Remove separate GCC4 versions of add_debug_command()/remove_debug_command() and
add the const in any case. As Axel points out these are C functions and we do
not affect binary compatibility by changing their signature.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 23:32:25 +00:00
Rene Gollent
5ca7bf5f96 Adding const for gcc2 as well shouldn't cause any issues. Thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 23:28:37 +00:00
Michael Lotz
779bacf0fe This was most probably a typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 23:25:41 +00:00
Michael Lotz
d0eaec3086 Fix more operator precedence errors. These do not do what you'd expect at first
sight. The comparison operator takes precedence over the binary ones.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 23:24:55 +00:00
Michael Lotz
9490cc05f3 Fix wrong check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 22:16:49 +00:00
Stephan Aßmus
bb17b6b92f Get a lot more views and controls on display.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 22:15:16 +00:00
Michael Lotz
6eb09230ba * Resolve further warnings on GCC4.
* Enable -Werror on GCC4 builds as well (limited to the same selected targets).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 22:12:55 +00:00
Niels Sascha Reedijk
702a1e7241 Tweak looks of API documentation.
WIP:
 * Only a first subset of CSS has been applied
 * Look based on Humdinger's and other's work on user guide
 * Navigation is still ugly. I need to work around the limitations of Doxygen. Maybe by a patch though.
 * Needs a manual extra step: you need to copy the /trunk/docs/userguide/images/logo.png to the /trunk/generated/doxygen/html directory

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 21:44:07 +00:00
Rene Gollent
4c9838d0e4 Remove trailing spaces and add one more needed const.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 21:30:25 +00:00
Rene Gollent
85298c49be value_info needs that change also.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 21:05:31 +00:00