Commit Graph

32106 Commits

Author SHA1 Message Date
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
Axel Dörfler
b85716cbd9 * Not sure why Brecht changed the behaviour of FFM here. This should hopefully
fix most of the issues.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 21:53:27 +00:00
Axel Dörfler
c3d0a5e8a1 * Fixed the style violations introduced by r33732, nothing too bad, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 21:52:17 +00:00
Axel Dörfler
4223d92e7d * Fixed lots of style violations, many of them introduced with r33732.
* Brecht, is it possible your line break column is one character too short? At
  least you broke some lines without need.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 21:26:54 +00:00
Siarzhuk Zharski
c9f0f9b9d2 ISO 639 defines the name for Ukrainian language as 'uk'.
This changeset correct usage of this language abbreviation and restore normal function of the localized preflets.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 20:38:29 +00:00
Stefano Ceccherini
4ac5ee1c01 Fixed BOptionPopUp when used in the layout system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 20:33:39 +00:00
Jérôme Duval
106e455e76 Patch from Joseph Protsko: P7zip optional package for GCC4 (#4842)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 20:01:33 +00:00
Axel Dörfler
7691a788d0 * Minor cleanup, updated copyright.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 15:14:49 +00:00
Fredrik Modeen
3ba588d15f Fix for r33732, now it builds.. don't know if works though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 15:09:57 +00:00
Axel Dörfler
c544ccf58d * Expand(), and Collapse() aren't supposed to do the work themselves.
* Instead, they should call the protected virtual ExpandOrCollapse(), this makes
  one of my apps work again under Haiku (where the list view contents are
  filled on demand).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 14:51:39 +00:00
Jérôme Duval
b8092f18e1 the column argument wasn't taken into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 13:59:05 +00:00
Rene Gollent
203049400f Also remove _B_APP_INFO_RESERVED1_ as it's used for nothing whatsoever.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 13:11:29 +00:00
Stefano Ceccherini
510fae5f1d Also add layout-friendly constructor for BOptionPopUp (not yet tested)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 10:49:28 +00:00
Stefano Ceccherini
ba69bf196e Added layout friendly constructor for BOptionControl
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 10:45:42 +00:00
Rene Gollent
75f60c8b38 Set default flags to B_MULTIPLE_LAUNCH only, as is the case on BeOS. This fixes issues where apps that forgot to specify flags in their resources would be unable to receive remote messages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 03:34:24 +00:00
Jérôme Duval
49d0a38c13 Applied patch from augiedoggie: disable debug in the mpu401 module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-24 17:18:16 +00:00
Rene Gollent
650454ae2e gcc4 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-24 01:26:14 +00:00
Jérôme Duval
505a5551a4 added SOCK_SEQPACKET
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-24 01:01:17 +00:00
Jérôme Duval
2a6e7a56d5 Applied patch from humdinger (ticket #4435): Change shortcut to summon Terminal from ALT+SHIFT+T to ALT+OPT+T
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-24 00:36:20 +00:00
Jérôme Duval
676d27510d Fixed the dead key misbehavior when typing fast: we don't change the deadkey status on key up anymore.
I thought there was a ticket about this bug, but couldn't find it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-24 00:31:04 +00:00
Brecht Machiels
dfdfbd3eef * added support for GM45 (might work for other chips in the G4 series)
* added header for dealing with binary numbers and bitmasks (C++ templates)
   these "macro's" might not work well for long words, though


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 23:03:49 +00:00
Axel Dörfler
bd56fd8a4c * Removed the superfluous handOverPort variable I introduced earlier.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 15:08:47 +00:00
Rene Gollent
e9af5d4585 Fix build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 13:31:52 +00:00
Michael Lotz
59fa665d53 The "was dropped" flag is only used to specify whether or not DropPoint()
returns valid data. Since the data is still valid in the copy, we don't need
to clear the corresponding flag when copying a message. This is most probably
the same behaviour as in R5 as Tracker seems to expect that in the case where
a drop is done after a menu was displayed as in #4757. Thanks to aldeck for
tracking that one down inside Tracker, should fix #4757.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 10:33:40 +00:00
Colin Günther
c5a4650d6b Fixing the gcc4 build break.
Using macro nonnull which actually resolves to an attribute doesn't work
on inline functions.
Thx to mmlr for helping out.
Eitherway it should have worked in the first place, because the compiler
has all the information it needs.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 08:54:52 +00:00
Alexandre Deckner
c3ce629473 * When a file was created, then deleted shortly after, on a PoseView that is
busy processing other things, the file could be gone by the time we processed
  the fs notification message of the entry creation. This case wasn't handled
  properly and would cause #4130 and most certainly duplicate #4831, #4610 and
  also possibly #4271.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 08:07:56 +00:00
Axel Dörfler
ddbe12007a * Semaphores are now put into the team struct in a doubly linked list.
* This makes sem_delete_owned_sems() a lot more efficient; before it would need
  to scan the entire semaphore table.
* This speeds up the test build of the kernel by another 2 seconds (with
  KDEBUG=2) on my laptop.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 02:06:51 +00:00
Brecht Machiels
7a4718b253 added Belgian keymap with point instead of comma on the keypad
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 01:18:43 +00:00
Axel Dörfler
6390c0ca80 * _get_next_thread_info() should be a bit more picky about its team needs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 01:15:55 +00:00