source-code

"Live" Changelogging for CVS-Comments?

Hello, My problem is that i often forgot what i have changed in my software, when i do a cvs-check in. So i have to lookup my code for changes. If this could be automated, it would be great. So can anyone tell me if there is a tool or something which can lookup my code (i'm using c#) for specific comments, that i add if i change someth...

Github-like hosting, with private source, public ticketing system

I am in need of a site that offers the same services as Github (Git hosting, Ticketing, downloads, etc, etc) but allows me to have my source be private. I don't mind paying if I can find these features, and I've already tried gitorious, unfuddled, and codebase. I also wouldn't mind hosting my own if the application already exists for th...

Silverlight ComboBox source code

Where can I get the source code for this? I need to extend it. ...

How can a total, complete beginner read source code?

I am a complete, total beginner in programming, although I do have knowledge of CSS and HTML. I would like to learn Python. I downloaded lots of source code but the amount of files and the complexity really confuses me. I don't know where to begin. Is there a particular order I should look for? Thanks. EDIT: Sorry guys, I forgot to me...

Where is the python imp module's source code? Or the common location of the file.

I'm using Python 2.6 on Ubuntu. ...

Is there a way to obtain the HTML of a web page using the .NET compact framework?

As the WebBrowser control does not expose a get accessor for the DocumentText property you cannot use it to obtain the HTML that was loaded into this control. Does anyone know a way to obtain the HTML as a string? I am using .NET CF3.5. ...

Unable to checkout log4j repository

I'm using tortoiseSVN to checkout the log4j v1.2 source from - http://svn.apache.org/repos/asf/logging/log4j/trunk But i keep getting this error: Error: OPTIONS of '': Could not Error: resolve hostname `svn.apache.org': No such host is known. The funny thing is that i can access 'svn.apache.org' from my browser but if i try to ping ...

error in media wiki php code

$wgAuth = new HttpAuthPlugin(); - After this line, control is not reachin the next line, not printin the next log. error_log("JITEN TEST :WGAUTH object created, Value of wgAuth is :" . $wgAuth . "\n", 3, $logfile); $wgHooks['UserLoadFromSession'][] = array($wgAuth,'autoAuthenticate'); error_log("JITEN TEST :Value of wgAuth is :" . $w...

Python control structure utilisation

This code seems to smell: result = None for item in list: if result is None: result = item.foo(args) else: if ClassFred.objects.get(arg1=result) < ClassFred.objects.get(arg1=item.foo(args)): result = item.foo(args) The smelliest part is the utility of 'result'. Would anyone be kind enough sniff it f...

Editor library used in Eclipse source

Hullo, I am looking to create an editor and I was wondering if there was a swing library which Eclipse uses for its main editor. It may be something quite basic, but I am looking for the drop down menus which come when you press full stop. Strings become symbols rather than just text. Many thanks ...

Printing entire project

I want to print every source code file in a Rails app (Ruby) and an Android App (Java). Are there plugins for Netbeans, Eclipse or Notepad++ which I can use for this? I don't want to code anything, I just want to click on a menu (or type a command) that says: print every file in this project (with the syntax highlighting provided by the...

Error: 175002 (RA layer request failed)

I get the following error when connecting XCode to a repository on GoogleCode.com Error: 175002 (RA layer request failed) Description: Server sent unexpected return value (405 Method Not Allowed) in response to OPTIONS request for 'http://touchcode.googlecode.com/hg' Has anyone see this before and how do I resolve it? ...

Learning Mono Source Code

I am interested in contributing something to mono whether it is a documentation or what ever. As a first step, I downloaded the source tree for going through the code. However, I thought if some one would've spend enough time to understand the project structure that would help everyone here. Any one point me out where the project structu...

How to license code source but keep control of it

Meaning the buyer can modify it and do whatever he wants with it but can't resell the source itself. But is allowed to sell software based on it. ...

General classes/source code for solving Java algorithmic problems?

I need to build a small repository of algorithms with implementation and description. I found recently, for example, an efficient permutations generator for permutations of arbitrary length. Where can I find full source code implementations with short descriptions of other such algorithms? Anything covered in the Java API is not needed,...

How to protect the source of a delphi app?

How could I protect my delphi app from being decompiled? I know there are some software like themida that I think will do that but then the protected exe trigger the antivirus. ...

How to get surrounding method in Java source file for a given line number

I have a line number of a Java source file and want to get the sourounding method for that line number programatically. I looked into ANTLR which didn't help me much. Janino (http://www.janino.net) seems promising, I would scan and parse (and if necessary compile) the code. Then I could use JDI and ReferenceType.locationsOfLine(int li...

Building a code asset library

I have been thinking about setting up some sort of library for all our internally developed software at my organisation. I would like collect any ideas the good SO folk may have on this topic. I figure, what is the point in instilling into developers the benefits of writing reusable code, if on the next project the first thing develope...

Delphi 2010: anyone got the right settings for the formatter not to fold anonymous methods?

With the default settings, the Delphi 2010 code formatter folds anonymous methods on one line. Is there anyone who has found settings to circumvent this? Original code: procedure TUnit.AppendFinalization(const StringBuilder: TStringBuilder); begin AppendMemberResults(StringBuilder, function(Member: TGeneratableInUnit): IStringLi...

isset() and empty() make code ugly

I have several older applications that throw a lot of "xyz is undefined" and "undefined offset" messages when running on the E_NOTICE error level, because the existence of variables is not explicitly checked using isset() and consorts. I am considering working through them to make them E_NOTICE compatible, as notices about missing varia...