1 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3 * buffer.C: add using std::stringstream.
5 * lyx_cb.C: readd using std::ios.
7 * buffer.C: add using std::map.
9 * BufferView_pimpl.C: add using std::vector.
11 * ShareContainer.h: add std:: to swap.
13 * buffer.h: add some typedefs
14 * buffer.C (getLists): use them
15 (getLists): renamed from getTocList.
16 add a counter for the different float types and use it in the
18 (getLists): use the same counter for the NEW_INSETS and the "non"
21 * lyx_cb.h: remove unused items, includes, using etc.
23 * ShareContainer.h: remove some commented code, add more comments
26 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
28 * buffer.C (getTocList): make the list also when NEW_INSETS is
31 * buffer.h: remove TocType
33 * buffer.C (getTocList): change to return a map<string,
34 vector<TocItem> >, implement for dynamic number of list.
36 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
37 * text2.C (PasteSelection): adjust
38 * CutAndPaste.C (pasteSelection): adjust
40 * FloatList.C (FloatList): update from the new_insets branch.
41 * Floating.[Ch]: ditto
42 * LaTeXFeatures.C: ditto
44 * lyxlex_pimpl.C: ditto
46 * paragraph.C (Last): remove when NEW_INSETS is defined.
48 * other file: changes because of the above.
50 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
52 * lyxparagraph.h: rename next to next_, previous to previous_,
53 make them private for NEW_INSETS. Rename Next() to next(),
54 Previous() to previous().
56 * other files: changes because of the above.
58 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
61 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
64 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
66 * main.C (main): pass lyx_localedir to gettext_init().
68 * gettext.h: remove locale_init and gettext_init macros
70 * gettext.C (locale_init): new function
71 (gettext_init): new function
73 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
76 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
78 * Moved credits to frontends:
79 * credits.[Ch]: removed
80 * credits_form.[Ch]: removed
81 * lyx_gui_misc.C: remove credits stuff
84 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
86 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
88 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
91 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
92 a standalone pointer again.
94 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
96 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
111 * BufferView_pimpl.C: use new file dialog in GUII
114 * lyx_cb.C: remove LayoutsCB to Toolbar
116 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
118 * ShareContainer.h (get): add std:: qualifier
120 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
122 * ShareContainer.h: define a proper ShareContainer::value_type
123 type (and use typename to please compaq cxx)
125 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
127 * lyxparagraph.h: move serveral local vars to
128 ParameterStruct/ParagraphParameters., use ShareContainer in
129 FontTable., make vars in FontTable private and add getter and
132 * paragraph.C: changes because of the above.
134 * lyxfont.h: remove copy constructor and copy assignment. (the
135 default ones is ok), move number inside FontBits. move inlines to
138 * lyxfont.C: add number to initializaton of statics, move several
139 inlines here. constify several local vars. some whitespace
140 cleanup. Dont hide outerscope variables.
142 * Spacing.h: add two new constructors to match the set methods.
144 * ShareContainer.h: new file, will perhaps be moved to support
146 * ParameterStruct.h: new file
148 * ParagraphParameters.h: new file
150 * ParagraphParameters.C: new file
152 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
153 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
155 * BufferView_pimpl.C: ParagraphParameter changes.
156 * buffer.C: Likewise.
157 * bufferview_funcs.C: Likewise.
161 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
163 * lyxfind.C (LyXReplace): do not redefine default argument in
165 (IsStringInText): ditto
166 (SearchForward): ditto
167 (SearchBackward): ditto
169 2001-03-06 Juergen Vigna <jug@sad.it>
171 * lyxfind.C (IsStringInText): put parentes around expressions.
173 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
175 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
177 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
179 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
181 * stl_string_fwd.h: add comment
183 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
186 * tabular.C: remove unused DocBook methods
192 killed DO_USE_DEFAULT_LANGUAGE
194 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
196 * lyx_gui.C: do not include language.h.
198 * bufferview_funcs.C (ToggleAndShow): do not provide optional
199 arguments in function implementation.
201 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
203 * BufferView_pimpl.C: add <ctime>
205 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
207 * BufferView_pimpl.C: add using std::find_if
209 2001-02-27 José Matos <jamatos@fep.up.pt>
211 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
214 2001-02-11 José Matos <jamatos@fep.up.pt>
216 * buffer.C (makeDocBookFile): command styles now have a parameter as
219 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
221 * layout_forms.[Ch]: removed
222 * lyx_cb.[Ch]: out character
223 * lyx_gui.C: out character
224 * lyx_gui_misc.C: out character
225 * bufferview_funcs.C: : out character,
226 added toggleall as parameter in ToggleAndShow
228 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
230 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
232 * text2.C (SetCurrentFont): Disable number property at boundary.
234 2001-02-26 Juergen Vigna <jug@sad.it>
236 * lyxfunc.C (getStatus): added a string argument override function so
237 that this is correctly called from LyXFunc::Dispatch if it contains a
238 do_not_use_argument which is used!
239 (Dispatch): added check for "custom" export and call appropriate func.
241 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
243 * lyxrc.C: Add language_command_local, language_use_babel and
244 language_global_options.
246 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
248 * buffer.C (makeLaTeXFile): Use language_use_babel and
249 language_global_options.
251 2001-02-23 Juergen Vigna <jug@sad.it>
253 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
254 which works with LyXText and putted it inside BufferView. Here now we
255 only call for that part the BufferView::Dispatch() function.
257 * BufferView.C (Dispatch): added.
259 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
260 functions which needs to use a LyXText over from LyXFunc.
261 (MenuInsertLyXFile): added
262 (getInsetByCode): added
263 (moveCursorUpdate): added
266 2001-02-22 Juergen Vigna <jug@sad.it>
268 * BufferView_pimpl.C (update): call a status update to see if LyXText
271 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
273 * vc-backend.C (revert): implement for CVS
274 (getLog): implement for CVS
276 2001-02-20 Juergen Vigna <jug@sad.it>
278 * text2.C (ClearSelection): added BufferView param for inset_owner call
280 * lyxfunc.C (TEXT): added this function and use it instead of
281 directly owner->view()-text of getLyXText().
283 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
285 * src/layout_forms.C: out preamble
286 * src/layout_forms.h: out preamble
287 * src/lyx_cb.C: out preamble
288 * src/lyx_cb.h: out preamble
289 * src/lyx_gui.C: out preamble
290 * src/lyx_gui_misc.C: out preamble
291 * src/lyxfunc.C: connect with guii preamble
293 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
295 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
297 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
299 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
300 whether to run bibtex.
302 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
304 * Makefile.am (lyx_SOURCES): Remove BackStack.h
306 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
308 * Makefile.am (lyx_SOURCES): removed bibforms.h
312 * text.C (GetVisibleRow): make several local vars const
314 * tabular.C: small cleanup.
316 * lyxserver.C (callback): use compare instead of strncmp
318 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
319 inlines to after class or to paragraph.C
321 * lyxfont.h: remove friend operator!=
323 * converter.h: move friend bool operator< to non friend and after
326 * combox.h: small cleanup
328 * buffer.h: doxygen, remove unused constructor, move inclas inlies
329 to inlines after class def.
331 * buffer.C (pop_tag): use string operations instead of strcmp
333 * bmtable.c: doxygen, small cleanup
335 * LaTeX.h: remove friend operator==
337 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
349 * BufferView_pimpl.C:
350 * BufferView.[Ch]: remove cruft
352 2001-02-14 Juergen Vigna <jug@sad.it>
354 * lyxfunc.C: removed #if 0 unused code
356 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
358 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
360 * text2.C (SetSelection): added a BufferView * parameter
362 2001-02-13 Juergen Vigna <jug@sad.it>
364 * lyxfunc.C (Dispatch): fixed protected blank problem.
365 * BufferView2.C (protectedBlank): added LyxText * parameter.
367 * tabular.C (AppendRow): forgot to set row_info of newly added row.
368 (AppendColumn): same as above for column_info.
370 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
371 (moveCursorUpdate): use a LyXText param for support of InsetText.
373 * BufferView_pimpl.C (doubleClick): added support for InsetText.
376 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
378 * BufferView_pimpl.C (update): added LyXText param to honor insets.
380 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
382 * text2.C (SetSelection): set correct update status if inset_owner
385 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
387 * tabular.C: remove some commented code.
389 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
391 * BufferView_pimpl.C: call hideSplash()
393 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
399 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
400 add LFUN_CHILD_CREATE
402 * counters.h: fix tiny typo
407 * lyx.C: move splash to frontends/xforms/
409 * lyx_gui_misc.C: move Include and Bibform to frontends
411 * lyxvc.h: clarify comment
413 * vspace.C: tiny housekeeping
415 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
417 * text.C (PrepareToPrint): RTL Fix.
419 * paragraph.C (GetUChar): New method.
420 (String): Use GetUChar.
422 * buffer.C (asciiParagraph): Use GetUChar.
424 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
426 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
428 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
431 * buffer.C: rename to getLogName(), handle
432 build log / latex log nicely
434 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
437 * MenuBackend.h: remove support for reference menuitem type.
439 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
441 * BufferView_pimpl.C: housekeeping
442 * BufferView_pimpl.h:
447 * minibuffer.h: move Timeout GUI-I
449 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
451 * lyxrc.C (read): Update converters data-structures.
453 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
455 * LaTeX.h (operator!=): add operator != for Aux_Info
457 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
459 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
461 * LaTeXLog.C: deleted, useful code moved to Buffer
464 * buffer.C: new function getLatexLogName()
470 * lyxfunc.C: use frontends for LaTeX and VC logs
472 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
474 * LaTeX.h: yet another std:: that Allan forgot.
476 * Variables.C (set): renamed from isset(), because this clashes
477 with some HP-UX macros (grr).
479 2001-02-06 Allan Rae <rae@lyx.org>
481 * LaTeX.h: Another bug fix. Missing std:: this time.
483 2001-02-04 Allan Rae <rae@lyx.org>
485 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
486 floats problem. I've left it commented out because it's not quite
487 correct. It should also test that the current object is a table or
488 figure inset. But I haven't gotten around to figuring out how to do
489 that. I *think* it'll be something like: "table" == inset.type()
491 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
494 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
496 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
497 all the citation/databases/styles in the auxilary file.
498 (run): Rerun latex if there was a babel language error.
500 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
502 * text.C (Backspace): Preserve the font when changing newline char
504 (BreakParagraph): If the cursor is before a space, delete the space.
506 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
508 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
510 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
512 (ChangeCitationsIfUnique): New method.
514 * paragraph.C (GetPositionOfInset): Handle bibkey.
516 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
518 * BufferView_pimpl.h: change type of Position::par_pos to
519 LyXParagraph::size_type.
521 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
523 * BufferView_pimpl.C (savePosition, restorePosition): Write
524 messages to minibuffer.
526 2001-01-28 José Matos <jamatos@fep.up.pt>
528 * buffer.C (makeDocBookFile): adds support for document language.
529 A silly restriction on the name of LatexCommand types where removed.
530 Added support for CDATA sections, allows to chars unescaped, used
531 among others in code, to avoid escape < and >.
533 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
535 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
536 saved positions instrad of a stack. Furthermore, a position is
537 stored using paragraph id/paragraph position.
539 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
540 Remove LFUN_REF_BACK.
542 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
544 * converter.C (dvipdfm_options): New method.
546 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
548 * vspace.C (isValidLength): Fix for empty input string.
550 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
552 * LyXAction.C (init): change description of LFUN_FIGURE to
555 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
557 * LaTeX.C: add using directive
559 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
561 * MenuBackend.C (expand): Fix the sorting of the formats.
563 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
565 * lyx_main.C: tiny error message fix
567 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
569 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
570 calling fl_initialize(). This fixes the problem with ',' as
571 decimal separator in text files.
573 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
575 * trans.C (process): Fix the keymap bug.
577 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
579 * LaTeX.C (scanAuxFiles): New method. Provides support for
580 multiple bibliographies (when using the bibtopic/bibunits pacakges).
581 (scanLogFile) Scan for "run BibTeX" messages.
583 * buffer.C (makeLaTeXFile): Do not load the ae package when using
584 OT1 font encoding. Also, load the aecompl package if the ae
587 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
589 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
591 * texrow.C (increasePos): turn two error messages into debug
594 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
596 * LaTeX.C (scanAux): Handle the \@input macro.
597 (runBibTeX): Use scanAux().
599 * language.C (latex_options_): New field.
601 * LaTeXFeatures.C (getMacros): Add language macros.
603 * buffer.C (makeLaTeXFile): Small fix.
605 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
607 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
609 * text2.C: add a using directive.
611 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
616 * lyxfunc.C: kill LyXBell.
618 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
620 * text.C (IsBoundary): Remove the error message
622 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
624 * lyxrc.C (setDefaults): Correct initialization value for
627 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
629 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
632 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
635 * src/LyXAction.C: Added reference-next.
637 * text.C (InsertChar): Use contains instead of strchr.
639 * lyx_cb.C (MenuInsertLabel): Enable default value code.
641 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
643 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
644 alignment commands (when needed).
646 * text.C (InsertChar): Add ':' to number separator chars.