Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,7 @@ platforms/Windows/*/libs/libGeoIP/GeoIP_X.c
# User files (should go into .git/info/exclude)
Makefile.user
*.vcxproj.user
/build/
/.cproject
/.project
src/utils/fileview/mulefileview
23 changes: 23 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"/usr/include/wx-3.0",
"/usr/include/wx-3.0/wx",
"/home/aubin/Dev/git/amule/src",
"/home/aubin/Dev/git/amule/src/include",
"/home/aubin/Dev/git/amule/src/libs"
],
"defines": [
"USE_WX_EXTENSIONS",
"HAVE_LIBREADLINE"
],
"compilerPath": "/usr/bin/g++",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "${default}"
}
],
"version": 4
}
30 changes: 30 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"C_Cpp.errorSquiggles": "disabled",
"cSpell.words": [
"ADDLINK",
"AICH",
"amuled",
"amuleweb",
"BWLIMIT",
"BWLIMITS",
"Camulecmd",
"CONNSTATE",
"DLOAD",
"donesize",
"firewalled",
"Firewalled",
"Kademlia",
"KNOWNFILE",
"NEWCMD",
"Notifer",
"OLDCMD",
"partfile",
"PARTFILE",
"SHAREDFILES",
"STATSTREE",
"STATTREE",
"TEXTCLIENT",
"ULOAD",
"Xferred"
]
}
245 changes: 245 additions & 0 deletions Les-Sources.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
# Sources d'amuled et amulecmd

## Objectif

Je souhaite réaliser un démon aMule doté d'une interface RESTful.

## amule

- AddFriend
- BaseClient
- CaptchaDialog
- CaptchaGenerator
- CatDialog
- ChatSelector
- ChatWnd
- ClientCreditsList
- ClientDetailDialog
- ClientList
- ClientRef
- ClientTCPSocket
- ClientUDPSocket
- CommentDialog
- CommentDialogLst
- Contact
- CorruptionBlackBox
- DirectoryTreeCtrl
- DownloadClient
- DownloadListCtrl
- DownloadQueue
- ECSpecialCoreTags
- ECSpecialMuleTags
- EMSocket
- EncryptedDatagramSocket
- EncryptedStreamSocket
- ExternalConn
- FileDetailDialog
- FriendList
- FriendListCtrl
- GenericClientListCtrl
- GetTickCount
- GuiEvents
- HTTPDownload
- IPFilter
- KadDlg
- Kademlia
- KademliaUDPListener
- KnownFile
- KnownFileList
- ListenSocket
- Logger
- MuleTrayIcon
- MuleUDPSocket
- OScopeCtrl
- PacketTracking
- PartFile
- PartFileConvert
- PartFileConvertDlg
- Preferences
- Prefs
- PrefsUnifiedDlg
- Proxy
- RoutingZone
- SHAHashSet
- Search
- SearchDlg
- SearchFile
- SearchList
- SearchListCtrl
- Server
- ServerConnect
- ServerList
- ServerListCtrl
- ServerSocket
- ServerUDPSocket
- ServerWnd
- SharedFileList
- SharedFilePeersListCtrl
- SharedFilesCtrl
- SharedFilesWnd
- SourceListCtrl
- StatTree
- Statistics
- StatisticsDlg
- ThreadTasks
- TransferWnd
- UDPFirewallTester
- UploadBandwidthThrottler
- UploadClient
- UploadQueue
- UserEvents
- amule-gui
- amule
- amuleAppCommon
- amuleDlg

## amulecmd

- DataToText
- ExternalConnector
- LoggerConsole
- NetworkFunctions
- OtherFunctions
- TextClient

## amuled

- BaseClient
- ClientCreditsList
- ClientList
- ClientRef
- ClientTCPSocket
- ClientUDPSocket
- Contact
- CorruptionBlackBox
- DownloadClient
- DownloadQueue
- ECSpecialCoreTags
- ECSpecialMuleTags
- EMSocket
- EncryptedDatagramSocket
- EncryptedStreamSocket
- ExternalConn
- FriendList
- GetTickCount
- GuiEvents
- HTTPDownload
- IPFilter
- Kademlia
- KademliaUDPListener
- KnownFile
- KnownFileList
- ListenSocket
- Logger
- MuleUDPSocket
- PacketTracking
- PartFile
- Preferences
- Prefs
- Proxy
- RoutingZone
- SHAHashSet
- Search
- SearchFile
- SearchList
- Server
- ServerConnect
- ServerList
- ServerSocket
- ServerUDPSocket
- SharedFileList
- StatTree
- Statistics
- ThreadTasks
- UDPFirewallTester
- UploadBandwidthThrottler
- UploadClient
- UploadQueue
- UserEvents
- amule
- amuleAppCommon
- amuled

## libmuleappcommon

- CFile
- ClientCredits
- DataToText
- ED2KLink
- Friend
- GapList
- MagnetURI
- MemFile
- NetworkFunctions
- OtherFunctions
- Packet
- RLE
- SHA
- SafeFile
- Tag
- TerminationProcess
- Timer
- UInt128

## libmuleappcore

- AsyncDNS
- CanceledFileList
- DeadSourceList
- Entry
- FileArea
- FileAutoClose
- IPFilterScanner
- Indexed
- Parser
- PlatformSpecific
- RC4Encrypt
- RandomFunctions
- RoutingBin
- Scanner
- SearchManager
- StateMachine
- TerminationProcessAmuleweb
- ThreadScheduler
- UPnPBase

## libmuleappgui

- BarShader
- ColorFrameCtrl
- EditServerListDlg
- FileDetailListCtrl
- IP2Country
- MuleCollection
- MuleColour
- MuleGifCtrl
- MuleListCtrl
- MuleNotebook
- MuleTextCtrl
- listctrl
- muuli_wdr

## libmulesocket

- LibSocket

## lib/common

- FileFunctions
- Format
- MD5Sum
- MuleDebug
- Path
- StringFunctions
- TextFile
- strerror_r

## libs/ec/cpp

- ECMuleSocket
- ECPacket
- ECSocket
- ECSpecialTags
- ECTag
- ECUInt128
- RemoteConnect
18 changes: 18 additions & 0 deletions aubin-configure
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
OPTIONS=
OPTIONS="${OPTIONS} --prefix=/home/aubin/bin/amule"
OPTIONS="${OPTIONS} --with-denoise-level=3"

OPTIONS="${OPTIONS} --enable-optimize"
OPTIONS="${OPTIONS} --enable-upnp"
OPTIONS="${OPTIONS} --enable-geoip"
OPTIONS="${OPTIONS} --enable-nls"
OPTIONS="${OPTIONS} --enable-amule-daemon"
OPTIONS="${OPTIONS} --enable-amulecmd"
OPTIONS="${OPTIONS} --enable-mmap"
OPTIONS="${OPTIONS} --enable-ccache"
OPTIONS="${OPTIONS} --enable-fileview"

OPTIONS="${OPTIONS} --disable-debug"
OPTIONS="${OPTIONS} --disable-monolithic"

./configure ${OPTIONS}
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ AC_CHECK_TOOL(LD, ld)

dnl Selectable components
MULE_ARG_ENABLE([monolithic], [yes], [disable building of the monolithic aMule app], [MONOLITHIC])
MULE_ARG_ENABLE([amule-daemon], [no], [compile aMule daemon version], [AMULE_DAEMON])
MULE_ARG_ENABLE([amulecmd], [no], [compile aMule command line client], [COMPILE_CMD])
MULE_ARG_ENABLE([amule-daemon], [yes], [compile aMule daemon version], [AMULE_DAEMON])
MULE_ARG_ENABLE([amulecmd], [yes], [compile aMule command line client], [COMPILE_CMD])
MULE_ARG_ENABLE([webserver], [no], [compile aMule WebServer], [WEB])
MULE_ARG_ENABLE([amule-gui], [no], [compile aMule remote GUI], [AMULE_GUI])
MULE_ARG_ENABLE([cas], [no], [compile C aMule Statistics], [CAS])
MULE_ARG_ENABLE([wxcas], [no], [compile aMule GUI Statistics], [WXCAS])
MULE_ARG_ENABLE([ed2k], [yes], [don't compile aMule ed2k links handler], [ED2K])
MULE_ARG_ENABLE([ed2k], [no], [don't compile aMule ed2k links handler], [ED2K])
MULE_ARG_ENABLE([alc], [no], [compile aMuleLinkCreator GUI version], [ALC])
MULE_ARG_ENABLE([alcc], [no], [compile aMuleLinkCreator for console], [ALCC])
MULE_ARG_ENABLE([xas], [no], [install xas XChat2 plugin], [XAS])
Expand Down
4 changes: 2 additions & 2 deletions src/BarShader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void CBarShader::SetHeight(unsigned height)
if( m_Height != height ) {
m_Height = height;

// Reset the modifers
// Reset the modifiers
if ( m_Modifiers ) {
delete[] m_Modifiers;
m_Modifiers = NULL;
Expand Down Expand Up @@ -90,7 +90,7 @@ void CBarShader::Set3dDepth(unsigned depth)
if ( m_used3dlevel != depth ) {
m_used3dlevel = depth;

// Reset the modifers
// Reset the modifiers
if ( m_Modifiers ) {
delete[] m_Modifiers;
m_Modifiers = NULL;
Expand Down
Loading