• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mfiler4のgitリポジトリ


Commit MetaInfo

修订版3a2fce6cc6dea02ac67f50af62343bba689c4d51 (tree)
时间2012-12-14 03:19:46
作者ab25cq <ab25cq@gmai...>
Commiterab25cq

Log Message

1.0.5 release

更改概述

差异

--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,23 @@
11
2+2012 14th December version 1.0.5
3+
4+ 1. mfiler4 start to use ncurses or ncursesw.
5+
6+ 2. delete keymap inner command
7+
8+ 3. delete key_meta_left, key_meta_right, key_meta_up, key_meta_down,
9+ key_ctrl_left, key_ctrl_right, key_ctrl_up, key_ctrl_down, key_ctrl_delete,
10+ key_ctrl_space environment variable. Added key_delete2 environment
11+ variable.
12+
13+ 4. Binded meta + l key to backward directory. Binded meta + r key to forward
14+ director.
15+
16+ 5. Binded meta + a to mark all files without directories. Binded meta + e
17+ to mark all files.
18+
19+ 6. Added -O3 option to gcc.
20+
221 2012 12月13日 version 1.0.4d
322
423 1. Linuxで動作確認
--- a/src/gui.c
+++ b/src/gui.c
@@ -16,6 +16,7 @@ void xinitscr()
1616 {
1717 initscr();
1818 raw();
19+ noecho();
1920 keypad(stdscr, TRUE);
2021
2122 int background = COLOR_BLACK;
@@ -57,29 +58,6 @@ int xgetch(int* meta)
5758
5859 *meta = 1;
5960 return key;
60-/*
61- fd_set mask;
62-
63- FD_ZERO(&mask);
64- FD_SET(0, &mask);
65-
66- struct timeval tv;
67- tv.tv_sec = 0;
68- tv.tv_usec = 500;
69-
70- select(5, &mask, NULL, NULL, &tv);
71-
72- /// キー処理 ///
73- if(FD_ISSET(0, &mask)) {
74- key = getch();
75- *meta = 1;
76- return key;
77- }
78- else {
79- *meta = 0;
80- return key;
81- }
82-*/
8361 }
8462 else {
8563 if(key >= kKeyMetaFirst
--- a/src/main.c
+++ b/src/main.c
@@ -908,7 +908,7 @@ int main(int argc, char* argv[])
908908 CHECKML_BEGIN(FALSE);
909909
910910 /// ファイラでもスクリプトでも共通の環境変数を初期化 ///
911- setenv("VERSION", "1.0.4d", 1);
911+ setenv("VERSION", "1.0.5", 1);
912912 setenv("MFILER4_DATAROOTDIR", DATAROOTDIR, 1);
913913
914914 /// mfiler4のホームディレクトリを保存しておく ///