Commit Graph

17256 Commits

Author SHA1 Message Date
Ingo Weinhold
3bf5b314a9 A place for testing the layout management stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 13:28:58 +00:00
Ingo Weinhold
3d3a473670 A target can now be installed more than once on the image.
Fixes bug #696.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 12:08:53 +00:00
Ingo Weinhold
223ff76477 Added rule FGetGrist. I almost used it... ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 12:05:51 +00:00
Axel Dörfler
89ae57ba77 Removed sysctl(), there is no need for this BSD-ish call.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 09:37:06 +00:00
Jérôme Duval
c32fb9097a main return code is 1 on error
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-28 16:22:05 +00:00
Jérôme Duval
1e005c7e8e we can now target an exact instance of an application with its teamid
avoid instancing a temporary BMessage


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-28 16:16:12 +00:00
Axel Dörfler
9150d65c83 Removed some unused old networking stuff, cleaned syscalls.c.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-28 14:54:58 +00:00
Axel Dörfler
2009d9e5f1 Imported AutoMounter.cpp 1.9 - debug build fix by Jerome Duval.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-28 11:37:28 +00:00
Jérôme Duval
46cd0b32c5 it seems this freetype release doesn't work without this flag, sorry for the trouble :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 14:56:56 +00:00
Stephan Aßmus
29c171b18f reverted my "build fix" since it actually breaks the build on R5
... the problem is local to my machine... sorry about that!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 14:14:37 +00:00
Jérôme Duval
a4b2ff90d8 revert memory optimization to its previous state
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 12:11:51 +00:00
Axel Dörfler
d48519fa80 Can now be built for BeOS targets as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 11:44:24 +00:00
Axel Dörfler
00363f807c Can now be compiled again under BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 11:43:06 +00:00
Jérôme Duval
4894b87045 updated freetype to 2.2.1, tested ok, please forgive me for possible left issues :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 11:34:35 +00:00
Jérôme Duval
3f990ca3cc now links with be
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 09:24:57 +00:00
Stephan Aßmus
75acb8cbf8 synced with rev 1.12 from OT rep, fixed build on R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 09:18:25 +00:00
Stephan Aßmus
f8262c2b19 sync to rev 1.62 from OT rep: use the event time instead of the current system time for appending or starting a new match when typing ahead to select a pose
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 09:16:31 +00:00
Axel Dörfler
fe7f3a2f1d Now supports symbolic links correctly, and no longer loads the same shared
library twice.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 00:07:42 +00:00
Axel Dörfler
0cd3c003d1 While investigating how our deals with doubled shared libs, I found two
issues:
* Our glue code was broken after all - it allowed Haiku apps to start under
  BeOS (and vice versa), but the initialization/termination functions were
  called with an invalid image ID - on *both* sides! As it turns out, the
  Be glue code did *something* with %ebx, but certainly didn't put the image
  ID in there, but just passed it on the stack, as we did before (just in
  the wrong order...). Therefore, the arch_call_init_term stuff is not
  necessary.
* When unloading add-ons, their termination functions were never called, as
  the image (for get_image_symbol()) was already made inaccessible, and
  therefore the symbol couldn't be found.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-26 22:09:13 +00:00
Jérôme Duval
58ad2aba29 added BColumnListView to libbe.so
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-26 15:53:41 +00:00
Axel Dörfler
aded7d13c1 Imported InfoWindow.cpp 1.16, and .h 1.4 from OpenTracker current.
This fixes bug #694.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-26 11:34:41 +00:00
Jérôme Duval
cd7c3b4e28 added a rdef for hey
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-25 23:20:47 +00:00
Jérôme Duval
f425cb84a0 fix the build, sorry for the long delay
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-25 22:34:09 +00:00
Axel Dörfler
190650c3c7 Imported SettingsViews.cpp 1.11, .h 1.9, TrackerSettingsWindow.cpp 1.8, .h 1.3,
and SelectionWindow.cpp 1.3.
This fixes bug #656.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-25 10:46:00 +00:00
Stephan Aßmus
e57995449d beginning to check up on gui components:
* added a group of controls to access and manipulate colors (incomplete)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-23 23:14:12 +00:00
Stephan Aßmus
5ca1108776 * fixed off by one errors when calculating min size
* added setter for internal spacing 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-23 23:12:18 +00:00
Stephan Aßmus
31e2089106 * added a color picker panel
(heavily modified, but originally based on Colors! by Werner Freytag)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-23 22:09:53 +00:00
Axel Dörfler
d134f89267 * Sending a forwarded message that had required a synchronous reply, can now be sent
again with a synchronous reply - the "reply done" flag wasn't cleared before sending.
* Improved error message in case the buffer for flattening the message couldn't be
  allocated. BTW this would be a good place to use the new writev_port() function and
  don't do any allocation at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-23 14:44:21 +00:00
