Commit Graph

32134 Commits

Author SHA1 Message Date
Rene Gollent
757a470f33 Partial fix - some constants appear to be missing though, or weren't renamed correctly, which I can't fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:46:40 +00:00
Rene Gollent
eddae99610 Fix driver build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:41:34 +00:00
Philippe Houdoin
823380c666 Added Hong Yul Yang to contributors.
Hope "Yang" is actually your lastname!
Feel free to correct me.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:07:32 +00:00
Axel Dörfler
123bb4d5fd * Added a position tool tip to the seek slider.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:00:58 +00:00
Brecht Machiels
6cae2161f0 made code style more consistent with the rest of the driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 18:58:36 +00:00
Philippe Houdoin
ef831a1dc3 Applied Stack & Tile patch by Hong Yul Yang, formely by Christof Lutteroth.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 18:46:23 +00:00
Oliver Tappe
4b0f176d9c Fix more regressions in _AutoResize() visible when renaming a file in Tracker
(reported by Axel):
* _AutoResize() can no longer check the difference between the textrect and
  the maximum line width, as the textrect is no being adjusted earlier during
  the line-calculation code - instead, it needs to measure the difference
  between the bounds and the textrect width plus the insets.
* MakeResizable(true) needs to reset the right inset, as otherwise the auto-
  resizing would get confused about how large the textview needs to be
  (seems to be an artefact of how Tracker creates the textview).
* GetInsets() doesn't need to compute the insets, as they're maintained in
  fLayoutData.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 17:39:02 +00:00
Axel Dörfler
1aa885efee * Added a temporary solution to add the Audio:Length attribute to audio files,
just like SoundPlay did.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 16:50:07 +00:00
Axel Dörfler
2caab6e574 * Coding style cleanups, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 14:35:33 +00:00
Scott McCreary
ae3eeac13b Updated build of python-2.6.4 to include patch from Chris Roberts which fixed zlib support. This fixes HaikuPorts ticket #239
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 14:07:36 +00:00
Axel Dörfler
13ce48d922 * Moved dprintf_args()/debug_puts() guts to a new dedicated private function
debug_output().
* Added a second buffer to be used when interrupts are turned off, otherwise
  dprintf_args() will now use a mutex guarded buffer to fill with vfprintf() -
  the actual sending to the outputs still needs the spinlock, so things only
  slightly improved.
* Moved private functions into the private section of the source file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 13:31:55 +00:00
Axel Dörfler
b10da4d8c7 * _UpdateButtons() was called too early, before fCurrentMap, and fAppliedMap
were initialized, causing Keymap to lose the current map.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 12:03:04 +00:00
Axel Dörfler
7d6c7206c1 * There is no need for the sPageLock to be a spinlock - a mutex should do. This
should improve the kernel latencies, as things like
  vm_page_allocate_page_run() is very expensive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 10:44:29 +00:00
Adrien Destugues
64e8303b6d Lituanian translation for keymap and media preflets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 10:15:57 +00:00
Axel Dörfler
ea607d6f7f * Applied a patch by Christof Lutteroth that updates ALM, and brings new test
apps.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 09:00:14 +00:00
Axel Dörfler
dcfdc8374a * This should fix the calendar menu when using the click-to-focus mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 08:56:53 +00:00
Rene Gollent
d3b113282a Move CheckDevicesEqual into FSUtils so it can be used in more places.
Rework ContainerWindow's B_REFS_RECEIVED to use CheckDevicesEqual to decide move vs copy as is done elsewhere.

Fixes ticket #4850.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 03:04:42 +00:00
Scott McCreary
145eef6021 Added CMake as an Optional Package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 02:26:36 +00:00
Jonas Sundström
62ae78f7a8 Test-commit for mmadia.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 00:53:54 +00:00
Adrien Destugues
f8a1135cbb Localized MEdia preflet and translated it to french.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 21:08:00 +00:00
Axel Dörfler
7f452dbd1e * Moved Brecht to the current maintainers.
* Added Colin.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:56:43 +00:00
Rudolf Cornelissen
4ba8fc5dcb updated modelist for ws modes, removed some unused code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:30:44 +00:00
Philippe Houdoin
d124b42d8b Move Fredrik "tqh" Holmqvist from contributors to maintainers.
Welcome onboard!

