gtorrent / gtorrent-core

Core library of gTorrent which handles everything but UI/UX
GNU General Public License v3.0
39 stars 12 forks source link

gt-core design specification #12

Open AndrewBerry opened 10 years ago

AndrewBerry commented 10 years ago

I think we need to put our heads together and come up with a solid specification for the gt-core and it's interfaces.

Once we have the spec down, the gt-core code base will be much easier to maintain and we won't have all these merge problems where we end up with multiple accessors for the same variables (see: Torrent::getSize()/getWanted()/getTorrentSize()).

Also we'll have some real documentation- new UIs will be much easier to create.

fuyukaidesu commented 10 years ago

These belongs more in the "standards" part but :

nyanpasu commented 10 years ago

@shotxxxx Thanks for your input. I would appreciate more details. Where exactly should Core be split into smaller classes? It's pretty simple right now, but preventing all sorts of stupid C++ features being introduced is a personal mission of mine, and I'm sure there are other devs who also object to all the bloat and spaghetti.

benwaffle commented 10 years ago

@shotxxxx You can help by contributing to spec.md in the spec branch

benwaffle commented 10 years ago

libtorrent handles session serialization

nyanpasu commented 9 years ago

@shotxxxx I quite agree now.