778 Commits

Author SHA1 Message Date
Jérôme Duval
91d1efffa5 Only changes current dir when a destination folder is provided and don't exit when no destination is provided
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-18 08:21:54 +00:00
Jérôme Duval
e6efcd0fdb Now use the mimetype of the file linked and not the link itself
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-18 08:20:36 +00:00
Jérôme Duval
1592b084a9 Added bzip2 1.0.2. Expander has now built in rules and icons for it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-17 08:46:32 +00:00
Jérôme Duval
81b52af807 Expander added
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 10:29:48 +00:00
Jérôme Duval
55a5a6bdfa Initial checkin of the Expander replacement app.
Redone from scratch because we don't have Dan Lee's code.
Beta version. Testing is welcome.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 10:28:03 +00:00
Matthew Wilber
92fd335690 Fixed to check if refs are directories and to error properly if they are
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-11 03:19:03 +00:00
Axel Dörfler
871fa04fc9 Added a comment for the R5 BTabView::Select() workaround - also uses
Window() instead of Parent() now, since I'd guess that's the culprit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 18:35:38 +00:00
Axel Dörfler
4e0afad0c3 Set the stop button font to the small one.
A bit more space for the stop button - it now looks good even in Dano/Zeta.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 18:31:45 +00:00
Axel Dörfler
d3764d6d1c Didn't send notices about a new preferred size when the block size was changed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 18:29:39 +00:00
Axel Dörfler
7c49aee74f Improved the placement of the "Stop" button with smaller window sizes.
It will now also follow the right border of the window.
Enlarged the minimum window width a bit, so that the stop button can no
longer overlay the position text control.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 15:11:25 +00:00
Axel Dörfler
d858695df8 Some R5 fixes that don't affect Dano/Zeta, and hopefully won't affect us, too:
- BWindow::SetSizeLimits() don't change the window size if it's bigger than the
  maximum.
- BTabView::Select() crashes when the view is not yet attached to a window.
- BMenuItem::DrawContent() has wrong drawing mode set (not really a big issue,
  but I think Draw() should call DrawContent() with correct and usable values)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-04 02:02:09 +00:00