Jérôme Duval
fb8a578c0a setsockopt and getsockopt use int as others functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-23 14:19:11 +00:00
Stephan Aßmus
ef355aa493 nice to have on BeOS as well...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-23 12:29:01 +00:00
Jérôme Duval
4e0eae1865 patch from Olivier Coursiere for better error output in ping
change the size parameter type of several functions in sys/socket.h to match POSIX
compat libs and legacy headers keep the original R5 type (though I make a change for this)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-23 12:22:26 +00:00
Axel Dörfler
735a9c460f "text" super type still pointed to the old "obos" StyledEdit signature.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-22 12:42:02 +00:00
Jérôme Duval
6c61b2841f moved B_PROPERTY_INFO_TYPE definition to TypeConstants.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-22 12:21:46 +00:00
Jérôme Duval
577bebe552 pthread_exit has to be called on thread exit, it doesn't return, thus we don't care about the routine return code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-22 10:00:17 +00:00
Stephan Aßmus
56aceca439 updates NOTES
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-22 00:46:51 +00:00
Stephan Aßmus
fd8b7ce55a one more small fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-22 00:30:39 +00:00
Stephan Aßmus
ce181bb0cd * fixed memory leaks and display bugs
* VectorPath objects were released one two many times
  by the Shape PathContainers (they don't acquire when
  a path is added, the Shape does that for them) the
  PathContainer of the Icon needs to release though, as
  it "owns" the paths
* put the Selection class used by PathManipulator into
  the PathManipulator namespace, since the compiler seemed
  to use the wrong destructor (the one from the generic
  Selection class)
* uses a better mechanism to track and render
  changed parts of icon


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-22 00:22:23 +00:00
Axel Dörfler
63a9a8f72a Enabling the extended stat() versions had unforeseen consequences (broke the build,
src/bin/coreutils/src/cp.c, line 542 needs stat() exported), therefore, I disabled
it for now again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 21:19:37 +00:00
Axel Dörfler
f62d3b77aa Added a list_get_last_item() call - one day we should make most of them inline.
Or use the C++ list implementation where possible.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 16:13:34 +00:00
Axel Dörfler
0ba0370464 Use B_MAX_SYMLINKS instead of SYMLINKS_MAX (which also fixes the build, btw).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 15:44:46 +00:00
Stephan Aßmus
f71eec5f41 added three more Transformer implementations:
* AffineTransformer - affine matrix transformation
* PerspectiveTransformer - perspective transformation
* ContourTransformer - extending the underlying VertexSource by a certain
  width (like "false bold" in text rendering)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 15:21:26 +00:00
Jérôme Duval
ac8b62305d added some pthread tests from posixtestsuite
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 15:21:12 +00:00
Stephan Aßmus
0199e126e2 implemented a cool vertex transformation pipeline:
* VertexSource virtualizes the AGG "VertexSource" interface
* Transformer is an interface for building pipelines of
  VertexSource objects, each taking the output of the previous
  object and transforming it in some way
* StrokeTransformer is currently the only implementation and
  converts a path into an outline stroke
* PathSource implements the VertexSource interface on top of
  a VectorPath which it converts into an agg::path_storage
  and into an agg::conv_curve<agg::path_storage> to get smooth
  bezier curves
* added VertexSource() to Shape class, which returns the last
  object of the transformation pipeline, it uses a PathSource
  for the root object
* changed IconRenderer to use the new polymorphic VertexSource
  pipeline


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 14:38:13 +00:00
Jérôme Duval
954f408f50 * PTHREAD_MUTEX_INITIALIZER inits to NULL, pthread_mutex_lock now call pthread_mutex_init to support this PTHREAD_MUTEX_INITIALIZER
* pthread_key_create and pthread_key_delete now manages correctly a list of key/destructor
* pthread_create now uses a private thread function to add a "on_exit_thread" call for destructors
* pthread_join now returns B_OK in every case, and, as a joinable thread could already be gone, wait_for_thread would not find it


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 14:07:34 +00:00
Axel Dörfler
7b3d36e5aa * BEntry::GetStat() and BNode::GetStat() used sizeof(struct stat) for the kernel
syscall, but they could not know if R5 code called them (in which case the stat
  size has a different size). We now always only return the R5 stat structure here.
  This fixes bug #420. We might want to find a different solution to this problem,
  though.
* Be got SYMLINK_MAX wrong - it's not the maximum number of links (that's SYMLOOP_MAX),
  but the maximum size of a symlink buffer. Added missing SYMLOOP_MAX and SYMLINK_MAX
  constants to limits.h.
* Fixes MAXSYMLINKS to use SYMLOOP_MAX, instead of SYMLINKS_MAX (which doesn't exist
  in POSIX specs, but we (intentionally) break source compatibility here).
* Reenabled the Haiku versions of stat(), fstat(), and lstat() when build for Haiku.
* Removed OpenBeOS namespace stuff from the files I touched.
* Removed superfluous StorageDefs.Private.h, whyever that ended up in a public header
  is beyond me.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 13:49:16 +00:00
David McPaul
dbd51bbab9 Modified IsSupported to identify MP4 and MOV files better
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 13:15:13 +00:00
Stephan Aßmus
0f50089d87 implemented gradient rendering
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 12:14:19 +00:00
Stephan Aßmus
f67876a0c5 some more "putting things together" for testing:
* add a VectorPath to Document->Icon()->Paths()
* add a Style to the global StyleManager
* actually add a Shape to the Document->Icon()->Shapes()
  which uses the style and the path from above

fleshing out of CanvasView:
* use an offscreen bitmap/view to avoid flickering
* use an IconRenderer to render the set Icon
* implement support for zooming

PathManipulator:
* use the conversion from/to Canvas space and View space
  in CanvasView (I would have liked to solve this in a
  more generic way, so that PathManipulator didn't have to
  know CanvasView, but I was not very creative...)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 10:43:19 +00:00
Stephan Aßmus
3f6acee003 actually render all the shapes... TODO: gradients
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 10:36:39 +00:00
Stephan Aßmus
667973ad58 added more useful colors and some patterns
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 10:34:37 +00:00