Commit Graph

34807 Commits

Author SHA1 Message Date
Oliver Tappe
3417c110cf Fix #5725, single pixel caret drawing artefact in an empty BTextView:
* _NullStyleHeight() must return the height including the 1 pixel gap between
  the lines, as that's how it's being used

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 12:16:50 +00:00
Scott McCreary
4f221234a0 Updated perl and python packages, fixed year on texinfo filename.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 11:51:32 +00:00
Stephan Aßmus
55538d2844 Added a few people to the contributors list who's patches have recently been
landed. Thanks a bunch! If I have forgotten anyone, please do bring it to my
attention! :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 11:34:25 +00:00
Stephan Aßmus
94a204f083 Patch by Alex Wilson (yourpalal): Convert the JPEG2000 Translator to use the
BaseTranslator framework and layout management. Big coding style clean up, too.
Thanks a bunch, great work!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 11:12:20 +00:00
Stephan Aßmus
b98ef4f94b Patch by Alex Wilson (yourpalal): Converting the JPEG Translator to using the
same BaseTranslator framework as many other translators are already using and
converting it to using layout management for the interface. Great work! Thanks
a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 10:59:55 +00:00
Oliver Tappe
a9621453a1 fix #5794 by removing the undesired link in gcc4 archive
* updated optional package for gcc4 to point to an archive without that link


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 10:44:58 +00:00
Stephan Aßmus
6a49b9e8a0 Patch by John Scipione: Rename the log and log10 functions in DeskCalc to
ln and log, which is hopefully more in line with expectations of users.
Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 10:04:53 +00:00
Stephan Aßmus
7fd4194e29 Patch by John Scipione: Allow pi and e constants to have full MAPM precision.
Thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 10:02:37 +00:00
Stephan Aßmus
08c7fa9db4 Patch by Wim van der Meer fixing ticket #3814 (saving settings of the screenshot
application). Thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 09:57:42 +00:00
Matt Madia
3a72ddf8ae Fixed the syntax of ln to work on FreeBSD.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 04:32:33 +00:00
Matt Madia
fdd6af5833 Upated to utilize the recent enhancements to InstallOptionalHaikuImagePackage.
So far, only the packages specified in @alpha-* were checked. A combintation
of `objdump -x $lib | grep NEEDED` and nm $lib | grep "\w _Z"` was used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 03:41:06 +00:00
Ingo Weinhold
f14480bc2c Essentially rewrote the IOCache to use a VMCache and unmapped pages for
caching (similar to the file cache) instead of contiguous areas. This is
probably a little bit slower, but integrates better with the VM -- the
caching doesn't increase memory pressure and the least recently used pages
will automatically be recycled when needed.
There are still memory allocation issues on machines with little memory. The
USB stack apparently tries to allocate a rather big chunk of contiguous
memory, which fails when all not otherwise bound memory is used for caches,
since the VM functions for allocating contiguous memory consider only free
pages ATM.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 21:54:49 +00:00
Matt Madia
80c7dda631 Fixed the string comparison tests. Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 21:32:17 +00:00
Matt Madia
4eb0a8c2fd Enhance InstallOptionalHaikuImagePackage to accept a new parameter, which
indicates the archive to be usable with either GCC. When utilized, the
packages shared libraries will automatically be symlinked in the alternative
gcc subdir, eg common/lib/gcc4. At the moment, packages that set isCDPackage
are not supported, as Installer needs to be enhanced.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 19:52:36 +00:00
Rene Gollent
b64b6705ad Factored out initialization of default values into an _Init() function that's now called by all constructors.
The BMessage version of the ViewState constructor was not retrieving the icon/last icon size values.

May fix #4322.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 19:35:53 +00:00
Artur Wyszynski
49a0c7942f Fixed build with GCC4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 17:51:39 +00:00
Rene Gollent
f7b6636a8b Don't set releasedOnce unless we actually detect an appropriate change in mouse button states. Otherwise we could mistakenly invoke menu items when not desired. Fixes the other part of #3267.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 17:48:13 +00:00
Jérôme Duval
bbfd31096c * avoid launching one thread for each rescan request.
* erase the defaults settings file when writing it, previous content still existed at the end of the file.
* don't save an empty defaults settings file when node information is not available, this should mean the add on server is already gone.
* added some debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 16:56:22 +00:00
Ingo Weinhold
1f4cc99a2a Removed not approved translations as reported by Siarzhuk.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 16:17:12 +00:00
Oliver Ruiz Dorantes
ddbc9a0f2a - I expected once Haiku sets a connection with a remote device, such connection
was to expire in a couple of minutes, but not, seems to stay forever.
- Implement a Disconnect button in prefrences&kit



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 16:01:08 +00:00
Oliver Ruiz Dorantes
36cb67b24e - Style: alphabetize include directives
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 13:16:13 +00:00
Oliver Ruiz Dorantes
c2ee80e5da - Add authentication checkbox to force authenticate connections
- Implement Pair button for allowing Haiku initiate the connection



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 13:14:52 +00:00
Oliver Ruiz Dorantes
040fb3eaac - Refactor the handling of Expected and unexpected events.
- Handle all events invovled in the authentication
	- LinkKey requests -> reply always negative due the lack a a local linkey database
	- LinkKey Notification
- Handle Completed number of packets for future control flow
- Allow clients to issue a command without having to expect an event
- Fix: LocalDevice Handler was stopping the search once the opcode expected did not match
- Cleanup debug window



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 11:54:38 +00:00
Oliver Ruiz Dorantes
37c7d5d83a LocalDevice:
- Implement REading of the default timeouts
- Retrieval of all possible LinkKeys stored inside the dongle
- Provided function to force an authentication process with remote devices
RemoteDevice:
- Allow Haiku initiate a fully authenticated connection



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 11:34:23 +00:00
Oliver Ruiz Dorantes
40c666a5ab - Introduce template methods for single or non parameter commands
- Remove some old legacy command creation functions



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 11:16:49 +00:00
Rene Gollent
8e23974bbe After looking for items/submenus, always update the closed state at least once before mouse polling. Otherwise the click to open sticky setting would sometimes not get evaluated until after the mouse cursor had already moved outside of the click to open rect. Fixes ticket #3267.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 23:12:43 +00:00
Oliver Tappe
7e6614d10b * updated gcc4 package for r1a2
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 21:03:11 +00:00
Stephan Aßmus
112f2e566e If we want WebPositive to work in Live-CD mode, we can't copy some packages
to the CD image without extracting them anymore. Test pending.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 20:16:29 +00:00
Stephan Aßmus
a53f776b10 Specify the correct dependencies for the WebPositive package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 20:06:55 +00:00
Axel Dörfler
fd722a6734 * Minor coding style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 18:28:45 +00:00
Ingo Weinhold
574e5742ad Optionally use the IOCache instead of the IOScheduler (specified by
USE_IO_CACHE macro in the header). Currently disabled, though. It works fine,
if the machine has a good deal of RAM. I tested with the anyboot CD -- the
boot and installation times drop dramatically. On machines with little RAM
there are issues, though. Apparently the cache isn't drained fast enough, so
that other allocations can fail.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 18:14:53 +00:00
Stephan Aßmus
d177903646 * Replaced BeZillaBrowser with WebPositive in the alpha-* profile.
* Removed VLC from the alpha-*, apparently this was only done in the alpha-1
   branch back then.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 18:07:44 +00:00
Ingo Weinhold
e91e4ee0a6 Added IOCache, a simple write-through cache implementation that can be used
as a drop-in replacement for IOScheduler, processing IORequests synchronously
in FIFO order. It stores cache lines of user-defined size. Currently for each
cache line an area of contiguous memory is used, which is not optimal.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 18:07:31 +00:00
Stephan Aßmus
481f7bf6c4 Added WebPositive (r459) optional package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 18:06:34 +00:00
Oliver Tappe
351076daa0 Fixing #5782 (buggy gcc2 package):
* Apparently triggered by some strange stellar constellation, the
  libgcc.a contained in gcc-2010-04-20 did not contain the files
  required for c++ support. Fixed by rebuilding gcc and fetching
  the (then correct) libgcc.a from there and putting it into
  gcc-2010-04-20-1.zip


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 17:06:58 +00:00
Matt Madia
088859f09e Updated P7zip gcc2 package that has u+rw,o+r,g+r.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 15:36:08 +00:00
Matt Madia
d3bafe85f9 Updated to a repackaged P7zip archive with fixed permissions chmod -R a+w ..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 14:30:54 +00:00
Scott McCreary
1829a123d3 Pass 1 of the r1a2 OptionalPackages. This updates several of the OptionalPackages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 13:45:01 +00:00
Axel Dörfler
11a40e6d46 * Fixed wrong indentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 10:56:39 +00:00
Axel Dörfler
6c7bc7cd22 * Added missing const in ATAPIDevice::IsATAPI() that prevented CD-ROMs from
working since r36416.
* Added more const, and removed all superfluous semicolons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 10:43:10 +00:00
Stephan Aßmus
d39c5aa3c9 Removed Gradients demo from the image. It's just too dull and served more as a
test for BGradient. Mandelbrot would also be a candidate for removal, but maybe
some people are sentimentally attached to it, since it was an old BeOS demo. :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 10:41:10 +00:00
Stephan Aßmus
7a171c93dd Updated Installer logo for alpha 2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 10:19:06 +00:00
Matt Madia
21e8281bd7 Switch the default editor for less to nano. It was defaulting to vi.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 07:44:02 +00:00
Ingo Weinhold
ccb3f07a14 get_memory_map_etc(): Setting the return value to B_BUFFER_OVERFLOW in the
loop causes the function to return before setting the _numEntries. The
overflow case is checked at the end of the function anyway, so we can just
break out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 22:48:33 +00:00
Jérôme Duval
f2d5f97a0c reorder includes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 20:50:15 +00:00
Fredrik Holmqvist
761af9df7f This was not supposed to be commited.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 16:24:55 +00:00
Fredrik Holmqvist
5d9cc10f80 Moving ACPI Embedded Controller to ACPI bus manager.
* Removed irq_routing struct from ACPI.h to where it is used. Might be able to use acrestype.h instead of duplication.
 * Disable old embedded controller and remove it from image.
 * Move embedded controller code to busmanager module.
 * Remove (some) code duplication

Should work as before, but is now initialized right after the bus manager. Can probably remove further code duplication.
I hope I've done it correctly, feedback is most welcome.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 16:19:41 +00:00
Matt Madia
c966de0646 Changed the behavior to always display the GCC. Extended it to report "Hybrid"
as needed. "Hybrid" is a new string for localization.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 15:49:01 +00:00
Stephan Aßmus
d49d3f60d8 * Playlist::SetCurrentItemIndex() will keep the index in range when requesting
an index greater than CountItems(). (Setting an index smaller than 0 will
   still work.) This change will prevent the window from setting an invalid
   current playlist item index when the end of the last file is reached. The
   negative effect of this would be that the transport buttons would indicate
   seemingly confused navigation capabilities (being able to skip to the *next*
   item from the last item, internally it true (you can skip from -1 to 0), but
   the player still showed the last item as currently loaded item)...
 * ControllerView::TogglePlayback() will now check if the end of the last item
   is reached and go to the first playlist item then.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 15:34:12 +00:00
Stephan Aßmus
8e9973a09d Added easy method to retrieve the playback position (of the seek slider [0..1]).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 15:28:39 +00:00