Commit Graph

28191 Commits

Author SHA1 Message Date
Stephan Aßmus
9d6405b724 Code cleanup, no functional change except for changing BWindow::Run() into
a BWindow::Hide()-BWindow::Show() combo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 16:10:18 +00:00
Axel Dörfler
dcf71e1cae * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 16:08:22 +00:00
Axel Dörfler
8fd850fca9 * Added "address" specifier for the "allocations" KDL command.
* Removed superfluous malloc.h include.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 16:07:58 +00:00
Bruno G. Albuquerque
9306738deb - Only try to get usage info if there was no error with waitpid.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 16:00:10 +00:00
Bruno G. Albuquerque
ada17216f9 - Added wait3() and wait4() to the bsd compatibility library.
- Untested, but should work (will test it when I get home later today).
- This is my first attempt at adding something for compatibility reasons. Let
  me know if something in wrong.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 15:53:17 +00:00
Axel Dörfler
931d8b07e8 * Reverted r32216 (by mmlr): it's not a good idea to access a variable on the
stack after that has just been changed, and does not contain the data one
  would assume.
* This fixes the leaking the vm_translation_map_arch_info objects, and thus
  bug #4957.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 14:56:51 +00:00
Axel Dörfler
3917e20402 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 14:54:32 +00:00
Ingo Weinhold
cc32c48494 Work in progress:
* The FS parses package files from "/boot/common/packages" and builds an
  node tree representation of the contained entries. Merging directories should
  work. Lots of other stuff is missing yet, though.
* Implemented the hooks for directory entry lookup and iteration. So it's
  possible to see the contents of the FS at least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 11:46:19 +00:00
Axel Dörfler
82df777b3d * The keyboard driver will now send a "key up" event for the emergency keys
afterwards; ie. the alt key is no longer stuck after visiting KDL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 11:41:11 +00:00
Ingo Weinhold
cf17d2695d Added Referenceable.cpp -- it's in the kernel, so we need it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 11:37:11 +00:00
Ingo Weinhold
713cc7fc84 Added fs_read_attr().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 11:35:47 +00:00
Ingo Weinhold
6dccfe1317 * Added interface ErrorOutput and implementation StandardErrorOutput and used
them in the PackageReader instead of fprintf().
* Got rid of unconditional printf().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 11:33:50 +00:00
Axel Dörfler
96c4511a25 * Shuffled functions around, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 10:23:53 +00:00
Jonas Sundström
0e02469e9c Made Workspaces' initial size and shape depend on screen size, screen proportions and the current layout of one's workspaces. Adjusted Zoom() to be proportional. Also added proportional resizing, which is optional currently, pressing shift while resizing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-17 02:49:43 +00:00
Jonas Sundström
5a0982b580 Spelling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 23:35:34 +00:00
Stephan Aßmus
031918562b Disabled tracing again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 22:51:06 +00:00
Stephan Aßmus
ab18a50229 * Moved the about alert handling into the application
* Simplified the handling of the first window and removed FirstWindow(),
  we can tell by fPlayerCount.
* Both the above would fix a crash when requesting the about alert with the
  first window already gone. Respectively another player instance opening
  if fFirstWindow was reset to NULL after some recent revision.
* Implemented restoring the current playlist, index and position in the file.
* Devised a more robust way to solve asynchronous seeking. The Controller is
  now notified that a seek request has been handled with a dedicated hook.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 22:48:19 +00:00
Stephan Aßmus
9a7463857a Window size handling is now a bit more robust (all this affects audio only
and empty windows only):
* New windows use the width from the window that was last resized by the user.
* The first window uses the stored window position and size.
* When switching from video content to audio content, the last window width
  from previous audio-only content is restored.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 18:40:45 +00:00
Axel Dörfler
88b38f2901 * Moved loading roster settings to the point after it has been added to the
registrar.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 18:13:27 +00:00
Axel Dörfler
7162a69600 * Disabled excessive debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 18:07:56 +00:00
Stephan Aßmus
f907fa59c3 Work in progress for storing some window position/size related settings of
the first window, and restoring them for audio content.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 17:36:32 +00:00
Axel Dörfler
07d4556346 * Change get_next_sem_info() to be index based, not ID based - the semaphore IDs
aren't monotonically increasing which this code was assuming. This fixes bug
  #4917.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 13:08:36 +00:00
David McPaul
9b716314fc Rework Frame Length Calculation. Fixes issue with tllts mp3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 11:57:19 +00:00
David McPaul
bd0058e0a7 Rework Frame Length Calculation. Fixes issue with tllts mp3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 11:56:57 +00:00
Rene Gollent
f4dc59983b Partially implement ticket #4916:
- Rename "Configure Favorites..." to "Edit Favorites...".
	- Remove the old-style Configure Favorites dialog in favor of simply
	  opening the favorites folder (~/config/settings/Tracker/go) in a
	  Tracker window for the user to manipulate.
	- Rename the "Favorite Folders" section to simply "Favorites" as files
 	  are also allowed (i.e. to easily open a template document).
 	- Removed completely arbitrary (and silent) 20 item limit to favorites
 	  list.
 	- Automatic whitespace cleanup
