Commit Graph

27756 Commits

Author SHA1 Message Date
Oliver Ruiz Dorantes
734ab97cfa Clean a bit the devfs monitoring stuff. Now monitores the correct folder, and registers everything that is already present(hotplugging not tested)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 22:12:54 +00:00
Oliver Ruiz Dorantes
06b6c3cbfa Styling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 22:09:28 +00:00
Oliver Ruiz Dorantes
bf144dad1c Publish transport driver in transport subfolder in devfs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 22:06:52 +00:00
Alexandre Deckner
4f2fd49bdc * Added a "launcher" for Tracker preferences, which are now accessible from the preferences menu/folder. See #2365
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 03:35:20 +00:00
Michael Lotz
3509dd95c0 Workaround that should not break on bison 2.3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 02:26:22 +00:00
Michael Lotz
76043ac59a * Update the GCC4 package. This package has the builtin __BEOS__ define removed
and also comes with proper default includes.
* If installing GCC4 as part of a GCC2 based hybrid build, re-setup the gnupro
  link that is overwritten by the GCC4 package.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 01:25:23 +00:00
Rene Gollent
cfd0c07711 If the source and destination volumes of a drag and drop op do not match, default to copying unless the user has explicitly requested otherwise. TODO: visual indicator of which op is going to happen.
--

M    PoseView.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-29 00:05:38 +00:00
Michael Lotz
28ff07ab3c Revert the ftpd compile workaround as it apparently breaks on bison 2.3. Wonder why I got a report that it worked...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-28 22:57:02 +00:00
Michael Lotz
1421048866 Check the presence of the C++ header dir. The native and cross GCC4 do have
different directory layouts and this way we can still use a native compiler
as a cross compiler since we don't make the decision based on whether we are
cross compiling or not.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-28 22:24:13 +00:00
Karsten Heimrich
2f8465212f * use client_window_info as suggested by Axel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-28 19:51:18 +00:00
Michael Lotz
55751274e7 Fix C++ header location.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-28 16:53:01 +00:00
Rene Gollent
0ed6eed997 Add missing consts. This fixes the fact that on gcc 4.3, including pcihdr.h will result in several thousand warnings about deprecated implicit casts.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-28 16:09:36 +00:00
Stephan Aßmus
87fdc3cdc6 Added Latin-American keymap kindly provided by Francisco Castro. Thanks a lot!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-28 08:40:45 +00:00
Michael Lotz
28b5bc7576 The include-fixed directory is a normal default include dir on GCC4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-28 02:08:39 +00:00
Michael Lotz
a16e2a1c69 Forgot to update this reference when renaming be/ to os/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-28 02:02:51 +00:00
François Revol
5fc1932331 This is the source for the FinePix webcam driver on http://bebits.com/app/4185
I have received permission from Øyvind Smestad to use the part he wrote under MIT licence, but some other parts are GPL sources from Linux.
The plan is to merge the core part into usb_webcam, and use either the JPEG Translator or libjpeg to replace the GPLed jpeg decoding part.
Here is what he said:

From Øyvind Smestad (o.smestad AT gmail.com):

