Skip to content

Commit

Permalink
Merge pull request #4 from releasenetwork/master
Browse files Browse the repository at this point in the history
multiplataform optimization
  • Loading branch information
ljmf00 committed Nov 7, 2015
2 parents f28840f + 65c1c54 commit efe8465
Show file tree
Hide file tree
Showing 13 changed files with 102 additions and 92 deletions.
Binary file modified .objs/crypto/md5.o
Binary file not shown.
Binary file modified .objs/crypto/sha1.o
Binary file not shown.
Binary file modified .objs/crypto/sha2.o
Binary file not shown.
Binary file removed .objs/crypto/sha512.o
Binary file not shown.
Binary file modified .objs/sourcescript.o
Binary file not shown.
2 changes: 1 addition & 1 deletion crypto/hex.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//Used namespaces
using namespace std;

class crypt
class crypto
{
public:
string char2hex( char dec )
Expand Down
2 changes: 1 addition & 1 deletion lib/stdprint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define STDPRINT_HPP_INCLUDED

#if !(WIN32) //If dont support Windows :: Do Def. Inst.

#define Sleep(x)
#endif
#if !(WIN64) //! win64

Expand Down
7 changes: 4 additions & 3 deletions lib/stdutils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
using namespace std;

//Objects
crypt crypt;
crypto crypto;

// ...

Expand Down Expand Up @@ -87,8 +87,9 @@ class utils
#endif

}
void hourconvert(long hours)
void hourconvert(string hour)
{
int hours = atoi(hour.c_str());
long minute;
long seconds;
float days, weeks, years;
Expand Down Expand Up @@ -161,7 +162,7 @@ class utils
else
{
escaped.append("%");
escaped.append( crypt.char2hex(c[i]) );//converts char 255 to string "ff"
escaped.append( crypto.char2hex(c[i]) );//converts char 255 to string "ff"
}
}
return escaped;
Expand Down
Binary file added sourcescript
Binary file not shown.
2 changes: 1 addition & 1 deletion sourcescript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ int main(int argc, char *argv[])
}
else if (string(argv[1]) == "--hourconvert")
{
utils.hourconvert(int(argv[2]));
utils.hourconvert(string(argv[2]));
}
else if (string(argv[1]) == "--md5")
{
Expand Down
95 changes: 95 additions & 0 deletions sourcescript.depend
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"stdutils.hpp"
"stdfile.hpp"

1442073351 pp"

1442014540 g:\workspace\projects\sourcescript\libs.hpp
<windows.h>
<conio.h>
Expand All @@ -20,6 +22,8 @@
<unistd.h>
<stdio.h>

1442236361

1442014540 g:\workspace\projects\sourcescript\pilib.hpp
"libs.hpp"

Expand All @@ -43,6 +47,8 @@
"crypto/sha2.h"
"crypto/base64.h"

1443958512 se64.h"

1442014540 g:\projects\sourcescript\libs.hpp
<windows.h>
<conio.h>
Expand Down Expand Up @@ -130,6 +136,8 @@
1443957957 g:\projects\sourcescript\apps\tperiodic.hpp
"../lib/libs.hpp"

1442696015 bs.hpp"

1443957957 g:\projects\sourcescript\lib\libs.hpp
<windows.h>
<conio.h>
Expand Down Expand Up @@ -161,6 +169,8 @@
"libs.hpp"
"../crypto/hex.h"

1442700390 /hex.h"

1443958179 g:\projects\sourcescript\lib\stdfile.hpp
"libs.hpp"

Expand Down Expand Up @@ -268,3 +278,88 @@
1442696015 c:\users\lu�s ferreira\workspace\projects\sourcescript\crypto\base64.h
"../lib/libs.hpp"

1442682658 source:/media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/crypto/md5.cpp
"md5.h"
<cstdio>

1442682613 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/crypto/md5.h
<cstring>
<iostream>

1442688999 source:/media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/crypto/sha1.cpp
"../lib/libs.hpp"
"sha1.h"

1443957957 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/lib/libs.hpp
<windows.h>
<conio.h>
<tchar.h>
"TargetConditionals.h"
<iostream>
<fstream>
<sstream>
<string>
<iomanip>
<cstdlib>
<ciso646>
<cassert>
<cmath>
<clocale>
<cstring>
<sys/types.h>
<sys/stat.h>
<stdio.h>
<stdlib.h>
<string.h>
<fcntl.h>
<unistd.h>

1442682982 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/crypto/sha1.h
<iostream>
<string>

1442688766 source:/media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/crypto/sha2.cpp
"../lib/libs.hpp"
"sha2.h"

1442683010 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/crypto/sha2.h
<string>

1446918272 source:/media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/sourcescript.cpp
"lib/libs.hpp"
"lib/pilib.hpp"
"lib/stdutils.hpp"
"lib/stdfile.hpp"
"lib/stdprint.hpp"
"lib/printdef.hpp"
"apps/tperiodic.hpp"
"crypto/hex.h"
"crypto/md5.h"
"crypto/sha1.h"
"crypto/sha2.h"
"crypto/base64.h"

1442236400 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/lib/pilib.hpp
"libs.hpp"

1446918382 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/lib/stdutils.hpp
"libs.hpp"
"../crypto/hex.h"

1446918073 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/crypto/hex.h
"../lib/libs.hpp"

1443958179 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/lib/stdfile.hpp
"libs.hpp"

1446917841 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/lib/stdprint.hpp
"libs.hpp"

1442237661 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/lib/printdef.hpp

1443957957 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/apps/tperiodic.hpp
"../lib/libs.hpp"

1442696015 /media/lsferreira/9C543DBD543D9B4A/Users/lsferreira/Github/sourcescript/crypto/base64.h
"../lib/libs.hpp"

Binary file modified sourcescript.exe
Binary file not shown.
86 changes: 0 additions & 86 deletions sourcescript.layout

This file was deleted.

0 comments on commit efe8465

Please sign in to comment.