1 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * screen.[Ch]: change method names to begin with lowercase
5 * BufferView_pimpl.C (updateScrollbar): simplify further and
6 hopefully make it a bit faster.
8 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11 calling directly xforms functions.
13 * Painter.C (Painter):
14 * lyx_cb.C (MenuWrite):
15 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
18 * lyx_gui.C: remove bogus guiruntime extern declaration.
20 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
22 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
24 (redoDrawingOfParagraph): ditto
25 (redoParagraphs): ditto
26 (cutSelection): don't create a object for CutAndPaste use the
27 static method directly
28 (pasteSelection): ditto
30 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
33 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
35 * modifications to some other files because of this.
37 * Makefile.am (lyx_SOURCES): add XFormsView
39 * XFormsView.[Ch]: new files
41 * LyXView.[Ch]: make LyXView a base class for the gui handling for
42 the main window. Move the gui dependent stuff to XFormsView
44 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
46 * tabular.C (GetCellInset): update cur_cell also in the row/col
47 version of this function.
49 * lyxfunc.C: no need to include figure_form.h here.
55 * lyxvc.C: no need to include forms.h here.
57 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
59 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
61 * lyxfunc.C (Dispatch):
63 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
66 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
68 * paragraph.C (Paragraph): dont't clear, and just set layout.
69 (makeSameLayout): use params's copy contructor.
71 * ParagraphParameters.[Ch] (makeSame): delete method
73 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
75 * Variables.[Ch]: fix indentation, rename set to isSet
77 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
79 * lyxfunc.C (Dispatch): fix typo
81 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
83 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
86 * bufferlist.C: include assert.h for emergencyWrite().
88 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
90 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
91 give up at last (bug #425202) !
93 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
99 * spellchecker.C: strip spellchecker options and bring up
100 preferences tab instead
102 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
104 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
105 the istringstream constructor
107 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
109 * paragraph.C (getLayout): fix return value
111 * paragraph.h: do not declare getLayout as inline.
113 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
115 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
117 * lyxcursor.h (operator<): new func
118 (operator>): new func
119 (operator>=): new func
120 (operator<=): new func
122 * text.C (changeCase): use selection.start and selection.end
123 (changeRegionCase): require from to be <= to. Require par to be a
126 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
128 2001-06-27 Juergen Vigna <jug@sad.it>
130 * text.C (cursorLeftOneWord): changed to return the cursor and added
131 overlay with BufferView * parameter which calls this one.
133 (selectWord): use new getWord function.
134 (changeCase): renamed from changeWordCase as and extended to work
137 * lyxtext.h: added enum word_location
139 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
140 changeCase as this operates now also on selections.
142 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
144 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
146 * many files: send debug output to Debug::INFO instead of
149 * converter.C (View):
151 (Move): send debug output to Debug::FILES instead of console.
153 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
155 * lyxfunc.C (getStatus): use func_status
157 * func_status.h: new header, describing the results of
160 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
163 2001-06-25 The LyX Project <jug@sad.it>
165 * buffer.C (sgmlOpenTag):
167 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
169 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
171 * text2.C: remove some dead code
173 * tabular.C (GetCellInset): store the last cell checked (gotten)
175 * tabular.h: add the helper for the speedup
177 * lyxtext.h: remove some dead code
179 2001-06-26 The LyX Project <Asger>
181 * paragraph.C: Change export to LaTeX of alignment to
182 \begin{center} and family for better roundtrip work with reLyX.
184 * Tune the math drawing a bit.
186 2001-06-25 The LyX Project <Asger>
188 * LColor.C (LColor): New color for math background. New color
191 2001-06-25 The LyX Project <jug@sad.it>
193 * lyxfunc.C (MenuNew): remove extra check for .lyx file
196 * bufferlist.C (newFile): do not restrict to files ending with
199 * BufferView_pimpl.C (MenuInsertLyXFile):
201 2001-06-24 The LyX Project <jug@sad.it>
203 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
206 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
208 * lyxtext.h: rename most methods to begin with a small char.
209 Lots of changes because of this.
211 * paragraph.C (Paragraph): do not call fitToSize
212 (erase): call Pimpl::erase
213 (insertChar): call Pimpl::insertChar
214 (insertInset): call Pipl::insertInset
215 (breakParagraph): do not call fitToSize
216 (breakParagraphConservative): do not call fitToSize
217 (fitToSize): remove method
219 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
221 2001-06-24 The LyX Project <Asger>
223 * Fix Qt compilation^2
225 2001-06-24 The LyX Project <jug@sad.it>
227 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
228 depthHook(getDepth()-1).
231 * ParagraphParameters.h:
232 * ParameterStruct.h: change type of depth to unsigned int ==
233 depth_type. Many adaptations to other files before of that.
235 2001-06-24 The LyX Project <Asger>
237 * Fix Qt compilation.
239 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
241 * paragraph.h: renamed several methods to begin with small letter.
242 several changes to many parts of the code because of this.
244 2001-06-23 The LyX Project <jug@sad.it>
246 * text2.C (InsertStringAsLines): renamed from InsertStringA;
247 rewritten to discard all double spaces when KeepEmpty is off
248 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
249 to only handle newlines but not fiddle with spaces and friends.
251 * lyxfunc.C (MenuNew): when doing 'new from template', use
252 template_path as default directory
254 2001-06-23 The LyX Project <Asger>
256 * Clean-up of header file includes all over
257 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
259 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
261 * paragraph.h: renamed from lyxparagraph.h
263 2001-06-23 Asger <lyx@violet.home.sad.it>
265 * Buffer.h: Removed Buffer::resize
266 * BufferList.h: Removed BufferList::resize
267 * LyXView.h: Added LyXView::resize. This way, we will only reflow
268 the document lazily when we change the width, or the font settings.
270 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
272 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
274 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
276 * buffer.h: remove out of date comment
278 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
281 * screen.C: fix "theoretical" GC leak
283 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
285 * LaTeX.C (scanAuxFile):
286 (deplog): remove trailing \r when reading stream (useful under
289 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
291 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
292 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
293 and BufferView::theLockingInset(Inset*), so should use them and not
294 access bv_->text->the_locking_inset directly.
296 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
298 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
301 * tex-defs.h: remove old unused file
303 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
305 * BufferView_pimpl.C: fix typo, remove minibuffer message
306 when buffer has loaded
308 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
310 * lyxfunc.C (Dispatch): use stringstream
311 (MenuNew): use stringstream
312 (Open): use stringstream
314 * importer.C (Import): use stringstream
316 * bufferview_funcs.C (CurrentState): use stringstream
318 * LaTeX.C (run): use stringstream
320 * BufferView_pimpl.C (savePosition): use stringstream
321 (restorePosition): use stringstream
322 (MenuInsertLyXFile): use stringstream
324 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
337 * vspace.C: removed // -*- C++ -*- as first line.
340 * version.h: added // -*- C++ -*- as first line.
342 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
344 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
346 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
349 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
351 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
354 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
356 * gettext.C: include LString.h even when --disable-nls is on.
358 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
360 * converter.h (Get): changed argument type from int to
361 FormatList::size_type to avoid unnecessary conversion.
363 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
366 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
368 * gettext.h: include LString.h even when --disable-nls is on.
370 2001-06-07 Juergen Vigna <jug@sad.it>
372 * text.C (BreakAgain): subst spaces with tabs.
374 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
375 (resizeInsetsLyXText): set force on resizeLyXText.
377 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
379 * gettext.h (gettext_init):
380 (locale_init): use a real definition instead of a macro
382 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
384 * Bufferview_pimpl.C:
386 * LColor.C: further lcolor tidies
388 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
390 * BufferView_pimpl.C (updateScrollbar): simplify.
392 * BufferView2.C: don't include insets/insetinfo.h, change
393 prototype for insertInset and call the Pimpl version. let
394 updateInset call Pimpl version.
396 * BufferView.h: move inset_slept to BufferView::Pimpl, move
397 gotoInset to BufferView::Pimpl
399 2001-06-01 Juergen Vigna <jug@sad.it>
401 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
402 inside a LockingInset (is the update needed at all?).
404 2001-05-31 Juergen Vigna <jug@sad.it>
406 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
407 here not the old one otherwise how should we compare it afterwards
410 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
415 * FontInfo.C: bring C functions into global namespace when
418 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
420 * LString.h: make sure config.h has been loaded before LString.h.
422 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
423 (one for each char read by EatLine!).
425 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
428 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
430 * paragraph.C (BreakParagraph): set the inset_owner in the new par
431 to the same as the par we break from
433 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
435 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
437 * MenuBackend.C (expand): also create menu entries for wide
438 versions of the floats.
440 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
442 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
444 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
445 frontends/Makefile.am
451 * tabular.C (getTokenValue): add std::
453 * tabular-old.C (getTokenValue): add std::
454 (getTokenValue): ditto
455 (getTokenValue): ditto
457 * screen.C (ToggleSelection): adjust
459 * lyxtext.h: put selection cursors inside a Selection struct.
461 * lyxfunc.C (moveCursorUpdate): adjust
463 * lyxfont.C (latexWriteStartChanges): add std::
467 * font.h: delete with(char const *, LyXFont const &)
469 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
471 * FontInfo.C (getFontname): add std::
473 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
474 (workAreaButtonPress): adjust
475 (tripleClick): adjust
477 (moveCursorUpdate): adjust
480 * BufferView2.C (gotoInset): adjust
482 2001-05-30 Juergen Vigna <jug@sad.it>
484 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
485 to check pspell I add this as default as I now have new pspell
486 libraries and they seem to use this.
488 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
490 * text2.C (CutSelection): make the cursor valid before the call to
493 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
495 * kbsequence.C (parse): de-uglify a bit the parsing code, which
496 relied on 0 terminated strings and other horrors. Bug found due to
497 the new assert in lyxstring!
499 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
502 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
504 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
507 * lyxfunc.C (processKeySym): change method of getting to the
510 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
511 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
512 * BufferView_pimpl.[Ch]: here as private methods.
514 2001-05-28 Juergen Vigna <jug@sad.it>
516 * text.C (SetHeightOfRow): added the update() call again as it is
517 needed to initialize inset dimensions!
519 2001-05-16 Juergen Vigna <jug@sad.it>
521 * text2.C (SetCharFont): Add new function with BufferView * and
522 bool toggleall parameters for setting insets internal fonts.
523 (SetFont): Freeze the undo as we may change fonts in Insets and
524 all this change should be inside only one Undo!
526 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
527 setting font's in insets as for them we have the SetFont function!
529 2001-05-15 Juergen Vigna <jug@sad.it>
531 * text2.C (ClearSelection): to be sure we REALLY don't have any
534 * tabular.C (TeXCellPreamble): fixed the left border problem for
537 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
539 * LaTeX.C (deplog): Make sure that the main .tex file is in the
542 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
544 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
547 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
548 help test to "internal only", similar for LFUN_INSERT_URL
550 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
551 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
552 auto_region_delete and deadkeys.
554 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
557 * LColor.C: remove some dead entries, tidy a little
559 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
561 * lyxfunc.C (processKeySym): comment the Escape handling, remove
563 (Dispatch): implement LFUN_ESCAPE
565 * commandtags.h: add LFUN_ESCAPE
567 * LyXAction.C (init): add entry for LFUN_ESCAPE
569 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
570 Remove commented code.
571 (insertNote): moved here
572 (open_new_inset): moved here
574 * BufferView[2].[Ch]: move insertNote and open_new_inset to
577 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
579 * kbmap.C (findbinding): clean it up and make it work correctly.
581 * lyx_main.C (init): do not pass argc and argv as parameters
583 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
585 * buffer.C: fix path for OS/2 & Win32
589 * lyx_main.C: Added os:: class.
591 * os2_defines.h: update
593 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
595 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
596 better by trying again with reduced state.
598 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
600 * lyxrc.C (read): print error about invalid key sequence only when
601 debugging (because not all latinX keysyms are known to some X
604 * kbsequence.C (getiso): add a few std:: qualifiers
605 (getiso): comment out extra return statement.
607 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
609 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
611 (Dispatch): enhance the accent inset a bit. (not perfect)
613 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
615 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
617 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
619 * bufferlist.C (emergencyWrite): fix assert() call
621 2001-05-04 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
623 * text.C (InsertChar): Added trivial patch to only send the "you
624 can not do multiple spaces this way" message once during a
627 2001-05-08 Baruch Even <baruch@lyx.org>
629 * Makefile.am: Changed order of libraries to get LyX to link properly
630 with the gnome frontend.
632 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
634 * LaTeXFeatures.h: add a std:: qualifier
636 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
638 * paragraph.C (String): use stringstream
640 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
642 * paragraph.C (writeFile): remove footflag arg
644 * buffer.C (makeLaTeXFile): use stringstream
645 (latexParagraphs): remove footnot gurba
647 * LaTeXFeatures.C (getPackages): use stringstream
648 (getMacros): likewise
649 (getTClassPreamble): likewise
650 (getFloatDefinitions): new method
652 * paragraph.C (writeFile): reindent
655 * WorkArea.h: revert the xpos + etc changes.
657 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
659 * lyxparagraph.[Ch]: add copy constructor, remove Clone
661 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
662 (pasteSelection): likewise
663 * text2.C (CreateUndo): likewise
665 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
667 * minibuffer.C (peek_event): temporarily reduce the functionality
668 of the minibuffer (to allow args on lfuns)
670 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
671 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
673 * buffer.C (readInset): add compability reading of old float
674 lists, add reading of new style float list.
675 (readInset): avoid reevaluation of inscmd.getCmdName()
678 * MenuBackend.C (MenuItem): implement parsing of
679 md_floatlistinsert and md_floatinsert.
680 (expand::LastFiles): move initalizaton of iterators out of loop,
682 (expand::Documents): introduce typdedef vector<string> Strings,
684 (expand::ExportFormats): introduce typedef vector<Format const *>
686 (expand): implement FloatListInsert and FloatInsert.
688 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
689 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
690 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
692 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
694 (Dispatch::LFUN_FLOAT_LIST): implement
696 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
698 * LaTeX.C (run): Fix problem with --export code.
700 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
702 * BufferView.[Ch] (workarea): removed.
703 (getClipboard) new method; wrapper for workarea()->getClipboard()
705 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
708 * WorkArea.h (width, height, xpos, ypos): These methods all
709 returned the dimensions of the work_area sub-area of WorkArea,
710 resulting in a position error if the WorkArea were resized. Now
711 return the dimensions of the entire WorkArea.
713 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
715 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
717 * LaTeX.C (deplog): correct the syntax of regex reg1
719 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
721 * undo.C: remove !NEW_INSETS cruft
723 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
725 * text2.C: remove !NEW_INSETS cruft
727 * text.C: remove !NEW_INSETS cruft
729 * tabular.C: remove !NEW_INSETS cruft
731 * spellchecker.C: remove !NEW_INSETS cruft
733 * lyxtext.h: remove !NEW_INSETS cruft
735 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
737 * lyxfunc.C: remove !NEW_INSETS cruft
739 * lyxfind.C: remove !NEW_INSETS cruft
741 * lyx_cb.C: remove !NEW_INSETS cruft
743 * figureForm.C: remove !NEW_INSETS cruft
745 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
747 * buffer.[Ch]: remove !NEW_INSETS cruft
749 * ToolbarDefaults.C: remove !NEW_INSETS cruft
751 * CutAndPaste.C: remove !NEW_INSETS cruft
753 * BufferView_pimpl.C: remove !NEW_INSETS cruft
755 * BufferView2.C: remove !NEW_INSETS cruft
757 * BufferView.h: remove !NEW_INSETS cruft
759 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
761 * Lsstream.h: include LString.h before the sstream headers to
762 fix problem with gcc 2.95.3 and lyxstring
764 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
766 * lyx_main.C: add using directives when needed for C functions
767 declared in std:: namespace.
769 2001-04-27 Juergen Vigna <jug@sad.it>
771 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
772 (SetHeightOfRow): comment out the update call should not be needed!
774 2001-04-13 Juergen Vigna <jug@sad.it>
776 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
777 (LyXTabular): tried to minimize operator= operations (and realized
780 2001-04-27 Juergen Vigna <jug@sad.it>
782 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
784 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
786 * lyxfunc.C (Dispatch): hack to make listof algorithm work
788 * buffer.C (readInset): hack to make listof algorithm work
790 * BufferView_pimpl.C: hack to make listof algorithm work
792 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
794 * LyXAction.C: removed all !NEW_INSETS cruft
795 (init): moved lfun_item in method
797 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
799 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
801 * BufferView2.C (theLockingInset): white space.
803 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
805 * minibuffer.C: include <iostream>
807 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
809 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
811 * commandtags.h: add LFUN_TRANSPOSE_CHARS
813 * text.[Ch] (TransposeChars): new method
815 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
817 * call message directly through LyXView instead of through LyXFunc
818 * BufferView2.C: adjust
819 * BufferView_pimpl.C: adjust
820 * FontLoader.C: adjust
822 * bufferview_funcs.C: adjust
823 * converter.C: adjust
824 * figureForm.C: adjust
827 * lyx_gui_misc.C: adjust
831 + more files in subdirs
833 * lyxparagraph.h (size): move up int file
836 * adjust all uses of Assert to lyx::Assert.
838 * BufferView2.C (ChangeCitationsIfUnique): adjust for
839 lyxfunctional in namespace lyx
840 * layout.C (hasLayout): ditto
843 (delete_layout): ditto
844 (NumberOfClass): ditto
845 * converter.C (GetFormat): ditto
850 * bufferlist.C (getFileNames): ditto
851 (emergencyWriteAll): ditto
854 * MenuBackend.C (hasSubmenu): ditto
857 * BufferView_pimpl.C (getInsetByCode): ditto
859 2001-04-18 Juergen Vigna <jug@sad.it>
861 * vspace.C (asLatexString): fixed the 100% problem.
863 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
865 * lyxfunc.C (Dispatch):
867 * minibuffer.h: add a few std:: qualifiers
869 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
871 * minibuffer.[Ch]: reimplement so that commands is initiated and
872 run from lyxfunc, simplified som handling, and made the completion
873 and history code for complete. wip.
875 * lyxfunc.C (processKeySym): call message
876 (miniDispatch): new temporary method
877 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
878 (LFUN_MESSAGE): implement
879 (LFUN_MESSAGE_PUSH): implement
880 (LFUN_MESSAGE_POP): implement
881 (initMiniBuffer): the initial/defualt minibuffer message.
883 * lyxfont.[Ch]: inline some more getters
885 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
887 * lyx_gui_misc.[Ch] (WriteStatus): remove method
889 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
890 (AutoSave): use LFUN_MESSAGE
893 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
895 * figureForm.C: use LFUN_MESSAGE
897 * converter.C (runLaTeX): use LFUN_MESSAGE
899 * bufferview_funcs.C: use LFUN_MESSAGE
903 * bufferparams.h: use boost::
905 * bufferlist.h: inherit privately from noncopyable
907 * bufferlist.C (loadLyXFile): remove some commented code.
909 * buffer.C (runChktex): use LFUN_MESSAGE
911 * ShareContainer.h: inherit privately from noncopyable
913 * ParagraphParameters.[hC] (depth): inline it.
915 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
917 (message): new method
920 (show): init minibuffer
921 (showState): direct call
923 * LaTeX.[Ch]: inherit privately from noncopyable
924 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
925 instead of WriteStatus.
927 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
929 * BufferView_pimpl.C (buffer): don't init minibuffer
930 (workAreaButtonPress): use LFUN_MESSAGE
931 (workAreaButtonRelease): ditto
932 (savePosition): ditto
933 (restorePosition): ditto
934 (MenuInsertLyXFile): ditto
935 (workAreaExpose): don't init minibuffer
936 (update): remove commented code, simplify
938 * BufferView2.C (openStuff): use LFUN_MESSAGE
942 (copyEnvironment): ditto
943 (pasteEnvironment): ditto
948 (updateInset): remove some commented code
950 * lastfiles.h: inherit privately from noncopyable
955 * lyxlex_pimpl.h: ditto
957 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
958 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
959 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
961 * LyXAction.h: inherit privately from noncopyable, add methods
962 func_begin, func_end, returning iterators to the func map.
964 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
965 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
966 (func_begin): new method
967 (func_end): new method
969 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
971 (copySelection): ditto
972 (pasteSelection): ditto
974 * BufferView.C: whitespace change
975 * BufferView.h: inherit privately from noncopyable
977 2001-04-16 Allan Rae <rae@lyx.org>
979 * tabular-old.C (l_getline):
980 * spellchecker.C (sc_check_word):
981 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
982 an unrecognised preprocessor directive. So ensure they're wrapped.
984 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
986 * src/exporter.C (Export): Give an error message when path to file
989 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
991 * LaTeX.C (deplog): Always check that foundfile exists.
993 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
996 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
998 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1000 * tabular.[Ch] (getLabelList): implement new method
1002 * minibuffer.h: comment ouf setTiimer
1004 * minibuffer.C (ExecutingCB): constify res
1005 (peek_event): constify s
1006 (Set): constify ntext
1007 (Init): constify nicename
1009 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1011 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1012 (savePosition): use two params to Minibuffer::Set
1013 (restorePosition): ditto
1015 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1017 * lyx_main.C: include language.h
1019 * Makefile.am (lyx_main.o): add language.h
1021 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1027 * CutAndPaste.C: include gettext.h
1029 * lyxfont.h: remove old hack with ON and OFF.
1032 * lyxfont.h: do not include language.h...
1037 * bufferview_funcs.C:
1043 * paragraph.C: ... but do it here instead
1045 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1047 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1049 * tabular.C: small reformat
1051 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1054 (BreakParagraph): ditto
1055 (SetOnlyLayout): ditto
1058 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1061 * lastfiles.C: removed most using decl, add std:: where needed
1063 * buffer.C: ws changes
1065 * MenuBackend.C (class compare_format): put into anon namespace
1066 (expand): constify label, names, action, action2
1069 * text.C (SingleWidth): constify font
1070 (IsBoundary): constify rtl2
1071 (GetVisibleRow): constify ww
1073 * LaTeX.C (deplog): constify logfile
1075 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1077 (workAreaExpose): constify widthChange, heightChange
1079 * lyxrow.C (par): moved
1082 * lyxrow.h: as inlines here
1084 * lyxfont.h (shape): moved from lyxfont.C
1085 (emph): moved from lyxfont.C
1087 * lyxfont.C (LyXFont): use initialization list for all
1089 (shape): move to lyxfont.h as inline
1090 (emph): move to lyxfont.h as inline
1093 2001-04-04 Juergen Vigna <jug@sad.it>
1095 * vspace.C: had to include stdio.h for use of sscanf
1097 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1100 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1101 independent of xforms.
1103 2001-04-02 Juergen Vigna <jug@sad.it>
1105 * spellchecker.C: fixed namespace placing!
1107 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1109 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1110 the LyXParagraph * is 0.
1112 2001-03-29 Juergen Vigna <jug@sad.it>
1114 * vspace.C: added support for %, c%, p%, l%.
1115 (stringFromUnit): added helper function.
1116 (asLatexString): changed to give right results for the %-values.
1118 * buffer.C: convert the widthp in a width%.
1120 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1122 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1125 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1126 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1128 * lyx_cb.[Ch]: see above.
1130 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1134 * lyx.[Ch]: replaced by figure_form.[Ch].
1138 * lyxfunc.C: changed headers associated with above changes.
1140 2001-03-27 Juergen Vigna <jug@sad.it>
1142 * BufferView_pimpl.C: set the temporary cursor right!
1144 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1146 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1148 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1150 * LString.h: removed "using std::getline"!
1152 * BufferView_pimpl.C (Dispatch): changes due to changes in
1153 InsetInclude::Params.
1155 * buffer.C (tag_name): removed redundant break statements as they were
1156 producing lots of warnings with my compiler.
1158 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1160 * LString.h: add "using std::getline" when using the real <string>.
1162 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1164 * buffer.C: removed bitset usage.
1165 PAR_TAG moved to an anonymous name space.
1166 (tag_name): new funtion, also in the anonymous namespace.
1167 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1168 (makeDocBookFile): clean code. Completed transition from string arrays
1170 (SimpleDocBookOnePar): code clean.
1172 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1174 * tabular.C: add some comments.
1176 2001-03-22 Juergen Vigna <jug@sad.it>
1178 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1179 compatibility read a bit and fixed bug with minipage in different
1182 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1184 * buffer.C (pop_tag): removed.
1185 (push_tag): removed.
1186 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1187 array replaced with vector. Added support for CDATA sections.
1188 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1190 (makeDocBookFile): XML conformant declaration of CDATA section,
1191 fixed bug related to <emphasis> in the first paragraph char.
1192 (sgmlOpenTag): exclude empty tags.
1193 (sgmlCloseTag): ditto.
1195 * buffer.h (pop_tag): removed.
1196 (push_tag): removed.
1198 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1200 * language.h (Languages): added size_type and size().
1202 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1204 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1205 response on compability reading of minipages. One probliem is that
1206 the old usage of minipages was «flertydig»
1208 * several files here and in subdirs: don't use static at file
1209 scope use anon namespaces instead.
1211 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1213 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1214 LaTeX output. This is necessary for Literate document
1217 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1219 * buffer.C: insert hfill when needed.
1221 * tabular.C (l_getline): use string::erase, small whitespace change.
1223 * BufferView_pimpl.C: try the anon namespace.
1226 2001-03-16 Juergen Vigna <jug@sad.it>
1228 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1229 otherwise it won't open options-dialogs.
1231 * buffer.C: honor pextraWidth(p) on converting minipages.
1233 * tabular.C (l_getline): changed the functions to strip trailing \r.
1235 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1237 * BufferView_pimpl.C:
1238 * minibuffer..C: added "using SigC::slot" declaration.
1240 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1242 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1248 * paragraph.C: ditto
1250 * lyxtext.h: NO_PEXTRA
1252 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1254 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1255 * ParameterStruct.h: ditto
1256 * ParagraphParameters.h: ditto
1257 * lyxparagraph.h: ditto
1259 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1261 * buffer.C: add compability for minipage alignment.
1262 (latexParagraphs): remove unwanted pextra check.
1264 * several files: remove CXX_WORKING_NAMESPACES
1266 * buffer.C (pop_tag): tie is in namespace boost
1268 * BufferView.h: noncopyable is in namespace boost
1273 * lastfiles.h: ditto
1274 * bufferlist.h: ditto
1275 * ShareContainer.h: ditto
1277 * LyXAction.h: ditto
1280 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1282 * Merging changes from BRANCH_MVC back into HEAD.
1284 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1286 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1288 * BufferView_pimpl.C: change from intl.C
1292 * Makefile.am: move combox.*
1298 * intl.C: remove dialog (covered by prefs)
1300 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1302 * lyxfunc.C (Dispatch): removed redundant break statement.
1304 2001-03-14 Juergen Vigna <jug@sad.it>
1306 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1308 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1310 * buffer.C: add hack to fix compability reading of minipages.
1312 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1314 * buffer.C (getLists): Cleanup.
1316 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1318 * lyxfont.C (update): don't honor toggleall on font size.
1320 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
1324 * Makefile.am: moved to frontends/xforms/
1328 * BufferView_pimpl.C: changes for moved mathpanel
1330 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1332 * gettext.h: fix gettext_init() in --disable-nls
1334 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1336 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1338 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1341 * lyx.h: strip external form
1343 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1345 * BufferView_pimpl.C: add comment, destroySplash()
1347 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1349 * BufferView_pimpl.C:
1353 * lyxfunc.C: use re-worked insetinclude
1355 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1357 * buffer.C: add using std::stringstream.
1359 * lyx_cb.C: readd using std::ios.
1361 * buffer.C: add using std::map.
1363 * BufferView_pimpl.C: add using std::vector.
1365 * ShareContainer.h: add std:: to swap.
1367 * buffer.h: add some typedefs
1368 * buffer.C (getLists): use them
1369 (getLists): renamed from getTocList.
1370 add a counter for the different float types and use it in the
1372 (getLists): use the same counter for the NEW_INSETS and the "non"
1375 * lyx_cb.h: remove unused items, includes, using etc.
1377 * ShareContainer.h: remove some commented code, add more comments
1378 and "documentation".
1380 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1382 * buffer.C (getTocList): make the list also when NEW_INSETS is
1385 * buffer.h: remove TocType
1387 * buffer.C (getTocList): change to return a map<string,
1388 vector<TocItem> >, implement for dynamic number of list.
1390 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1391 * text2.C (PasteSelection): adjust
1392 * CutAndPaste.C (pasteSelection): adjust
1394 * FloatList.C (FloatList): update from the new_insets branch.
1395 * Floating.[Ch]: ditto
1396 * LaTeXFeatures.C: ditto
1398 * lyxlex_pimpl.C: ditto
1400 * paragraph.C (Last): remove when NEW_INSETS is defined.
1402 * other file: changes because of the above.
1404 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1406 * lyxparagraph.h: rename next to next_, previous to previous_,
1407 make them private for NEW_INSETS. Rename Next() to next(),
1408 Previous() to previous().
1410 * other files: changes because of the above.
1412 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
1415 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1418 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1420 * main.C (main): pass lyx_localedir to gettext_init().
1422 * gettext.h: remove locale_init and gettext_init macros
1424 * gettext.C (locale_init): new function
1425 (gettext_init): new function
1427 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1430 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
1432 * Moved credits to frontends:
1433 * credits.[Ch]: removed
1434 * credits_form.[Ch]: removed
1435 * lyx_gui_misc.C: remove credits stuff
1438 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1440 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1442 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1443 unneeded destructor.
1445 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1446 a standalone pointer again.
1448 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1450 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1456 * ToolbarDefaults.C:
1465 * BufferView_pimpl.C: use new file dialog in GUII
1468 * lyx_cb.C: remove LayoutsCB to Toolbar
1470 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1472 * ShareContainer.h (get): add std:: qualifier
1474 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1476 * ShareContainer.h: define a proper ShareContainer::value_type
1477 type (and use typename to please compaq cxx)
1479 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1481 * lyxparagraph.h: move serveral local vars to
1482 ParameterStruct/ParagraphParameters., use ShareContainer in
1483 FontTable., make vars in FontTable private and add getter and
1486 * paragraph.C: changes because of the above.
1488 * lyxfont.h: remove copy constructor and copy assignment. (the
1489 default ones is ok), move number inside FontBits. move inlines to
1492 * lyxfont.C: add number to initializaton of statics, move several
1493 inlines here. constify several local vars. some whitespace
1494 cleanup. Dont hide outerscope variables.
1496 * Spacing.h: add two new constructors to match the set methods.
1498 * ShareContainer.h: new file, will perhaps be moved to support
1500 * ParameterStruct.h: new file
1502 * ParagraphParameters.h: new file
1504 * ParagraphParameters.C: new file
1506 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
1507 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
1509 * BufferView_pimpl.C: ParagraphParameter changes.
1510 * buffer.C: Likewise.
1511 * bufferview_funcs.C: Likewise.
1513 * text2.C: Likewise.
1515 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1517 * lyxfind.C (LyXReplace): do not redefine default argument in
1519 (IsStringInText): ditto
1520 (SearchForward): ditto
1521 (SearchBackward): ditto
1523 2001-03-06 Juergen Vigna <jug@sad.it>
1525 * lyxfind.C (IsStringInText): put parentes around expressions.
1527 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
1529 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
1531 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
1533 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
1535 * stl_string_fwd.h: add comment
1537 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
1540 * tabular.C: remove unused DocBook methods
1546 killed DO_USE_DEFAULT_LANGUAGE
1548 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1550 * lyx_gui.C: do not include language.h.
1552 * bufferview_funcs.C (ToggleAndShow): do not provide optional
1553 arguments in function implementation.
1555 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1557 * BufferView_pimpl.C: add <ctime>
1559 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1561 * BufferView_pimpl.C: add using std::find_if
1563 2001-02-27 José Matos <jamatos@fep.up.pt>
1565 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
1568 2001-02-11 José Matos <jamatos@fep.up.pt>
1570 * buffer.C (makeDocBookFile): command styles now have a parameter as
1573 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
1575 * layout_forms.[Ch]: removed
1576 * lyx_cb.[Ch]: out character
1577 * lyx_gui.C: out character
1578 * lyx_gui_misc.C: out character
1579 * bufferview_funcs.C: : out character,
1580 added toggleall as parameter in ToggleAndShow
1582 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
1584 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
1586 * text2.C (SetCurrentFont): Disable number property at boundary.
1588 2001-02-26 Juergen Vigna <jug@sad.it>
1590 * lyxfunc.C (getStatus): added a string argument override function so
1591 that this is correctly called from LyXFunc::Dispatch if it contains a
1592 do_not_use_argument which is used!
1593 (Dispatch): added check for "custom" export and call appropriate func.
1595 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
1597 * lyxrc.C: Add language_command_local, language_use_babel and
1598 language_global_options.
1600 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1602 * buffer.C (makeLaTeXFile): Use language_use_babel and
1603 language_global_options.
1605 2001-02-23 Juergen Vigna <jug@sad.it>
1607 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1608 which works with LyXText and putted it inside BufferView. Here now we
1609 only call for that part the BufferView::Dispatch() function.
1611 * BufferView.C (Dispatch): added.
1613 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1614 functions which needs to use a LyXText over from LyXFunc.
1615 (MenuInsertLyXFile): added
1616 (getInsetByCode): added
1617 (moveCursorUpdate): added
1618 (static TEXT): added
1620 2001-02-22 Juergen Vigna <jug@sad.it>
1622 * BufferView_pimpl.C (update): call a status update to see if LyXText
1625 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1627 * vc-backend.C (revert): implement for CVS
1628 (getLog): implement for CVS
1630 2001-02-20 Juergen Vigna <jug@sad.it>
1632 * text2.C (ClearSelection): added BufferView param for inset_owner call
1634 * lyxfunc.C (TEXT): added this function and use it instead of
1635 directly owner->view()-text of getLyXText().
1637 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1639 * src/layout_forms.C: out preamble
1640 * src/layout_forms.h: out preamble
1641 * src/lyx_cb.C: out preamble
1642 * src/lyx_cb.h: out preamble
1643 * src/lyx_gui.C: out preamble
1644 * src/lyx_gui_misc.C: out preamble
1645 * src/lyxfunc.C: connect with guii preamble
1647 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1649 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1651 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1653 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1654 whether to run bibtex.
1656 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1658 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1660 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1662 * Makefile.am (lyx_SOURCES): removed bibforms.h
1666 * text.C (GetVisibleRow): make several local vars const
1668 * tabular.C: small cleanup.
1670 * lyxserver.C (callback): use compare instead of strncmp
1672 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1673 inlines to after class or to paragraph.C
1675 * lyxfont.h: remove friend operator!=
1677 * converter.h: move friend bool operator< to non friend and after
1680 * combox.h: small cleanup
1682 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1683 to inlines after class def.
1685 * buffer.C (pop_tag): use string operations instead of strcmp
1687 * bmtable.c: doxygen, small cleanup
1689 * LaTeX.h: remove friend operator==
1691 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1703 * BufferView_pimpl.C:
1704 * BufferView.[Ch]: remove cruft
1706 2001-02-14 Juergen Vigna <jug@sad.it>
1708 * lyxfunc.C: removed #if 0 unused code
1710 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1712 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1714 * text2.C (SetSelection): added a BufferView * parameter
1716 2001-02-13 Juergen Vigna <jug@sad.it>
1718 * lyxfunc.C (Dispatch): fixed protected blank problem.
1719 * BufferView2.C (protectedBlank): added LyxText * parameter.
1721 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1722 (AppendColumn): same as above for column_info.
1724 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1725 (moveCursorUpdate): use a LyXText param for support of InsetText.
1727 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1728 (tripleClick): ditto
1730 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1732 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1734 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1736 * text2.C (SetSelection): set correct update status if inset_owner
1739 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1741 * tabular.C: remove some commented code.
1743 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1745 * BufferView_pimpl.C: call hideSplash()
1747 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1750 * bibforms.h: remove
1753 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1754 add LFUN_CHILD_CREATE
1756 * counters.h: fix tiny typo
1761 * lyx.C: move splash to frontends/xforms/
1763 * lyx_gui_misc.C: move Include and Bibform to frontends
1765 * lyxvc.h: clarify comment
1767 * vspace.C: tiny housekeeping
1769 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1771 * text.C (PrepareToPrint): RTL Fix.
1773 * paragraph.C (GetUChar): New method.
1774 (String): Use GetUChar.
1776 * buffer.C (asciiParagraph): Use GetUChar.
1778 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1780 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1782 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1785 * buffer.C: rename to getLogName(), handle
1786 build log / latex log nicely
1788 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1791 * MenuBackend.h: remove support for reference menuitem type.
1793 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1795 * BufferView_pimpl.C: housekeeping
1796 * BufferView_pimpl.h:
1801 * minibuffer.h: move Timeout GUI-I
1803 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1805 * lyxrc.C (read): Update converters data-structures.
1807 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1809 * LaTeX.h (operator!=): add operator != for Aux_Info
1811 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1813 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1815 * LaTeXLog.C: deleted, useful code moved to Buffer
1818 * buffer.C: new function getLatexLogName()
1824 * lyxfunc.C: use frontends for LaTeX and VC logs
1826 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1828 * LaTeX.h: yet another std:: that Allan forgot.
1830 * Variables.C (set): renamed from isset(), because this clashes
1831 with some HP-UX macros (grr).
1833 2001-02-06 Allan Rae <rae@lyx.org>
1835 * LaTeX.h: Another bug fix. Missing std:: this time.
1837 2001-02-04 Allan Rae <rae@lyx.org>
1839 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1840 floats problem. I've left it commented out because it's not quite
1841 correct. It should also test that the current object is a table or
1842 figure inset. But I haven't gotten around to figuring out how to do
1843 that. I *think* it'll be something like: "table" == inset.type()
1845 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1848 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1850 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1851 all the citation/databases/styles in the auxilary file.
1852 (run): Rerun latex if there was a babel language error.
1854 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1856 * text.C (Backspace): Preserve the font when changing newline char
1858 (BreakParagraph): If the cursor is before a space, delete the space.
1860 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1862 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1864 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1865 new argument (code).
1866 (ChangeCitationsIfUnique): New method.
1868 * paragraph.C (GetPositionOfInset): Handle bibkey.
1870 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1872 * BufferView_pimpl.h: change type of Position::par_pos to
1873 LyXParagraph::size_type.
1875 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1877 * BufferView_pimpl.C (savePosition, restorePosition): Write
1878 messages to minibuffer.
1880 2001-01-28 José Matos <jamatos@fep.up.pt>
1882 * buffer.C (makeDocBookFile): adds support for document language.
1883 A silly restriction on the name of LatexCommand types where removed.
1884 Added support for CDATA sections, allows to chars unescaped, used
1885 among others in code, to avoid escape < and >.
1887 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1889 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1890 saved positions instrad of a stack. Furthermore, a position is
1891 stored using paragraph id/paragraph position.
1893 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1894 Remove LFUN_REF_BACK.
1896 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1898 * converter.C (dvipdfm_options): New method.
1900 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1902 * vspace.C (isValidLength): Fix for empty input string.
1904 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1906 * LyXAction.C (init): change description of LFUN_FIGURE to
1909 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1911 * LaTeX.C: add using directive
1913 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1915 * MenuBackend.C (expand): Fix the sorting of the formats.
1917 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1919 * lyx_main.C: tiny error message fix
1921 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1923 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1924 calling fl_initialize(). This fixes the problem with ',' as
1925 decimal separator in text files.
1927 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1929 * trans.C (process): Fix the keymap bug.
1931 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1933 * LaTeX.C (scanAuxFiles): New method. Provides support for
1934 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1935 (scanLogFile) Scan for "run BibTeX" messages.
1937 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1938 OT1 font encoding. Also, load the aecompl package if the ae
1941 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1943 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1945 * texrow.C (increasePos): turn two error messages into debug
1948 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1950 * LaTeX.C (scanAux): Handle the \@input macro.
1951 (runBibTeX): Use scanAux().
1953 * language.C (latex_options_): New field.
1955 * LaTeXFeatures.C (getMacros): Add language macros.
1957 * buffer.C (makeLaTeXFile): Small fix.
1959 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1961 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1963 * text2.C: add a using directive.
1965 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1970 * lyxfunc.C: kill LyXBell.
1972 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1974 * text.C (IsBoundary): Remove the error message
1976 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1978 * lyxrc.C (setDefaults): Correct initialization value for
1981 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1983 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1986 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1989 * src/LyXAction.C: Added reference-next.
1991 * text.C (InsertChar): Use contains instead of strchr.
1993 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1995 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1997 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1998 alignment commands (when needed).
2000 * text.C (InsertChar): Add ':' to number separator chars.