Axel Dörfler
2d359e77ba Set a minimum size where the window is still usable and looks okay.
The checkbox and the "find" button are now in the same row to make
the window a bit smaller.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-04 01:59:10 +00:00
Michael Phipps
3637d4b543 Whoops. Don't checkin the .o files. Bad developer. Bad. <slap> goes the trout...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 18:39:16 +00:00
Axel Dörfler
482aa308c1 Fixed bug in the settings validation check, thanks to Jerome for reporting this!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 16:10:21 +00:00
Axel Dörfler
2b7853fb07 The coreutils break the kernel build so I've removed it from the build until that is resolved.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 02:41:46 +00:00
Ingo Weinhold
e490b53c45 Added coreutils, diffutils, grep, less, sed (another one?), and sharutils to the build, and fixed some small problems. Most of the stuff still doesn't build properly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 23:47:11 +00:00
Axel Dörfler
1a5f7f53c6 Unbroke the selection menu item message I broke with the previous change...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 11:46:27 +00:00
Axel Dörfler
0513501c11 Fixed the file size check for the selection items - accidently compared
blocks with bytes.
Switched the block offset to using the "block" instead of "position" field
in the kMsgPositionUpdate message.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 11:43:22 +00:00
Axel Dörfler
f7d4bc0920 Added missing shortcuts as reported by Oscar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 11:39:24 +00:00
Axel Dörfler
bf26236cc2 Uppercase letters were accidently converted in the wrong way, and therefore,
ignored in the find panel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 11:04:44 +00:00
Michael Phipps
218f7a3586 Sharutils includes uuencode, uudecode and shar...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 02:51:51 +00:00
Michael Phipps
60ec59613c Sed is here...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 02:47:16 +00:00
Michael Phipps
a3ee72dbe4 Here is less. It won't come close to building because we lack terminal stuff in the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 02:42:19 +00:00
Michael Phipps
33cc7ef27e Here's grep...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 02:37:06 +00:00
Michael Phipps
b4a90358b2 Initial checkin of diffutils
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 00:45:50 +00:00
Michael Phipps
f380d6a97a Adding stuff from the base of coreutils
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 00:36:18 +00:00
Michael Phipps
bf16f6a788 Finish checking in coreutils
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 00:29:15 +00:00
Axel Dörfler
4a6c7d6ffc R5 obviously doesn't have B_SHINE_COLOR, B_SHADOW_COLOR, and B_HIGHLIGHTED_CONTROL_COLOR.
Set the shell variable COMPILE_FOR_R5 to 1 when compiling DiskProbe for
R5; it will use default values for the colors in this case.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 12:57:15 +00:00
Michael Phipps
b94409e33a Big honking commit of all of the library files for corelibs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 02:48:53 +00:00
Michael Phipps
9e959120f4 Check in the source for coreutils
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 02:43:35 +00:00
Axel Dörfler
c1381da97c Fixed a crashing bug when there is no TypeEditorView.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 22:54:27 +00:00
Axel Dörfler
3ef37dbe51 Now listens to file/attribute changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 22:48:55 +00:00
Axel Dörfler
0283ecc0cd Implemented case insensitive search. It's now available in hex mode as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 21:15:31 +00:00
Axel Dörfler
61102d4381 Fixed bug in GetHexFromData() (accidently used Text() instead of the data
parameter passed in).
Now correctly restores the whole state (find mode and case sensitivity).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 19:53:43 +00:00
Axel Dörfler
96e78734f6 The FindWindow can now restore a previous state; it's now set to the
state from the window that opened it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 19:32:59 +00:00
Axel Dörfler
afed986dc0 Added missing hex <-> data conversions. Find now works fine.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 19:23:34 +00:00
Axel Dörfler
f19cd99782 Hex mode text input now works. BTextView is really lacking in some parts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:20:04 +00:00
Axel Dörfler
3aed9eddce Implemented a find panel. It's one application wide panel that will always
target the last activated window.
Not yet complete - work in progress.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 14:22:17 +00:00
Ingo Weinhold
010983f10d Removed superfluous creation of a BRoster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-28 18:25:46 +00:00
Axel Dörfler
3f7c1872fa Only updates the block position view when searching is in progress.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-28 04:21:19 +00:00
Axel Dörfler
995924c2ed The PositionSlider now darkens its filled color if its drawn disabled.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-28 04:15:53 +00:00
Axel Dörfler
8db249194c Implemented find functionality. The find panel is still missing though, it
just searches for "test".
The find itself is implemented in DataEditor::Find() which sets the editor
in read-only mode and searches for the specified data. It will update a
progress monitor, it will find data no matter if it's on a view size break,
and it is interruptible at any time.
The DataEditor change methods now respect the read-only mode, and return
B_NOT_ALLOWED in this case.
Renamed the UpdateLooper class to EditorLooper class, since it now also
runs the find action.
The ProbeView class now maintains the "Find Again" menu item; it's target
message always contains the item that last searched for.
The HeaderView will now show a "Stop" button while the search operation
is in progress; it also acts as the Find() progress monitor.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-28 04:10:48 +00:00
Axel Dörfler
5d8680c0bb Added a message to change the selection.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-28 04:04:47 +00:00
Axel Dörfler
4fa250ba8d Replaced lazy mode text positioning with real code.
Turns out it didn't work with the menu in sticky mode (because of the triggers).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-27 22:49:59 +00:00
Axel Dörfler
fa78c88efa The attribute editors are now subclassing TypeEditorView which has a
CommitChanges() method. Editors like the MimeTypeEditor will use this
to propagate their current content when the window receives QuitRequested().
Brought the StringEditor to a usable state (note, currently, all attribute
editors can only change what's there; they cannot change the size of the
attribute - this will be fixed at a later point).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-27 22:26:37 +00:00
Axel Dörfler
54df6d4d66 Probe() now resolves symlinks, and longer accepts directories. It also
won't try to open the file read-only anymore.
RefsReceived() now opens an alert explaining the reason if Probe() fails.
Slightly changed the about requester.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-27 21:45:31 +00:00
Axel Dörfler
f424774990 Now accepts directories, but redirects them to their volume instead; also
adopts the block size from the file system in that case.
Fixed the broken check for a device (would also succeed for other types,
stat.st_mode types cannot just be or'd).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-27 21:38:03 +00:00
Axel Dörfler
11d0369852 No longer displays the selection when the file size is 0.
Also fixed a possibly wrong cursor position in that case.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-27 21:35:23 +00:00
Axel Dörfler
e27438edba Will now replace the entry_ref name with the volume title if it's a directory
(since only volumes can slip through, not any directory).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-27 21:34:11 +00:00
Axel Dörfler
889d692f77 Added some missing consts.
The header will now get the entry_ref from the editor, and not the one
passed to the view (because it may have redirected it).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-27 21:32:28 +00:00