changelog
来自「linux下建立JAVA虚拟机的源码KAFFE」· 代码 · 共 1,613 行 · 第 1/5 页
TXT
1,613 行
* javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): Activate the cell editing on character keystroke.2006-03-18 Mark Wielaard <mark@klomp.org> * java/awt/Component.java (eventTypeEnabled): Handle MouseEvent.MOUSE_WHEEL. * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent): New callback method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (AWT_MOUSE_WHEEL): New constant. (AWT_WHEEL_UNIT_SCROLL): Likewise. (postMouseWheelEventID): New static variable. (cp_gtk_component_init_jni): Record postMouseWheelEventID. (cp_gtk_component_connect_mouse_signals): Connect scroll-event. (button_number): Renamed to ... (button_number_direction): variable to hold button number or scroll direction. (component_button_press_cb): Use button_number_direction. (component_scroll_cb): New static callback function.2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> * javax.swing.JTable.java (TableTextField.scrollRectToVisible): Return without action.2006-03-18 Mark Wielaard <mark@klomp.org> * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent): Don't cast graphics object to GdkGraphics. (updateComponent): Likewise.2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> * examples/gnu/classpath/examples/swing/TableDemo.java (TModel.getColumnClass): Set second column to Icon. (TModel.isCellEditable): Say icons are not editable. (createContent): Fill the in second column with some icons from MetalIconFactory.2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> * examples/gnu/classpath/examples/swing/Demo.java (mkButtonBar): Set maximal button bar height to the preferred height.2006-03-18 Roman Kennke <kennke@aicas.com> * javax/swing/plaf/basic/BasicComboPopup.java (show): Substract insets from scroller width. (getPopupHeightForRowCount): If height==0, return a default of 100 instead for empty ComboBoxes.2006-03-18 Roman Kennke <kennke@aicas.com> * javax/swing/plaf/basic/BasicLookAndFeel.java (PopupHelper.autoClosePopups): Removed field. (PopupHelper.mousePressed): Removed processing of registered autoclose popups. (registerForAutoClose): Removed unneeded method. (autoClosePopups): Removed unneeded method. (registerForAutoClose): Removed unneeded method.2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> * javax.swing.JTable.java (TableTextField): Set border. (moveToCellBeingEdited): Do not adjust the editor boundaries2006-03-18 Michael Koch <konqueror@gmx.de> * resource/gnu/java/locale/LocaleInformation_aa.properties, resource/gnu/java/locale/LocaleInformation_af.properties, resource/gnu/java/locale/LocaleInformation_am.properties, resource/gnu/java/locale/LocaleInformation_ar.properties, resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties, resource/gnu/java/locale/LocaleInformation_be.properties, resource/gnu/java/locale/LocaleInformation_bg.properties, resource/gnu/java/locale/LocaleInformation_bn.properties, resource/gnu/java/locale/LocaleInformation_ca.properties, resource/gnu/java/locale/LocaleInformation_cs.properties, resource/gnu/java/locale/LocaleInformation_cy.properties, resource/gnu/java/locale/LocaleInformation_da.properties, resource/gnu/java/locale/LocaleInformation_de.properties, resource/gnu/java/locale/LocaleInformation_de_CH.properties, resource/gnu/java/locale/LocaleInformation_dz.properties, resource/gnu/java/locale/LocaleInformation_en.properties, resource/gnu/java/locale/LocaleInformation_eo.properties, resource/gnu/java/locale/LocaleInformation_es.properties, resource/gnu/java/locale/LocaleInformation_et.properties, resource/gnu/java/locale/LocaleInformation_eu.properties, resource/gnu/java/locale/LocaleInformation_fa.properties, resource/gnu/java/locale/LocaleInformation_fa_AF.properties, resource/gnu/java/locale/LocaleInformation_fi.properties, resource/gnu/java/locale/LocaleInformation_fo.properties, resource/gnu/java/locale/LocaleInformation_fr.properties, resource/gnu/java/locale/LocaleInformation_ga.properties, resource/gnu/java/locale/LocaleInformation_gl.properties, resource/gnu/java/locale/LocaleInformation_gu.properties, resource/gnu/java/locale/LocaleInformation_he.properties, resource/gnu/java/locale/LocaleInformation_hi.properties, resource/gnu/java/locale/LocaleInformation_hr.properties, resource/gnu/java/locale/LocaleInformation_hu.properties, resource/gnu/java/locale/LocaleInformation_hy.properties, resource/gnu/java/locale/LocaleInformation_id.properties, resource/gnu/java/locale/LocaleInformation_is.properties, resource/gnu/java/locale/LocaleInformation_it.properties, resource/gnu/java/locale/LocaleInformation_ja.properties, resource/gnu/java/locale/LocaleInformation_ka.properties, resource/gnu/java/locale/LocaleInformation_km.properties, resource/gnu/java/locale/LocaleInformation_ko.properties, resource/gnu/java/locale/LocaleInformation_lo.properties, resource/gnu/java/locale/LocaleInformation_lt.properties, resource/gnu/java/locale/LocaleInformation_lv.properties, resource/gnu/java/locale/LocaleInformation_mk.properties, resource/gnu/java/locale/LocaleInformation_mr.properties, resource/gnu/java/locale/LocaleInformation_ms.properties, resource/gnu/java/locale/LocaleInformation_mt.properties, resource/gnu/java/locale/LocaleInformation_nb.properties, resource/gnu/java/locale/LocaleInformation_nl.properties, resource/gnu/java/locale/LocaleInformation_nn.properties, resource/gnu/java/locale/LocaleInformation_om.properties, resource/gnu/java/locale/LocaleInformation_pl.properties, resource/gnu/java/locale/LocaleInformation_ps.properties, resource/gnu/java/locale/LocaleInformation_pt.properties, resource/gnu/java/locale/LocaleInformation_pt_PT.properties, resource/gnu/java/locale/LocaleInformation_ro.properties, resource/gnu/java/locale/LocaleInformation_ru.properties, resource/gnu/java/locale/LocaleInformation_sk.properties, resource/gnu/java/locale/LocaleInformation_sl.properties, resource/gnu/java/locale/LocaleInformation_so.properties, resource/gnu/java/locale/LocaleInformation_sq.properties, resource/gnu/java/locale/LocaleInformation_sr.properties, resource/gnu/java/locale/LocaleInformation_sr_Latn.properties, resource/gnu/java/locale/LocaleInformation_sv.properties, resource/gnu/java/locale/LocaleInformation_sw.properties, resource/gnu/java/locale/LocaleInformation_ta.properties, resource/gnu/java/locale/LocaleInformation_te.properties, resource/gnu/java/locale/LocaleInformation_th.properties, resource/gnu/java/locale/LocaleInformation_tr.properties, resource/gnu/java/locale/LocaleInformation_uk.properties, resource/gnu/java/locale/LocaleInformation_uz.properties, resource/gnu/java/locale/LocaleInformation_vi.properties, resource/gnu/java/locale/LocaleInformation_zh.properties, resource/gnu/java/locale/LocaleInformation_zh_Hant.properties: Updated to use the new localized strings for currencies, languages, variants, territories, etc.2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org> * gnu/regexp/REMatch.java(matchedCharIndexed): New field, (start, end): Added comment about the negative values of them, (finish): Saves the input text in matchedCharIndexed, (toString): If the start or end index is out of bounds of the matched text, get the substring from matchedCharIndexed. Added special handlings in case start/end index < -1, (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex): Added special handlings in case start/end index < -1, * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly found match, but keep the index as the original match. * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly found match, but keep the index as the original match. * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings in case start/end index < -1. 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> * gnu/java/rmi/activation/ActivationSystemTransient.java (debug): Set to false. 2006-03-17 Robert Schuster <robertschuster@fsfe.org> * javax/swing/text/DefaultCaret.java: (mouseClicked) Use setDot() and moveDot() instead of JTextComponent.select().2006-03-17 Roman Kennke <kennke@aicas.com> * javax/swing/plaf/metal/MetalComboBoxEditor.java (MetalComboBoxEditorBorder.paintBorder): Implemented special border painting for the Ocean theme. (MetalComboBoxEditor): Create editor directly instead of going to super. 2006-03-17 Roman Kennke <kennke@aicas.com> * javax/swing/text/JTextComponent.java (JTextComponent): Make text components opaque.2006-03-17 Roman Kennke <kennke@aicas.com> * javax/swing/plaf/metal/MetalComboBoxUI.java (MetalComboBoxLayoutManager.layoutContainer): Forward to layoutComboBox(). (MetalPropertyChangeListener.propertyChange): Update focusable flag according to the enable and editable state. (editablePropertyChanged): Removed unnecessary code. (getMinimumSize): Rewritten to correctly compute the size, respecting the insets of the components and the icon, the visual properties of the combobox, etc. (configureEditor): Update listeners correctly. (unconfigureEditor): Update listeners correctly. (layoutComboBox): Implemented.2006-03-17 Roman Kennke <kennke@aicas.com> * javax/swing/plaf/metal/MetalComboBoxEditor.java (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder instead of Flush3DBorder. (paintBorder): Fixed border painting. (editorBorderInsets): Fixed border's insets.2006-03-17 Roman Kennke <kennke@aicas.com> * javax/swing/plaf/metal/MetalComboBoxButton.java (rendererPane): Documented. (MetalComboBoxButton): Set enabled flag from ComboBox. Set focusable flag from ComboBox's enabled flag. (isFocusTraversable): Make button focus traversable if ComboBox is not editable but enable. (paintComponent): Fixed painting to correctly adjust the boxes of the renderer and button.2006-03-17 Roman Kennke <kennke@aicas.com> * gnu/java/rmi/activation/ActivationSystemTransient.java (debug): Set to false.2006-03-17 Robert Schuster <robertschuster@fsfe.org> * javax/swing/text/DefaultEditorKit.java: Refactored anonymous inner classes into package-private inner classes, added actions for caret movement and selection to the next and previous word and an action which selects the whole text.2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com> * javax/swing/Spring.java: Uncomment springdebug methods and rename them toString. * javax/swing/SpringLayout.java: Likewise.2006-03-17 Robert Schuster <robertschuster@fsfe.org> * javax/swing/text/FieldView.java: (viewToModel): Added call to adjust allocation area.2006-03-17 Roman Kennke <kennke@aicas.com> * javax/swing/plaf/basic/BasicComboBoxUI.java (mouseListener): Removed field. (buttonBackground): Removed field. (buttonShadow): Removed field. (buttonDarkShadow): Removed field. (buttonHighlight): Removed field. (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize. (installUI): Initialize and configure renderer and editor here. (uninstallUI): Close popup before uninitializing. Message popup that we are uninitializing. Clear layout. (installDefaults): Install UI border. Don't install colors. (installListeners): Install listeners fetched from the popup. Remove handling of mouseListener. (uninstallDefaults): Uninstall border. Don't handle colors. (uninstallListeners): Don't handle mouseListener. Uninstall listener from the popup. (createMouseListener): Removed method. (createRenderer): Create UIResource. (installComponents): Cleaned up. (uninstallComponents): Only remove renderer when it is a UIResource. (addEditor): Remove editor before adding new one. Fetch editor from comboBox. (removeEditor): Only do something when editor != null. Unconfigure editor before removing. (configureEditor): Add key listener. Call comboBox.configureEditor. (unconfigureEditor): Removed key listener. (configureArrowButton): Only handle when arrowButton != null. Add mouse listeners to arrow button. (unconfigureArrowButton): Remove listeners. (createArrowButton): Don't handle colors here. (setPopupVisible): Don't handle focus here. (paint): Only paint when comboBox is not editable. Update hasFocus flag. (getPreferredSize): Implemented to be minimumSize + 4 pixels width. (getMinimumSize): Respect insets here. (getMaximumSize): Return preferredSize with width of 32767. (getInsets): Return ComboBox insets. (paintCurrentValue): Paint using currentValuePane. Install correct colors. Don't revalidate. (paintCurrentValueBackground): Implemented. (getDefaultSize): Reimplemented using a default renderer. (getDisplaySize): Reimplemented to use renderer. (ComboBoxLayoutManager.preferredLayoutSize): Forward to component. (ComboBoxLayoutManager.minimumLayoutSize): Forward to component. (ComboBoxLayoutManager.layoutContainer): Fixed layout. (FocusHandler.focusGained): Don't invalidate minimumSize. (FocusHandler.focusLost): Don't invalidate minimumSize. Only close popup if focus change is not temporary. (ItemHandler.itemStateChanged): Don't invalidate minimumSize. Reconfigure editor if not null. (ListDataHandler.contentsChanged): Revalidate and reconfigure editor if necessary. (ListDataHandler.intervalAdded): Fixed updating of the display size. (ListDataHandler.intervalRemoved): Forward to contentsChanged. (MouseHandler): Removed unnecessary class.2006-03-17 Robert Schuster <robertschuster@fsfe.org> * examples/gnu/classpath/examples/swing/Demo.java: (Demo): Set default closing operation to shutdown the runtime.2006-03-17 Roman Kennke <kennke@aicas.com> * javax/swing/plaf/basic/BasicComboPopup.java (BasicComboPopup): Create listeners here. Configure components here. (show): Correctly calculate bounds using computePopupBounds(). Make scroller fixed-size. Removed special autocloser handling. (hide): Rewritten to use MenuSelectionHandler. (createList): Don't set selection mode here. (configureList): Correctly install colors and fonts and selectionMode. (createScroller): Set scrollpane policies. (configureScroller): Make scroller and scrollbar not-focusable. (configurePopup): Make popup opaque and borderPainted. (installComboBoxListeners): Don't install mouse listener on ComboBox.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?