【2chブラウザ】JD 2
■ このスレッドは過去ログ倉庫に格納されています
0001login:Penguin
2006/08/15(火) 03:03:12ID:4MyNv7g+2chブラウザJDを語れ。
http://www.geocities.jp/jd4linux/
0002login:Penguin
2006/08/15(火) 03:04:32ID:4MyNv7g+http://jd4linux.sourceforge.jp/
とりあえず、語ってください。
0003login:Penguin
2006/08/15(火) 03:26:56ID:0vYHhf/C0004login:Penguin
2006/08/15(火) 03:50:39ID:0vYHhf/CUbuntu、ちょっと臭うわよ・・ / / / 〃 l |/ / / /|| | ||
/ /| i || | | ||l || / / || | リ
| ||zU l || | | l」| l ||彡 / / リ | i
_ -─‐-- __ ヽl八八 |トト|ハ| l八≦ /∠、 ! │ .l
, '´ / ニニ`ヽ Li ヽ!,,,___`` `彡/厶 ∨川 | |
/ /⌒ヽ/ --‐‐‐ミ川}ヒ! "L::} ̄″ 丁 〈 ) /// l |
/ /// リ-‐  ̄二二 `′ !/ '´ /// | l | |
/ /// 〃 // / ',  ̄/// | l | l |
/ / // // / // _,,,| /ル1| | | l |
/ / // / // / / /! '-‐バ ̄ 〃|/ハ! | | | |
/ // / // / / / l ,ィ1| '、__ --く |│_| | |
/ //! | /!l / / l 〃!j 、 __ヽ ソ \! !
/ // ! | / / / l /// > , イ / ヽ / _--ゝ!
/ |/│ l/ | l l ,' ,. イl l ∨ /彡二二二二
/ i l |│ ! ! | -/ /|| | | | V、___//, ´二二二
,' | l | | │ / / || | | |V/⌒l /// /__ ---
i 〃 ! l 、| // || / ̄ ̄´ / ハ l l V{ /// _, -‐'´/
| | || zU│ \// / /!リ / ノ | | 〃 ̄/ , -'´/ /
|ハ│| | | // 〃/斗三> 、 / | | | / / / /
Debianお姉さまこそ・・・
0005login:Penguin
2006/08/15(火) 08:40:21ID:4ejrMVGb乙
0006login:Penguin
2006/08/15(火) 10:47:54ID:y/kFsDTC乙
>>作者
乙
0007login:Penguin
2006/08/15(火) 11:17:13ID:NE6oJ5Dn0008login:Penguin
2006/08/16(水) 11:24:39ID:jwDUvP4Chttp://pc8.2ch.net/test/read.cgi/linux/1137245362/l50
0009作者
2006/08/16(水) 23:23:47ID:Maip2T4http://pc8.2ch.net/test/read.cgi/linux/1137245362/966-967
gccのバージョンのせいだと思いますが、admin.hの16行目のstruct COMMAND_ARGS;
を消して #include "command.h"にするだけでmakeが通ると思います。
ttp://pc8.2ch.net/test/read.cgi/linux/1137245362/968
他にやることがたまっているので後回しにしていますが1.52で実装予定です。
ttp://pc8.2ch.net/test/read.cgi/linux/1137245362/983
「壊れています」と表示するだけでは何をすれば良いか分からないと
思いますのでヒントのダイアログでも出そうと思います。
ttp://pc8.2ch.net/test/read.cgi/linux/1137245362/996
私も興味が有るのでそのうちxglを試してみようと思っていますが、他にも
xgl環境で動作が変な人がいたら教えてください。
0010前スレ966
2006/08/17(木) 01:26:04ID:sgeegpGWそう言えば sarge では gcc-3.3 (3.3.5-13) を使っています。
御指示どおりにしてみたところ、次のようなエラーが出ました。
----------
(snip)
Making all in bbslist
make[4]: Entering directory `/home/nanashi/jd/jd-1.52b.060803/jd-1.52b.060803/src/bbslist'
if i386-linux-g++ -DHAVE_CONFIG_H -I. -I/home/nanashi/jd/jd-1.52b.060803/jd-1.52b.060803/src/bbslist -I../..
-I/home/nanashi/jd/jd-1.52b.060803/jd-1.52b.060803/src -DXTHREADS -I/usr/include/gtkmm-2.4
-I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4
-I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/atk-1.0 -g -O2 -ggdb -Wall -DUSE_GTKMM24 -MT bbslistadmin.o -MD -MP -MF ".deps/bbslistadmin.Tpo"
-c -o bbslistadmin.o bbslistadmin.cpp; \
then mv -f ".deps/bbslistadmin.Tpo" ".deps/bbslistadmin.Po"; else rm -f ".deps/bbslistadmin.Tpo"; exit 1; fi
(続く)
0011login:Penguin
2006/08/17(木) 01:26:38ID:sgeegpGWIn file included from bbslistadmin.h:9,
from bbslistadmin.cpp:6:
/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803/src/skeleton/admin.h:34: error: `
COMMAND_ARGS' was not declared in this scope
/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803/src/skeleton/admin.h:34: error: template
argument 1 is invalid
/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803/src/skeleton/admin.h:34: error: template
argument 2 is invalid
/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803/src/skeleton/admin.h:34: error: ISO
C++ forbids declaration of `m_list_command' with no type
/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803/src/skeleton/admin.h:89: error: 構文解析エラー
before `&' token
/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803/src/skeleton/admin.h:92: error: 構文解析エラー
before `&' token
/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803/src/skeleton/admin.h:123: error: 構文解析エラー
before `&' token
/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803/src/skeleton/admin.h: member
function 内の `const bool SKELETON::Admin::has_commands() const':
/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803/src/skeleton/admin.h:73: error: request
for member `size' in `this->SKELETON::Admin::m_list_command', which is of
non-aggregate type `const int'
In file included from bbslistadmin.cpp:6:
bbslistadmin.h: At global scope:
bbslistadmin.h:22: error: 構文解析エラー before `&' token
bbslistadmin.h:23: error: 構文解析エラー before `&' token
bbslistadmin.cpp: member function 内の `virtual void
BBSLIST::BBSListAdmin::restore()':
(続く)
0012login:Penguin
2006/08/17(木) 01:27:25ID:sgeegpGWbbslistadmin.cpp:61: 警告: cannot pass objects of non-POD type `struct
COMMAND_ARGS' through `...'; call will abort at runtime
bbslistadmin.cpp:66: 警告: cannot pass objects of non-POD type `struct
COMMAND_ARGS' through `...'; call will abort at runtime
bbslistadmin.cpp:70: 警告: cannot pass objects of non-POD type `struct
COMMAND_ARGS' through `...'; call will abort at runtime
bbslistadmin.cpp: At global scope:
bbslistadmin.cpp:83: error: prototype for `SKELETON::View*
BBSLIST::BBSListAdmin::create_view(const COMMAND_ARGS&)' does not match any
in class `BBSLIST::BBSListAdmin'
bbslistadmin.h:22: error: candidate is: virtual SKELETON::View*
BBSLIST::BBSListAdmin::create_view(...)
bbslistadmin.cpp:102: error: prototype for `void
BBSLIST::BBSListAdmin::command_local(const COMMAND_ARGS&)' does not match
any in class `BBSLIST::BBSListAdmin'
bbslistadmin.h:23: error: candidate is: virtual void
BBSLIST::BBSListAdmin::command_local(...)
make[4]: *** [bbslistadmin.o] エラー 1
make[4]: Leaving directory `/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803/src/bbslist'
make[3]: *** [all-recursive] エラー 1
make[3]: Leaving directory `/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803/src'
make[2]: *** [all-recursive] エラー 1
make[2]: Leaving directory `/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803'
make[1]: *** [all] エラー 2
make[1]: Leaving directory `/home/hoge/jd/jd-1.52b.060803/jd-1.52b.060803'
make: *** [build-stamp] エラー 2
(終り)
0013作者
2006/08/17(木) 01:48:06ID:JG2jV6VCすみません。
#include "command.h"
じゃなくて
#include "global.h"
でした。
0014login:Penguin
2006/08/17(木) 07:05:53ID:sgeegpGWありがとうございます。
構造体の定義も見付かり、無事 make も通りました。
0015login:Penguin
2006/08/17(木) 16:27:00ID:vJ/jNcwZfrom bbslistadmin.cpp:6:
/usr/include/c++/3.3.6/bits/stl_list.h: In instantiation of `std::_List_node<CMAND_ARGS>':
/usr/include/c++/3.3.6/bits/stl_list.h:578: instantiated from `std::_List_itator<_Tp, const _Tp&, const _Tp*> std::list<_Tp, _Alloc>::begin() const [with p = COMMAND_ARGS, _Alloc = std::allocator<COMMAND_ARGS>]'
/usr/include/c++/3.3.6/bits/stl_list.h:634: instantiated from `size_t std::lt<_Tp, _Alloc>::size() const [with _Tp = COMMAND_ARGS, _Alloc = std::allocatorOMMAND_ARGS>]'
../../src/skeleton/admin.h:72: instantiated from here
/usr/include/c++/3.3.6/bits/stl_list.h:84: error: `
std::_List_node<_Tp>::_M_data' has incomplete type
../../src/skeleton/admin.h:16: error: forward declaration of `struct
COMMAND_ARGS'
make[3]: *** [bbslistadmin.o] エラー 1
0016作者
2006/08/17(木) 20:42:52ID:JG2jV6VCttp://pc8.2ch.net/test/read.cgi/linux/1137245362/991への返答が抜けてました
> リンクといえば、ftp:なのにhttp:として扱ってしまったり「^|`[{]}<>\」を
> URLに含めてしまうのを何とかしたいな。
直しておきます。場所はおっしゃる通りNodeTreeBase::check_linkです。
あとは抜けている質問は無いですよね
0017login:Penguin
2006/08/17(木) 22:47:29ID:K+7KsV21ごくろうごくろう
0018login:Penguin
2006/08/17(木) 23:55:50ID:UuXpVjqz0019作者
2006/08/18(金) 00:14:47ID:1JcZaFwocvs版の時はビルド時間を表示するようにしてみました。
それとヘルプメニューからdat落ちした過去ログを表示できるように
してみましたが、datの転載は「2ちゃんねるのデータの利用に関して
原則的に自由ですが2ちゃんねるのデータ自体を利用して対価を取る
行為はご遠慮下さい。」とあるのでOKですよね。
0020login:Penguin
2006/08/18(金) 00:36:59ID:vIldr9G0C++はよく分かりませんが、こんな感じはいかがでしょうか?
const char* url_reg = "((h?t?t)?|ft)ps?://[-a-zA-Z0-9!#$%&'()~=@;+:*,./?_]*[-a-zA-Z0-9!#$%&'~=@;+:*,./?_]+";
regex.exec( url_reg, hoge )
正規表現部分は、h**p://などの形式に対応するとかドメイン名やIPアドレスが
含まれているかチェックするなんて事を含めても良いかも知れません。
0021login:Penguin
2006/08/19(土) 00:17:51ID:QBeButH2■ このスレッドは過去ログ倉庫に格納されています