code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
package com.actionbarsherlock.internal.view;
public interface View_HasStateListenerSupport {
void addOnAttachStateChangeListener(View_OnAttachStateChangeListener listener);
void removeOnAttachStateChangeListener(View_OnAttachStateChangeListener listener);
}
| 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/View_HasStateListenerSupport.java | Java | asf20 | 267 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/ActionMenuView.java | Java | asf20 | 22,112 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/ActionMenuItemView.java | Java | asf20 | 9,784 |
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/SubMenuBuilder.java | Java | asf20 | 3,669 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/MenuPopupHelper.java | Java | asf20 | 12,409 |
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/MenuItemImpl.java | Java | asf20 | 18,924 |
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/MenuView.java | Java | asf20 | 4,269 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/MenuPresenter.java | Java | asf20 | 5,462 |
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/MenuBuilder.java | Java | asf20 | 45,959 |
package com.actionbarsherlock.internal.view.menu;
import java.util.WeakHashMap;
import android.content.ComponentName;
import android.content.Intent;
import android.view.KeyEvent;
import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuItem;
import com.actionbarsherlock.view.SubMenu;
public class... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/MenuWrapper.java | Java | asf20 | 5,283 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/BaseMenuPresenter.java | Java | asf20 | 7,727 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/ActionMenu.java | Java | asf20 | 7,699 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/ActionMenuPresenter.java | Java | asf20 | 25,319 |
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/ListMenuItemView.java | Java | asf20 | 8,672 |
package com.actionbarsherlock.internal.view.menu;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.view.View;
import android.view.ContextMenu.ContextMenuInfo;
import com.actionbarsherlock.internal.view.ActionProviderWrapper;
import com.actionbarsherlock.view.ActionProvider;
impo... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/MenuItemWrapper.java | Java | asf20 | 7,751 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/ActionMenuItem.java | Java | asf20 | 7,075 |
package com.actionbarsherlock.internal.view.menu;
import android.graphics.drawable.Drawable;
import android.view.View;
import com.actionbarsherlock.view.MenuItem;
import com.actionbarsherlock.view.SubMenu;
public class SubMenuWrapper extends MenuWrapper implements SubMenu {
private final android.view.SubMenu mNat... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/menu/SubMenuWrapper.java | Java | asf20 | 1,722 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/view/StandaloneActionMode.java | Java | asf20 | 4,190 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/app/ActionBarImpl.java | Java | asf20 | 32,885 |
package com.actionbarsherlock.internal.app;
import java.util.HashSet;
import java.util.Set;
import android.app.Activity;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.support.v4.app.FragmentTransaction;
import android.view.View;
import android.widget.SpinnerAdapter;
import... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/app/ActionBarWrapper.java | Java | asf20 | 12,907 |
package com.actionbarsherlock.internal.widget;
import android.view.View;
final class IcsView {
//No instances
private IcsView() {}
/**
* Return only the state bits of {@link #getMeasuredWidthAndState()}
* and {@link #getMeasuredHeightAndState()}, combined into one integer.
* The width comp... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/IcsView.java | Java | asf20 | 817 |
package com.actionbarsherlock.internal.widget;
import java.util.Locale;
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Build;
import android.util.AttributeSet;
import android.widget.TextView;
public class CapitalizingTextView extends TextView {
private static final boolea... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/CapitalizingTextView.java | Java | asf20 | 1,518 |
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/IcsAbsSpinner.java | Java | asf20 | 15,153 |
package com.actionbarsherlock.internal.widget;
import com.actionbarsherlock.R;
import android.content.Context;
import android.content.res.Resources;
import android.database.DataSetObserver;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Handler;
imp... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/IcsListPopupWindow.java | Java | asf20 | 24,968 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/AbsActionBarView.java | Java | asf20 | 10,000 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/ScrollingTabContainerView.java | Java | asf20 | 19,317 |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/IcsSpinner.java | Java | asf20 | 23,074 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/ActionBarView.java | Java | asf20 | 61,390 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/ActionBarContextView.java | Java | asf20 | 19,429 |
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/IcsAdapterView.java | Java | asf20 | 38,630 |
package com.actionbarsherlock.internal.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.View;
import com.actionbarsherlock.internal.nineoldandroids.widget.NineL... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/IcsLinearLayout.java | Java | asf20 | 9,720 |
package com.actionbarsherlock.internal.widget;
import java.util.Locale;
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Build;
import android.util.AttributeSet;
import android.widget.Button;
public class CapitalizingButton extends Button {
private static final boolean SANS... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/CapitalizingButton.java | Java | asf20 | 1,354 |
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/IcsProgressBar.java | Java | asf20 | 41,793 |
package com.actionbarsherlock.internal.widget;
import static android.view.View.MeasureSpec.EXACTLY;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.util.TypedValue;
import android.widget.LinearLayout;
import com... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/FakeDialogPhoneWindow.java | Java | asf20 | 2,180 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/internal/widget/ActionBarContainer.java | Java | asf20 | 8,480 |
package com.actionbarsherlock.app;
import android.content.res.Configuration;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup.LayoutParams;
import android.view.Window;
import com.actionbarsherlock.Acti... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/app/SherlockPreferenceActivity.java | Java | asf20 | 8,186 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/app/ActionBar.java | Java | asf20 | 36,639 |
package com.actionbarsherlock.app;
import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.app._ActionBarSherlockTrojanHorse;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup.LayoutParams;
import android.view.Window;
im... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/app/SherlockFragmentActivity.java | Java | asf20 | 9,269 |
package com.actionbarsherlock.app;
import android.app.Activity;
import android.support.v4.app.ListFragment;
import com.actionbarsherlock.internal.view.menu.MenuItemWrapper;
import com.actionbarsherlock.internal.view.menu.MenuWrapper;
import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuInflate... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/app/SherlockListFragment.java | Java | asf20 | 2,290 |
package com.actionbarsherlock.app;
import android.app.Activity;
import android.support.v4.app.DialogFragment;
import com.actionbarsherlock.internal.view.menu.MenuItemWrapper;
import com.actionbarsherlock.internal.view.menu.MenuWrapper;
import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuInfla... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/app/SherlockDialogFragment.java | Java | asf20 | 2,296 |
package com.actionbarsherlock.app;
import android.app.ExpandableListActivity;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup.LayoutParams;
import android.view.Window;
import com.actionbarsherlock.ActionB... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/app/SherlockExpandableListActivity.java | Java | asf20 | 8,191 |
package com.actionbarsherlock.app;
import android.app.ListActivity;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.view.Window;
import android.view.ViewGroup.LayoutParams;
import com.actionbarsherlock.ActionBarSherlock... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/app/SherlockListActivity.java | Java | asf20 | 8,161 |
package com.actionbarsherlock.app;
import android.app.Activity;
import android.support.v4.app.Fragment;
import com.actionbarsherlock.internal.view.menu.MenuItemWrapper;
import com.actionbarsherlock.internal.view.menu.MenuWrapper;
import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuInflater;
i... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/app/SherlockFragment.java | Java | asf20 | 2,278 |
package com.actionbarsherlock.app;
import android.app.Activity;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.view.Window;
import android.view.ViewGroup.LayoutParams;
import com.actionbarsherlock.ActionBarSherlock;
i... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/app/SherlockActivity.java | Java | asf20 | 8,149 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/widget/ShareActionProvider.java | Java | asf20 | 12,014 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/widget/ActivityChooserModel.java | Java | asf20 | 39,792 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1162584980-google-io | libprojects/abs/src/com/actionbarsherlock/widget/ActivityChooserView.java | Java | asf20 | 30,395 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
[WebService(Namespace = "h... | 0c9bb7e1ab42ef47fadcbcb2c330749f | trunk/App_Code/Service.cs | C# | oos | 23,440 |
<%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="Service" %>
| 0c9bb7e1ab42ef47fadcbcb2c330749f | trunk/Service.asmx | ASP.NET | oos | 87 |
#include <iostream>
class Errors
{
private:
int liczba_bledow;
public:
int getLiczbaBledow()
{
return liczba_bledow;
}
double blad(const char* s)
{
std::cerr << "blad: " << s << '\n';
liczba_bledow++;
return 1;
}
... | 101kompilator | trunk/Errors.cpp | C++ | oos | 324 |
// kalkulator
#include <iostream>
#include <strstream>
#include <ctype.h>
#include <math.h>
using namespace std;
/************* typy i zmienne globalne ***********/
enum wartosc_symbolu {
NAZWA, LICZBA, KONIEC,
PLUS='+', MINUS='-', MNOZ='*', DZIEL='/', POTEGA='^',
DRUK=';', PRZYPIS='=',LN='(', PN=... | 101kompilator | trunk/wyrazenie.cpp | C++ | oos | 4,951 |
#include <vector>
#include <string>
#include <iostream>
#include "Errors.cpp"
using namespace std;
class nazwa {
private:
string napis;
double wartosc;
public:
nazwa(string text,double value)
{
napis=text;
wartosc=value;
}
double getWartos... | 101kompilator | trunk/Lista.cpp | C++ | oos | 1,746 |
#include <iostream>
#include <strstream>
#include "Inter.cpp"
#include <ctype.h>
#include <math.h>
using namespace std;
int main(int argc, char* argv[])
{
Inter i;
Errors e;
switch(argc) {
case 1: // czytaj ze standardowego pliku wejsciowego
break;
case 2: // czytaj napis argumentow
//... | 101kompilator | trunk/Interpetator.cpp | C++ | oos | 769 |
#include <iostream>
#include <strstream>
#include "Lista.cpp"
#include <ctype.h>
#include <math.h>
using namespace std;
enum wartosc_symbolu {
NAZWA, LICZBA, KONIEC,
PLUS='+', MINUS='-', MNOZ='*', DZIEL='/', POTEGA='^',
DRUK=';', PRZYPIS='=',LN='(', PN=')'
};
class Inter
{
private:
warto... | 101kompilator | trunk/Inter.cpp | C++ | oos | 3,430 |
//
// TCMPortMappingAdditions.h
//
// Copyright (c) 2007-2008 TheCodingMonkeys:
// Martin Pittenauer, Dominik Wagner, <http://codingmonkeys.de>
// Some rights reserved: <http://opensource.org/licenses/mit-license.php>
//
#import <Cocoa/Cocoa.h>
#import <TCMPortMapper/TCMPortMapper.h>
@interface TCMPortMapping (... | 118controlsman-testtest | TCMPortMapper/portmap/TCMPortMappingAdditions.h | Objective-C | mit | 484 |
//
// TCMStatusImageFromMappingStatusValueTransformer.h
//
// Copyright (c) 2007-2008 TheCodingMonkeys:
// Martin Pittenauer, Dominik Wagner, <http://codingmonkeys.de>
// Some rights reserved: <http://opensource.org/licenses/mit-license.php>
//
#import <Cocoa/Cocoa.h>
@interface TCMStatusImageFromMappingStatus... | 118controlsman-testtest | TCMPortMapper/portmap/TCMStatusImageFromMappingStatusValueTransformer.h | Objective-C | mit | 369 |
//
// main.m
//
// Copyright (c) 2007-2008 TheCodingMonkeys: <http://codingmonkeys.de>
// Some rights reserved: <http://opensource.org/licenses/mit-license.php>
//
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **) argv);
}
| 118controlsman-testtest | TCMPortMapper/portmap/main.m | Objective-C | mit | 290 |
#import "TCMPortStringFromPublicPortValueTransformer.h"
#import <TCMPortMapper/TCMPortMapper.h>
@implementation TCMPortStringFromPublicPortValueTransformer
+ (Class)transformedValueClass {
return [NSString class];
}
- (id)transformedValue:(id)value {
if ([value isKindOfClass:[NSNumber class]]) {
swit... | 118controlsman-testtest | TCMPortMapper/portmap/TCMPortStringFromPublicPortValueTransformer.m | Objective-C | mit | 1,739 |
#import "TCMPortMappingAdditions.h"
@implementation TCMPortMapping (TCMPortMappingAdditions)
+ (TCMPortMapping*)portMappingWithDictionaryRepresentation:(NSDictionary *)aDictionary {
TCMPortMapping *mapping = [TCMPortMapping portMappingWithLocalPort:[[aDictionary objectForKey:@"privatePort"] intValue] desiredExt... | 118controlsman-testtest | TCMPortMapper/portmap/TCMPortMappingAdditions.m | Objective-C | mit | 959 |
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Port Map Changelog</title>
<meta name="robots" content="anchors">
<link href="portmap_releasenotes.css" type="text/css" rel="stylesheet" media="all">
</head>
<body>
<br />
<table class="dots" width="100%" border="0... | 118controlsman-testtest | TCMPortMapper/portmap/htdocs/version_1_1.html | HTML | mit | 2,201 |
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Port Map Changelog</title>
<meta name="robots" content="anchors">
<link href="portmap_releasenotes.css" type="text/css" rel="stylesheet" media="all">
</head>
<body>
<br />
<table class="dots" width="100%" border="0... | 118controlsman-testtest | TCMPortMapper/portmap/htdocs/version_1_2.html | HTML | mit | 1,306 |
/* Tiger Mac Help task_style.css v2.0f*/
/* <html><head><meta name="robots" content="noindex"></head></html> */
body {
margin: 2px 12px 12px
}
h1 {
font-size: 11pt;
font-family: "Lucida Grande", Arial, sans-serif;
margin-bottom: 0
}
h2 {
font-size: 9pt;
font-family: "Lucida Grande"... | 118controlsman-testtest | TCMPortMapper/portmap/htdocs/portmap_releasenotes.css | CSS | mit | 3,462 |
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Port Map Release Notes</title>
<meta name="robots" content="anchors">
<link href="portmap_releasenotes.css" type="text/css" rel="stylesheet" media="all">
</head>
<body>
<br />
<table class="dots" width="100%" borde... | 118controlsman-testtest | TCMPortMapper/portmap/htdocs/portmap_releasenotes.html | HTML | mit | 5,076 |
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Port Map Changelog</title>
<meta name="robots" content="anchors">
<link href="portmap_releasenotes.css" type="text/css" rel="stylesheet" media="all">
</head>
<body>
<br />
<table class="dots" width="100%" border="0... | 118controlsman-testtest | TCMPortMapper/portmap/htdocs/version_1_3_1.html | HTML | mit | 806 |
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Port Map Changelog</title>
<meta name="robots" content="anchors">
<link href="portmap_releasenotes.css" type="text/css" rel="stylesheet" media="all">
</head>
<body>
<br />
<table class="dots" width="100%" border="0... | 118controlsman-testtest | TCMPortMapper/portmap/htdocs/version_1_3.html | HTML | mit | 1,293 |
//
// TCMPortStringFromPublicPortValueTransformer.h
//
// Copyright (c) 2007-2008 TheCodingMonkeys:
// Martin Pittenauer, Dominik Wagner, <http://codingmonkeys.de>
// Some rights reserved: <http://opensource.org/licenses/mit-license.php>
//
#import <Cocoa/Cocoa.h>
@interface TCMPortStringFromPublicPortValueTra... | 118controlsman-testtest | TCMPortMapper/portmap/TCMPortStringFromPublicPortValueTransformer.h | Objective-C | mit | 470 |
#import "TCMStatusImageFromMappingStatusValueTransformer.h"
@implementation TCMStatusImageFromMappingStatusValueTransformer
+ (Class)transformedValueClass {
return [NSImage class];
}
- (id)transformedValue:(id)value {
if ([value isKindOfClass:[NSNumber class]]) {
switch([value intValue]) {
... | 118controlsman-testtest | TCMPortMapper/portmap/TCMStatusImageFromMappingStatusValueTransformer.m | Objective-C | mit | 599 |
//
// AppController.h
//
// Copyright (c) 2007-2008 TheCodingMonkeys:
// Martin Pittenauer, Dominik Wagner, <http://codingmonkeys.de>
// Some rights reserved: <http://opensource.org/licenses/mit-license.php>
//
#import <Cocoa/Cocoa.h>
@interface AppController : NSObject {
IBOutlet NSTextField *O_currentIPT... | 118controlsman-testtest | TCMPortMapper/portmap/AppController.h | Objective-C | mit | 2,508 |
#import "AppController.h"
#import <TCMPortMapper/TCMPortMapper.h>
#import "TCMStatusImageFromMappingStatusValueTransformer.h"
#import "TCMPortStringFromPublicPortValueTransformer.h"
#import "TCMPortMappingAdditions.h"
@interface NSWindow (privateLeopardAdditions)
- (void)setAutorecalculatesContentBorderThickness:(BOO... | 118controlsman-testtest | TCMPortMapper/portmap/AppController.m | Objective-C | mit | 15,080 |
#!/usr/bin/env ruby
require 'socket'
require 'ipaddr'
port = 5350
print "Listening for NAT-PMP public IP changes:\n"
socket = UDPSocket.new
socket.setsockopt(Socket::SOL_SOCKET, Socket::SO_REUSEADDR, true)
socket.setsockopt(Socket::SOL_SOCKET, Socket::SO_REUSEPORT, true)
socket.bind("224.0.0.1",port)
addr = '0.0.0... | 118controlsman-testtest | TCMPortMapper/ruby/nat-pmp-listener.rb | Ruby | mit | 1,444 |
#!/usr/bin/env ruby
require 'socket'
require 'ipaddr'
port = 5350
# A compatible NAT gateway MUST generate a response with the following
# format:
#
# 0 1 2 3
# 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
# +-+-+-+-+-+-+-+-+-+-+-+-+... | 118controlsman-testtest | TCMPortMapper/ruby/nat-pmp-ip-broadcaster.rb | Ruby | mit | 1,083 |
#!/usr/bin/env ruby
require 'socket'
require 'ipaddr'
port = 5350
print "Listening for NAT-PMP public IP changes:\n"
socket = UDPSocket.new
while true do
begin
# socket.setsockopt(Socket::SOL_SOCKET, Socket::SO_REUSEADDR, true)
# socket.setsockopt(Socket::SOL_SOCKET, Socket::SO_REUSEPORT, true)
socket... | 118controlsman-testtest | TCMPortMapper/ruby/mdnskiller.rb | Ruby | mit | 1,595 |
//
// SUAppcastItem.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUAPPCASTITEM_H
#define SUAPPCASTITEM_H
@interface SUAppcastItem : NSObject {
NSString *title;
NSDate *date;
NSString *itemDescription;
NSURL *releaseNotesURL;
NS... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Versions/Current/Headers/SUAppcastItem.h | Objective-C | mit | 1,013 |
//
// SUAppcast.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUAPPCAST_H
#define SUAPPCAST_H
@class SUAppcastItem;
@interface SUAppcast : NSObject {
NSArray *items;
NSString *userAgentString;
id delegate;
NSMutableData *incrementalD... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Versions/Current/Headers/SUAppcast.h | Objective-C | mit | 668 |
//
// SUVersionComparisonProtocol.h
// Sparkle
//
// Created by Andy Matuschak on 12/21/07.
// Copyright 2007 Andy Matuschak. All rights reserved.
//
#ifndef SUVERSIONCOMPARISONPROTOCOL_H
#define SUVERSIONCOMPARISONPROTOCOL_H
/*!
@protocol
@abstract Implement this protocol to provide version comparison... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Versions/Current/Headers/SUVersionComparisonProtocol.h | Objective-C | mit | 705 |
//
// SUUpdater.h
// Sparkle
//
// Created by Andy Matuschak on 1/4/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUUPDATER_H
#define SUUPDATER_H
#import <Sparkle/SUVersionComparisonProtocol.h>
@class SUUpdateDriver, SUAppcastItem, SUHost, SUAppcast;
@interface SUUpdater : NSObject {
NST... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Versions/Current/Headers/SUUpdater.h | Objective-C | mit | 4,887 |
//
// Sparkle.h
// Sparkle
//
// Created by Andy Matuschak on 3/16/06. (Modified by CDHW on 23/12/07)
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SPARKLE_H
#define SPARKLE_H
// This list should include the shared headers. It doesn't matter if some of them aren't shared (unless
// there are n... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Versions/Current/Headers/Sparkle.h | Objective-C | mit | 536 |
//
// SUAppcastItem.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUAPPCASTITEM_H
#define SUAPPCASTITEM_H
@interface SUAppcastItem : NSObject {
NSString *title;
NSDate *date;
NSString *itemDescription;
NSURL *releaseNotesURL;
NS... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h | Objective-C | mit | 1,013 |
//
// SUAppcast.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUAPPCAST_H
#define SUAPPCAST_H
@class SUAppcastItem;
@interface SUAppcast : NSObject {
NSArray *items;
NSString *userAgentString;
id delegate;
NSMutableData *incrementalD... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Versions/A/Headers/SUAppcast.h | Objective-C | mit | 668 |
//
// SUVersionComparisonProtocol.h
// Sparkle
//
// Created by Andy Matuschak on 12/21/07.
// Copyright 2007 Andy Matuschak. All rights reserved.
//
#ifndef SUVERSIONCOMPARISONPROTOCOL_H
#define SUVERSIONCOMPARISONPROTOCOL_H
/*!
@protocol
@abstract Implement this protocol to provide version comparison... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h | Objective-C | mit | 705 |
//
// SUUpdater.h
// Sparkle
//
// Created by Andy Matuschak on 1/4/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUUPDATER_H
#define SUUPDATER_H
#import <Sparkle/SUVersionComparisonProtocol.h>
@class SUUpdateDriver, SUAppcastItem, SUHost, SUAppcast;
@interface SUUpdater : NSObject {
NST... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Versions/A/Headers/SUUpdater.h | Objective-C | mit | 4,887 |
//
// Sparkle.h
// Sparkle
//
// Created by Andy Matuschak on 3/16/06. (Modified by CDHW on 23/12/07)
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SPARKLE_H
#define SPARKLE_H
// This list should include the shared headers. It doesn't matter if some of them aren't shared (unless
// there are n... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Versions/A/Headers/Sparkle.h | Objective-C | mit | 536 |
//
// SUAppcastItem.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUAPPCASTITEM_H
#define SUAPPCASTITEM_H
@interface SUAppcastItem : NSObject {
NSString *title;
NSDate *date;
NSString *itemDescription;
NSURL *releaseNotesURL;
NS... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Headers/SUAppcastItem.h | Objective-C | mit | 1,013 |
//
// SUAppcast.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUAPPCAST_H
#define SUAPPCAST_H
@class SUAppcastItem;
@interface SUAppcast : NSObject {
NSArray *items;
NSString *userAgentString;
id delegate;
NSMutableData *incrementalD... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Headers/SUAppcast.h | Objective-C | mit | 668 |
//
// SUVersionComparisonProtocol.h
// Sparkle
//
// Created by Andy Matuschak on 12/21/07.
// Copyright 2007 Andy Matuschak. All rights reserved.
//
#ifndef SUVERSIONCOMPARISONPROTOCOL_H
#define SUVERSIONCOMPARISONPROTOCOL_H
/*!
@protocol
@abstract Implement this protocol to provide version comparison... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Headers/SUVersionComparisonProtocol.h | Objective-C | mit | 705 |
//
// SUUpdater.h
// Sparkle
//
// Created by Andy Matuschak on 1/4/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUUPDATER_H
#define SUUPDATER_H
#import <Sparkle/SUVersionComparisonProtocol.h>
@class SUUpdateDriver, SUAppcastItem, SUHost, SUAppcast;
@interface SUUpdater : NSObject {
NST... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Headers/SUUpdater.h | Objective-C | mit | 4,887 |
//
// Sparkle.h
// Sparkle
//
// Created by Andy Matuschak on 3/16/06. (Modified by CDHW on 23/12/07)
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SPARKLE_H
#define SPARKLE_H
// This list should include the shared headers. It doesn't matter if some of them aren't shared (unless
// there are n... | 118controlsman-testtest | TCMPortMapper/frameworks/Sparkle.framework/Headers/Sparkle.h | Objective-C | mit | 536 |
//
// RSVerticallyCenteredTextField.m
// RSCommon
//
// Created by Daniel Jalkut on 6/17/06.
// Copyright 2006 Red Sweater Software. All rights reserved.
//
#import "RSVerticallyCenteredTextFieldCell.h"
@implementation RSVerticallyCenteredTextFieldCell
- (NSRect)drawingRectForBounds:(NSRect)theRect
{
// Get the... | 118controlsman-testtest | TCMPortMapper/RSVerticallyCenteredTextFieldCell/RSVerticallyCenteredTextFieldCell.m | Objective-C | mit | 1,812 |
{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf380
{\fonttbl\f0\fswiss\fcharset77 Helvetica;}
{\colortbl;\red255\green255\blue255;}
{\info
{\*\company Test}}\margl1440\margr1440\vieww9000\viewh8400\viewkind0
\deftab720
\pard\pardeftab720\sl380\ql\qnatural
\f0\fs25\fsmilli12700 \cf0 This source code is provided to you ... | 118controlsman-testtest | TCMPortMapper/RSVerticallyCenteredTextFieldCell/MIT-License.rtf | Rich Text Format | mit | 1,500 |
//
// RSVerticallyCenteredTextFieldCell.h
// RSCommon
//
// Created by Daniel Jalkut on 6/17/06.
// Copyright 2006 Red Sweater Software. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface RSVerticallyCenteredTextFieldCell : NSTextFieldCell
{
BOOL mIsEditingOrSelecting;
}
@end
| 118controlsman-testtest | TCMPortMapper/RSVerticallyCenteredTextFieldCell/RSVerticallyCenteredTextFieldCell.h | Objective-C | mit | 294 |
//
// main.m
//
// Copyright (c) 2007-2008 TheCodingMonkeys: <http://codingmonkeys.de>
// Some rights reserved: <http://opensource.org/licenses/mit-license.php>
//
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **) argv);
}
| 118controlsman-testtest | TCMPortMapper/natecho/main.m | Objective-C | mit | 290 |
//
// AppController.h
//
// Copyright (c) 2007-2008 TheCodingMonkeys: <http://codingmonkeys.de>
// Some rights reserved: <http://opensource.org/licenses/mit-license.php>
//
#import <Cocoa/Cocoa.h>
#import "TCPServer.h"
@interface AppController : NSObject {
IBOutlet NSTextField *O_portTextField;
IBOutlet N... | 118controlsman-testtest | TCMPortMapper/natecho/AppController.h | Objective-C | mit | 804 |
#import "AppController.h"
#import <TCMPortMapper/TCMPortMapper.h>
@implementation AppController
- (void)portMapperDidStartWork:(NSNotification *)aNotification {
NSLog(@"%s",__FUNCTION__);
[O_publicIndicator startAnimation:self];
[O_publicStatusImageView setHidden:YES];
[O_publicStatusTextField setString... | 118controlsman-testtest | TCMPortMapper/natecho/AppController.m | Objective-C | mit | 5,728 |
zipBasePath="{TARGET_BUILD_DIR}/${ZipName}"
echo "Removing zip file ${zipBasePath}.zip"
rm -f "${zipBasePath}.zip"
if [ x${ACTION} = xclean ]; then
exit 0
fi
echo "Removing .svn directories..."
find "${BUILT_PRODUCTS_DIR}/${ZipProduct}" -name ".svn" -exec rm -rvf "{}" \;
echo "...done"
echo "Setting ownership..."
c... | 118controlsman-testtest | TCMPortMapper/createZip.sh | Shell | mit | 819 |
/*
* Written by Theo Hultberg (theo@iconara.net) 2004-03-09 with help from Boaz Stuller.
* This code is in the public domain, provided that this notice remains.
* Fixes and additions in Nov 2008 by Dominik Wagner
*/
#import <Foundation/Foundation.h>
#import <SystemConfiguration/SystemConfiguration.h>
/*!
* @cla... | 118controlsman-testtest | TCMPortMapper/framework/IXSCNotificationManager.h | Objective-C | mit | 1,610 |
/* $Id: natpmpc.c,v 1.6 2008/07/02 22:33:06 nanard Exp $ */
/* libnatpmp
* Copyright (c) 2007-2008, Thomas BERNARD <miniupnp@free.fr>
* http://miniupnp.free.fr/libnatpmp.html
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that ... | 118controlsman-testtest | TCMPortMapper/framework/libnatpmp/natpmpc.c | C | mit | 5,968 |
#ifdef WIN32
#include <sys/time.h>
typedef struct _FILETIME {
unsigned long dwLowDateTime;
unsigned long dwHighDateTime;
} FILETIME;
void __stdcall GetSystemTimeAsFileTime(FILETIME*);
//void gettimeofday(struct timeval* p, void* tz /* IGNORED */);
void gettimeofday(struct timeval* p, void* tz /* IGNORED *... | 118controlsman-testtest | TCMPortMapper/framework/libnatpmp/wingettimeofday.c | C | mit | 609 |
# $Id: Makefile,v 1.6 2008/04/28 02:58:33 nanard Exp $
# This Makefile is designed for use with GNU make
# libnatpmp
# (c) 2007-2008 Thomas Bernard
# http://miniupnp.free.fr/libnatpmp.html
CC = gcc
INSTALL = install
# APIVERSION is used in soname
APIVERSION = 0
CFLAGS = -O -fPIC -Wall -DENABLE_STRNATPMPERR
LIBOBJS =... | 118controlsman-testtest | TCMPortMapper/framework/libnatpmp/Makefile | Makefile | mit | 1,901 |
/* $Id: natpmp.c,v 1.8 2008/07/02 22:33:06 nanard Exp $ */
/* libnatpmp
* Copyright (c) 2007-2008, Thomas BERNARD <miniupnp@free.fr>
* http://miniupnp.free.fr/libnatpmp.html
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that t... | 118controlsman-testtest | TCMPortMapper/framework/libnatpmp/natpmp.c | C | mit | 9,043 |
/* $Id: getgateway.h,v 1.3 2008/07/02 22:33:06 nanard Exp $ */
/* libnatpmp
* Copyright (c) 2007, Thomas BERNARD <miniupnp@free.fr>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permi... | 118controlsman-testtest | TCMPortMapper/framework/libnatpmp/getgateway.h | C | mit | 1,151 |