And, look, what a coincidence: you're my new upper neighbour in that list!
:-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:08:29 +00:00
Fredrik Holmqvist
6fde258427 Fix for ticket #3961:
The previous code used kill_thread() and then destroyed the common RingBuffer.
This wasn't working, and as Axel notes it's not really working on kernel side.
* Added RingBuffer::DestroyLock
* Changed the thread to exit gracefully on RingBuffer semaphore destruction.
* Changed close function to destroy RingBuffer sem, wait_for_thread and then destroy resources.
* Minor code style fixes.
(And also my first commit.)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:03:50 +00:00
Adrien Destugues
173b5560a2 Added russian translation for Keymap, done by StoroZ Gneva. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 19:41:01 +00:00
Colin Günther
df65e069cf Coding style fix. Thx to axeld. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 18:56:10 +00:00
Axel Dörfler
d337132b41 * Coding style cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 18:22:39 +00:00
Colin Günther
6c76785bef Using the add_timer() function as proposed by alexd. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 17:09:53 +00:00
Adrien Destugues
ad34440edc -Removed unseless reference to adler32 in hashmapcatalog
-Localized Keymap preflet and translated it to french


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 15:48:01 +00:00
Axel Dörfler
5234616d1a * That patent is obsolete now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 14:46:53 +00:00
Axel Dörfler
954da749a5 * Added SCHED_SPORADIC, and sorted the constants the way it's done in the specs.
* Also changed their numbering.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 13:10:17 +00:00
Axel Dörfler
d88b4037b0 * Reduce maximum priority to B_URGENT_DISPLAY_PRIORITY; real time threads isn't
really something to play with without knowing the outcome.
* Fixed indentation/coding style violations introduced with r33783. Please take
  more care when accepting patches!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 12:34:27 +00:00
Axel Dörfler
3ac4f1f258 * I even had a second look, but didn't spot this one - thanks Urias!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 12:12:27 +00:00
Colin Günther
2406849d4a * Coding style fixes regarding whitespace usage.
* Copyright style fixes.
* Implemented FreeBSD hardclock subsystem, which is needed to update the ticks
  variable. The previous usage of "#define ticks system_time()" wasn't
  sufficient anymore, as there are drivers using the ticks name for local
  scoped variables.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 08:14:03 +00:00
Scott McCreary
94aefa169e Updated python to 2.6.4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 05:36:14 +00:00
Jérôme Duval
f386c5910b Patch from Michael Franz (ticket #4696): sched.h and pthreads to allow setting of the thread priority
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 22:56:43 +00:00
Philippe Houdoin
4c091ffef4 Apply patch (with changes) by Pete Goodeve: fix #4053.
Closing usb_midi now wake up midi_server port reader, as expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 22:28:47 +00:00
Philippe Houdoin
912d4ba92b Apply patch by tqh: fix ACPI hang at boot (#4762)
Global lock/unlock assembly code was broken, reworked based on 
what FreeBSD does.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 22:01:59 +00:00
Brecht Machiels
9b060d03d7 fixes initial state of accept first click checkbox when FFM mode is active
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 20:21:55 +00:00
Jérôme Duval
91844cc151 Patch from Olivier Coursiere (ticket #4064): cond_wait always return EAGAIN with an unitialized pthread_cond_t
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 19:28:14 +00:00
Axel Dörfler
857b0c2bef * Applied patch by Matt to use NAT networking mode instead of bridged.
* This closes ticket #4519.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 18:35:46 +00:00
Axel Dörfler
250288397d * Somehow, I forgot to update set_port_owner() for the new team port list.
* Now, killing a team shut properly cause the app_server to close the windows
  of that team, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 17:23:07 +00:00
Axel Dörfler
0c2788b4ce * Added some pthread_attr_destroy() and pthread_create() tests from
posixtestsuite into our repository.
* A few of the latter ones actually fail on Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 17:13:11 +00:00
Axel Dörfler
ebcd4e1ada * Applied patch by "v" with minor changes; this allows the posixtestsuite's
pthread_create 2-1 interface conformance test to pass.
* Also fixed return values to be in the POSIX error range in case we ever switch
  them by default.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 17:11:02 +00:00
Axel Dörfler
b716ef33bf * pthread_create() will now check if attr is initialized, thus fixing bug #4827.
* pthread_kill() no longer sets errno.
* Use POSIX error codes in POSIX code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 16:49:11 +00:00
Axel Dörfler
0087f9409b * sem_entry no contains a pointer to the owning team, instead of only its
ID.
* Accidently, this should also fix bug #4839.
* Optimized _get_next_sem_info() a whole lot by iterating over the team's
  semaphore list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 15:09:08 +00:00
Alexandre Deckner
36f51b0861 * Applied patch jalopeura, fixing mail2mbox and mbox2mail signatures in rdef. Closing #4856. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 13:57:36 +00:00
Axel Dörfler
86a999adfb * delete_owned_ports() no longer scans the whole port array for ports belonging
to the owning team.
* Instead, the team now maintains a list containing the ports it owns.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 13:34:43 +00:00
Axel Dörfler
07e9fd1d84 * sem_delete_owned_sems() now grabs the team lock for a very short time, and
once only.
* Improved missing team warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 13:29:29 +00:00
Alexandre Deckner
e2ee5e5706 * My previous fix to #4130 wasn't correct since it could miss some moved or
renamed files. After more investigation i found out that the problem was
  caused by a non usual use of the zombie list in r31307. In the conditions
  to reproduce #4130 it would call AttrChanged() or StatChanged() on zombie
  poses which by convention should always be invalid models, ie: null node.
  The logic would potentially create other problems too as it wasn't only
  adding refFiltered models to the zombies.
  I reverted part of r31307, clarified the logic and updated the comments.
  I'd prefer another implementation for this as reusing the zombie list
  here is only calling for future mysterious problems. #4131, #4271, #4610
  and #4831 are still closed, but i'm reopening #1717 which is more of an
  enhancement btw.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 10:21:33 +00:00