Commit Graph

28306 Commits

Author SHA1 Message Date
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
Rene Gollent
306fddc54a On gcc4 these need to be declared const. Otherwise any and every app that simply sets up a bunch of property_info structs for its scripting directives triggers many many warnings with respect to deprecated string constant conversions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 21:02:36 +00:00
Michael Lotz
c33667d400 Fixing warnings under GCC4 in preparation to enable -Werror there as well:
* Replaced the use of offsetof() for structs that aren't PODs. Add a
  offset_of_member() macro to util/khash.h because that's what it's used for
  in our cases.
* Change the signature of add_debugger_command()/remove_debugger_command() on
  GCC > 2 to avoid the depricated conversion from string constants to char *.
* Adding some "suggested" parenthesis. I know that not everyone likes that, but
  it pointed out at least one bug that is fixed here as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 20:48:02 +00:00
Ingo Weinhold
47bc666311 The assumption that the program image is not used for relocation of
dlopen()ed objects was incorrect. This should fix problems with ports of
software with a plugin/add-on interface.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 18:40:42 +00:00
Ingo Weinhold
06828840d7 * Link the test programs with --export-dynamic. This shows that my previous
assumption, that the program image is ignored when relocating symbols of
  dlopen()ed objects, is incorrect.
* Adjusted the tests that were failing due to that.
* The RTLD_NEXT test also fails with openSuse 10.3 -- apparently the semantics
  has changed between the Linux versions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 18:16:46 +00:00
Michael Lotz
7ac433fc8c Fix deprecated include.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 17:29:42 +00:00
Rene Gollent
8e1e99a333 Fix Create Link from context menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 16:25:30 +00:00
Stephan Aßmus
04428553b1 Specify direction flag in all calls of simple_exec(). Thanks, Marcus!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 13:58:40 +00:00
Rene Gollent
2a8364b847 (Long overdue) update of the gcc4 Vision package to bring it to version/feature parity with the gcc2 revision.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 01:52:59 +00:00
Michael Lotz
3c33e2749f Don't exit early when encountering an empty slot in the report. There seem to
be keyboards that leave gaps. It's not really specified in the docs, they only
say that the ordering of keys is indetermined. So I guess intermixing empty
slots is equally valid.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 23:04:09 +00:00
Joachim Seemer
7c2cc28dc9 * Added input tolerance of DeskCalc, moved Terminal function to end of list
* Added CodyCam to list of apps in applications.html
* Added aligning tip for icons to tracker.html
* Added a few tips for working in Terminal
* Added a topic on scripting, linking to online resources
* Described function of UserBootscript an shutdown scripts


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 22:55:49 +00:00
Rene Gollent
28e82de7b3 Compute the point list for the destination items. This fixes a problem reported by BGA where dropped items in large icon mode weren't being dropped onto the location of the pointer, but rather the first available grid slot.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 21:48:29 +00:00
Karsten Heimrich
5fd5fe56bb * refactor _Init and DoLayout to share some code
* DoLayout did not work as expected, after the call
  the scrollbars would have an 1px offset inside the target
* the target needs to be resized while setting a new border, otherwise
  it would overlap the border and give some drawing artefacts
  
- I'm still unsure if the behavior change introduced with the layout stuff is nice



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 21:27:50 +00:00
Karsten Heimrich
2f475458bc * fix typo
* make the target a bit more visible



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 21:21:24 +00:00
Stephan Aßmus
740ea80754 Exclude any dirty regions from scrolling or copybitting. The previous behavior,
which was also the BeOS behavior IIRC, has annoyed me a bit as an application
developer. It wasn't possible to avoid display artifacts, if for example
scrolling a view which needed to be redrawn at the same time. It sounds
strange, but makes perfect sense for the situation I have here.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 20:11:34 +00:00
Rene Gollent
10bc1510be Update OpenSSL package to 0.9.8j and relocate it to /boot/common. Thanks to Matt Madia and Scott McCreary for the patches! This closes ticket #2640.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 16:04:12 +00:00
Rene Gollent
dc027966d7 Unbreak build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 15:38:35 +00:00
Karsten Heimrich
9d95156703 * Add test for BScrollView SetBorder, which exposes some problems using the
layout version of that class. (drawing artefacts, wrong scrollbar placement)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 13:32:57 +00:00
Stephan Aßmus
d5e24b12c1 * Add more properties to the <svg> tag, version and XML namespaces. This should
improve compatibility of the exported SVG files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 10:09:14 +00:00
Rene Gollent
b8d65a49d8 This should really fix #3393. Apparently I'm more sleep-deprived than I thought.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 03:21:23 +00:00
Rene Gollent
fee5fc34ff Fix another regression preventing moving around icons. Fixes ticket #3393.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-30 23:49:02 +00:00
Stephan Aßmus
89d04738c0 Patch by Michael Kanis:
* Switched CodyCam GUI to use Haiku layout management.

Thanks a lot!!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-30 22:26:58 +00:00
Rene Gollent
6a392dcec4 Skip doing the preflight size calculation in cases where the requested FS operation will be instantaneous anyways.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-30 00:08:26 +00:00
Rene Gollent
994541a836 Refactor MoveSelectionTo a bit to reuse other code instead of duplicating most of it practically verbatim with different variable names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 23:49:57 +00:00
Rene Gollent
12f46bebca Fix a regression introduced with my previous commit where forcing Move would not always be respected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 22:21:22 +00:00