]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
remove Last when NEW_INSETS is defined
[lyx.git] / src / ChangeLog
1 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2
3         * paragraph.C (Last): remove when NEW_INSETS is defined.
4
5         * other file: changes because of the above.
6
7 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8
9         * lyxparagraph.h: rename next to next_, previous to previous_,
10         make them private for NEW_INSETS. Rename Next() to next(),
11         Previous() to previous().
12
13         * other files: changes because of the above.
14
15 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16
17         * BufferView.h: 
18         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
19         problem.
20
21 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
22
23         * main.C (main): pass lyx_localedir to gettext_init().
24
25         * gettext.h: remove locale_init and gettext_init macros
26
27         * gettext.C (locale_init): new function
28         (gettext_init): new function
29
30         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
31         setlocale().
32
33 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
34
35         * Moved credits to frontends:
36         * credits.[Ch]: removed
37         * credits_form.[Ch]: removed
38         * lyx_gui_misc.C: remove credits stuff
39         * Makefile.am:
40
41 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
42
43         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
44
45         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
46         unneeded destructor.
47
48         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
49         a standalone pointer again.
50
51         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
52
53 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
54
55         * Makefile.am:
56         * filedlg.h:
57         * filedlg.C:
58         * LyXAction.C:
59         * ToolbarDefaults.C:
60         * bufferlist.C:
61         * commandtags.h:
62         * form1.C:
63         * form1.h:
64         * lyx_cb.C:
65         * lyx_cb.h:
66         * lyxfunc.h:
67         * lyxfunc.C:
68         * BufferView_pimpl.C: use new file dialog in GUII
69
70         * lyx_cb.h:
71         * lyx_cb.C: remove LayoutsCB to Toolbar
72
73 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
74
75         * ShareContainer.h (get): add std:: qualifier
76
77 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
78
79         * ShareContainer.h: define a proper ShareContainer::value_type
80         type (and use typename to please compaq cxx)
81
82 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
83
84         * lyxparagraph.h: move serveral local vars to
85         ParameterStruct/ParagraphParameters., use ShareContainer in
86         FontTable., make vars in FontTable private and add getter and
87         setter.
88
89         * paragraph.C: changes because of the above.
90
91         * lyxfont.h: remove copy constructor and copy assignment. (the
92         default ones is ok), move number inside FontBits. move inlines to
93         lyxfont.C 
94
95         * lyxfont.C: add number to initializaton of statics, move several
96         inlines here. constify several local vars. some whitespace
97         cleanup. Dont hide outerscope variables.
98
99         * Spacing.h: add two new constructors to match the set methods.
100
101         * ShareContainer.h: new file, will perhaps be moved to support
102
103         * ParameterStruct.h: new file
104
105         * ParagraphParameters.h: new file
106
107         * ParagraphParameters.C: new file
108
109         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
110         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
111
112         * BufferView_pimpl.C: ParagraphParameter changes.
113         * buffer.C: Likewise.
114         * bufferview_funcs.C: Likewise.
115         * text.C: Likewise.
116         * text2.C: Likewise.
117         
118 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
119
120         * lyxfind.C (LyXReplace): do not redefine default argument in
121         implementation. 
122         (IsStringInText): ditto
123         (SearchForward): ditto
124         (SearchBackward): ditto
125
126 2001-03-06  Juergen Vigna  <jug@sad.it>
127
128         * lyxfind.C (IsStringInText): put parentes around expressions.
129
130 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
131
132         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
133         
134 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
135
136         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
137
138         * stl_string_fwd.h: add comment
139
140         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
141
142         * tabular.h:
143         * tabular.C: remove unused DocBook methods
144
145         * intl.C:
146         * language.C:
147         * paragraph.C:
148         * buffer.C:
149         killed DO_USE_DEFAULT_LANGUAGE
150
151 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
152
153         * lyx_gui.C: do not include language.h.
154
155         * bufferview_funcs.C (ToggleAndShow): do not provide optional
156         arguments in function implementation.
157
158 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
159
160         * BufferView_pimpl.C: add <ctime>
161
162 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
163
164         * BufferView_pimpl.C: add using std::find_if
165
166 2001-02-27  José Matos  <jamatos@fep.up.pt>
167         
168         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
169         by OnlyPath.
170         
171 2001-02-11  José Matos  <jamatos@fep.up.pt>
172
173         * buffer.C (makeDocBookFile): command styles now have a parameter as
174         "title" by default.
175
176 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
177
178         * layout_forms.[Ch]: removed
179         * lyx_cb.[Ch]: out character
180         * lyx_gui.C: out character
181         * lyx_gui_misc.C: out character
182         * bufferview_funcs.C: : out character,
183         added toggleall as parameter in ToggleAndShow
184                    
185 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
186
187         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
188
189         * text2.C (SetCurrentFont): Disable number property at boundary.
190
191 2001-02-26  Juergen Vigna  <jug@sad.it>
192
193         * lyxfunc.C (getStatus): added a string argument override function so
194         that this is correctly called from LyXFunc::Dispatch if it contains a
195         do_not_use_argument which is used!
196         (Dispatch): added check for "custom" export and call appropriate func.
197
198 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
199
200         * lyxrc.C: Add language_command_local, language_use_babel and
201         language_global_options.
202
203         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
204
205         * buffer.C (makeLaTeXFile): Use language_use_babel and 
206         language_global_options.
207
208 2001-02-23  Juergen Vigna  <jug@sad.it>
209
210         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
211         which works with LyXText and putted it inside BufferView. Here now we
212         only call for that part the BufferView::Dispatch() function.
213
214         * BufferView.C (Dispatch): added.
215
216         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
217         functions which needs to use a LyXText over from LyXFunc.
218         (MenuInsertLyXFile): added
219         (getInsetByCode): added
220         (moveCursorUpdate): added
221         (static TEXT): added
222
223 2001-02-22  Juergen Vigna  <jug@sad.it>
224
225         * BufferView_pimpl.C (update): call a status update to see if LyXText
226         needs it.
227
228 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
229
230         * vc-backend.C (revert): implement for CVS
231         (getLog): implement for CVS
232
233 2001-02-20  Juergen Vigna  <jug@sad.it>
234
235         * text2.C (ClearSelection): added BufferView param for inset_owner call
236
237         * lyxfunc.C (TEXT): added this function and use it instead of
238         directly owner->view()-text of getLyXText().
239
240 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
241
242         * src/layout_forms.C: out preamble
243         * src/layout_forms.h: out preamble
244         * src/lyx_cb.C: out preamble
245         * src/lyx_cb.h: out preamble
246         * src/lyx_gui.C: out preamble
247         * src/lyx_gui_misc.C: out preamble
248         * src/lyxfunc.C: connect with guii preamble
249
250 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
251
252         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
253
254 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
255
256         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
257         whether to run bibtex.
258
259 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
260
261         * Makefile.am (lyx_SOURCES): Remove BackStack.h
262
263 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
264
265         * Makefile.am (lyx_SOURCES): removed bibforms.h
266
267         * vspace.h: doxygen
268
269         * text.C (GetVisibleRow): make several local vars const
270
271         * tabular.C: small cleanup.
272
273         * lyxserver.C (callback): use compare instead of strncmp
274
275         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
276         inlines to after class or to paragraph.C
277
278         * lyxfont.h: remove friend operator!=
279
280         * converter.h: move friend bool operator< to non friend and after
281         class def.
282
283         * combox.h: small cleanup
284
285         * buffer.h: doxygen, remove unused constructor, move inclas inlies
286         to inlines after class def.
287
288         * buffer.C (pop_tag): use string operations instead of strcmp
289
290         * bmtable.c: doxygen, small cleanup
291
292         * LaTeX.h: remove friend operator==
293
294 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
295
296         * screen.C: 
297         * lyxrc.[Ch]:
298         * lyxfunc.C: 
299         * lyxfont.[Ch]: 
300         * lyx_cb.C: 
301         * intl.[Ch]: 
302         * commandtags.h: 
303         * buffer.C: 
304         * WorkArea.[Ch]: 
305         * LyXAction.C: 
306         * BufferView_pimpl.C:
307         * BufferView.[Ch]: remove cruft
308
309 2001-02-14  Juergen Vigna  <jug@sad.it>
310
311         * lyxfunc.C: removed #if 0 unused code
312
313         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
314
315         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
316
317         * text2.C (SetSelection): added a BufferView * parameter
318
319 2001-02-13  Juergen Vigna  <jug@sad.it>
320
321         * lyxfunc.C (Dispatch): fixed protected blank problem.
322         * BufferView2.C (protectedBlank): added LyxText * parameter.
323
324         * tabular.C (AppendRow): forgot to set row_info of newly added row.
325         (AppendColumn): same as above for column_info.
326
327         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
328         (moveCursorUpdate): use a LyXText param for support of InsetText.
329
330         * BufferView_pimpl.C (doubleClick): added support for InsetText.
331         (tripleClick): ditto
332
333         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
334
335         * BufferView_pimpl.C (update): added LyXText param to honor insets.
336
337         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
338
339         * text2.C (SetSelection): set correct update status if inset_owner
340         (ToggleFree): ditto
341
342 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
343
344         * tabular.C: remove some commented code.
345
346 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
347
348         * BufferView_pimpl.C: call hideSplash()
349
350         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
351
352         * include_form.h:
353         * bibforms.h: remove
354
355         * lyxfunc.C:
356         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
357           add LFUN_CHILD_CREATE
358
359         * counters.h: fix tiny typo
360         
361         * lyx_cb.C:
362         * lyx.h:
363         * lyx_gui.C:
364         * lyx.C: move splash to frontends/xforms/
365
366         * lyx_gui_misc.C: move Include and Bibform to frontends
367
368         * lyxvc.h: clarify comment
369
370         * vspace.C: tiny housekeeping
371
372 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
373
374         * text.C (PrepareToPrint): RTL Fix.
375
376         * paragraph.C (GetUChar): New method.
377         (String):  Use GetUChar.
378
379         * buffer.C (asciiParagraph): Use GetUChar.
380
381 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
382
383         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
384
385 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
386
387         * buffer.h:
388         * buffer.C: rename to getLogName(), handle
389           build log / latex log nicely
390
391 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
392
393         * MenuBackend.C: 
394         * MenuBackend.h: remove support for reference menuitem type.
395
396 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
397
398         * BufferView_pimpl.C: housekeeping
399         * BufferView_pimpl.h:
400         * LyXView.h:
401         * Makefile.am:
402         * Timeout.C:
403         * Timeout.h:
404         * minibuffer.h: move Timeout GUI-I
405                           
406 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
407
408         * lyxrc.C (read): Update converters data-structures.
409
410 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
411
412         * LaTeX.h (operator!=): add operator != for Aux_Info 
413
414 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
415
416         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
417
418         * LaTeXLog.C: deleted, useful code moved to Buffer
419
420         * buffer.h:
421         * buffer.C: new function getLatexLogName()
422
423         * lyx_gui_misc.C:
424         * lyx_gui.C:
425         * lyxvc.C:
426         * lyxvc.h:
427         * lyxfunc.C: use frontends for LaTeX and VC logs
428
429 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
430
431         * LaTeX.h: yet another std:: that Allan forgot.
432
433         * Variables.C (set): renamed from isset(), because this clashes
434         with some HP-UX macros (grr).
435
436 2001-02-06  Allan Rae  <rae@lyx.org>
437
438         * LaTeX.h: Another bug fix.  Missing std:: this time.
439
440 2001-02-04  Allan Rae  <rae@lyx.org>
441
442         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
443         floats problem. I've left it commented out because it's not quite
444         correct.  It should also test that the current object is a table or
445         figure inset.  But I haven't gotten around to figuring out how to do
446         that.  I *think* it'll be something like: "table" == inset.type()
447
448         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
449         bool.
450
451 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
452
453         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
454         all the citation/databases/styles in the auxilary file. 
455         (run): Rerun latex if there was a babel language error.
456
457 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
458
459         * text.C (Backspace): Preserve the font when changing newline char
460         with a space.
461         (BreakParagraph): If the cursor is before a space, delete the space.
462
463         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
464
465 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
466
467         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
468         new argument (code).
469         (ChangeCitationsIfUnique): New method.
470
471         * paragraph.C (GetPositionOfInset): Handle bibkey.
472
473 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
474
475         * BufferView_pimpl.h: change type of Position::par_pos to
476         LyXParagraph::size_type. 
477
478 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
479
480         * BufferView_pimpl.C (savePosition, restorePosition): Write
481         messages to minibuffer.
482
483 2001-01-28  José Matos  <jamatos@fep.up.pt>
484
485         * buffer.C (makeDocBookFile): adds support for document language.
486         A silly restriction on the name of LatexCommand types where removed.
487         Added support for CDATA sections, allows to chars unescaped, used
488         among others in code, to avoid escape < and >.
489         
490 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
491
492         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
493         saved positions instrad of a stack. Furthermore, a position is
494         stored using paragraph id/paragraph position.
495
496         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
497         Remove LFUN_REF_BACK.
498
499 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
500
501         * converter.C (dvipdfm_options): New method.
502
503 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
504
505         * vspace.C (isValidLength): Fix for empty input string.
506
507 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
508
509         * LyXAction.C (init): change description of LFUN_FIGURE to
510         "Insert Graphics"
511
512 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
513
514         * LaTeX.C: add using directive
515
516 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
517
518         * MenuBackend.C (expand): Fix the sorting of the formats.
519
520 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
521
522         * lyx_main.C: tiny error message fix
523
524 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
525
526         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
527         calling fl_initialize(). This fixes the problem with ',' as
528         decimal separator in text files.
529
530 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
531
532         * trans.C (process): Fix the keymap bug.
533
534 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
535
536         * LaTeX.C (scanAuxFiles): New method. Provides support for
537         multiple bibliographies (when using the bibtopic/bibunits pacakges).
538         (scanLogFile) Scan for "run BibTeX" messages.
539
540         * buffer.C (makeLaTeXFile): Do not load the ae package when using
541         OT1 font encoding. Also, load the aecompl package if the ae
542         package is loaded.
543
544         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
545
546 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
547
548         * texrow.C (increasePos): turn two error messages into debug
549         messages. 
550
551 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
552
553         * LaTeX.C (scanAux): Handle the \@input macro.
554         (runBibTeX): Use scanAux().
555
556         * language.C (latex_options_): New field.
557
558         * LaTeXFeatures.C (getMacros): Add language macros.
559
560         * buffer.C (makeLaTeXFile): Small fix.
561
562 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
563
564         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
565
566         * text2.C: add a using directive.
567
568 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
569
570         * BufferView2.C:
571         * lyx_gui_misc.h:
572         * lyxfr1.C:
573         * lyxfunc.C: kill LyXBell.
574
575 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
576
577         * text.C (IsBoundary): Remove the error message
578         
579         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
580
581         * lyxrc.C (setDefaults): Correct initialization value for
582         font_norm_type.
583
584 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
585
586         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
587         gotoError().
588
589         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
590         and GotoNextNote().
591
592         * src/LyXAction.C: Added reference-next.
593
594         * text.C (InsertChar): Use contains instead of strchr.
595
596         * lyx_cb.C (MenuInsertLabel): Enable default value code.
597
598 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
599
600         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
601         alignment commands (when needed).
602
603         * text.C (InsertChar): Add ':' to number separator chars.