When it comes to licencing, the media addon part is heavily based on
the VideoProducer sample code from Be (I don't remember their exact
licensing terms, but they were quite liberal weren't they?). The
driver part is partially based on the Linux FinePix driver by Frank
Zago (http://www.zago.net/v4l2/finepix/ -
http://sourceforge.net/projects/fpix/), that is where the Linux JPEG
code came from and also where I got the device IDs. If the JPEG part
is removed I don't think there should be enough left there to break
the GPL, as the rest of the code is probably more "inspired by" than
"copied from" the Linux driver. At least I remember having to monitor
the USB traffic under Windows to get the setup commands right, and I
also think there were some articles on writing a BeOS webcam driver
and on using the USBKit that I used as references.

I hope that made it a bit more clear!
As for what I did, I'm more than happy for it to be under MIT licence.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 22:19:35 +00:00
Karsten Heimrich
f2e161c535 * make use of the now available decorator infos
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 21:04:10 +00:00
Karsten Heimrich
320a952cdd * extend Haiku specific client window info to include the tab height and border size
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 21:03:32 +00:00
Jérôme Duval
a4797804ba * removed the background border
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 20:14:55 +00:00
Stephan Aßmus
195d11fe5b D'oh! The GlyphCache memory is already managed by the block allocator.
There was no leak before and r29047 freed the memory twice. Sorry about
that. Already feeling like getting old and there is proof left and
right...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 18:47:18 +00:00
Axel Dörfler
21b66fb888 * On i865, the i915_GTT_BASE is not available. For some reason, though, the
method FreeBSD and Linux are using does not work here; I didn't find out
  why, but I've added a fallback method to use the known GTT base then.
* This should fix #2764.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 17:35:13 +00:00
Michael Lotz
3bdbdcb23e The default include paths have been updated from be/ to os/ so copy correspondingly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 23:57:59 +00:00
Jérôme Duval
86bc2f8eac * removed the fancy border on the Installer background
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 23:35:12 +00:00
Jérôme Duval
3a383e67db added SSE again as support in Haiku seems OK. This can be reverted if needed.
Note this won't trigger a rebuild.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 23:20:42 +00:00
Jérôme Duval
e293302d3d * now init SSE on all CPUs, as I noted cr4 wasn't set correctly
* this fixes the use of SSE instructions here on a dual core.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 22:57:49 +00:00
Stephan Aßmus
edd0e35777 The glpyhs stored in a font cache entry were never freed upon
deletion of the entry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 19:25:58 +00:00
Michael Lotz
73476a18af Add a prebuilt GCC 4.3.3 package to the Development optional package. It's
installed either when building with GCC4 or when making a hybrid. Can be
installed separatly as well. Have fun :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 07:33:08 +00:00
Michael Lotz
8ffb1d6966 Updating config for current GCC4 cross compiler.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 05:15:41 +00:00
Michael Lotz
621e8eeb9e Fix usage of wrong port change values. The request numbers were compared with
the bitmap instead of the masks. Spotted by Mika Lindqvist (after 100 reboots),
thanks for tracking down such hard to spot errors!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 00:57:02 +00:00
Jérôme Duval
73161598d7 * BTextControl is kept navigable to be handled correctly by BControl::SetEnabled(). MakeFocus() transfers anyway the focus on its textview.
* BControl::SetEnabled() now calls SetFlags(), BTextControl::SetFlags() is then correctly called.
* BControl::SetEnabled() now uses fWantsNav to know if B_NAVIGABLE should be restored


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 22:18:44 +00:00
Michael Lotz
74a366707f When linking against libgcc already don't include these symbols. Otherwise we
get multiple definitions of them when building with GCC4 on a GCC4 host.
With that we can now build completely on a GCC4 host with native GCC 4.3.3.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 21:28:43 +00:00
Michael Lotz
3fcc6b3abe Temporary fix for compilation issue on bison 2.4. See ticket #3137.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 21:15:28 +00:00
Jérôme Duval
6504b22390 * calls BTextView hooks, this allows to select text (see bug #2497)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 19:57:21 +00:00
Jérôme Duval
280987e2cb Applied a tip from Stephan: pass the location to DrawString directly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 19:43:41 +00:00
Michael Lotz
374c632c55 Rumour has it that we now have Haiku hosts with GCC > 2 as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 19:25:16 +00:00
Jérôme Duval
0cfe9ac0f7 * centers the text for the settings list item as done with BStringItem
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 19:12:58 +00:00
Michael Lotz
3c885c3390 Fix missing inclue.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 18:14:46 +00:00
Jérôme Duval
d5a6891975 * Patch from Olivier Coursiere: restore sFreeHeapSize in case of resize_area failure
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 18:13:49 +00:00
Jérôme Duval
9509699116 BSoundPlayer changes:
* calls the notifier in Start() and Stop()
* calls SetHasData() with true in Start() like BeOS does
* starts the timesource if not running in Start()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 18:11:31 +00:00
Michael Lotz
d0a06a0995 Add missing mkdtemp prototype.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 17:11:22 +00:00
Rene Gollent
3486acdf1e Update Vision package - fixes a bug that would sometimes result in malformed drag and dropped clippings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 16:27:44 +00:00
Stephan Aßmus
5ade2c5acd Fixed coding style issues pointed out by Jerome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 12:17:02 +00:00
Jérôme Duval
b8d584b4b8 added French Apple keymap, as posted by Vincent Duvert.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 11:57:47 +00:00
Stephan Aßmus
cee9364ac5 Applied patch by Clemens Zeidler which gives the Terminal a nice context
menu with additional options when dropping files from Tracker into the
Terminal. Thanks a lot, Clemens!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 11:29:39 +00:00
Bruno G. Albuquerque
ef93221da6 - Now NetBuffer and DynamicBuffer agree and the smallest buffer size posible.
- This means that buffers with a initial size of 0 work now.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 23:42:43 +00:00
Jérôme Duval
52e59b292b Improves the EULA alert look (bug #3321)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 11:29:18 +00:00
Michael Lotz
bfa2519c44 Explicit linking against libsupc++ doesn't seem to be necessary here (works with
GCC2) and produces multiple definitions with GCC4. Please yell if this breaks
cross-compiling.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 11:25:43 +00:00
Jérôme Duval
df08825316 Francisco Castro provided a Dvorak version of the Spanish keymap. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 10:32:27 +00:00
Michael Lotz
f14fe767bf * Rework the USB tracing mechanism. Cleaned it up and make it more convenient to
use. It will now print out the usb_ids of the objects that generate the trace
  messages. These IDs are unique compared to the device address used previously,
  because device addresses are per bus while usb_ids are global. This makes
  trace output from devices across multiple controllers distinguishable.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 01:28:31 +00:00
Jérôme Duval
b6b002b81e when renaming, check first with the newDirectory instead of starting at its parent. this should fix #3355
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 00:31:16 +00:00