Still to do: Grab the ref filter from the file panel (if any) and run the
favorites through it as well, since we want to filter out any non-folder
favorites that the app is incapable of handling. Also, the setting for
the favorites menu to show recent documents needs a new home, as it was
previously in the no longer existing Configure Favorites window. Suggestions
welcome, as I'm not currently seeing a spot in the Tracker prefs that would
make good sense.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 01:07:40 +00:00
Jonas Sundström
7dd65803e7 Translation by Johan Holmberg.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-16 00:32:14 +00:00
Ingo Weinhold
b932032a35 Implemented the most basic functionality required to cleanly mount and unmount
(at least in userlandfs).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 23:26:45 +00:00
Ingo Weinhold
246aa3e3e2 Debug support functionality -- tadjusted version taken from userlandfs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 23:23:32 +00:00
Jonas Sundström
2e71609917 Fixed memory leaks. Thanks Stephan and Rene! Added naive sorting of the list of available languages, meant to be replaced.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 22:11:50 +00:00
Ingo Weinhold
eaf37e54bf Added Jamfile for building for the userlandfs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 22:03:54 +00:00
Ingo Weinhold
3791c3fc27 The very beginning of a package FS: Empty stubs for a minimal read-only file
system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 21:56:03 +00:00
Ingo Weinhold
689605bf2a * Added support for iterative operation to ZlibCompressor/ZlibDecompressor.
* Added support for compressing/decompressing the TOC section of the package
  to PackageWriter/PackageReader.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 21:29:53 +00:00
Jonas Sundström
5e5a7d535c Double-clicking to select/deselect preferred languages added.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 18:11:58 +00:00
Stefano Ceccherini
61646809a3 The cursor didn't start blinking, unless the window was activated (by clicking outside and then inside the window).
Copied the BTextView mechanism: Activate and Deactivate the view on MakeFocus
and WindowActivated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 16:15:28 +00:00
Jonas Sundström
34bdaab8bd Simplified quitting. Propagate settings from window to application/settings when they change instead of collecting them when quitting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 15:07:55 +00:00
Jonas Sundström
fa1ee6d4d1 Clean-up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 13:09:37 +00:00
Ingo Weinhold
51e49965a7 The compressed size wasn't computed correctly (ignoring the chunk offset
table), resulting in invalid archives when storing files > 64 KB.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 10:39:57 +00:00
Ingo Weinhold
7f03bc34fe Apparently I didn't manage to put the class implementations in the matching
source files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 10:08:26 +00:00
Joachim Seemer
d12b250c96 Changed path to user guide help. Should fix #2891. Thanks, diver, for noticing. [BTW, paths to help files are another thing to remember for localization.]
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 09:00:31 +00:00
Ingo Weinhold
c0fad25fa9 * Got rid of the *Data classes. The *DataReader classes do the same.
* Implemented writing of short data inline in the TOC.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 08:41:57 +00:00
Ingo Weinhold
03423585a4 Incorrectly used errno instead of error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 08:40:35 +00:00
Ingo Weinhold
56270ee1c9 Added AttributeDataReader, a DataReader implementation for attributes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 08:39:45 +00:00
Ingo Weinhold
29af97ceac Don't return a bogus offset for inline data.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 08:37:22 +00:00
Jonas Sundström
31f52d335f Hack to make Command-Q save preferences and not only Command-W.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 02:50:16 +00:00
Jonas Sundström
e2fe56d7d4 i18n, initial translation to Swedish
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 01:42:47 +00:00
Jérôme Duval
fe9ca3bd8e forgot to add this file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 00:12:27 +00:00
Jérôme Duval
34f7779818 merge wget 1.12.0 to trunk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-15 00:05:39 +00:00
David McPaul
c2d6e29c89 ensure buffers are aligned 32 for SSE2 should fix #4948
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-14 22:45:18 +00:00
Jonas Sundström
714236b802 Work in progress: Tiling window placement, screen-center-preferring with semi-fixed slots. Not sure I like it. (It looks nice as long as the windows stay equally sized, which they don't.) Settings weren't used anymore, and could be removed. Clean-ups. Changed archive creation to not update an existing archive, but instead create a new archive with a slightly altered filename along-side the existing file. Lock added to safe-guard pipe redirection. A window's Stop/Continue alert now shows the name of the archive in making. I added some code to show and select the archive in Tracker, post-creation, but it does not work reliably, so I've disabled it for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-14 21:49:35 +00:00
Ingo Weinhold
aece77090d Added support for data compression via zlib. Compression support for the TOC
and package attributes sections is still missing, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-14 21:08:33 +00:00