100+ results for 'import glob lang:python'
Not the results you expected?
run.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 62 lines
1 /**
2 Run a command in its own in its own private global namespace, with its
3 own class manager and interpeter context. (kind of like unix "chroot" for
4 a namespace).
7 directory) is effectively inherited. Because the root bsh object is
8 extended it is effectively read only / copy on write...
9 e.g. you can change directories in the child context, do imports, change
10 the classpath, etc. and it will not affect the calling context.
11 <p>
34 run( String filename, Object runArgument )
35 {
36 // Our local namespace is going to be the new root (global)
37 // make local copies of the system stuff.
38 //
39 // Extend the root system object
40 // this is problematic... probably need more here...
41 this.bsh=extend(global.bsh);
42 this.bsh.help=extend(bsh.help);
__init__.py (https://github.com/ichiro101/l2adena-l2j-datapack.git) Python · 210 lines
2 # Shadow Weapon Coupons contributed by BiTi for the Official L2J Datapack Project
3 # Visit http://www.l2jdp.com/forum/ for more details
4 import sys
5 from com.l2jserver.gameserver.model.quest import State
6 from com.l2jserver.gameserver.model.quest import QuestState
7 from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
8 from com.l2jserver.gameserver.network.serverpackets import SocialAction
10 qn = "414_PathToOrcRaider"
112 st.takeItems(BETRAYER_UMBAR_REPORT,-1)
113 st.giveItems(MARK_OF_RAIDER,1)
114 isFinished = st.getGlobalQuestVar("1ClassQuestFinished")
115 if isFinished == "" :
116 if player.getLevel() >= 20 :
AccumulativeRunnable.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 143 lines
✨ Summary
This Java class, AccumulativeRunnable
, allows for accumulating data of a specific type (T
) and then executing a Runnable
with that accumulated data on the Event Dispatch Thread (EDT). It provides a way to accumulate data in a thread-safe manner and execute it when needed, ensuring that only the last update is processed.
This Java class, AccumulativeRunnable
, allows for accumulating data of a specific type (T
) and then executing a Runnable
with that accumulated data on the Event Dispatch Thread (EDT). It provides a way to accumulate data in a thread-safe manner and execute it when needed, ensuring that only the last update is processed.
9 package ise.plugin.svn.library.swingworker;
11 import java.util.*;
12 import javax.swing.SwingUtilities;
26 * {@code text} string to the JLabel.setTextImpl(String text) on the EDT.
27 * In the event JLabel.setText is called rapidly many times off the EDT
28 * we will get many updates on the EDT but only the last one is important.
29 * (Every next updates overrides the previous one.)
30 * We might want to implement this {@code setText} in a way that only
image.css
(http://enginey.googlecode.com/svn/trunk/)
CSS · 17 lines
✨ Summary
This CSS file imports and links to various individual CSS files, each containing styles for a specific component of the DojoX Image Project. The imported files are likely used to style different image-related components such as lightbox, slideshow, thumbnail picker, gallery, badges, and magnifier. By importing these files, the master CSS file provides a centralized location for all necessary styles.
This CSS file imports and links to various individual CSS files, each containing styles for a specific component of the DojoX Image Project. The imported files are likely used to style different image-related components such as lightbox, slideshow, thumbnail picker, gallery, badges, and magnifier. By importing these files, the master CSS file provides a centralized location for all necessary styles.
SideKickUpdate.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 45 lines
✨ Summary
This Java class, SideKickUpdate
, extends another class called EBMessage
. It represents an update message for a “sidekick” component in a text editor, likely a plugin or extension. The class has a constructor that takes a View
object as a parameter and stores it in a private field. It also provides a getter method to retrieve the stored view.
This Java class, SideKickUpdate
, extends another class called EBMessage
. It represents an update message for a “sidekick” component in a text editor, likely a plugin or extension. The class has a constructor that takes a View
object as a parameter and stores it in a private field. It also provides a getter method to retrieve the stored view.
histcache.py (https://bitbucket.org/beqa/nvdadependencyvirtualenvironment.git) Python · 262 lines
replace_dimensions.py (https://bitbucket.org/iimarckus/pokered-greenified.git) Python · 245 lines
2 #date: 2012-01-15
3 #replace dimensions with constants
4 import sys #for non-newline-terminated output :/
5 from add_map_labels_to_map_headers import find_with_start_of_line
6 from pretty_map_headers import map_name_cleaner, spacing, offset_to_pointer, map_constants
7 from connection_helper import print_connections
8 from ctypes import c_int8
10 # X/Y_Movement_Of_Connection
38 asm_lines = None
39 def load_asm():
40 global asm, asm_lines
41 asm = open("../main.asm", "r").read()
42 asm_lines = asm.split("\n")
test_Counter.py (https://gitlab.com/grayhamster/pycrypto) Python · 155 lines
27 __revision__ = "$Id$"
29 import sys
30 if sys.version_info[0] == 2 and sys.version_info[1] == 1:
31 from Crypto.Util.py21compat import *
32 from Crypto.Util.py3compat import *
34 import unittest
36 class CounterTests(unittest.TestCase):
37 def setUp(self):
38 global Counter
39 from Crypto.Util import Counter
147 def get_tests(config={}):
148 from Crypto.SelfTest.st_common import list_test_cases
149 return list_test_cases(CounterTests)
test_hog.py (https://github.com/neurodebian/scikits.image-1.git) Python · 142 lines
1 import numpy as np
2 from scipy import ndimage
3 from skimage import data
4 from skimage import feature
5 from skimage import img_as_float
6 from skimage import draw
7 from numpy.testing import (assert_raises,
8 assert_almost_equal,
9 )
65 # must be False for automatic testing
66 if False:
67 import matplotlib.pyplot as plt
68 plt.figure()
69 plt.subplot(2, 3, 1); plt.imshow(image_float); plt.colorbar(); plt.title('image')
test_poisson_extravacuum.py (https://gitlab.com/asod/gpaw) Python · 178 lines
1 import pytest
2 from gpaw.mpi import world
3 import time
4 import numpy as np
6 from gpaw.poisson import PoissonSolver
7 from gpaw.poisson_extended import ExtendedPoissonSolver
8 from gpaw.poisson_extravacuum import ExtraVacuumPoissonSolver
9 from gpaw.grid_descriptor import GridDescriptor
25 print('%.10e vs %.10e at %.10e is %s' % (x, y, tol, res))
26 else:
27 from gpaw.test import equal
graph_visitor.py (https://github.com/srossross/Meta.git) Python · 402 lines
4 @author: sean
5 '''
6 from meta.asttools import Visitor, visit_children
8 import _ast
9 from meta.asttools.visitors.symbol_visitor import get_symbols
10 try:
11 from networkx import DiGraph
12 except ImportError:
13 DiGraph = None
161 graph.add_edge(*edge)
163 class GlobalDeps(object):
164 def __init__(self, gen, nodes):
165 self.nodes = nodes
test_dummy_thread.py (https://bitbucket.org/x893/sirflive.git) Python · 181 lines
CollapseTreeNodeAction.java (https://bitbucket.org/nbargnesi/idea.git) Java · 26 lines
pytracer.py (https://gitlab.com/jorjpimm/lldb) Python · 328 lines
channel_service_pb.py (https://github.com/ChicagoAtNight/flightpin.git) Python · 444 lines
xpath.py (https://github.com/openhatch/oh-mainline.git) Python · 333 lines
14 try:
15 import cStringIO as StringIO
16 except ImportError:
17 import StringIO
19 class LiteralValue(str):
102 """
103 klassname = "_%s_Function" % fname
104 c = globals()[klassname]()
105 return c
279 def __init__(self, queryStr):
280 self.queryStr = queryStr
281 from twisted.words.xish.xpathparser import parse
282 self.baseLocation = parse('XPATH', queryStr)
poly.py (https://github.com/tnorth/PyTables.git) Python · 192 lines
test_context.py (https://github.com/ioggstream/pysmbc.git) Python · 195 lines
Stream.py (https://github.com/randfb/sim42.git) Python · 310 lines
7 """
8 from sim.solver.Error import SimError
9 from sim.solver.Variables import *
10 from sim.solver import S42Glob
11 from sim.solver.Ports import SIGNAL_TYPE_NONE
12 from sim.solver.Messages import MessageHandler
13 import UnitOperations
253 try:
254 if PropTypes[currName].unitType != PropTypes[validateName].unitType:
255 equivalent = S42Glob.unitSystem.IsEquivalentType(PropTypes[currName].unitType, PropTypes[validateName].unitType)
256 except:
257 #if it failed comparing, then assume they are equivalent
templating.py (https://github.com/bowlingb/flask.git) Python · 310 lines
10 """
12 import flask
13 import unittest
14 from flask.testsuite import FlaskTestCase
255 self.assert_in(b'Success!', rv.data)
257 def test_add_template_global(self):
258 app = flask.Flask(__name__)
259 @app.template_global()
260 def get_stuff():
261 return 42
262 self.assert_in('get_stuff', app.jinja_env.globals.keys())
263 self.assert_equal(app.jinja_env.globals['get_stuff'], get_stuff)
ContextOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 432 lines
✨ Summary
This Java code creates a dialog for adding new actions to an editor’s context menu. It allows users to select either a separator or an action, and then choose from a list of available actions. The selected action is added to the context menu, and the dialog can be cancelled or confirmed with “OK”.
This Java code creates a dialog for adding new actions to an editor’s context menu. It allows users to select either a separator or an action, and then choose from a list of available actions. The selected action is added to the context menu, and the dialog can be cancelled or confirmed with “OK”.
23 package projectviewer.config;
25 //{{{ Imports
26 import java.util.Vector;
27 import java.util.StringTokenizer;
29 import java.awt.MenuItem;
30 import java.awt.Component;
31 import java.awt.GridLayout;
32 import java.awt.BorderLayout;
33 import java.awt.event.ActionEvent;
34 import java.awt.event.ActionListener;
36 import javax.swing.Box;
EnemyTongue.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 63 lines
✨ Summary
This Java class represents an enemy object in a game, specifically a tongue-like enemy. It extends another class STGObject
and has properties like hit points, update count, and screen position. The class has methods to destroy the enemy, handle explosion effects, and update its state. It also overrides some methods from the parent class to provide specific behavior for this type of enemy.
This Java class represents an enemy object in a game, specifically a tongue-like enemy. It extends another class STGObject
and has properties like hit points, update count, and screen position. The class has methods to destroy the enemy, handle explosion effects, and update its state. It also overrides some methods from the parent class to provide specific behavior for this type of enemy.
JSONKit.h
(git://github.com/johnezang/JSONKit.git)
C Header · 251 lines
✨ Summary
This C header file provides a set of functions and macros for serializing and deserializing data to and from JSON format, including strings, arrays, dictionaries, and objects. It allows developers to easily convert their data structures into JSON-compatible formats and vice versa, making it easier to share data between different platforms and languages.
This C header file provides a set of functions and macros for serializing and deserializing data to and from JSON format, including strings, arrays, dictionaries, and objects. It allows developers to easily convert their data structures into JSON-compatible formats and vice versa, making it easier to share data between different platforms and languages.
LUAPrint.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 52 lines
✨ Summary
This Java class, LUAPrint, extends a LuaJava function and allows printing messages from Lua scripts to the console. It takes a PrintStream and a LuaState as parameters in its constructor. The execute() method prints the top message on the Lua stack to the specified output stream.
This Java class, LUAPrint, extends a LuaJava function and allows printing messages from Lua scripts to the console. It takes a PrintStream and a LuaState as parameters in its constructor. The execute() method prints the top message on the Lua stack to the specified output stream.
SFtpConnection.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 314 lines
✨ Summary
This Java code implements a connection to an SSH FTP server, allowing users to perform various file operations such as listing directories, creating and removing files and directories, renaming files, and retrieving and storing files. It uses the J2SSH library to establish a secure connection and interact with the FTP server.
This Java code implements a connection to an SSH FTP server, allowing users to perform various file operations such as listing directories, creating and removing files and directories, renaming files, and retrieving and storing files. It uses the J2SSH library to establish a secure connection and interact with the FTP server.
20 package ftp;
22 import com.sshtools.j2ssh.*;
23 import com.sshtools.j2ssh.authentication.*;
24 import com.sshtools.j2ssh.configuration.*;
25 import com.sshtools.j2ssh.connection.*;
26 import com.sshtools.j2ssh.io.UnsignedInteger32;
27 import com.sshtools.j2ssh.session.*;
28 import com.sshtools.j2ssh.sftp.*;
29 import com.sshtools.j2ssh.transport.*;
30 import com.sshtools.j2ssh.transport.publickey.*;
31 import com.sshtools.common.hosts.*;
qt_cocoa_helpers_mac.mm (https://bitbucket.org/ultra_iter/qt-vtl.git) Objective C++ · 1824 lines
100 #endif
102 Q_GLOBAL_STATIC(QMacWindowFader, macwindowFader);
104 QMacWindowFader::QMacWindowFader()
236 }
238 Q_GLOBAL_STATIC(DnDParams, currentDnDParameters);
239 DnDParams *macCurrentDnDParameters()
240 {
912 if (fakeNCEvents || NSMouseInRect(globalPoint, frameRect, NO)) {
913 NSRect contentRect = [window contentRectForFrameRect:frameRect];
914 qglobalPoint = QPoint(flipPoint(globalPoint).toPoint());
915 QWidget *w = widgetToGetEvent->childAt(widgetToGetEvent->mapFromGlobal(qglobalPoint));
918 if (fakeNCEvents || (!NSMouseInRect(globalPoint, contentRect, NO) && !w)) {
919 qglobalPoint = QPoint(flipPoint(globalPoint).toPoint());
920 qlocalPoint = widgetToGetEvent->mapFromGlobal(qglobalPoint);
ParserTokenManager.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 2110 lines
✨ Summary
This Java code is part of a finite state machine implementation, likely for parsing or lexical analysis. It processes input characters and determines the next state based on the current state and character. The output appears to be a series of conditional statements that update the state machine’s internal variables (jjstateSet
, kind
) based on the input character.
This Java code is part of a finite state machine implementation, likely for parsing or lexical analysis. It processes input characters and determines the next state based on the current state and character. The output appears to be a series of conditional statements that update the state machine’s internal variables (jjstateSet
, kind
) based on the input character.
EncodingDetector.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 46 lines
✨ Summary
This is a Java interface definition for an EncodingDetector
class. It provides a method detectEncoding(InputStream sample)
that takes a small input stream of bytes and returns the name of a detected encoding, or null if detection fails. The interface is designed to be implemented by classes that can detect reasonable encodings from a given byte sequence.
This is a Java interface definition for an EncodingDetector
class. It provides a method detectEncoding(InputStream sample)
that takes a small input stream of bytes and returns the name of a detected encoding, or null if detection fails. The interface is designed to be implemented by classes that can detect reasonable encodings from a given byte sequence.
AboutDialog.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 281 lines
✨ Summary
This Java code creates a graphical user interface (GUI) component that displays text from a configuration file, with a gradient background and highlighted bottom line. It uses a separate thread to continuously update the GUI, allowing for smooth scrolling of the text list. The GUI is designed to be used in an integrated development environment (IDE), likely for displaying settings or documentation.
This Java code creates a graphical user interface (GUI) component that displays text from a configuration file, with a gradient background and highlighted bottom line. It uses a separate thread to continuously update the GUI, allowing for smooth scrolling of the text list. The GUI is designed to be used in an integrated development environment (IDE), likely for displaying settings or documentation.
OpenIt.props (https://jedit.svn.sourceforge.net/svnroot/jedit) MSBuild · 118 lines
60 options.OpenIt.SourcePathOptionPane.SourcePath.title=Search Paths
61 options.OpenIt.SourcePathOptionPane.SourcePath.instruction.label=Add/Remove Search Paths:
62 options.OpenIt.SourcePathOptionPane.mGetRootFromProjectViewer.label=Import files from current project
63 # options.OpenIt.SourcePathOptionPane.SourcePath.instruction2.label=(NOTE: these are usually the base directory(s) of your Java source files, but can be any directory!)
64 options.OpenIt.SourcePathOptionPane.SourcePath.AddButton.label=Add Search Path(s)
actionscript.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 830 lines
134 <LITERAL2>undefined</LITERAL2>
136 <!-- Global functions -->
137 <LITERAL2>Boolean</LITERAL2>
138 <LITERAL2>call</LITERAL2>
208 <LITERAL2>getBytesTotal</LITERAL2>
209 <LITERAL2>getDepth</LITERAL2>
210 <LITERAL2>globalToLocal</LITERAL2>
211 <LITERAL2>hitTest</LITERAL2>
212 <LITERAL2>localToGlobal</LITERAL2>
419 <!-- Function -->
420 <LITERAL2>_global</LITERAL2>
421 <LITERAL2>apply</LITERAL2>
TextRenderer.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 254 lines
✨ Summary
This Java code defines an abstract class TextRenderer
that provides a common interface for rendering text in different environments, specifically AWT and Java 2D. It abstracts away differences between the two APIs to ensure compatibility and correct caret placement. The class uses reflection to load the correct renderer implementation based on whether Java 2D is available.
This Java code defines an abstract class TextRenderer
that provides a common interface for rendering text in different environments, specifically AWT and Java 2D. It abstracts away differences between the two APIs to ensure compatibility and correct caret placement. The class uses reflection to load the correct renderer implementation based on whether Java 2D is available.
LineTabExpander.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 82 lines
✨ Summary
This Java class, LineTabExpander
, expands tabs in a string by replacing them with a specified number of spaces. It maintains track of the current position and can be reset to zero. The expansion is done character by character, appending spaces as necessary to maintain the original tab size.
This Java class, LineTabExpander
, expands tabs in a string by replacing them with a specified number of spaces. It maintains track of the current position and can be reset to zero. The expansion is done character by character, appending spaces as necessary to maintain the original tab size.
DirectoryProvider.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 178 lines
✨ Summary
This Java class, DirectoryProvider
, implements a dynamic menu provider for a text editor. It creates a menu with directory and file options based on the current working directory. The menu items are filtered to exclude certain types of files, such as backups and autosave files. When an item is clicked, it opens the corresponding file or directory in the editor.
This Java class, DirectoryProvider
, implements a dynamic menu provider for a text editor. It creates a menu with directory and file options based on the current working directory. The menu items are filtered to exclude certain types of files, such as backups and autosave files. When an item is clicked, it opens the corresponding file or directory in the editor.
23 package org.gjt.sp.jedit.menu;
25 //{{{ Imports
26 import javax.swing.*;
27 import java.awt.event.*;
28 import java.io.File;
29 import java.util.Arrays;
31 import org.gjt.sp.jedit.browser.*;
32 import org.gjt.sp.jedit.io.FileVFS;
33 import org.gjt.sp.jedit.*;
34 import org.gjt.sp.util.StandardUtilities;
35 //}}}
JARClassLoader.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 709 lines
✨ Summary
This Java code is part of a class loader implementation, responsible for loading and managing classes from a Java archive file (JAR). It defines package information, seals packages, and resolves class references to load classes into memory. The code handles various exceptions and errors that may occur during the loading process.
This Java code is part of a class loader implementation, responsible for loading and managing classes from a Java archive file (JAR). It defines package information, seals packages, and resolves class references to load classes into memory. The code handles various exceptions and errors that may occur during the loading process.
ProjectViewerListener.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 42 lines
✨ Summary
This is a Java interface definition for a listener that responds to events related to project management in an application, specifically ProjectViewerEvent
. It provides three methods to handle different types of project-related events: loading, adding, and removing projects. The listener can be implemented by any class to receive notifications about these events.
This is a Java interface definition for a listener that responds to events related to project management in an application, specifically ProjectViewerEvent
. It provides three methods to handle different types of project-related events: loading, adding, and removing projects. The listener can be implemented by any class to receive notifications about these events.
CompanyTableAjaxAction.java
(http://fatal-error.googlecode.com/svn/trunk/)
Java · 150 lines
✨ Summary
This Java class, CompanyTableAjaxAction
, extends a base class and provides an implementation for an AJAX action related to company data in a table. It retrieves companies from a database based on filters, projections, and sorting criteria, and returns the result as a DataResult
object. The method is designed to handle pagination and filtering of company data.
This Java class, CompanyTableAjaxAction
, extends a base class and provides an implementation for an AJAX action related to company data in a table. It retrieves companies from a database based on filters, projections, and sorting criteria, and returns the result as a DataResult
object. The method is designed to handle pagination and filtering of company data.
1 package pl.zgora.uz.wmie.fe.admin.ajax.table.action;
3 import java.lang.reflect.Field;
4 import java.util.ArrayList;
5 import java.util.Iterator;
6 import java.util.List;
7 import java.util.Map;
8 import java.util.Set;
10 import javax.swing.plaf.basic.BasicBorders.MarginBorder;
12 import org.apache.log4j.Logger;
EBPlugin.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 53 lines
✨ Summary
This Java class, EBPlugin
, is an abstract base class for plugins that extend the EditBus. It provides a basic implementation of handling messages sent on the bus and automatically adds itself to the bus if not overridden. The class also extends EditPlugin
and implements EBComponent
.
This Java class, EBPlugin
, is an abstract base class for plugins that extend the EditBus. It provides a basic implementation of handling messages sent on the bus and automatically adds itself to the bus if not overridden. The class also extends EditPlugin
and implements EBComponent
.
BufferSwitcher.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 104 lines
✨ Summary
This Java code defines a BufferSwitcher
class that extends JComboBox
. It is used to switch between different buffers in an editing environment, such as a text editor. The combo box displays a list of available buffers and allows the user to select one to switch to. When a buffer is selected, it updates the current buffer being edited.
This Java code defines a BufferSwitcher
class that extends JComboBox
. It is used to switch between different buffers in an editing environment, such as a text editor. The combo box displays a list of available buffers and allows the user to select one to switch to. When a buffer is selected, it updates the current buffer being edited.
RolloverButton.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 156 lines
✨ Summary
This Java class, RolloverButton
, extends JButton
to provide rollover functionality for buttons outside of JToolBar
s. It overrides various methods to control the appearance of the button’s border and content area when hovered over or disabled. The class uses a custom composite to achieve the desired effect.
This Java class, RolloverButton
, extends JButton
to provide rollover functionality for buttons outside of JToolBar
s. It overrides various methods to control the appearance of the button’s border and content area when hovered over or disabled. The class uses a custom composite to achieve the desired effect.
24 package org.gjt.sp.jedit.gui;
26 //{{{ Imports
27 import java.awt.*;
28 import java.awt.event.*;
29 import javax.swing.*;
30 import javax.swing.border.*;
31 import javax.swing.plaf.basic.BasicButtonUI;
32 import javax.swing.plaf.basic.BasicBorders.ButtonBorder;
33 import org.gjt.sp.jedit.OperatingSystem;
ContentManager.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 188 lines
✨ Summary
The ContentManager
class manages text content in a buffer. It provides methods to get the length and text of the buffer, insert new text, remove existing text, and update the buffer’s capacity as needed. The class is designed for efficient text manipulation and is intended to be used internally by jEdit’s document model.
The ContentManager
class manages text content in a buffer. It provides methods to get the length and text of the buffer, insert new text, remove existing text, and update the buffer’s capacity as needed. The class is designed for efficient text manipulation and is intended to be used internally by jEdit’s document model.
HistoryText.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 356 lines
✨ Summary
This Java code implements a history feature for text editing, allowing users to navigate through previously entered text. It provides methods for showing a popup menu with options to go back and forth in the history, as well as an option to add the current text to the history. The ActionHandler
class handles the logic for selecting actions from the popup menu.
This Java code implements a history feature for text editing, allowing users to navigate through previously entered text. It provides methods for showing a popup menu with options to go back and forth in the history, as well as an option to add the current text to the history. The ActionHandler
class handles the logic for selecting actions from the popup menu.
JEditHistoryModelSaver.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 225 lines
✨ Summary
This Java class, JEditHistoryModelSaver
, is responsible for managing a history model for a text editor. It loads and saves a map of history models to a file, handling encoding differences between versions of the application. The class provides methods for loading and saving the history model, as well as updating the last modified time of the file.
This Java class, JEditHistoryModelSaver
, is responsible for managing a history model for a text editor. It loads and saves a map of history models to a file, handling encoding differences between versions of the application. The class provides methods for loading and saving the history model, as well as updating the last modified time of the file.
22 package org.gjt.sp.jedit.gui;
24 import org.gjt.sp.util.Log;
25 import org.gjt.sp.util.IOUtilities;
26 import org.gjt.sp.util.StandardUtilities;
27 import org.gjt.sp.jedit.MiscUtilities;
28 import org.gjt.sp.jedit.jEdit;
30 import java.io.*;
31 import java.nio.charset.Charset;
32 import java.nio.charset.CharacterCodingException;
33 import java.util.*;
35 /**
keyword.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
ConsolePrintStream.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 83 lines
✨ Summary
This Java class extends PrintStream
to provide a custom print stream for console output, specifically designed for use in the Subversion plugin for JEdit. It allows printing messages with different log levels and includes line separators for console output. The class also handles logging level changes and provides methods for printing error messages.
This Java class extends PrintStream
to provide a custom print stream for console output, specifically designed for use in the Subversion plugin for JEdit. It allows printing messages with different log levels and includes line separators for console output. The class also handles logging level changes and provides methods for printing error messages.
BufferPrintable.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 418 lines
✨ Summary
This Java code is a part of an editor plugin that prints the contents of a text buffer to a printer. It handles formatting, folding, and pagination of the text, and includes options for customizing the header and footer text. The code uses a tab expansion mechanism to align text in the printed output.
This Java code is a part of an editor plugin that prints the contents of a text buffer to a printer. It handles formatting, folding, and pagination of the text, and includes options for customizing the header and footer text. The code uses a tab expansion mechanism to align text in the printed output.
24 package org.gjt.sp.jedit.print;
26 //{{{ Imports
27 import javax.swing.text.TabExpander;
28 import javax.swing.SwingUtilities;
29 import java.awt.font.*;
30 import java.awt.geom.*;
31 import java.awt.print.*;
32 import java.awt.*;
33 import java.lang.reflect.Method;
34 import java.util.*;
35 import java.util.List;
ChangeLog (https://freespeech.svn.sourceforge.net/svnroot/freespeech) Unknown · 860 lines
Literal.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 40 lines
✨ Summary
This Java class represents a superclass of literal expressions in an abstract syntax tree (AST). It provides methods to retrieve variables from outside, modified variables, and used variables, as well as a method to get an expression at a specific line and column. The class is abstract, meaning it cannot be instantiated directly, and serves as a base for concrete subclasses that implement its methods.
This Java class represents a superclass of literal expressions in an abstract syntax tree (AST). It provides methods to retrieve variables from outside, modified variables, and used variables, as well as a method to get an expression at a specific line and column. The class is abstract, meaning it cannot be instantiated directly, and serves as a base for concrete subclasses that implement its methods.
javap.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 63 lines
CompletionPopup.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 513 lines
✨ Summary
This Java code implements a popup window that provides autocompletion functionality for input fields. It listens for keyboard and mouse events, allowing users to navigate through suggested completions using arrow keys and select them with Enter. The popup is designed to be context-aware, passing key events to the underlying application’s input handler.
This Java code implements a popup window that provides autocompletion functionality for input fields. It listens for keyboard and mouse events, allowing users to navigate through suggested completions using arrow keys and select them with Enter. The popup is designed to be context-aware, passing key events to the underlying application’s input handler.
22 package org.gjt.sp.jedit.gui;
24 //{{{ Imports
25 import java.awt.BorderLayout;
26 import java.awt.Component;
27 import java.awt.Point;
28 import java.awt.Rectangle;
29 import java.awt.Window;
31 import java.awt.event.KeyAdapter;
32 import java.awt.event.KeyEvent;
33 import java.awt.event.KeyListener;
34 import java.awt.event.MouseAdapter;
SessionBean.java
(http://fatal-error.googlecode.com/svn/trunk/)
Java · 30 lines
✨ Summary
This Java class, SessionBean
, is a simple utility class that provides a way to store and manage a Hibernate session object. It allows for easy access to the session and its transactional state, making it a convenient helper class for other classes in an application. The class has getter and setter methods for the session and manual transaction flags.
This Java class, SessionBean
, is a simple utility class that provides a way to store and manage a Hibernate session object. It allows for easy access to the session and its transactional state, making it a convenient helper class for other classes in an application. The class has getter and setter methods for the session and manual transaction flags.
EntityResolverImpl.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 51 lines
✨ Summary
This Java class implements an entity resolver for XML parsing, specifically using a CatalogManager
to resolve entity references. It takes an input path as a parameter and uses this to resolve entities in the given public and system IDs. If an exception occurs during resolution, it wraps the exception in a SAXException and rethrows it.
This Java class implements an entity resolver for XML parsing, specifically using a CatalogManager
to resolve entity references. It takes an input path as a parameter and uses this to resolve entities in the given public and system IDs. If an exception occurs during resolution, it wraps the exception in a SAXException and rethrows it.
modula3.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 179 lines
createJFuguePlayer.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 6 lines
JEditMode.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 106 lines
✨ Summary
This Java class, JEditMode
, represents a mode for the jEdit text editor. It extends the Mode
class and provides methods to retrieve properties from the mode’s configuration, load the mode from disk if necessary, and handle loading issues. The class is designed to work with jEdit’s configuration system.
This Java class, JEditMode
, represents a mode for the jEdit text editor. It extends the Mode
class and provides methods to retrieve properties from the mode’s configuration, load the mode from disk if necessary, and handle loading issues. The class is designed to work with jEdit’s configuration system.
SessionPropertiesChanged.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 74 lines
✨ Summary
This Java class represents a message on an “EditBus” that is sent after session properties have been changed. It contains information about the source of the message and the session that was modified, allowing other parts of the program to access this information. The class extends another message class and provides additional functionality for accessing the session and its manager.
This Java class represents a message on an “EditBus” that is sent after session properties have been changed. It contains information about the source of the message and the session that was modified, allowing other parts of the program to access this information. The class extends another message class and provides additional functionality for accessing the session and its manager.
Capabilities.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 144 lines
✨ Summary
This Java code defines a class called Capabilities
that checks for the availability of certain features and packages in the runtime environment, such as Swing and accessibility. It uses a cache to store information about existing classes and provides methods to test for their existence and enable/disabled accessibility.
This Java code defines a class called Capabilities
that checks for the availability of certain features and packages in the runtime environment, such as Swing and accessibility. It uses a cache to store information about existing classes and provides methods to test for their existence and enable/disabled accessibility.
LMessage.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 286 lines
✨ Summary
This Java class represents a graphical component called LMessage
that displays a message on the screen. It has features like animation, font color, and delay settings. The message can be updated with new text, and the component responds to touch events, allowing it to move around the screen. It also has a pause icon animation feature.
This Java class represents a graphical component called LMessage
that displays a message on the screen. It has features like animation, font color, and delay settings. The message can be updated with new text, and the component responds to touch events, allowing it to move around the screen. It also has a pause icon animation feature.
1 package org.loon.framework.android.game.core.graphics.component;
3 import org.loon.framework.android.game.action.sprite.Animation;
4 import org.loon.framework.android.game.action.sprite.SpriteImage;
5 import org.loon.framework.android.game.core.LSystem;
6 import org.loon.framework.android.game.core.graphics.LColor;
7 import org.loon.framework.android.game.core.graphics.LComponent;
8 import org.loon.framework.android.game.core.graphics.LContainer;
9 import org.loon.framework.android.game.core.graphics.LFont;
10 import org.loon.framework.android.game.core.graphics.LImage;
11 import org.loon.framework.android.game.core.graphics.device.LGraphics;
12 import org.loon.framework.android.game.utils.GraphicsUtils;
DiffData.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 111 lines
✨ Summary
This Java class represents data for a diff (difference) between two revisions of a file, either remote or local. It stores information about the repository URL, two SVN revisions, and whether an SVN diff is requested. The toString()
method returns a string representation of the object, including the paths, URLs, and revisions.
This Java class represents data for a diff (difference) between two revisions of a file, either remote or local. It stores information about the repository URL, two SVN revisions, and whether an SVN diff is requested. The toString()
method returns a string representation of the object, including the paths, URLs, and revisions.
PluginJAR.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 1485 lines
✨ Summary
This Java code defines a class for storing and managing plugin data, specifically for a text editor application. It provides methods for reading and writing plugin metadata, such as plugin names, URLs, and boolean flags, to and from a file. The data is stored in a binary format using DataInputStream and DataOutputStream classes.
This Java code defines a class for storing and managing plugin data, specifically for a text editor application. It provides methods for reading and writing plugin metadata, such as plugin names, URLs, and boolean flags, to and from a file. The data is stored in a binary format using DataInputStream and DataOutputStream classes.
23 package org.gjt.sp.jedit;
25 //{{{ Imports
26 import javax.swing.SwingUtilities;
27 import java.io.*;
28 import java.lang.reflect.Modifier;
29 import java.net.URL;
30 import java.util.*;
31 import java.util.zip.*;
32 import org.gjt.sp.jedit.browser.VFSBrowser;
33 import org.gjt.sp.jedit.buffer.*;
34 import org.gjt.sp.jedit.gui.DockableWindowManager;
haskell.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 181 lines
Output.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 48 lines
✨ Summary
This Java interface defines a console output interface, providing methods for printing text with specified colors and attributes, as well as notifying when a command has finished executing. It allows for customizable output formatting and event handling, making it suitable for use in console applications. The interface is part of the Console package.
This Java interface defines a console output interface, providing methods for printing text with specified colors and attributes, as well as notifying when a command has finished executing. It allows for customizable output formatting and event handling, making it suitable for use in console applications. The interface is part of the Console package.
HtmlDebugDumper.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 87 lines
✨ Summary
This Java code defines a class HtmlDebugDumper
that extends HtmlVisitor
. It is used to dump an HTML document tree to the specified output stream, printing out each tag, comment, text, newline, and blank line in a human-readable format. The main
method demonstrates its usage by parsing an HTML input from standard input and dumping it to standard output.
This Java code defines a class HtmlDebugDumper
that extends HtmlVisitor
. It is used to dump an HTML document tree to the specified output stream, printing out each tag, comment, text, newline, and blank line in a human-readable format. The main
method demonstrates its usage by parsing an HTML input from standard input and dumping it to standard output.
EditAction.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 225 lines
✨ Summary
This Java code defines an abstract class EditAction
that represents a customizable action in the jEdit text editor. It provides methods for getting labels, mouse over messages, and invoking actions, as well as a wrapper class to convert EditActions into AWT ActionListeners for attaching to buttons or menu items.
This Java code defines an abstract class EditAction
that represents a customizable action in the jEdit text editor. It provides methods for getting labels, mouse over messages, and invoking actions, as well as a wrapper class to convert EditActions into AWT ActionListeners for attaching to buttons or menu items.
clsql.lisp
(git://github.com/fukamachi/clack.git)
Lisp · 82 lines
✨ Summary
This Lisp code defines a Clack middleware component for managing CLSQL connections. It provides a way to connect to a database using various connection specifications and types, such as SQLite or MySQL. The middleware automatically disconnects from the database when the request is completed, ensuring that resources are released. It’s designed to be used in web applications with Clack.
This Lisp code defines a Clack middleware component for managing CLSQL connections. It provides a way to connect to a database using various connection specifications and types, such as SQLite or MySQL. The middleware automatically disconnects from the database when the request is completed, ensuring that resources are released. It’s designed to be used in web applications with Clack.
Label.as
(http://flash-ui-framework.googlecode.com/svn/trunk/)
ActionScript · 383 lines
✨ Summary
This is an ActionScript class that represents a Label component. It defines properties and methods for customizing its appearance, layout, and behavior. The class includes features such as text formatting, icon loading, positioning, and size management. It can be used to create customizable labels in a graphical user interface (GUI) application.
This is an ActionScript class that represents a Label component. It defines properties and methods for customizing its appearance, layout, and behavior. The class includes features such as text formatting, icon loading, positioning, and size management. It can be used to create customizable labels in a graphical user interface (GUI) application.
1 package slw.controls
2 {
3 import flash.display.DisplayObject;
4 import flash.display.Loader;
5 import flash.display.LoaderInfo;
6 import flash.display.Sprite;
7 import flash.events.Event;
8 import flash.net.URLRequest;
9 import flash.system.ApplicationDomain;
10 import flash.system.LoaderContext;
11 import flash.text.TextField;
12 import flash.text.TextFieldAutoSize;
TextAreaOptionPane.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 239 lines
✨ Summary
This Java code defines a GUI dialog for configuring text editor settings, such as font, color schemes, anti-aliasing, and other visual options. It provides a user interface with checkboxes, dropdown menus, and color pickers to allow users to customize their text editor’s appearance and behavior. The changes are saved when the user clicks “OK” or closes the dialog.
This Java code defines a GUI dialog for configuring text editor settings, such as font, color schemes, anti-aliasing, and other visual options. It provides a user interface with checkboxes, dropdown menus, and color pickers to allow users to customize their text editor’s appearance and behavior. The changes are saved when the user clicks “OK” or closes the dialog.
23 package org.gjt.sp.jedit.options;
25 //{{{ Imports
26 import javax.swing.*;
27 import java.awt.event.ActionEvent;
28 import java.awt.event.ActionListener;
29 import java.awt.*;
30 import org.gjt.sp.jedit.textarea.AntiAlias;
31 import org.gjt.sp.jedit.jEdit;
32 import org.gjt.sp.jedit.AbstractOptionPane;
33 import org.gjt.sp.jedit.gui.FontSelector;
34 import org.gjt.sp.jedit.gui.ColorWellButton;
BSHMethodInvocation.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 104 lines
✨ Summary
This Java code defines a class BSHMethodInvocation
that extends SimpleNode
. It handles method invocations in BeanShell, a JavaScript-like scripting language for Java. The class evaluates the method invocation with the specified call stack and interpreter, handling exceptions and errors, and returns the result of the method invocation.
This Java code defines a class BSHMethodInvocation
that extends SimpleNode
. It handles method invocations in BeanShell, a JavaScript-like scripting language for Java. The class evaluates the method invocation with the specified call stack and interpreter, handling exceptions and errors, and returns the result of the method invocation.
Jamroot.jam (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
EnhancedDialog.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 161 lines
✨ Summary
This Java code defines an EnhancedDialog class that extends JDialog, handling window closing, ENTER key press, and ESCAPE key press for OK/Cancel buttons. It recursively adds a KeyHandler to all components in the dialog, allowing it to capture key presses and call the ok() or cancel() method accordingly.
This Java code defines an EnhancedDialog class that extends JDialog, handling window closing, ENTER key press, and ESCAPE key press for OK/Cancel buttons. It recursively adds a KeyHandler to all components in the dialog, allowing it to capture key presses and call the ok() or cancel() method accordingly.
jEdit.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 4373 lines
✨ Summary
This Java code is part of a text editor application, managing views and user interactions. It handles view creation, closing, and switching between views. It also manages settings, garbage collection, and memory usage. The code provides methods for getting and setting various properties, such as the number of open views, the currently active view, and whether jEdit is running in background mode.
This Java code is part of a text editor application, managing views and user interactions. It handles view creation, closing, and switching between views. It also manages settings, garbage collection, and memory usage. The code provides methods for getting and setting various properties, such as the number of open views, the currently active view, and whether jEdit is running in background mode.
22 package org.gjt.sp.jedit;
24 //{{{ Imports
25 import org.gjt.sp.jedit.visitors.JEditVisitor;
26 import java.awt.Color;
27 import java.awt.Component;
28 import java.awt.DefaultKeyboardFocusManager;
29 import java.awt.Font;
30 import java.awt.Frame;
31 import java.awt.KeyboardFocusManager;
32 import java.awt.Toolkit;
33 import java.awt.Window;
PluginList.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 453 lines
✨ Summary
This Java code is part of a dependency resolver for a Java-based application. It resolves dependencies between plugins, JDK versions, and JEdit builds to determine which ones can be installed based on their compatibility with each other. The code uses a graph data structure to represent the dependencies and checks if they are satisfied before installing them.
This Java code is part of a dependency resolver for a Java-based application. It resolves dependencies between plugins, JDK versions, and JEdit builds to determine which ones can be installed based on their compatibility with each other. The code uses a graph data structure to represent the dependencies and checks if they are satisfied before installing them.
23 package org.gjt.sp.jedit.pluginmgr;
25 //{{{ Imports
26 import com.microstar.xml.*;
27 import java.io.*;
28 import java.net.URL;
29 import java.util.Hashtable;
30 import java.util.Vector;
31 import java.util.zip.GZIPInputStream;
32 import org.gjt.sp.util.Log;
33 import org.gjt.sp.jedit.*;
34 //}}}
EventDispatcher.as
(http://flowplayer-core.googlecode.com/svn/)
ActionScript · 216 lines
✨ Summary
The EventDispatcher class is a part of the Flowplayer framework, allowing for event handling and listener management. It enables dispatching events to listeners, both in the before phase (e.g., before playback) and the action phase (e.g., during playback). The class provides methods for adding, removing, and unbinding listeners, as well as dispatching external events to plugins.
The EventDispatcher class is a part of the Flowplayer framework, allowing for event handling and listener management. It enables dispatching events to listeners, both in the before phase (e.g., before playback) and the action phase (e.g., during playback). The class provides methods for adding, removing, and unbinding listeners, as well as dispatching external events to plugins.
BrowserCommandsMenu.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 315 lines
✨ Summary
This Java code creates a menu for a file browser application, specifically for handling encoding settings. It provides options to auto-detect the encoding, select an alternative encoding, and set the current encoding. The menu is customizable and can be extended with plugins. It uses a combination of JMenu, JCheckBoxMenuItem, and JRadioButtonMenuItem components to create the user interface.
This Java code creates a menu for a file browser application, specifically for handling encoding settings. It provides options to auto-detect the encoding, select an alternative encoding, and set the current encoding. The menu is customizable and can be extended with plugins. It uses a combination of JMenu, JCheckBoxMenuItem, and JRadioButtonMenuItem components to create the user interface.
PluginTestCollector.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 124 lines
✨ Summary
This Java class, PluginTestCollector
, is a test collector that uses the configured class path to find and collect tests. It scans directories and classes in the classpath, loading each class and creating a description for it as a test suite. The collected tests are then returned as a single description.
This Java class, PluginTestCollector
, is a test collector that uses the configured class path to find and collect tests. It scans directories and classes in the classpath, loading each class and creating a description for it as a test suite. The collected tests are then returned as a single description.
LipstikCheckBoxMenuItemUI.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 26 lines
✨ Summary
This Java code defines a custom UI delegate for a checkbox menu item component, extending LipstikRadioButtonMenuItemUI. It provides a static method createUI
to create an instance of the custom UI delegate class, which is then used to render the checkbox menu item component with a specific prefix. The purpose is to customize the appearance of the checkbox menu item in a GUI application.
This Java code defines a custom UI delegate for a checkbox menu item component, extending LipstikRadioButtonMenuItemUI. It provides a static method createUI
to create an instance of the custom UI delegate class, which is then used to render the checkbox menu item component with a specific prefix. The purpose is to customize the appearance of the checkbox menu item in a GUI application.
SubstanceSplitPaneUI.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 102 lines
✨ Summary
This Java code defines a custom UI for split panes in the Substance look and feel. It extends the BasicSplitPaneUI class to create a unique implementation for split panes, including a PropertyChangeListener that updates one-touch buttons based on orientation changes. The divider is also customized with a new SubstanceSplitPaneDivider class.
This Java code defines a custom UI for split panes in the Substance look and feel. It extends the BasicSplitPaneUI class to create a unique implementation for split panes, including a PropertyChangeListener that updates one-touch buttons based on orientation changes. The divider is also customized with a new SubstanceSplitPaneDivider class.
30 package org.pushingpixels.substance.internal.ui;
32 import java.beans.PropertyChangeEvent;
33 import java.beans.PropertyChangeListener;
35 import javax.swing.JComponent;
36 import javax.swing.JSplitPane;
37 import javax.swing.plaf.ComponentUI;
38 import javax.swing.plaf.basic.BasicSplitPaneDivider;
39 import javax.swing.plaf.basic.BasicSplitPaneUI;
41 import org.pushingpixels.substance.internal.utils.SubstanceCoreUtilities;
ClassesAndJarsValidityState.java (https://bitbucket.org/nbargnesi/idea.git) Java · 68 lines
1 package org.jetbrains.android.compiler;
3 import com.intellij.compiler.CompilerIOUtil;
4 import com.intellij.ide.highlighter.ArchiveFileType;
5 import com.intellij.openapi.compiler.ValidityState;
6 import com.intellij.openapi.fileTypes.StdFileTypes;
7 import com.intellij.openapi.vfs.VirtualFile;
8 import com.intellij.util.containers.HashSet;
9 import org.jetbrains.annotations.NotNull;
11 import java.io.DataInput;
12 import java.io.DataOutput;
13 import java.io.IOException;
JavaUtilities.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 83 lines
✨ Summary
This Java code is part of a plugin for the jEdit text editor, specifically designed to remove string literals from source code and convert package names between forward slashes and dots. It uses regular expressions and string manipulation techniques to achieve these tasks. The code provides utility methods for common programming tasks, making it easier to work with source code in the jEdit environment.
This Java code is part of a plugin for the jEdit text editor, specifically designed to remove string literals from source code and convert package names between forward slashes and dots. It uses regular expressions and string manipulation techniques to achieve these tasks. The code provides utility methods for common programming tasks, making it easier to work with source code in the jEdit environment.
DummyFileSystem.java (https://bitbucket.org/nbargnesi/idea.git) Java · 143 lines
16 package com.intellij.openapi.vfs.ex.dummy;
18 import com.intellij.openapi.vfs.*;
19 import org.jetbrains.annotations.NonNls;
20 import org.jetbrains.annotations.NotNull;
21 import org.jetbrains.annotations.Nullable;
23 import java.io.IOException;
25 public class DummyFileSystem extends DeprecatedVirtualFileSystem implements NonPhysicalFileSystem {
OperatingSystem.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 362 lines
✨ Summary
This Java code defines a class that determines the operating system and Java version of the running application. It uses various methods to detect the OS, including checking system properties and file separators. The detected values are stored in instance variables for later use. The class can be used to customize behavior based on the detected environment.
This Java code defines a class that determines the operating system and Java version of the running application. It uses various methods to detect the OS, including checking system properties and file separators. The detected values are stored in instance variables for later use. The class can be used to customize behavior based on the detected environment.
26 package org.gjt.sp.jedit;
28 import java.awt.GraphicsConfiguration;
29 import java.awt.GraphicsDevice;
30 import java.awt.GraphicsEnvironment;
31 import java.awt.Rectangle;
32 import java.awt.Toolkit;
33 import javax.swing.UIManager;
34 import java.io.File;
35 import java.util.Enumeration;
36 import java.util.Vector;
37 import org.gjt.sp.util.Log;
setClassPath.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 10 lines
DummyFoldHandler.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 58 lines
✨ Summary
This Java class, DummyFoldHandler
, is a fold handler used when folding is disabled. It extends the FoldHandler
class and provides an implementation for getting the fold level of a line in a buffer. The implementation simply returns 0, indicating that no folding is being done. This allows the program to function without folding capabilities.
This Java class, DummyFoldHandler
, is a fold handler used when folding is disabled. It extends the FoldHandler
class and provides an implementation for getting the fold level of a line in a buffer. The implementation simply returns 0, indicating that no folding is being done. This allows the program to function without folding capabilities.
WrapWidgetFactory.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 115 lines
✨ Summary
This Java code defines a WrapWidgetFactory
class that creates a widget for toggling word wrap in a text editor. The widget displays an icon (N, H, or S) to indicate the current word wrap setting and updates its appearance when the setting changes. It is designed to work with the jEdit text editor.
This Java code defines a WrapWidgetFactory
class that creates a widget for toggling word wrap in a text editor. The widget displays an icon (N, H, or S) to indicate the current word wrap setting and updates its appearance when the setting changes. It is designed to work with the jEdit text editor.
25 package org.gjt.sp.jedit.gui.statusbar;
27 //{{{ Imports
28 import java.awt.Dimension;
29 import java.awt.Font;
30 import java.awt.FontMetrics;
31 import java.awt.event.MouseAdapter;
32 import java.awt.event.MouseEvent;
33 import javax.swing.JComponent;
34 import javax.swing.JLabel;
35 import javax.swing.SwingConstants;
36 import org.gjt.sp.jedit.Buffer;
static_const_member_2_runme.py
(https://swig.svn.sourceforge.net/svnroot/swig)
Python · 17 lines
✨ Summary
This Python code attempts to access and manipulate attributes of a class Test_int
and another module Foo
. If any attribute is not accessible, it raises a RuntimeError
. The code also checks if two values in the Foo
module are equal, raising an error if they are not.
This Python code attempts to access and manipulate attributes of a class Test_int
and another module Foo
. If any attribute is not accessible, it raises a RuntimeError
. The code also checks if two values in the Foo
module are equal, raising an error if they are not.
substance.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 117 lines
✨ Summary
This Java code generates an SVG image and paints it on a graphics context using the Graphics2D
class. It applies transformations to scale and position the image, then draws the transformed shape with a black color and a specific stroke width. The resulting image is displayed at a fixed position (-5, -21) within its original bounding box (403x400).
This Java code generates an SVG image and paints it on a graphics context using the Graphics2D
class. It applies transformations to scale and position the image, then draws the transformed shape with a black color and a specific stroke width. The resulting image is displayed at a fixed position (-5, -21) within its original bounding box (403x400).
gtest.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ Header · 2053 lines
35 // included by any test program that uses Google Test.
36 //
37 // IMPORTANT NOTE: Due to limitation of the C++ language, we have to
38 // leave some internal implementation details in this header file.
39 // They are clearly marked by comments like this:
69 // has a different implementation.
70 //
71 // The user can define GTEST_HAS_GLOBAL_STRING to 1 to indicate that
72 // ::string is available AND is a distinct type to ::std::string, or
73 // define it to 0 to indicate otherwise.
74 //
75 // If the user's ::std::string and ::string are the same class due to
76 // aliasing, he should define GTEST_HAS_GLOBAL_STRING to 0.
77 //
78 // If the user doesn't define GTEST_HAS_GLOBAL_STRING, it is defined
Progressive.java (https://bitbucket.org/nbargnesi/idea.git) Java · 24 lines
RDocSeacher.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 236 lines
✨ Summary
This Java code is a Ruby plugin for the JEdit text editor. It allows users to search for Ruby documentation using the ri
command, displaying the results in a dialog box. The plugin remembers previous searches and can be triggered from within the editor by selecting text or pressing a macro.
This Java code is a Ruby plugin for the JEdit text editor. It allows users to search for Ruby documentation using the ri
command, displaying the results in a dialog box. The plugin remembers previous searches and can be triggered from within the editor by selecting text or pressing a macro.
20 package org.jedit.ruby.ri;
22 import org.gjt.sp.jedit.View;
23 import org.gjt.sp.jedit.jEdit;
24 import org.gjt.sp.jedit.Macros;
25 import org.jedit.ruby.ast.Member;
26 import org.jedit.ruby.ast.Method;
27 import org.jedit.ruby.structure.TypeAheadPopup;
28 import org.jedit.ruby.RubyPlugin;
29 import org.jedit.ruby.utils.CommandUtils;
31 import javax.swing.*;
32 import java.awt.event.ActionEvent;
CommandoDialog.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 872 lines
✨ Summary
This Java code defines a graphical user interface (GUI) for a text editor, specifically designed to display and edit settings for a command-line based application. It creates panels for displaying settings, such as checkboxes, dropdown menus, and text areas, allowing users to configure the application’s behavior. The GUI is built using Swing components and layouts.
This Java code defines a graphical user interface (GUI) for a text editor, specifically designed to display and edit settings for a command-line based application. It creates panels for displaying settings, such as checkboxes, dropdown menus, and text areas, allowing users to configure the application’s behavior. The GUI is built using Swing components and layouts.
VcsVirtualFile.java (https://bitbucket.org/nbargnesi/idea.git) Java · 146 lines
16 package com.intellij.openapi.vcs.vfs;
18 import com.intellij.openapi.application.ApplicationManager;
19 import com.intellij.openapi.diagnostic.Logger;
20 import com.intellij.openapi.progress.ProcessCanceledException;
21 import com.intellij.openapi.ui.Messages;
22 import com.intellij.openapi.vcs.VcsBundle;
23 import com.intellij.openapi.vcs.VcsException;
24 import com.intellij.openapi.vcs.history.ShortVcsRevisionNumber;
25 import com.intellij.openapi.vcs.history.VcsFileRevision;
26 import com.intellij.openapi.vcs.history.VcsRevisionNumber;
27 import com.intellij.openapi.vfs.CharsetToolkit;
Display_Abbreviations.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 386 lines
28 * This macro will display a sorted list of all defined abbreviations
29 * in a dialog. A combo box lists all eidting modes for which abbreviations
30 * are currently defined, as well as the "global" abbreviation set.
31 *
32 * Pressing a letter key will cause the table to scroll to the first row
35 * dismissed by clicking "OK" or pressing Esc or Enter.
36 *
37 * The macro has two global constants defined to permit customization of the
38 * script's behavior. STARTING_SET contains the name of the abbreviation set
39 * that will be first displayed. If the other variable, EXCLUDE_EMPTY_SETS,
43 *
44 * The table being displayed at any time is not updated if changes are made to
45 * the abbreviation set in the "Global Options" dialog. If EXCLUDE_EMPTY_SETS
46 * is set to true, the drop-down list will not by updated. Clsoing the dialog
47 * and running the macro again will obtain current data.
ApplicationImpl.java (https://bitbucket.org/nbargnesi/idea.git) Java · 1508 lines
16 package com.intellij.openapi.application.impl;
18 import com.intellij.CommonBundle;
19 import com.intellij.diagnostic.PerformanceWatcher;
20 import com.intellij.diagnostic.PluginException;
21 import com.intellij.ide.*;
22 import com.intellij.ide.plugins.IdeaPluginDescriptor;
23 import com.intellij.ide.plugins.PluginManager;
24 import com.intellij.idea.StartupUtil;
25 import com.intellij.openapi.Disposable;
26 import com.intellij.openapi.application.*;
27 import com.intellij.openapi.application.ex.ApplicationEx;
HelpSearchPanel.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 299 lines
✨ Summary
This Java code implements a help search panel for an IDE (Integrated Development Environment). It allows users to search for specific keywords within the help documentation and displays the results in a list with relative rankings. The user can click on a result to navigate to the corresponding URL in the IDE.
This Java code implements a help search panel for an IDE (Integrated Development Environment). It allows users to search for specific keywords within the help documentation and displays the results in a list with relative rankings. The user can click on a result to navigate to the corresponding URL in the IDE.
TBC.java (https://bitbucket.org/__wp__/mb-linux-msli.git) Java · 118 lines
EuclideanDistance.java (https://bitbucket.org/cbockermann/stream-analysis.git) Java · 49 lines
encoders.py
(git://github.com/IronLanguages/main.git)
Python · 82 lines
✨ Summary
This is a Python script that defines several functions for encoding email messages using different methods, such as Base64, quoted-printable, and 7bit or 8bit. The encode_base64
function sets the Content-Transfer-Encoding header to “base64” and encodes the message’s payload in Base64 format. The encode_quopri
function does the same for quoted-printable encoding, while the encode_7or8bit
function checks if the payload is ASCII-encoded and sets the Content-Transfer-Encoding header to “7bit” or “8bit”, depending on the result. Finally, the encode_noop
function does nothing and leaves the Content-Transfer-Encoding header unchanged.
This is a Python script that defines several functions for encoding email messages using different methods, such as Base64, quoted-printable, and 7bit or 8bit. The encode_base64
function sets the Content-Transfer-Encoding header to “base64” and encodes the message’s payload in Base64 format. The encode_quopri
function does the same for quoted-printable encoding, while the encode_7or8bit
function checks if the payload is ASCII-encoded and sets the Content-Transfer-Encoding header to “7bit” or “8bit”, depending on the result. Finally, the encode_noop
function does nothing and leaves the Content-Transfer-Encoding header unchanged.
messages.json (http://fgs.googlecode.com/svn/trunk/) Unknown · 1 lines
1 {"YouMustSelectAtLeastOnePerson":"\uc801\uc5b4\ub3c4 1\uba85 \uc774\uc0c1 \uc120\ud0dd\ud574\uc57c \ud569\ub2c8\ub2e4","Never":"\uc548\ud568","FailedGifts":"\uc2e4\ud328\ud55c \uc120\ubb3c","ShowAllItems":"\ubaa8\ub4e0 \uc544\uc774\ud15c \ubcf4\uae30","ThankYouGift":"\uac10\uc0ac\uc758 \uc120\ubb3c","FailedBonuses":"\uc2e4\ud328\ud55c \ubcf4\ub108\uc2a4","ToggleFavourite":"\uc990\uaca8\ucc3e\uae30 \ub04c\uc5b4\uc624\uae30","ClickToSendThankYouGift":"\"\uac10\uc0ac \uc120\ubb3c\" \ubcf4\ub0b4\uae30","ThankYouGiftAlreadySent":"'\uac10\uc0ac\uc758 \uc120\ubb3c'\uc744 \uc774\ubbf8 \ubcf4\ub0c8\uc2b5\ub2c8\ub2e4.","ThankYouGiftAlreadySentToday":"\uc624\ub298\uc740 \uc774\ubbf8 \ubcf4\ub2f5\uc744 \ud588\uc2b5\ub2c8\ub2e4.","CollectedBonuses":"\uc218\uc9d1\ub41c \ubcf4\ub108\uc2a4","WaitingForUpdatedNeighborsList":"\uc774\uc6c3 \ubaa9\ub85d \uac31\uc2e0 \uc911","Clear":"\uc9c0\uc6b0\uae30","Bonuses":"\ubcf4\ub108\uc2a4\ub4e4","AreYouSure":"\ud655\uc2e4\ud55c\uac00\uc694?","ClearThisItem":"\uc774 \uc544\uc774\ud15c \uc9c0\uc6b0\uae30","ReadBeforeChangingNotice":"\uc774 \uacf3\uc758 \uc124\uc815\uc744 \ubcc0\uacbd \uc804\uc5d0 \uc77d\uc5b4\ubcf4\uc138\uc694.","LoadingScreenLongWaitNotice":"\ud654\uba74\uc774 \uba48\uccd0\uc11c \uac8c\uc784\uc5d0 \ub4e4\uc5b4\uac00\uc9c0 \ubabb\ud558\uac70\ub098, '\uc751\ub2f5\uc774 \uc5c6\ub294 \uc2a4\ud06c\ub9bd\ud2b8(unresponsive script)'\ub77c\ub294 \ud654\uba74\uc744 \ubcf4\uc5ec\uc900\ub2e4\uba74, '\ube44\uc0c1\ubc84\ud2bc'\uc744 \uc0ac\uc6a9\ud558\uc2dc\uace0, \ubcf4\ub108\uc2a4 \ubaa9\ub85d\uc744 \uc0ad\uc81c\ud558\uc138\uc694.","UseSmallDelayBetweenBonuses":"\ubcf4\ub108\uc2a4\uac04\uc5d0 \uc57d\uac04\uc758 \uc2dc\uac04\ucc28\uac00 \uc18c\ubaa8\ub429\ub2c8\ub2e4.","ErrorWhileSendingThankYouGift":"\uac10\uc0ac \uc120\ubb3c\uc744 \ubcf4\ub0b4\ub294 \uc911 \uc624\ub958\uac00 \uc788\uc5c8\uc2b5\ub2c8\ub2e4.","NoGamesSelectedPleaseSelectSomeBelow":"\uc544\ubb34 \uac8c\uc784\ub3c4 \uc120\ud0dd\ud558\uc9c0 \uc54a\uc73c\uc168\uc5b4\uc694! \uc544\ub798 \uac8c\uc784 \uc911 \uc801\uc5b4\ub3c4 \ud558\ub098\uc758 \uac8c\uc784\uc744 \uc120\ud0dd\ud558\uc138\uc694.","MessageToAddToYourGift":"\uc120\ubb3c\uc5d0 \ucd94\uac00\ud560 \uba54\uc138\uc9c0","SelectFavourites":"\uc120\ud638 \uc774\uc6c3 \uc120\ud0dd","ClickToLoginToFacebook":"FGS: \ud398\uc774\uc2a4\ubd81\uc5d0 \ub85c\uadf8\uc778","ClickToOpenThisItemInNewTab":"\uc0c8 \ud0ed\uc5d0\uc11c \uc5f4\uae30","Day":"__VARIABLE__\uc77c","Days":"__VARIABLE__\uc77c","Hour":"__VARIABLE__\uc2dc\uac04","Hours":"__VARIABLE__\uc2dc\uac04","Items":"__VARIABLE__\uac1c","Minute":"__VARIABLE__\ubd84","Minutes":"__VARIABLE__\ubd84","Seconds":"__VARIABLE__\ucd08","LastGift":"\ucd5c\uadfc \uc120\ubb3c","LastBonus":"\ucd5c\uadfc \ubcf4\ub108\uc2a4","AvailableGames":"\uc81c\uacf5\ub418\ub294 \uac8c\uc784","ShowDescriptions":"\uc124\uba85 \ubcf4\uae30","ThereWasAProblemTryAgainLater":"\ubb38\uc81c\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \ub098\uc911\uc5d0 \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.","ContactInfoNotice":"FGS\uac1c\ubc1c\uc790\uc640 \uc5f0\ub77d\uc774 \ud544\uc694\ud558\ub2e4\uba74 \ub2e4\uc74c\uc758 \ub9c1\ud06c\ub97c \uc774\uc6a9\ud558\uc138\uc694.","ExportInstructions":"- \ub0b4\ubcf4\ub0b4\uae30 \ubc84\ud2bc\uc744 \ub204\ub974\uc2ed\uc2dc\uc624\r\n- \uc704\uc758 \ubb38\uc790\ub97c \uc804\ubd80 \uc120\ud0dd\ud6c4 \uc0c8\ubb38\uc11c\uc5d0 \ubcf5\uc0ac\ud558\uc138\uc694.","BonusesCheckTimeout":"\ubcf4\ub108\uc2a4 \uccb4\ud06c \uc2dc\uac04 \ucd08\uacfc","AutoSendThankYouGift":"'\uac10\uc0ac\uc758 \uc120\ubb3c' \uc790\ub3d9 \ubcf4\ub0b4\uae30","RandomCommentMessages":"\ub79c\ub364 \ub313\uae00 \uba54\uc138\uc9c0","VisitMessageBoardNotice":"\uc5b4\ub5a4 \ubb38\uc81c \ub610\ub294 \ubc84\uadf8\uac00 \ubc1c\uc0dd\ud558\uac70\ub098, \ud30c\uc77c\uc744 \uc694\uccad\ud558\uc2dc\ub294 \uacbd\uc6b0\uc5d0\ub294 FGS \uba54\uc138\uc9c0 \ubcf4\ub4dc\ub97c \ubc29\ubb38\ud558\uc5ec \uc8fc\uc138\uc694.","Options":"\uc635\uc158","SelectNotFavourites":"\ube44\uc120\ud638 \uc774\uc6c3 \uc120\ud0dd","ClickToOpenMenu":"FGS: \uba54\ub274 \ud074\ub9ad","ShowingXItemsFilteredX":"__VARIABLE__\uc544\uc774\ud15c \ubcf4\uae30 \uc911(\ud544\ud130\ub9c1:__VARIABLE__\uac1c)","ClickToLike":"'\uc88b\uc544\uc694' \ud074\ub9ad","LastGiftSent":"\ucd5c\uadfc \ubcf4\ub0b8 \uc120\ubb3c","SendingHistory":"\ubcf4\ub0b8 \uc120\ubb3c \ub0b4\uc5ed","Both":"\ubaa8\ub450 \ud45c\uc2dc","UncheckAll":"\ubaa8\ub450 \uc120\ud0dd \ud574\uc81c","SendingGiftToNumberOfPeople":"_VARIABLE_\uba85\uc5d0\uac8c _VARIABLE_\uc744 \ubcf4\ub0b4\ub294 \uc911\uc785\ub2c8\ub2e4...","No":"\uc544\ub2c8\uc624","ChatRefreshTimeout":"\ub300\ud654 \uac31\uc2e0 \uc2dc\uac04 \ucd08\uacfc","Showing100ItemsTotalX":"100 \uc544\uc774\ud15c \ubcf4\uae30 \uc911 ( \ucd1d _VARIABLE_\uac1c )","DeleteHistoryOlderThan":"\uc624\ub798\ub41c \ubaa9\ub85d \uc0ad\uc81c","FoundCertainAmountOfFeeds":"\ud2b9\uc815 \uac2f\uc218 \uc774\uc0c1\uc758 \ud53c\ub4dc\ub97c \ucc3e\uc744 \uacbd\uc6b0","StopSearchingForFeedsWhen":"\ud53c\ub4dc \uac80\uc0c9\uc744 \uc911\uc9c0\ud560 \uacbd\uc6b0","BonusesAreOlderThanSpecifiedTime":"\ud2b9\uc815 \uc2dc\uac04 \uc774\uc0c1 \uc624\ub798\ub41c \ubcf4\ub108\uc2a4\uc77c \uacbd\uc6b0","ItemsRequiringAction":"\ub3d9\uc791\uc774 \ud544\uc694\ud55c \uc544\uc774\ud15c","DatabaseName":"\uc800\uc7a5\ub41c \uc774\ub984","DatabaseCount":"\uc800\uc7a5\ub41c \ud69f\uc218","OnlyDescriptions":"\uc124\uba85\ub9cc \ud45c\uc2dc","OpenGiftlist":"\uc120\ubb3c \ubaa9\ub85d \uc5f4\uae30","Yes":"\uc608","MainOptions":"\uc8fc \uc124\uc815","ImportExport":"\uac00\uc838\uc624\uae30 \/ \ub0b4\ubcf4\ub0b4\uae30","OlderThan":"__VARIABLE__ \ubcf4\ub2e4 \uc624\ub798\ub41c","ShowItemsDescriptions":"FGS\uc2dc\uc791\uc2dc \uc544\uc774\ud15c\uc758 \uc790\uc138\ud55c \uc815\ubcf4\ub97c \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.","DeleteBonusesOlderThan":"\uc624\ub798\ub41c \ubcf4\ub108\uc2a4 \uc0ad\uc81c","LoadingNeighborsPleaseWait":"\uc774\uc6c3 \uc815\ubcf4\ub97c \uc77d\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc7a0\uc2dc\ub9cc \uae30\ub2e4\ub824\uc8fc\uc138\uc694.","SetupCommentsBeforePosting":"'\ud3ec\uc2a4\ud2b8\uc5d0 \ub313\uae00'\uc744 \uc0ac\uc6a9\ud558\uae30\uc804\uc5d0, \ub313\uae00('\uc635\uc158' -> '\uc124\uc815')\uc774 \ucd5c\uc18c\ud55c \ud55c\uac1c\ub294 \uc124\uc815\ud574\uc57c \ub429\ub2c8\ub2e4.","OnlyTitles":"\uc81c\ubaa9\ub9cc \ud45c\uc2dc","ErrorWhileSendingGiftNotice":"\uc120\ubb3c\uc744 \ubcf4\ub0b4\ub294\ub370 \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \ubc1c\uc0dd\ud55c \ubb38\uc81c\ub294 \uc774\uac83\ub4e4 \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. - \uc774 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ud1b5\ud574 \uc120\ubb3c\uc744 \ubcf4\ub0b4\ub294\ub370 \ud398\uc774\uc2a4\ubd81 \ub9ac\ubbf8\ud2b8\uc5d0 \ub3c4\ub2ec\ud588\uc2b5\ub2c8\ub2e4 - \uc811\uc18d \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4 - \ub2f9\uc2e0\uc758 \ub808\ubca8\uc5d0\uc11c \ubcf4\ub0bc \uc218 \uc5c6\ub294 \uc120\ubb3c\uc744 \uc120\ud0dd\ud558\uc168\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \ud55c \ubc88 \uc2dc\ub3c4\ud574\ubcf4\uc138\uc694.","LanguageChanged":"\uc5b8\uc5b4 \uc124\uc815\uc774 \ubcc0\uacbd \ub418\uc5c8\uc2b5\ub2c8\ub2e4. FGS \uc544\uc774\ucf58\uc744 \ub20c\ub7ec \uc0c8\ub85c\uace0\uce68 \ud574\uc8fc\uc138\uc694.","Enable":"\ud65c\uc131\ud654","Receive":"\ubc1b\uae30","CopyLink":"\uc8fc\uc18c \ubcf5\uc0ac","InProgress":"\uc9c4\ud589 \uc911","UsersOnline":"\uc628\ub77c\uc778 \uc0ac\uc6a9\uc790\ub4e4","GoToThisGame":"\uc774 \uac8c\uc784\uc73c\ub85c \uac00\uae30","ScreenIsLocked":"\ud654\uba74 \uc7a0\uae08 \uc0c1\ud0dc(\uc7a0\uae08 \ud574\uc81c\ub97c \uc704\ud574 \ud074\ub9ad\ud558\uc138\uc694)","StopCollecting":"\uc218\uc9d1 \uc911\ub2e8","AdvancedOptions":"\uc0c1\uc138 \uc124\uc815","ReceiveThisItem":"\uc774 \uc544\uc774\ud15c \ubc1b\uae30","ImportSuccessful":"\uc131\uacf5\uc801\uc73c\ub85c \uac00\uc838\uc624\uae30\ub97c \uc644\ub8cc \ud558\uc600\uc2b5\ub2c8\ub2e4. \uc774 \ud398\uc774\uc9c0\ub97c \ub2e4\uc2dc \uc5f4\ub824\uba74 FGS \uc544\uc774\ucf58\uc744 \uc0ac\uc6a9 \ud574\uc8fc\uc138\uc694.","ScreenIsUnlocked":"\ud654\uba74 \uc7a0\uae08 \ud574\uc81c \uc0c1\ud0dc(\uc7a0\uae08\uc744 \uc704\ud574 \ud074\ub9ad\ud558\uc138\uc694)","SelectAsDefaultGift":"\uae30\ubcf8 \uc120\ubb3c\ub85c \uc120\ud0dd\ud558\uae30","ImportExportSettings":"\uac00\uc838\uc624\uae30 \/ \ub0b4\ubcf4\ub0b4\uae30 \uc124\uc815","DebugItem":"\ub514\ubc84\uadf8(\uac1c\ubc1c\uc790\uc6a9)","ImportError":"\uac00\uc838\uc624\uae30 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4. \ud30c\uc77c\uc5d0\uc11c \uc804\uccb4 \ubb38\uc790\ub97c \ubcf5\uc0ac\ud558\uc5ec \uc0ac\uc6a9\ud558\uc138\uc694.","NoFiltersAdded":"\uc544\uc9c1 \uc5b4\ub5a4 \ud544\ud130\ub3c4 \ucd94\uac00\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4. \r\n\uc6d0\ud558\uc9c0 \uc54a\ub294 \ubcf4\ub108\uc2a4\ub97c \uc120\ud0dd \ud6c4\uc5d0 \uc6b0\ud074\ub9ad \ud6c4 \"\uc774\uc640 \uac19\uc740 \uc885\ub958\uc758 \ubcf4\ub108\uc2a4\ub294 \uc218\uc9d1\ud558\uc9c0 \uc54a\uc74c(Don't collect this type of bonuses)\"\uc744 \uc120\ud0dd\ud558\uc138\uc694.","ClearThisGameSettings":"\ub2f9\uc2e0\uc740 \uc774 \uac8c\uc784\uc758 \uc124\uc815\uacfc \uc800\uc7a5\ubaa9\ub85d\uc744 \uc0ad\uc81c\ud558\uaca0\uc2b5\ub2c8\uae4c?(\ucd94\ucc9c\ud568)","HideLimitErrorBonusFromFBFeed":"\ud398\uc774\uc2a4\ubd81 \uc694\uccad\uc5d0\uc11c 'Limit error' \ubcf4\ub108\uc2a4 \uc228\uae30\uae30","HideSuccessfulBonusFromFBFeed":"\ud398\uc774\uc2a4\ubd81 \uc694\uccad\uc5d0\uc11c \uc131\uacf5\ud55c \ubcf4\ub108\uc2a4 \uc228\uae30\uae30","YouHaveAlreadyPostedCommentOnThis":"\uc774\ubbf8 \uc774 \ud3ec\uc2a4\ud305\uc5d0 '\ub313\uae00'\uc744 \ub2ec\uc558\uc2b5\ub2c8\ub2e4.","Neighbors":"\uc774\uc6c3","AutoLikeBonuses":"\ubcf4\ub108\uc2a4\uc5d0 \uc790\ub3d9\uc73c\ub85c '\uc88b\uc544\uc694'\ud558\uae30 (\uc704\ud5d8)","EnabledGames":"\ud65c\uc131\ud654 \ub41c \uac8c\uc784","SelectFGSLanguage":"FGS \uc5b8\uc5b4 \uc120\ud0dd","OpenInNewTabAndClear":"\uc0c8 \ud0ed\uc5d0\uc11c \uc5f4\uace0 \uc0ad\uc81c","HowManyBonusesToCollectAtOnce":"FGS\uac00 \ud55c\ubc88\uc5d0 \uba87 \uac1c\uc758 \ubcf4\ub108\uc2a4\ub97c \uc218\uc9d1\ud560\uae4c\uc694? (\uc544\uc8fc \ube60\ub978 \uc778\ud130\ub137 \uc18d\ub3c4\ub97c \uac00\uc9c4 \uacbd\uc6b0\uc5d0\ub9cc \uc218\uc815\ud558\uae30\ub97c \uad8c\uc7a5)","Contact":"\uc5f0\ub77d\ucc98","SaveComment":"\ub313\uae00 \uc800\uc7a5","DeleteComment":"\ub313\uae00 \uc0ad\uc81c","ShowingAllItems":"\ubaa8\ub4e0 \uc544\uc774\ud15c \ubcf4\uae30 \uc911","YouHaveAlreadyLikedThis":"\uc774\ubbf8 \uc774 \ud3ec\uc2a4\ud305\uc5d0 '\uc88b\uc544\uc694' \ud588\uc2b5\ub2c8\ub2e4.","MustCheckListMeOnNeighborsSearchBeforeSearch":"\uc774\uc6c3\uc744 \ucc3e\uc544\ubcf4\uae30 \uc804\uc5d0 '\uc774\uc6c3 \ucc3e\uae30 \ubaa9\ub85d\uc5d0 \ud45c\uc2dc\ub418\uc5b4\ub3c4 \uc88b\uc74c'\uc744 \uccb4\ud06c\ud574\uc57c \ud569\ub2c8\ub2e4.","Message":"\uba54\uc2dc\uc9c0","AvailableGifts":"\uc720\ud6a8\ud55c \uc120\ubb3c\ub4e4","CollectedGifts":"\uc218\uc9d1\ub41c \uc120\ubb3c","ResetItemsQueue":"\uc544\uc774\ud15c \ubc1b\uae30 \uc608\uc57d \ucd08\uae30\ud654","DonateNotice":"FGS\uac00 \uc720\uc6a9\ud558\ub2e4\uace0 \uc0dd\uac01\ud558\uc2e0\ub2e4\uba74 \uae30\ubd80\ub97c \ubd80\ud0c1\ub4dc\ub9bd\ub2c8\ub2e4.","GameSelector":"\uac8c\uc784 \uc120\ud0dd","ImportInstructions":"- \uc774\uc804\uc758 \ub0b4\ubcf4\ub0b4\uae30 \uc124\uc815\uc744 \uc800\uc7a5\ud55c \ud30c\uc77c\uc744 \uc5ec\uc138\uc694.\r\n- \uc804\uc81c \ubb38\uc790\ub97c \uc120\ud0dd\ud6c4\r\n- \uc704\uc758 \uc0c1\uc790\uc5d0 \ubb38\uc790\ub97c \ubd99\uc5ec\ub123\uace0, \uac00\uc838\uc624\uae30 \ubc84\ud2bc\uc744 \ub204\ub974\uc138\uc694.","AdvancedOptionsNotice":"\ubb34\ubaa8\ud558\uac8c \uc124\uc815\uc744 \ubcc0\uacbd\ud558\uba74 FGS\uc758 \uc791\ub3d9 \uc911\uc9c0\ub97c \uc57c\uae30\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4(\ub610\ub294 \uc2dc\uc791\uc2dc \ub85c\ub529\uacfc\uc815\uc774 30~60\ubd84 \uc774\uc0c1 \uc99d\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4). \uc774 \uc124\uc815\uc740 \uace0\uae09\uc0ac\uc6a9\uc790(\uadf8\ub9ac\uace0 \uace0\uc18d \uc778\ud130\ub137\uc744 \uc774\uc6a9\ud558\ub294 \uacbd\uc6b0)\ub97c \uc704\ud55c \uac83\uc785\ub2c8\ub2e4. FGS\ub294 2500\uac1c \uc774\uc0c1\uc758 \ubcf4\ub108\uc2a4\ub97c \ud55c\ubc88\uc5d0 \ud5c8\uc6a9\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.(\ucd5c\ub300\uce58 \ubc0f \ucd5c\ub300\uce58\uc758 \uc99d\uac00\ub97c \ubcc0\uacbd\uc2dc\ud0ac \uc218 \uc5c6\ub3c4\ub85d \ud504\ub85c\uadf8\ub7a8 \ub418\uc5b4\uc788\uc2b5\ub2c8\ub2e4.)\r\n\uc774 \ub9d0\uc758 \uc758\ubbf8\ub294 \ud558\ub8e8\uc774\uc0c1 \uacbd\uacfc\ub41c \ubcf4\ub108\uc2a4\ub97c \uc218\uc9d1\ud558\ub354\ub77c\ub3c4 2500\uac1c \uc774\uc0c1\uc758 \ubcf4\ub108\uc2a4\uac00 \uc788\uc744 \uacbd\uc6b0 FGS\ub294 \uc791\ub3d9 \uc911\uc9c0\ud560 \uac83\uc785\ub2c8\ub2e4.\r\n\ub610\ud55c \ubaa9\ub85d\uc5d0 \ud604\uc7ac \uc874\uc7ac\ud558\uac70\ub098 \uacfc\uac70\uc5d0 \uc788\uc5c8\ub358 \ubcf4\ub108\uc2a4\ub97c \ucc3e\uc544\ub3c4 \uc911\uc9c0\ud560 \uac83\uc785\ub2c8\ub2e4.","NoCommentsAddedPleaseAddSomeBelow":"\uc544\uc9c1 \uc5b4\ub5a4 \ub313\uae00\ub3c4 \ucd94\uac00\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4. \r\n\ubcf4\ub108\uc2a4 \uc218\uc9d1\uc774 \uc131\uacf5\uc801\uc77c \ub54c \"\ud3ec\uc2a4\ud130 \ub79c\ub364 \ub313\uae00(Post random comment)\"\uc774 \uac00\ub2a5\ud558\ub3c4\ub85d \ub313\uae00\uc744 \ucd94\uac00\ud558\uc138\uc694.","Gifts":"\uc120\ubb3c\ub4e4","TotalGiftsSent":"\ubcf4\ub0b8 \uc804\uccb4 \uc120\ubb3c","FavouriteNeighbors":"\uc120\ud638 \uc774\uc6c3","ListMeOnNeighborsSearch":"\ub098\ub97c \uc774\uc6c3 \uac80\uc0c9 \ubaa9\ub85d\uc5d0 \ub4f1\ub85d","ReceiveGiftsFromAllGames":"\ubaa8\ub4e0 \uac8c\uc784 \uc120\ubb3c \ubc1b\uae30","ReceiveBonusesFromAllGames":"\ubaa8\ub4e0 \uac8c\uc784 \ubcf4\ub108\uc2a4 \ubc1b\uae30","ShowThisGameBonusesOnFGSStart":"FGS \uc2dc\uc791 \uc2dc\uc5d0 \uc774 \uac8c\uc784 \ubcf4\uc5ec\uc8fc\uae30","UseFacebookLanguage":"Facebook \uc5b8\uc5b4 \uc124\uc815 \uc801\uc6a9 (\uac00\ub2a5\ud560 \uacbd\uc6b0)","SimpleFilter":"\uac04\ub2e8\ud55c \ud544\ud130","ClickToPostComment":"'\ub313\uae00 \uc4f0\uae30' \ud074\ub9ad","ThesePeopleAreLookingForNeighbors":"\uc774 \uc0ac\ub78c\ub4e4\uc774 \uc774\uc6c3\uc744 \ucc3e\uace0 \uc788\uc2b5\ub2c8\ub2e4.","NoPeopleLookingForNeighborsInThisGame":"\uc774 \uac8c\uc784\uc5d0\ub294 \uc544\uc9c1 \uc774\uc6c3\uc744 \ucc3e\ub294 \uc0ac\ub78c\ub4e4\uc774 \uc5c6\uc2b5\ub2c8\ub2e4.","Import":"\uac00\uc838\uc624\uae30","HowToExport":"\ub0b4\ubcf4\ub0b4\ub294 \ubc29\ubc95","Chat":"\ub300\ud654","DeleteFilter":"\ud544\ud130 \uc0ad\uc81c","ClickAboveToLoadYourNeighborsList":"\uc774\uc6c3 \ubaa9\ub85d\uc744 \ubd88\ub7ec\uc624\ub824\uba74 \uc704\ub97c \ud074\ub9ad\ud558\uc138\uc694","ClickAboveToStartSearchingForNeighbors":"\uc774\uc6c3 \ucc3e\uae30\ub97c \uc2dc\uc791\ud558\ub824\uba74 \uc704\ub97c \ud074\ub9ad\ud558\uc138\uc694","Export":"\ub0b4\ubcf4\ub0b4\uae30","HowToImport":"\uac00\uc838\uc624\ub294 \ubc29\ubc95","DatabaseUsageForGame":"\ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \uc774 \uac8c\uc784\uc5d0 \uc0ac\uc6a9\ud568","HiddenFeedNotice":"\ubcf4\ub108\uc2a4 \uc218\uc9d1 \uc5d0\ub7ec. \ub274\uc2a4\ud53c\ub4dc\uc5d0\uc11c \ud574\ub2f9 \uac8c\uc784\uc744 \uc228\uae40\uc73c\ub85c \uc124\uc815\ud574\ub193\uc558\uc744 \uac00\ub2a5\uc131\uc774 \uc788\uc2b5\ub2c8\ub2e4. '\uc228\uae40' \ud574\uc81c\ud558\uae30: \ud398\uc774\uc2a4\ubd81 \uc811\uc18d, \ub274\uc2a4\ud53c\ub4dc \uba54\ub274\ub97c \ud074\ub9ad\ud55c\ub2e4. \ud398\uc774\uc9c0 \ub9e8 \uc544\ub798\ucabd \uc635\uc158 \uc124\uc815 \ubc14 (\ud398\uc774\uc2a4\ubd81 \uc800\uc791\uad8c \uad00\ub828 \uc815\ubcf4 \ubc14\ub85c \uc704)\uae4c\uc9c0 \uc2a4\ud06c\ub864\uc744 \ub0b4\ub9b0\ub2e4. (\uc2a4\ud06c\ub864 \uc911, \uc544\uc9c1 \ub9e8 \uc544\ub798\uac00 \uc544\ub2c8\ub77c\ub294 \uac83\uc740 \ub85c\ub529 \ud0c0\uc774\uba38-\uae5c\ube61\uc774\ub294 \ub9c9\ub300 \uc138 \uac1c-\ub85c \uc54c \uc218 \uc788\ub2e4.) \uc635\uc158 \uc124\uc815 \ubc14\uc5d0\ub294 \ub450\uac00\uc9c0 \uc124\uc815\uc774 \uc788\ub2e4: -1- \uc9c0\ub09c \uac8c\uc2dc\ubb3c (\ub354 \uc624\ub798\ub41c \uae00\uae4c\uc9c0 \ubcf4\uae30) -2- \uc635\uc158 \ud3b8\uc9d1. \uc5ec\uae30\uc11c -2-\ub97c \uc120\ud0dd\ud558\uba74 \ud31d\uc5c5\ucc3d\uc774 \ub728\ub294\ub370 '\ub2e4\uc74c \uac8c\uc2dc\ubb3c \ubcf4\uae30'\uc640 '\uc228\uaca8\uc9c4 \uc791\uc131\uc790'\ub97c \uc124\uc815\ud560 \uc218 \uc788\ub2e4. \uc774 \uc911\uc5d0\uc11c \ud574\ub2f9 \uac8c\uc784\uc758 \uc228\uae40\uc744 \ud574\uc81c\ud558\uba74 \ub41c\ub2e4. (\uac00\uc774\ub4dc\ub97c \uc81c\uacf5\ud55c Raymond\uc5d0\uac8c \uac10\uc0ac\ub4dc\ub9bd\ub2c8\ub2e4.)","DatabaseUsageForAllGames":"\ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \ubaa8\ub4e0 \uac8c\uc784\uc5d0 \uc0ac\uc6a9\ud568","Success":"\uc131\uacf5","Cancel":"\ucde8\uc18c","LoadList":"\ubaa9\ub85d \ubd88\ub7ec\uc624\uae30","Send":"\ubcf4\ub0b4\uae30!","ClearHistory":"\uae30\ub85d \uc0ad\uc81c","ClearEverything":"\ubaa8\ub450 \uc0ad\uc81c","ReceiveVisibleItems":"\ubcf4\uc774\ub294 \ud56d\ubaa9 \ubc1b\uae30","SendGifts":"\uc120\ubb3c \ubcf4\ub0b4\uae30","Filters":"\ud544\ud130","ClearVisibleItems":"\ubcf4\uc774\ub294 \ud56d\ubaa9 \uc0ad\uc81c","Actions":"\ub3d9\uc791","ReceiveAllItems":"\ubaa8\ub4e0 \uc544\uc774\ud15c \ubc1b\uae30","FindNewNeighbors":"\uc0c8\ub85c\uc6b4 \uc774\uc6c3 \ucc3e\uae30","PanicButton":"\ube44\uc0c1 \ubc84\ud2bc(FGS\uac00 \ub290\ub9b4 \ub54c \uc0ac\uc6a9)","Search":"\uac80\uc0c9","TotalGifts":"\uc804\uccb4 \uc120\ubb3c","All":"\ubaa8\ub450","Name":"\uc774\ub984","Select":"\uc120\ud0dd","NotLoadedYetPleaseWait":"FGS \ub85c\ub529\uc911...\uc7a0\uc2dc \uae30\ub2e4\ub824\uc8fc\uc138\uc694","TotalBonuses":"\uc804\uccb4 \ubcf4\ub108\uc2a4","Wait":"\uae30\ub2e4\ub824\uc8fc\uc138\uc694"}
template_typedef_import.list (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 3 lines
FireTo.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 90 lines
✨ Summary
This Java class represents a fire action in an Android game. It extends ActionEvent and tracks the movement of a fireball from its initial position to a target location, updating its position based on velocity and collision detection with boundaries. When the fireball reaches its destination, it is considered complete. The class provides methods for loading, updating, and checking completion status.
This Java class represents a fire action in an Android game. It extends ActionEvent and tracks the movement of a fireball from its initial position to a target location, updating its position based on velocity and collision detection with boundaries. When the fireball reaches its destination, it is considered complete. The class provides methods for loading, updating, and checking completion status.
CCUISlider.java
(http://creativecomputing.googlecode.com/svn/trunk/)
Java · 0 lines
✨ Summary
This Java code defines a custom UI component, CCUIValueElement
, which represents a slider control with additional features such as keyboard input and presetting values. It handles user interactions like mouse events, key presses, and drawing on the screen. The component also supports blending and normalizing values within a specified range.
This Java code defines a custom UI component, CCUIValueElement
, which represents a slider control with additional features such as keyboard input and presetting values. It handles user interactions like mouse events, key presses, and drawing on the screen. The component also supports blending and normalizing values within a specified range.
1 package cc.creativecomputing.ui;
3 import java.awt.event.KeyEvent;
5 import cc.creativecomputing.control.CCControlUI;
6 import cc.creativecomputing.events.CCKeyEvent;
7 import cc.creativecomputing.events.CCMouseEvent;
8 import cc.creativecomputing.graphics.CCColor;
9 import cc.creativecomputing.graphics.CCGraphics;
10 import cc.creativecomputing.graphics.font.text.CCText;
11 import cc.creativecomputing.math.CCMath;
12 import cc.creativecomputing.math.CCVecMath;
13 import cc.creativecomputing.math.CCVector2f;
Prime Numbers, Factorization and Euler Function .html
(http://mycila.googlecode.com/svn/)
HTML · 784 lines
✨ Summary
This HTML code is a TopCoder competition page, displaying problem information and related content. It includes a table with problem details, a right column with additional content, and a footer with copyright information and links to other TopCoder resources. The page also tracks user interactions using Google Analytics.
This HTML code is a TopCoder competition page, displaying problem information and related content. It includes a table with problem details, a right column with additional content, and a footer with copyright information and links to other TopCoder resources. The page also tracks user interactions using Google Analytics.
50 <div id="shortcutBar">
51 <div class="icon"><a href="http://www.topcoder.com/tc"><img src="Prime%20Numbers,%20Factorization%20and%20Euler%20Function%20_files/scHome.png" alt="" onmouseover="postPopUpText('globalPopupText','Home'); popUp(this,'globalPopup');" onmouseout="popHide()"></a></div>
52 <div class="icon"><a href="javascript:arena();"><img src="Prime%20Numbers,%20Factorization%20and%20Euler%20Function%20_files/scAlgo.png" alt="" onmouseover="postPopUpText('globalPopupText','Algorithm Competitions'); popUp(this,'globalPopup');" onmouseout="popHide()"></a></div>
53 <div class="icon"><a href="http://www.topcoder.com/tc?module=ActiveContests&pt=23"><img src="Prime%20Numbers,%20Factorization%20and%20Euler%20Function%20_files/scConceptualization.png" alt="" onmouseover="postPopUpText('globalPopupText','Software Conceptualization Competitions'); popUp(this,'globalPopup');" onmouseout="popHide()"></a></div>
54 <div class="icon"><a href="http://www.topcoder.com/tc?module=ActiveContests&pt=6"><img src="Prime%20Numbers,%20Factorization%20and%20Euler%20Function%20_files/scSpecification.png" alt="" onmouseover="postPopUpText('globalPopupText','Software Specification Competitions'); popUp(this,'globalPopup');" onmouseout="popHide()"></a></div>
55 <div class="icon"><a href="http://www.topcoder.com/tc?module=ActiveContests&pt=7"><img src="Prime%20Numbers,%20Factorization%20and%20Euler%20Function%20_files/scArchitecture.png" alt="" onmouseover="postPopUpText('globalPopupText','Software Architecture Competitions'); popUp(this,'globalPopup');" onmouseout="popHide()"></a></div>
56 <div class="icon"><a href="http://www.topcoder.com/tc?module=ViewActiveContests&ph=112"><img src="Prime%20Numbers,%20Factorization%20and%20Euler%20Function%20_files/scDesign.png" alt="" onmouseover="postPopUpText('globalPopupText','Component Design Competitions'); popUp(this,'globalPopup');" onmouseout="popHide()"></a></div>
57 <div class="icon"><a href="http://www.topcoder.com/tc?module=ViewActiveContests&ph=113"><img src="Prime%20Numbers,%20Factorization%20and%20Euler%20Function%20_files/scDevelopment.png" alt="" onmouseover="postPopUpText('globalPopupText','Component Development Competitions'); popUp(this,'globalPopup');" onmouseout="popHide()"></a></div>
59 <div class="icon"><a href="http://www.topcoder.com/tc?module=ViewAssemblyActiveContests"><img src="Prime%20Numbers,%20Factorization%20and%20Euler%20Function%20_files/scAssembly.png" alt="" onmouseover="postPopUpText('globalPopupText','Software Assembly Competitions'); popUp(this,'globalPopup');" onmouseout="popHide()"></a></div>
60 <div class="icon"><a href="javascript:arena();"><img src="Prime%20Numbers,%20Factorization%20and%20Euler%20Function%20_files/scTCHS.png" alt="" onmouseover="postPopUpText('globalPopupText','High School Competitions'); popUp(this,'globalPopup');" onmouseout="popHide()"></a></div>
61 <div class="icon"><a href="http://www.topcoder.com/longcontest/?module=ViewActiveContests"><img src="Prime%20Numbers,%20Factorization%20and%20Euler%20Function%20_files/scMarathon.png" alt="" onmouseover="postPopUpText('globalPopupText','Marathon Matches'); popUp(this,'globalPopup');" onmouseout="popHide()"></a></div>