]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
add sourcedoc
[lyx.git] / src / ChangeLog
1 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2
3         * text2.C (toggleInset): call open/close
4
5 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6
7         * lyxfunc.C (dispatch): add debug for the disabled case
8
9         * font.C (buttonText): make similar to rectText
10
11         * buffer.C (readInset): comment out parsing of insetlist and
12         insttheorem 
13
14         * PainterBase.C (rectText): small correction
15
16         * BufferView_pimpl.C: comment out insettheorem and insetlist
17         * LyXAction.C: ditto
18         * commandtags.h: ditto
19
20 2001-07-24  Juergen Vigna  <jug@sad.it>
21
22         * text.C (draw): honor the ignore_language.
23
24         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
25
26 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
27
28         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
29         char inset.
30
31 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
32
33         * lyxtext.h: remove unused (and unimplemented) methods
34
35 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * text.C (getVisibleRow): honor background color
38
39         * PainterBase.h:
40         * Painter.h: remove default color argument for fillRectangle
41
42         * text.C (backgroundColor): new method
43
44 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
45
46         * text.C (getVisibleRow): adjust
47
48         * font.[Ch] (rectText): new method, metrics
49         (buttonText): new method, metrics
50
51         * PainterBase.[hC]: make rectText and buttonText always draw and take
52         fewer paramteres.
53
54 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
55
56         * ToolbarDefaults.C (read): 
57         * MenuBackend.C (read): allow escaping in all strings
58
59         * BufferView_pimpl.C (insertAndEditInset): new method.
60         (Dispatch): use insertAndEditInset whenever appropriate.
61
62         * BufferView_pimpl.C (insertNote): removed
63
64         * BufferView_pimpl.C (smartQuote): new method, moved from
65         BufferView; if an insetquote cannot be inserted, insert a '"'
66         character instead.
67
68         * BufferView2.C: remove insertCorrectQuote();
69
70         * lyxfunc.C (getStatus): Add support for all remaingin
71         inset-insert lfuns.
72
73         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
74
75         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
76         command (necessary to pass " as parameter of self-insert.
77
78         * text.C (selectWordWhenUnderCursor):
79         (selectWord): add word_location parameter
80         (selectWordWhenUnderCursor): same + remove special code for word
81         boundary.
82         (selectNextWord): use kind() to guess type of insetspecialchar,
83         not latex().
84         
85         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
86         (insertErtContents): create ert insets as collapsed.
87         (readInset): better compatibility code for Info inset.
88
89 2001-07-20  Juergen Vigna  <jug@sad.it>
90
91         * lyxfunc.C (dispatch): use always LyXFind now!
92
93         * text2.C (init): add a reinit flag so that the LyXText can be
94         reinited instead of deleted and reallocated (used in InsetText).
95
96         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
97
98         * text.C: ditto
99
100         * text2.C: ditto
101
102 2001-07-18  Juergen Vigna  <jug@sad.it>
103
104         * text.C (selectNextWord): handle insets inside inset by calling
105         always the bv->text functions so that we can go up the_locking_inset!
106
107         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
108         in strange locations when inside an inset!
109
110         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
111         handling to include insets.
112
113         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
114
115 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
116
117         * LyXAction.C (init): 
118         * commandtags.h: 
119         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
120         LIGATURE_BREAK, since the name is so stupid.
121
122 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
123
124         * buffer.C (readInset): enable reading of new InsetNotes as well as old
125         InsetInfos.
126
127         * FontLoader.C: remove FORMS_H_LOCATION cruft.
128
129         * sp_form.[Ch]: remove.
130
131         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
132
133         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
134         InsetInfo.
135
136         * src/buffer.C (readInset): ditto.
137
138 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
139
140         * BufferView_pimpl.C (specialChar): new method. Obsoletes
141         menuSeparator(), endOfSentenceDot(), ldots() and
142         hyphenationPoint(), which are therefore removed.
143         (Dispatch): handle LFUN_HYPHENATION_BREAK.
144
145         * LyXAction.C (init): 
146         * commandtags.h: add LFUN_HYPHENATION_BREAK.
147
148         * paragraph.C (getWord): removed.
149
150         * BufferView_pimpl.C (Dispatch): use last word or selection for
151         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
152
153         * lyx_main.C (queryUserLyXDir): do not ask before creating
154         user_dir, except if it has been named explicitely.
155
156 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
157
158         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
159         a document of zero size.
160
161 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
162
163         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
164         approriately in the c-tor and in require().
165         (getPackages): output the appropriate LaTeX for natbib support.
166
167         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
168         variables "use_natbib" and "use_numerical_citations" when reading the
169         LyX file.
170         (readInset): read the various natbib cite commands.
171         (validate): white-space change.
172
173         * bufferparams.[Ch]: new variables "bool use_natbib" and
174         "bool use_numerical_citations".
175         (writeFile): output them in the LyX file.
176
177 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * lyxfunc.C (getStatus): add support for all the inset insertion
180         commands.
181
182         * text2.C (insertInset): 
183         * paragraph.C (insetAllowed): 
184         * BufferView_pimpl.C (insertInset): update to take in account the
185         renaming of insertInsetAllowed
186
187         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
188
189         * text2.C (getInset): new method. returns inset at cursor position. 
190
191         * BufferView_pimpl.C (Dispatch): changes because of this.
192
193         * LyXAction.C (init): rename open-stuff to inset-toggle.
194
195         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
196
197         * text2.C (toggleInset): renamed from openStuff; use
198         Inset::open().
199
200 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
201
202         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
203
204         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
205
206 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
207
208         * buffer.C (readLyXformat2): Add filename to the error dialog
209
210 2001-07-18  Juergen Vigna  <jug@sad.it>
211
212         * tabular.C (GetCellNumber): put an assert here instead of the check!
213
214 2001-07-17  Juergen Vigna  <jug@sad.it>
215
216         * BufferView_pimpl.C (toggleSelection): adapted too.
217
218         * text.C (selectNextWord): adapted for use with insets.
219         (selectSelectedWord): ditto
220
221 2001-07-17  Juergen Vigna  <jug@sad.it>
222
223         * sp_spell.C (PSpell): fix initialitation order.
224
225 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
226
227         * paragraph.C: spacing
228
229 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
230
231         * sp_spell.C: repair language selection for pspell
232
233 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
234
235         * lyxfunc.h: change more methods to begin with lower char.
236
237 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
238
239         * buffer.C (parseSingleLyXformat2Token): Generate error insets
240         for unknown layouts.
241
242 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
243
244         * buffer.C (readLyXformat2): Generate an error dialog if there are
245         unknown layouts.
246
247 2001-07-16  Juergen Vigna  <jug@sad.it>
248
249         * sp_spell.C: always compile ISpell part.
250
251         * lyxrc.C: added use_pspell entry and it's handling.
252
253 2001-07-13  Juergen Vigna  <jug@sad.it>
254
255         * sp_spell.C: removed double includes.
256
257 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
258
259         Consistent use of Lsstream.h:
260         * Lsstream.h: added using std::stringstream for consistencies sake.
261
262         * buffer.C: removed using std::stringstream
263
264         * lyxfont.C (stateText):
265         * paragraph.C (asString):
266         * text.C (selectNextWord, selectSelectedWord):
267         * text2.C (setCounter):
268         * vspace.C (asString, asLatexString):
269         std::ostringstream -> ostringstream.
270
271 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
272
273         * LyXAction.C: add LFUN_HELP_ABOUTLYX
274         * commandtags.h: add LFUN_HELP_ABOUTLYX
275         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
276
277 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
278
279         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
280         cursorToggle()
281         * lyx_gui_misc.C: remove spellchecker
282         * lyxfunc.C: showSpellchecker
283         * sp_base.h: added
284         * sp_ispell.h: added
285         * sp_pspell.h: added
286         * sp_spell.C: added
287         * sp_form.[Ch]: removed
288         * spellchecker.[Ch]: removed
289
290 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
291
292         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
293         is set.
294         (simpleTeXSpecialChars): Simply print the input character without
295         any special translation if pass_thru is set.
296
297         * layout.h: Added bool pass_thru to layout class for being able to
298         implement pass through of a paragraph for Literate Programming.
299         
300         * layout.C: add LT_PASS_THRU to LayoutTags enum.
301         * layout.C (LyXLayout): set pass_thru to flase in constructor.
302         * layout.C (Read): add "passthru" to list of layout tags and add
303         code to set the pass_thru boolean when it is read.
304
305 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
306
307         * trans_decl.h: remove allowed from KmodInfo
308
309         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
310         remove allowed code 
311         (Load): adjust
312
313         * paragraph_pimpl.C (erase): use boost::prior
314
315         * Painter.C (text): use data() instead of c_str() when length is
316         also provided.
317         * WorkArea.C (putClipboard): ditto
318         * font.h (width): ditto
319
320         * BufferView2.C: use it-> instead of (*it). for iterators
321         * texrow.C: ditto
322         * paragraph_pimpl.C: ditto
323         * paragraph.C: ditto
324         * minibuffer.C: ditto
325         * language.C: ditto
326         * kbmap.C: ditto
327         * encoding.C: ditto
328         * counters.C: ditto
329         * converter.C: ditto
330         * chset.C: ditto
331         * Variables.C: ditto
332         * TextCache.C: ditto
333         * MenuBackend.C: ditto
334         * LyXAction.C: ditto
335         * LColor.C: ditto
336         * FloatList.C: ditto
337         * DepTable.C: ditto
338         * ColorHandler.C (LyXColorHandler): ditto
339
340 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
341
342         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
343
344         * text2.C (openStuff): reintroduce this method (which had been
345         nuked in NEW_INSETS frenzy).
346
347         * lyxfunc.C (Dispatch): when an action has not been handled, use
348         its name in the error message, not its number.
349
350         * paragraph.C (inInset): change method name to begin with lowercase.
351
352         * undo_funcs.C:
353         * text2.C: updates because of this.
354
355 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
356
357         * ToolbarDefaults.C (add): add spaces in error message
358
359 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
360
361         * buffer.C (readLyXformat2): initialize the ert comp. variables.
362         (readLyXformat2): rename return_par to first_par, use lyxlex's
363         pushToken and remove the manual push handling.
364         (parseSingleLyXformat2Token): add another ert comp. variable:
365         in_tabular, rename return_par to first_par. handle newlines better
366
367 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
368
369         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
370
371 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
372
373         * text2.C (getParFromID): removed
374
375         * buffer.C (getParFromID): new method moved form lyxtext.
376         * BufferView2.C (insertErrors): adjust
377         (setCursorFromRow): adjust
378         * BufferView_pimpl.C (restorePosition): adjust
379         * lyxfunc.C (Dispatch): adjust
380         * undo_funcs.C (textUndo): adjust
381         (textRedo): adjust
382         (textHandleUndo): adjust
383         (textHandleUndo): adjust
384
385 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
386
387         * buffer.C: up' the LYX_FORMAT
388
389         * lyxfont.h: turn NO_LATEX on as default
390
391         * buffer.C (insertErtContents): new methods of tex style compability.
392         (parseSingleLyXformat2Token): use it several places.
393         * tabular.C (OldFormatRead): and here
394
395 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
396
397         * text2.C: remove some commented code.
398         reindent file.
399
400         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
401         * trans.C: changes because of the above.
402
403 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
404
405         * text2.C (setCounter): Fix counters bug with bibliography layout.
406
407 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
408
409         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
410         own member functions
411         (simpleTeXSpecialChars): ditto
412
413 2001-07-06  Juergen Vigna  <jug@sad.it>
414
415         * a lot of files: changed the access to LyXText::status and the
416         call of undo-functions.
417         
418         * undo.[Ch]: added a inset_id to the undo informations.
419
420         * undo_funcs.[Ch]: added and moved here all undo functions.
421
422         * lyxtext.h: give the status enum a weight, made status_ a private
423         variable and made accessor functions for it, removed the whole bunch
424         of undo-functions as they are now in their own file, make some
425         functions publically available. Added function ownerParagraph with
426         int parameter.
427
428         * paragraph.[Ch]: added "bool same_ids" to the constructor,
429         made InInset() a const function, added getParFromID() function.
430
431         * buffer.[Ch]: added const version for inset_iterator functions,
432         added getInsetFromID() function.
433
434         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
435         changed undo functions for new version.
436
437 2001-07-05  Juergen Vigna  <jug@sad.it>
438
439         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
440         unknow mechanism does not call the proper constructor but only this
441         one also if I request the other!?
442
443 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
444
445         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
446
447         * text2.C (LyXText): use initialization lists.
448
449         * lyxtext.h (Selection): initialize set_ and mark_
450         (init): remove method
451
452 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
453
454         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
455
456 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
457
458         * screen.[Ch]: change method names to begin with lowercase 
459
460         * BufferView_pimpl.C (updateScrollbar): simplify further and
461         hopefully make it a bit faster.
462
463 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
464
465         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
466         calling directly xforms functions.
467
468         * Painter.C (Painter): 
469         * lyx_cb.C (MenuWrite): 
470         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
471         fl_display.
472
473         * lyx_gui.C: remove bogus guiruntime extern declaration.
474
475 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
476
477         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
478         in NEW_INSETS
479         (redoDrawingOfParagraph): ditto
480         (redoParagraphs): ditto
481         (cutSelection): don't create a object for CutAndPaste use the
482         static method directly
483         (pasteSelection): ditto
484
485         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
486         LyXview (+ rename)
487
488 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
489
490         * modifications to some other files because of this.
491         
492         * Makefile.am (lyx_SOURCES): add XFormsView
493
494         * XFormsView.[Ch]: new files
495
496         * LyXView.[Ch]: make LyXView a base class for the gui handling for
497         the main window. Move the gui dependent stuff to XFormsView
498
499 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
500
501         * tabular.C (GetCellInset): update cur_cell also in the row/col
502         version of this function.
503
504         * lyxfunc.C: no need to include figure_form.h here.
505
506         * FontLoader.h: 
507         * lyxfunc.h: 
508         * lyxscreen.h: 
509         * text2.C: 
510         * lyxvc.C: no need to include forms.h here.
511
512 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
513
514         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
515
516         * lyxfunc.C (Dispatch): 
517         * Spacing.C (set): 
518         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
519         constructor argument.
520
521 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
522
523         * paragraph.C (Paragraph): dont't clear, and just set layout.
524         (makeSameLayout): use params's copy contructor.
525
526         * ParagraphParameters.[Ch] (makeSame): delete method
527
528 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
529
530         * Variables.[Ch]: fix indentation, rename set to isSet
531
532 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
533
534         * lyxfunc.C (Dispatch): fix typo
535
536 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
537
538         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
539         upper_bound. 
540
541         * bufferlist.C: include assert.h for emergencyWrite().
542
543 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
544
545         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
546           give up at last (bug #425202) !
547  
548 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
549
550         * lyx_gui_misc.C:
551         * sp_form.h:
552         * sp_form.C:
553         * spellchecker.h:
554         * spellchecker.C: strip spellchecker options and bring up
555           preferences tab instead
556          
557 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
558
559         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
560         the istringstream constructor
561
562 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
563
564         * paragraph.C (getLayout): fix return value
565
566         * paragraph.h: do not declare getLayout as inline.
567
568         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
569
570 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
571
572         * lyxcursor.h (operator<): new func
573         (operator>): new func
574         (operator>=): new func
575         (operator<=): new func
576
577         * text.C (changeCase): use selection.start and selection.end
578         (changeRegionCase): require from to be <= to. Require par to be a
579         valid paragraph.
580
581         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
582
583 2001-06-27  Juergen Vigna  <jug@sad.it>
584
585         * text.C (cursorLeftOneWord): changed to return the cursor and added
586         overlay with BufferView * parameter which calls this one.
587         (getWord): added
588         (selectWord): use new getWord function.
589         (changeCase): renamed from changeWordCase as and extended to work
590         also on selections.
591
592         * lyxtext.h: added enum word_location
593
594         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
595         changeCase as this operates now also on selections.
596
597 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
598
599         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
600
601         * many files: send debug output to Debug::INFO instead of
602         Debug::ANY. 
603
604         * converter.C (View): 
605         (Convert): 
606         (Move): send debug output to Debug::FILES instead of console.
607
608 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
609
610         * lyxfunc.C (getStatus): use func_status
611
612         * func_status.h: new header, describing the results of
613         LyXFunc::getStatus;
614
615         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
616         LFUN_MATH_HALIGN.
617
618 2001-06-25  The LyX Project  <jug@sad.it>
619
620         * buffer.C (sgmlOpenTag):
621         (sgmlCloseTag):
622         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
623
624 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
625
626         * text2.C: remove some dead code
627
628         * tabular.C (GetCellInset): store the last cell checked (gotten)
629
630         * tabular.h: add the helper for the speedup
631
632         * lyxtext.h: remove some dead code
633
634 2001-06-26  The LyX Project  <Asger>
635
636         * paragraph.C: Change export to LaTeX of alignment to
637         \begin{center} and family for better roundtrip work with reLyX.
638
639         * Tune the math drawing a bit.
640
641 2001-06-25  The LyX Project  <Asger>
642
643         * LColor.C (LColor): New color for math background. New color
644         for buttons.
645
646 2001-06-25  The LyX Project  <jug@sad.it>
647
648         * lyxfunc.C (MenuNew): remove extra check for .lyx file
649
650         * lyxfunc.C (Open): 
651         * bufferlist.C (newFile): do not restrict to files ending with
652         .lyx
653
654         * BufferView_pimpl.C (MenuInsertLyXFile): 
655
656 2001-06-24  The LyX Project  <jug@sad.it>
657
658         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
659         of compare_no_case
660
661 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
662
663         * lyxtext.h: rename most methods to begin with a small char.
664         Lots of changes because of this.
665
666         * paragraph.C (Paragraph): do not call fitToSize
667         (erase): call Pimpl::erase
668         (insertChar): call Pimpl::insertChar
669         (insertInset): call Pipl::insertInset
670         (breakParagraph): do not call fitToSize
671         (breakParagraphConservative): do not call fitToSize
672         (fitToSize): remove method
673
674         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
675
676 2001-06-24  The LyX Project  <Asger>
677
678         * Fix Qt compilation^2
679
680 2001-06-24  The LyX Project  <jug@sad.it>
681
682         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
683         depthHook(getDepth()-1).
684
685         * paragraph.h: 
686         * ParagraphParameters.h: 
687         * ParameterStruct.h: change type of depth to unsigned int ==
688         depth_type. Many adaptations to other files before of that.
689
690 2001-06-24  The LyX Project  <Asger>
691
692         * Fix Qt compilation.
693
694 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
695
696         * paragraph.h: renamed several methods to begin with small letter.
697         several changes to many parts of the code because of this.
698
699 2001-06-23  The LyX Project  <jug@sad.it>
700
701         * text2.C (InsertStringAsLines): renamed from InsertStringA;
702         rewritten to discard all double spaces when KeepEmpty is off
703         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
704         to only handle newlines but not fiddle with spaces and friends.
705
706         * lyxfunc.C (MenuNew): when doing 'new from template', use
707         template_path as default directory
708
709 2001-06-23  The LyX Project  <Asger>
710
711         * Clean-up of header file includes all over
712         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
713         
714 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
715
716         * paragraph.h: renamed from lyxparagraph.h
717
718 2001-06-23  Asger  <lyx@violet.home.sad.it>
719
720         * Buffer.h: Removed Buffer::resize
721         * BufferList.h: Removed BufferList::resize
722         * LyXView.h: Added LyXView::resize. This way, we will only reflow 
723         the document lazily when we change the width, or the font settings.
724
725 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
726
727         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
728
729 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
730
731         * buffer.h: remove out of date comment
732
733 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
734
735         * lyxscreen.h:
736         * screen.C: fix "theoretical" GC leak
737  
738 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
739
740         * LaTeX.C (scanAuxFile):
741         (deplog): remove trailing \r when reading stream (useful under
742         win32)  
743
744 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
745
746         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
747         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
748         and BufferView::theLockingInset(Inset*), so should use them and not
749         access bv_->text->the_locking_inset directly.
750
751         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
752
753 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
754
755         * Makefile.am:
756         * tex-defs.h: remove old unused file
757          
758 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
759
760         * BufferView_pimpl.C: fix typo, remove minibuffer message
761           when buffer has loaded
762
763 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
764
765         * lyxfunc.C (Dispatch): use stringstream
766         (MenuNew): use stringstream
767         (Open): use stringstream
768
769         * importer.C (Import): use stringstream
770
771         * bufferview_funcs.C (CurrentState): use stringstream
772
773         * LaTeX.C (run): use stringstream
774
775         * BufferView_pimpl.C (savePosition): use stringstream
776         (restorePosition): use stringstream
777         (MenuInsertLyXFile): use stringstream
778
779 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
780
781         * BufferView.C:
782         * Bullet.C:
783         * ColorHandler.C:
784         * FontInfo.C:
785         * FontLoader.C:
786         * LColor.C:
787         * LaTeXFeatures.C:
788         * Painter.C:
789         * gettext.C:
790         * lyx_gui_misc.C:
791         * lyxserver.C:
792         * vspace.C: removed // -*- C++ -*- as first line.
793
794         * lyxfind.h:
795         * version.h: added // -*- C++ -*- as first line.
796
797 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
798
799         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
800
801         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
802         of string
803
804 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
805
806         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
807         of floats.
808
809 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
810
811         * gettext.C: include LString.h even when --disable-nls is on. 
812
813 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
814
815         * converter.h (Get): changed argument type from int to
816         FormatList::size_type to avoid unnecessary conversion.
817
818         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
819         before using it.
820
821 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
822
823         * gettext.h: include LString.h even when --disable-nls is on. 
824
825 2001-06-07  Juergen Vigna  <jug@sad.it>
826
827         * text.C (BreakAgain): subst spaces with tabs.
828
829         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
830         (resizeInsetsLyXText): set force on resizeLyXText.
831
832 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
833
834         * gettext.h (gettext_init): 
835         (locale_init): use a real definition instead of a macro
836
837 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
838
839         * Bufferview_pimpl.C:
840         * LColor.h:
841         * LColor.C: further lcolor tidies
842
843 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
844
845         * BufferView_pimpl.C (updateScrollbar): simplify.
846
847         * BufferView2.C: don't include insets/insetinfo.h, change
848         prototype for insertInset and call the Pimpl version. let
849         updateInset call Pimpl version.
850
851         * BufferView.h: move inset_slept to BufferView::Pimpl, move
852         gotoInset to BufferView::Pimpl
853
854 2001-06-01  Juergen Vigna  <jug@sad.it>
855
856         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
857         inside a LockingInset (is the update needed at all?).
858
859 2001-05-31  Juergen Vigna  <jug@sad.it>
860
861         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
862         here not the old one otherwise how should we compare it afterwards
863         if it's the same!
864
865 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
866
867         * lyxfont.C: 
868         * tabular.C:
869         * tabular-old.C: 
870         * FontInfo.C: bring C functions into global namespace when
871         necessary
872
873 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
874
875         * LString.h: make sure config.h has been loaded before LString.h.
876
877         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
878         (one for each char read by EatLine!).
879
880         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
881         variables. 
882
883 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
884
885         * paragraph.C (BreakParagraph): set the inset_owner in the new par
886         to the same as the par we break from
887
888 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
889
890         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
891
892         * MenuBackend.C (expand): also create menu entries for wide
893         versions of the floats.
894
895         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
896
897         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
898
899         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
900         frontends/Makefile.am
901
902         * text2.C: adjust
903         * text.C: adjust
904         
905
906         * tabular.C (getTokenValue): add std::
907
908         * tabular-old.C (getTokenValue): add std::
909         (getTokenValue): ditto
910         (getTokenValue): ditto
911
912         * screen.C (ToggleSelection): adjust
913
914         * lyxtext.h: put selection cursors inside a Selection struct.
915
916         * lyxfunc.C (moveCursorUpdate): adjust
917
918         * lyxfont.C (latexWriteStartChanges): add std::
919
920         * lyxfind.C: adjust
921
922         * font.h: delete with(char const *, LyXFont const &)
923
924         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
925
926         * FontInfo.C (getFontname): add std::
927
928         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
929         (workAreaButtonPress): adjust
930         (tripleClick): adjust
931         (update): adjust
932         (moveCursorUpdate): adjust
933         (Dispatch): adjust
934
935         * BufferView2.C (gotoInset): adjust
936
937 2001-05-30  Juergen Vigna  <jug@sad.it>
938
939         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
940         to check pspell I add this as default as I now have new pspell
941         libraries and they seem to use this.
942
943 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
944
945         * text2.C (CutSelection): make the cursor valid before the call to
946         ClearSelection.
947
948 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
949
950         * kbsequence.C (parse): de-uglify a bit the parsing code, which
951         relied on 0 terminated strings and other horrors. Bug found due to
952         the new assert in lyxstring!
953
954         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
955         KP_ keys.
956
957 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
958
959         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
960         to latinkeys.bind.
961
962         * lyxfunc.C (processKeySym): change method of getting to the
963         self-insert char.
964
965         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
966         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
967         * BufferView_pimpl.[Ch]: here as private methods.
968
969 2001-05-28  Juergen Vigna  <jug@sad.it>
970
971         * text.C (SetHeightOfRow): added the update() call again as it is
972         needed to initialize inset dimensions!
973
974 2001-05-16  Juergen Vigna  <jug@sad.it>
975
976         * text2.C (SetCharFont): Add new function with BufferView * and
977         bool toggleall parameters for setting insets internal fonts.
978         (SetFont): Freeze the undo as we may change fonts in Insets and
979         all this change should be inside only one Undo!
980
981         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
982         setting font's in insets as for them we have the SetFont function!
983
984 2001-05-15  Juergen Vigna  <jug@sad.it>
985
986         * text2.C (ClearSelection): to be sure we REALLY don't have any
987         selection anymore!
988
989         * tabular.C (TeXCellPreamble): fixed the left border problem for
990         multicolumn cells.
991
992 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
993
994         * LaTeX.C (deplog): Make sure that the main .tex file is in the
995         dependancy file
996
997 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
998
999         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
1000         LFUN_BREAKPARAGRAPH.
1001
1002         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
1003         help test to "internal only", similar for LFUN_INSERT_URL
1004
1005         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
1006         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
1007         auto_region_delete and deadkeys. 
1008
1009 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
1010
1011         * LColor.h:
1012         * LColor.C: remove some dead entries, tidy a little
1013  
1014 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1015
1016         * lyxfunc.C (processKeySym): comment the Escape handling, remove
1017         commented code.
1018         (Dispatch): implement LFUN_ESCAPE
1019
1020         * commandtags.h: add LFUN_ESCAPE
1021
1022         * LyXAction.C (init): add entry for LFUN_ESCAPE
1023
1024         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
1025         Remove commented code.
1026         (insertNote): moved here
1027         (open_new_inset): moved here
1028
1029         * BufferView[2].[Ch]: move insertNote and open_new_inset to
1030         BufferView_pimpl
1031
1032 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1033
1034         * kbmap.C (findbinding): clean it up and make it work correctly.
1035
1036         * lyx_main.C (init): do not pass argc and argv as parameters
1037
1038 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
1039
1040         * buffer.C: fix path for OS/2 & Win32
1041
1042         * lyx_gui.C:
1043         * lyx_main:
1044         * lyx_main.C: Added os:: class.
1045         
1046         * os2_defines.h: update
1047
1048 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1049
1050         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
1051         better by trying again with reduced state.
1052
1053 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1054
1055         * lyxrc.C (read): print error about invalid key sequence only when
1056         debugging (because not all latinX keysyms are known to some X
1057         servers)
1058
1059         * kbsequence.C (getiso): add a few std:: qualifiers
1060         (getiso): comment out extra return statement.
1061
1062 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1063
1064         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
1065         handling.
1066         (Dispatch): enhance the accent inset a bit. (not perfect)
1067
1068 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1069
1070         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
1071
1072 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1073
1074         * bufferlist.C (emergencyWrite): fix assert() call
1075
1076 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
1077
1078         * text.C (InsertChar): Added trivial patch to only send the "you
1079         can not do multiple spaces this way" message once during a
1080         session.
1081
1082 2001-05-08  Baruch Even  <baruch@lyx.org>
1083
1084         * Makefile.am: Changed order of libraries to get LyX to link properly
1085         with the gnome frontend.
1086
1087 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1088
1089         * LaTeXFeatures.h: add a std:: qualifier
1090
1091 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1092
1093         * paragraph.C (String): use stringstream
1094
1095 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1096
1097         * paragraph.C (writeFile): remove footflag arg
1098
1099         * buffer.C (makeLaTeXFile): use stringstream
1100         (latexParagraphs): remove footnot gurba
1101
1102         * LaTeXFeatures.C (getPackages): use stringstream
1103         (getMacros): likewise
1104         (getTClassPreamble): likewise
1105         (getFloatDefinitions): new method
1106
1107         * paragraph.C (writeFile): reindent
1108         (Erase): reindent
1109
1110         * WorkArea.h: revert the xpos + etc changes.
1111
1112         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
1113
1114         * lyxparagraph.[Ch]: add copy constructor, remove Clone
1115
1116         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
1117         (pasteSelection): likewise
1118         * text2.C (CreateUndo): likewise
1119
1120 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1121
1122         * minibuffer.C (peek_event): temporarily reduce the functionality
1123         of the minibuffer (to allow args on lfuns)
1124
1125         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
1126         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
1127
1128         * buffer.C (readInset): add compability reading of old float
1129         lists, add reading of new style float list.
1130         (readInset): avoid reevaluation of inscmd.getCmdName()
1131         (getLists): reindent
1132
1133         * MenuBackend.C (MenuItem): implement parsing of
1134         md_floatlistinsert and md_floatinsert.
1135         (expand::LastFiles): move initalizaton of iterators out of loop,
1136         avoid reevaluation.
1137         (expand::Documents): introduce typdedef vector<string> Strings,
1138         and use it. 
1139         (expand::ExportFormats): introduce typedef vector<Format const *>
1140         Formats, and use it.
1141         (expand): implement FloatListInsert and FloatInsert.
1142
1143         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
1144         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
1145         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
1146
1147         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
1148         handling. 
1149         (Dispatch::LFUN_FLOAT_LIST): implement
1150
1151 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
1152  
1153         * LaTeX.C (run): Fix problem with --export code.
1154  
1155 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
1156
1157         * BufferView.[Ch] (workarea): removed.
1158         (getClipboard) new method; wrapper for workarea()->getClipboard()
1159
1160         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
1161         bug.
1162
1163         * WorkArea.h (width, height, xpos, ypos): These methods all
1164         returned the dimensions of the work_area sub-area of WorkArea,
1165         resulting in a position error if the WorkArea were resized. Now
1166         return the dimensions of the entire WorkArea.
1167
1168         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
1169
1170 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1171
1172         * LaTeX.C (deplog): correct the syntax of regex reg1
1173
1174 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1175
1176         * undo.C: remove !NEW_INSETS cruft
1177
1178 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1179
1180         * text2.C: remove !NEW_INSETS cruft
1181
1182         * text.C: remove !NEW_INSETS cruft
1183
1184         * tabular.C: remove !NEW_INSETS cruft
1185
1186         * spellchecker.C: remove !NEW_INSETS cruft
1187
1188         * lyxtext.h: remove !NEW_INSETS cruft
1189
1190         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
1191
1192         * lyxfunc.C: remove !NEW_INSETS cruft
1193
1194         * lyxfind.C: remove !NEW_INSETS cruft
1195
1196         * lyx_cb.C: remove !NEW_INSETS cruft
1197
1198         * figureForm.C: remove  !NEW_INSETS cruft
1199
1200         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
1201
1202         * buffer.[Ch]: remove !NEW_INSETS cruft
1203
1204         * ToolbarDefaults.C: remove !NEW_INSETS cruft
1205
1206         * CutAndPaste.C: remove !NEW_INSETS cruft
1207
1208         * BufferView_pimpl.C: remove !NEW_INSETS cruft
1209
1210         * BufferView2.C: remove !NEW_INSETS cruft
1211
1212         * BufferView.h: remove !NEW_INSETS cruft
1213
1214 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1215
1216         * Lsstream.h: include LString.h before the sstream headers to
1217         fix problem with gcc 2.95.3 and lyxstring
1218
1219 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1220
1221         * lyx_main.C: add using directives when needed for C functions
1222         declared in std:: namespace.
1223
1224 2001-04-27  Juergen Vigna  <jug@sad.it>
1225
1226         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
1227         (SetHeightOfRow): comment out the update call should not be needed!
1228
1229 2001-04-13  Juergen Vigna  <jug@sad.it>
1230
1231         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
1232         (LyXTabular): tried to minimize operator= operations (and realized
1233         hopfully Lars wish).
1234
1235 2001-04-27  Juergen Vigna  <jug@sad.it>
1236
1237         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
1238
1239 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1240
1241         * lyxfunc.C (Dispatch): hack to make listof algorithm work
1242
1243         * buffer.C (readInset): hack to make listof algorithm work
1244
1245         * BufferView_pimpl.C: hack to make listof algorithm work
1246
1247 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1248
1249         * LyXAction.C: removed all !NEW_INSETS cruft
1250         (init): moved lfun_item in method
1251
1252         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
1253
1254 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
1255
1256         * BufferView2.C (theLockingInset): white space.
1257
1258 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1259
1260         * minibuffer.C: include <iostream>
1261
1262         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
1263
1264         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
1265
1266         * commandtags.h: add LFUN_TRANSPOSE_CHARS
1267
1268         * text.[Ch] (TransposeChars): new method
1269
1270 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1271
1272         * call message directly through LyXView instead of through LyXFunc
1273         * BufferView2.C: adjust
1274         * BufferView_pimpl.C: adjust
1275         * FontLoader.C: adjust
1276         * buffer.C: adjust
1277         * bufferview_funcs.C: adjust
1278         * converter.C: adjust
1279         * figureForm.C: adjust
1280         * importer.C: adjust
1281         * lyx_cb.C: adjust
1282         * lyx_gui_misc.C: adjust
1283         * lyxfunc.C: adjust
1284         * lyxvc.C: adjust
1285         * text2.C: adjust
1286         + more files in subdirs
1287         
1288         * lyxparagraph.h (size): move up int file
1289         (GetLayout): ditto
1290
1291         * adjust all uses of Assert to lyx::Assert.
1292
1293         * BufferView2.C (ChangeCitationsIfUnique): adjust for
1294         lyxfunctional in namespace lyx
1295         * layout.C (hasLayout): ditto
1296         (GetLayout): ditto
1297         (GetLayout): ditto
1298         (delete_layout): ditto
1299         (NumberOfClass): ditto
1300         * converter.C (GetFormat): ditto
1301         (GetNumber): ditto
1302         (Add): ditto
1303         (Delete): ditto
1304         (SetViewer): ditto
1305         * bufferlist.C (getFileNames): ditto
1306         (emergencyWriteAll): ditto
1307         (exists): ditto
1308         (getBuffer): ditto
1309         * MenuBackend.C (hasSubmenu): ditto
1310         (hasMenu): ditto
1311         (getMenu): ditto
1312         * BufferView_pimpl.C (getInsetByCode): ditto
1313
1314 2001-04-18  Juergen Vigna  <jug@sad.it>
1315
1316         * vspace.C (asLatexString): fixed the 100% problem.
1317
1318 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1319
1320         * lyxfunc.C (Dispatch): 
1321         * minibuffer.C: 
1322         * minibuffer.h: add a few std:: qualifiers
1323
1324 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1325
1326         * minibuffer.[Ch]: reimplement so that commands is initiated and
1327         run from lyxfunc, simplified som handling, and made the completion
1328         and history code for complete. wip. 
1329
1330         * lyxfunc.C (processKeySym): call message
1331         (miniDispatch): new temporary method
1332         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
1333         (LFUN_MESSAGE): implement
1334         (LFUN_MESSAGE_PUSH): implement
1335         (LFUN_MESSAGE_POP): implement
1336         (initMiniBuffer): the initial/defualt minibuffer message.
1337
1338         * lyxfont.[Ch]: inline some more getters
1339
1340         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
1341
1342         * lyx_gui_misc.[Ch] (WriteStatus): remove method 
1343
1344         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
1345         (AutoSave): use LFUN_MESSAGE
1346         (Reconfigure): ditto
1347
1348         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
1349
1350         * figureForm.C: use LFUN_MESSAGE
1351
1352         * converter.C (runLaTeX): use LFUN_MESSAGE
1353
1354         * bufferview_funcs.C: use LFUN_MESSAGE
1355         (Melt): ditto
1356         (changeDepth): ditto
1357
1358         * bufferparams.h: use boost::
1359
1360         * bufferlist.h: inherit privately from noncopyable
1361
1362         * bufferlist.C (loadLyXFile): remove some commented code.
1363
1364         * buffer.C (runChktex): use LFUN_MESSAGE
1365
1366         * ShareContainer.h: inherit privately from noncopyable
1367
1368         * ParagraphParameters.[hC] (depth): inline it.
1369
1370         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
1371         methods.
1372         (message): new method
1373         (messagePush): ditto
1374         (messagePop): ditto
1375         (show): init minibuffer
1376         (showState): direct call
1377
1378         * LaTeX.[Ch]: inherit privately from noncopyable
1379         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
1380         instead of WriteStatus.
1381
1382         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
1383
1384         * BufferView_pimpl.C (buffer): don't init minibuffer
1385         (workAreaButtonPress): use LFUN_MESSAGE
1386         (workAreaButtonRelease): ditto
1387         (savePosition): ditto
1388         (restorePosition): ditto
1389         (MenuInsertLyXFile): ditto
1390         (workAreaExpose): don't init minibuffer
1391         (update): remove commented code, simplify
1392
1393         * BufferView2.C (openStuff): use LFUN_MESSAGE
1394         (toggleFloat): ditto
1395         (menuUndo): ditto
1396         (menuRedo): ditto
1397         (copyEnvironment): ditto
1398         (pasteEnvironment): ditto
1399         (copy): ditto
1400         (cut): ditto
1401         (paste): ditto
1402         (gotoInset): ditto
1403         (updateInset): remove some commented code
1404
1405         * lastfiles.h: inherit privately from noncopyable
1406         * layout.h: ditto
1407         * lyx_gui.h: ditto
1408         * lyx_main.h: ditto
1409         * lyxlex.h: ditto
1410         * lyxlex_pimpl.h: ditto
1411
1412         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1413         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1414         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1415
1416         * LyXAction.h: inherit privately from noncopyable, add methods
1417         func_begin, func_end, returning iterators to the func map.
1418
1419         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1420         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1421         (func_begin): new method
1422         (func_end): new method
1423
1424         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1425         and not)
1426         (copySelection): ditto
1427         (pasteSelection): ditto
1428
1429         * BufferView.C: whitespace change
1430         * BufferView.h: inherit privately from noncopyable
1431
1432 2001-04-16  Allan Rae  <rae@lyx.org>
1433
1434         * tabular-old.C (l_getline): 
1435         * spellchecker.C (sc_check_word): 
1436         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1437         an unrecognised preprocessor directive.  So ensure they're wrapped. 
1438
1439 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
1440
1441         * src/exporter.C (Export): Give an error message when path to file 
1442         contains spaces.
1443
1444 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
1445
1446         * LaTeX.C (deplog): Always check that foundfile exists.
1447
1448 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1449
1450         * lyx_main.h: 
1451         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name 
1452
1453 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1454
1455         * tabular.[Ch] (getLabelList): implement new method
1456
1457         * minibuffer.h: comment ouf setTiimer
1458
1459         * minibuffer.C (ExecutingCB): constify res
1460         (peek_event): constify s
1461         (Set): constify ntext
1462         (Init): constify nicename
1463
1464         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1465
1466         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1467         (savePosition): use two params to Minibuffer::Set
1468         (restorePosition): ditto
1469
1470 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1471
1472         * lyx_main.C: include language.h
1473
1474         * Makefile.am (lyx_main.o): add language.h
1475
1476 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1477
1478         * exporter.C: 
1479         * paragraph.C: 
1480         * screen.C: 
1481         * tabular.C: 
1482         * CutAndPaste.C: include gettext.h
1483
1484         * lyxfont.h: remove old hack with ON and OFF.
1485
1486         * lyxparagraph.h: 
1487         * lyxfont.h: do not include language.h...
1488
1489         * BufferView2.C: 
1490         * LaTeXFeatures.C: 
1491         * Painter.C: 
1492         * bufferview_funcs.C: 
1493         * font.C: 
1494         * lyxfont.C: 
1495         * text.C: 
1496         * text2.C: 
1497         * trans_mgr.C: 
1498         * paragraph.C: ... but do it here instead
1499
1500 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1501
1502         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1503
1504         * tabular.C: small reformat
1505
1506         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1507         NEW_INSETS version
1508         (GetChar): ditto
1509         (BreakParagraph): ditto
1510         (SetOnlyLayout): ditto
1511         (SetLayout): ditto
1512
1513         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1514         with one arg less.
1515
1516         * lastfiles.C: removed most using decl, add std:: where needed
1517
1518         * buffer.C: ws changes
1519
1520         * MenuBackend.C (class compare_format): put into anon namespace
1521         (expand): constify label, names, action, action2
1522         (expand): 
1523
1524         * text.C (SingleWidth): constify font
1525         (IsBoundary): constify rtl2
1526         (GetVisibleRow): constify ww
1527
1528         * LaTeX.C (deplog): constify logfile
1529
1530         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1531         start_x, end_x
1532         (workAreaExpose): constify widthChange, heightChange
1533
1534         * lyxrow.C (par): moved
1535         (height): moved
1536         (next): moved
1537         * lyxrow.h: as inlines here
1538
1539         * lyxfont.h (shape): moved from lyxfont.C
1540         (emph): moved from lyxfont.C
1541
1542         * lyxfont.C (LyXFont): use initialization list for all
1543         constructors
1544         (shape): move to lyxfont.h as inline
1545         (emph): move to lyxfont.h as inline
1546         
1547
1548 2001-04-04  Juergen Vigna  <jug@sad.it>
1549
1550         * vspace.C: had to include stdio.h for use of sscanf
1551
1552 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
1553
1554         * BufferView.h: 
1555         * BufferView_pimpl.h: remove xforms cruft. Both classes are
1556         independent of xforms.
1557
1558 2001-04-02  Juergen Vigna  <jug@sad.it>
1559
1560         * spellchecker.C: fixed namespace placing!
1561
1562 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
1563
1564         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1565         the LyXParagraph * is 0.
1566
1567 2001-03-29  Juergen Vigna  <jug@sad.it>
1568
1569         * vspace.C: added support for %, c%, p%, l%.
1570         (stringFromUnit): added helper function.
1571         (asLatexString): changed to give right results for the %-values.
1572
1573         * buffer.C: convert the widthp in a width%.
1574
1575 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
1576
1577         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1578         figureForm.[Ch].
1579
1580         * figureForm.[Ch]: stripped the FD_from_figure manipulation
1581         code out of lux_cb.[Ch], ready for its (imminent?) removal.
1582
1583         * lyx_cb.[Ch]: see above.
1584
1585         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1586         form1.[Ch].
1587
1588         * form1.[Ch]:
1589         * lyx.[Ch]: replaced by figure_form.[Ch].
1590
1591         * lyx_gui.C:
1592         * lyx_gui_misc.C:
1593         * lyxfunc.C: changed headers associated with above changes.
1594
1595 2001-03-27  Juergen Vigna  <jug@sad.it>
1596
1597         * BufferView_pimpl.C: set the temporary cursor right!
1598
1599 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
1600
1601         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1602
1603 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
1604
1605         * LString.h: removed "using std::getline"!
1606
1607         * BufferView_pimpl.C (Dispatch): changes due to changes in
1608         InsetInclude::Params.
1609
1610         * buffer.C (tag_name): removed redundant break statements as they were
1611         producing lots of warnings with my compiler.
1612
1613 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1614
1615         * LString.h: add "using std::getline" when using the real <string>.
1616
1617 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
1618
1619         * buffer.C: removed bitset usage.
1620         PAR_TAG moved to an anonymous name space.
1621         (tag_name): new funtion, also in the anonymous namespace.
1622         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1623         (makeDocBookFile): clean code. Completed transition from string arrays
1624         to string vectors.
1625         (SimpleDocBookOnePar): code clean.
1626
1627 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1628
1629         * tabular.C: add some comments.
1630
1631 2001-03-22  Juergen Vigna  <jug@sad.it>
1632
1633         * buffer.C (parseSingleLyXformat2Token): redone the minipage
1634         compatibility read a bit and fixed bug with minipage in different
1635         depth.
1636
1637 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
1638
1639         * buffer.C (pop_tag): removed.
1640         (push_tag): removed.
1641         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1642         array replaced with vector. Added support for CDATA sections.
1643         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1644         at any nest level.
1645         (makeDocBookFile): XML conformant declaration of CDATA section,
1646         fixed bug related to <emphasis> in the first paragraph char.
1647         (sgmlOpenTag): exclude empty tags.
1648         (sgmlCloseTag): ditto.
1649         
1650         * buffer.h (pop_tag): removed.
1651         (push_tag): removed.
1652
1653 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
1654
1655         * language.h (Languages): added size_type and size().
1656
1657 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1658
1659         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1660         response on compability reading of minipages. One probliem is that
1661         the old usage of minipages was «flertydig» 
1662
1663         * several files here and in subdirs: don't use static at file
1664         scope use anon namespaces instead.
1665
1666 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
1667
1668         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1669         LaTeX output. This is necessary for Literate document
1670         processing.
1671
1672 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1673
1674         * buffer.C: insert hfill when needed.
1675
1676         * tabular.C (l_getline): use string::erase, small whitespace change.
1677
1678         * BufferView_pimpl.C: try the anon namespace.
1679         * WorkArea.C: ditto
1680
1681 2001-03-16  Juergen Vigna  <jug@sad.it>
1682
1683         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1684         otherwise it won't open options-dialogs.
1685
1686         * buffer.C: honor pextraWidth(p) on converting minipages.
1687
1688         * tabular.C (l_getline): changed the functions to strip trailing \r.
1689
1690 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
1691
1692         * BufferView_pimpl.C:
1693         * minibuffer..C: added "using SigC::slot" declaration.
1694
1695 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1696
1697         * lyxlex_pimpl.h: noncopyable is in namespace boost.
1698
1699         * text2.C: ditto
1700
1701         * text.C: ditto
1702
1703         * paragraph.C: ditto
1704
1705         * lyxtext.h: NO_PEXTRA
1706
1707         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1708
1709         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1710         * ParameterStruct.h: ditto
1711         * ParagraphParameters.h: ditto 
1712         * lyxparagraph.h: ditto
1713
1714 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1715
1716         * buffer.C: add compability for minipage alignment.
1717         (latexParagraphs): remove unwanted pextra check.
1718
1719         * several files: remove CXX_WORKING_NAMESPACES
1720
1721         * buffer.C (pop_tag): tie is in namespace boost
1722
1723         * BufferView.h: noncopyable is in namespace boost
1724         * lyxlex.h: ditto
1725         * lyx_main.h: ditto
1726         * lyx_gui.h: ditto
1727         * layout.h: ditto
1728         * lastfiles.h: ditto
1729         * bufferlist.h: ditto
1730         * ShareContainer.h: ditto
1731         * LyXView.h: ditto
1732         * LyXAction.h: ditto
1733         * LaTeX.h: ditto
1734
1735 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1736
1737         * Merging changes from BRANCH_MVC back into HEAD.
1738
1739         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1740
1741 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
1742
1743         * BufferView_pimpl.C: change from intl.C
1744
1745         * combox.h:
1746         * combox.C:
1747         * Makefile.am: move combox.*
1748
1749         * form1.h:
1750         * form1.C:
1751         * lyx_gui.C:
1752         * intl.h:
1753         * intl.C: remove dialog (covered by prefs)
1754
1755 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1756
1757         * lyxfunc.C (Dispatch): removed redundant break statement.
1758         
1759 2001-03-14  Juergen Vigna  <jug@sad.it>
1760
1761         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1762
1763 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1764
1765         * buffer.C: add hack to fix compability reading of minipages.
1766
1767 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
1768
1769         * buffer.C (getLists): Cleanup.
1770
1771 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1772
1773         * lyxfont.C (update): don't honor toggleall on font size.
1774
1775 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
1776
1777         * bmtable.c:
1778         * bmtable.h:
1779         * Makefile.am: moved to frontends/xforms/
1780
1781         * lyx_gui_misc.C:
1782         * lyxfunc.C:
1783         * BufferView_pimpl.C: changes for moved mathpanel
1784
1785 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1786
1787         * gettext.h: fix gettext_init() in --disable-nls
1788
1789 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1790
1791         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1792
1793 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
1794
1795         * lyx.C:
1796         * lyx.h: strip external form
1797
1798 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1799
1800         * BufferView_pimpl.C: add comment, destroySplash()
1801
1802 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1803
1804         * BufferView_pimpl.C:
1805         * LyXAction.C:
1806         * buffer.C:
1807         * commandtags.h:
1808         * lyxfunc.C: use re-worked insetinclude
1809
1810 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1811
1812         * buffer.C: add using std::stringstream.
1813
1814         * lyx_cb.C: readd using std::ios.
1815
1816         * buffer.C: add using std::map.
1817
1818         * BufferView_pimpl.C: add using std::vector.
1819
1820         * ShareContainer.h: add std:: to swap.
1821
1822         * buffer.h: add some typedefs
1823         * buffer.C (getLists): use them
1824         (getLists): renamed from getTocList.
1825         add a counter for the different float types and use it in the
1826         generated string.
1827         (getLists): use the same counter for the NEW_INSETS and the "non"
1828         NEW_INSETS
1829
1830         * lyx_cb.h: remove unused items, includes, using etc.
1831
1832         * ShareContainer.h: remove some commented code, add more comments
1833         and "documentation".
1834
1835 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1836
1837         * buffer.C (getTocList): make the list also when NEW_INSETS is
1838         defined.
1839
1840         * buffer.h: remove TocType
1841
1842         * buffer.C (getTocList): change to return a map<string,
1843         vector<TocItem> >, implement for dynamic number of list.
1844
1845         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1846         * text2.C (PasteSelection): adjust
1847         * CutAndPaste.C (pasteSelection): adjust
1848
1849         * FloatList.C (FloatList): update from the new_insets branch.
1850         * Floating.[Ch]: ditto
1851         * LaTeXFeatures.C: ditto
1852         * buffer.C: ditto
1853         * lyxlex_pimpl.C: ditto
1854         
1855         * paragraph.C (Last): remove when NEW_INSETS is defined.
1856
1857         * other file: changes because of the above.
1858
1859 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1860
1861         * lyxparagraph.h: rename next to next_, previous to previous_,
1862         make them private for NEW_INSETS. Rename Next() to next(),
1863         Previous() to previous().
1864
1865         * other files: changes because of the above.
1866
1867 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
1868
1869         * BufferView.h: 
1870         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1871         problem.
1872
1873 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1874
1875         * main.C (main): pass lyx_localedir to gettext_init().
1876
1877         * gettext.h: remove locale_init and gettext_init macros
1878
1879         * gettext.C (locale_init): new function
1880         (gettext_init): new function
1881
1882         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1883         setlocale().
1884
1885 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
1886
1887         * Moved credits to frontends:
1888         * credits.[Ch]: removed
1889         * credits_form.[Ch]: removed
1890         * lyx_gui_misc.C: remove credits stuff
1891         * Makefile.am:
1892
1893 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1894
1895         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1896
1897         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1898         unneeded destructor.
1899
1900         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1901         a standalone pointer again.
1902
1903         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1904
1905 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
1906
1907         * Makefile.am:
1908         * filedlg.h:
1909         * filedlg.C:
1910         * LyXAction.C:
1911         * ToolbarDefaults.C:
1912         * bufferlist.C:
1913         * commandtags.h:
1914         * form1.C:
1915         * form1.h:
1916         * lyx_cb.C:
1917         * lyx_cb.h:
1918         * lyxfunc.h:
1919         * lyxfunc.C:
1920         * BufferView_pimpl.C: use new file dialog in GUII
1921
1922         * lyx_cb.h:
1923         * lyx_cb.C: remove LayoutsCB to Toolbar
1924
1925 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1926
1927         * ShareContainer.h (get): add std:: qualifier
1928
1929 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1930
1931         * ShareContainer.h: define a proper ShareContainer::value_type
1932         type (and use typename to please compaq cxx)
1933
1934 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1935
1936         * lyxparagraph.h: move serveral local vars to
1937         ParameterStruct/ParagraphParameters., use ShareContainer in
1938         FontTable., make vars in FontTable private and add getter and
1939         setter.
1940
1941         * paragraph.C: changes because of the above.
1942
1943         * lyxfont.h: remove copy constructor and copy assignment. (the
1944         default ones is ok), move number inside FontBits. move inlines to
1945         lyxfont.C 
1946
1947         * lyxfont.C: add number to initializaton of statics, move several
1948         inlines here. constify several local vars. some whitespace
1949         cleanup. Dont hide outerscope variables.
1950
1951         * Spacing.h: add two new constructors to match the set methods.
1952
1953         * ShareContainer.h: new file, will perhaps be moved to support
1954
1955         * ParameterStruct.h: new file
1956
1957         * ParagraphParameters.h: new file
1958
1959         * ParagraphParameters.C: new file
1960
1961         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
1962         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
1963
1964         * BufferView_pimpl.C: ParagraphParameter changes.
1965         * buffer.C: Likewise.
1966         * bufferview_funcs.C: Likewise.
1967         * text.C: Likewise.
1968         * text2.C: Likewise.
1969         
1970 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1971
1972         * lyxfind.C (LyXReplace): do not redefine default argument in
1973         implementation. 
1974         (IsStringInText): ditto
1975         (SearchForward): ditto
1976         (SearchBackward): ditto
1977
1978 2001-03-06  Juergen Vigna  <jug@sad.it>
1979
1980         * lyxfind.C (IsStringInText): put parentes around expressions.
1981
1982 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
1983
1984         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
1985         
1986 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
1987
1988         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
1989
1990         * stl_string_fwd.h: add comment
1991
1992         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
1993
1994         * tabular.h:
1995         * tabular.C: remove unused DocBook methods
1996
1997         * intl.C:
1998         * language.C:
1999         * paragraph.C:
2000         * buffer.C:
2001         killed DO_USE_DEFAULT_LANGUAGE
2002
2003 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2004
2005         * lyx_gui.C: do not include language.h.
2006
2007         * bufferview_funcs.C (ToggleAndShow): do not provide optional
2008         arguments in function implementation.
2009
2010 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2011
2012         * BufferView_pimpl.C: add <ctime>
2013
2014 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2015
2016         * BufferView_pimpl.C: add using std::find_if
2017
2018 2001-02-27  José Matos  <jamatos@fep.up.pt>
2019         
2020         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
2021         by OnlyPath.
2022         
2023 2001-02-11  José Matos  <jamatos@fep.up.pt>
2024
2025         * buffer.C (makeDocBookFile): command styles now have a parameter as
2026         "title" by default.
2027
2028 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
2029
2030         * layout_forms.[Ch]: removed
2031         * lyx_cb.[Ch]: out character
2032         * lyx_gui.C: out character
2033         * lyx_gui_misc.C: out character
2034         * bufferview_funcs.C: : out character,
2035         added toggleall as parameter in ToggleAndShow
2036                    
2037 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
2038
2039         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
2040
2041         * text2.C (SetCurrentFont): Disable number property at boundary.
2042
2043 2001-02-26  Juergen Vigna  <jug@sad.it>
2044
2045         * lyxfunc.C (getStatus): added a string argument override function so
2046         that this is correctly called from LyXFunc::Dispatch if it contains a
2047         do_not_use_argument which is used!
2048         (Dispatch): added check for "custom" export and call appropriate func.
2049
2050 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
2051
2052         * lyxrc.C: Add language_command_local, language_use_babel and
2053         language_global_options.
2054
2055         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
2056
2057         * buffer.C (makeLaTeXFile): Use language_use_babel and 
2058         language_global_options.
2059
2060 2001-02-23  Juergen Vigna  <jug@sad.it>
2061
2062         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
2063         which works with LyXText and putted it inside BufferView. Here now we
2064         only call for that part the BufferView::Dispatch() function.
2065
2066         * BufferView.C (Dispatch): added.
2067
2068         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
2069         functions which needs to use a LyXText over from LyXFunc.
2070         (MenuInsertLyXFile): added
2071         (getInsetByCode): added
2072         (moveCursorUpdate): added
2073         (static TEXT): added
2074
2075 2001-02-22  Juergen Vigna  <jug@sad.it>
2076
2077         * BufferView_pimpl.C (update): call a status update to see if LyXText
2078         needs it.
2079
2080 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2081
2082         * vc-backend.C (revert): implement for CVS
2083         (getLog): implement for CVS
2084
2085 2001-02-20  Juergen Vigna  <jug@sad.it>
2086
2087         * text2.C (ClearSelection): added BufferView param for inset_owner call
2088
2089         * lyxfunc.C (TEXT): added this function and use it instead of
2090         directly owner->view()-text of getLyXText().
2091
2092 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
2093
2094         * src/layout_forms.C: out preamble
2095         * src/layout_forms.h: out preamble
2096         * src/lyx_cb.C: out preamble
2097         * src/lyx_cb.h: out preamble
2098         * src/lyx_gui.C: out preamble
2099         * src/lyx_gui_misc.C: out preamble
2100         * src/lyxfunc.C: connect with guii preamble
2101
2102 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
2103
2104         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2105
2106 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
2107
2108         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
2109         whether to run bibtex.
2110
2111 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
2112
2113         * Makefile.am (lyx_SOURCES): Remove BackStack.h
2114
2115 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
2116
2117         * Makefile.am (lyx_SOURCES): removed bibforms.h
2118
2119         * vspace.h: doxygen
2120
2121         * text.C (GetVisibleRow): make several local vars const
2122
2123         * tabular.C: small cleanup.
2124
2125         * lyxserver.C (callback): use compare instead of strncmp
2126
2127         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
2128         inlines to after class or to paragraph.C
2129
2130         * lyxfont.h: remove friend operator!=
2131
2132         * converter.h: move friend bool operator< to non friend and after
2133         class def.
2134
2135         * combox.h: small cleanup
2136
2137         * buffer.h: doxygen, remove unused constructor, move inclas inlies
2138         to inlines after class def.
2139
2140         * buffer.C (pop_tag): use string operations instead of strcmp
2141
2142         * bmtable.c: doxygen, small cleanup
2143
2144         * LaTeX.h: remove friend operator==
2145
2146 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2147
2148         * screen.C: 
2149         * lyxrc.[Ch]:
2150         * lyxfunc.C: 
2151         * lyxfont.[Ch]: 
2152         * lyx_cb.C: 
2153         * intl.[Ch]: 
2154         * commandtags.h: 
2155         * buffer.C: 
2156         * WorkArea.[Ch]: 
2157         * LyXAction.C: 
2158         * BufferView_pimpl.C:
2159         * BufferView.[Ch]: remove cruft
2160
2161 2001-02-14  Juergen Vigna  <jug@sad.it>
2162
2163         * lyxfunc.C: removed #if 0 unused code
2164
2165         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
2166
2167         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
2168
2169         * text2.C (SetSelection): added a BufferView * parameter
2170
2171 2001-02-13  Juergen Vigna  <jug@sad.it>
2172
2173         * lyxfunc.C (Dispatch): fixed protected blank problem.
2174         * BufferView2.C (protectedBlank): added LyxText * parameter.
2175
2176         * tabular.C (AppendRow): forgot to set row_info of newly added row.
2177         (AppendColumn): same as above for column_info.
2178
2179         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
2180         (moveCursorUpdate): use a LyXText param for support of InsetText.
2181
2182         * BufferView_pimpl.C (doubleClick): added support for InsetText.
2183         (tripleClick): ditto
2184
2185         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
2186
2187         * BufferView_pimpl.C (update): added LyXText param to honor insets.
2188
2189         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
2190
2191         * text2.C (SetSelection): set correct update status if inset_owner
2192         (ToggleFree): ditto
2193
2194 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
2195
2196         * tabular.C: remove some commented code.
2197
2198 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
2199
2200         * BufferView_pimpl.C: call hideSplash()
2201
2202         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
2203
2204         * include_form.h:
2205         * bibforms.h: remove
2206
2207         * lyxfunc.C:
2208         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
2209           add LFUN_CHILD_CREATE
2210
2211         * counters.h: fix tiny typo
2212         
2213         * lyx_cb.C:
2214         * lyx.h:
2215         * lyx_gui.C:
2216         * lyx.C: move splash to frontends/xforms/
2217
2218         * lyx_gui_misc.C: move Include and Bibform to frontends
2219
2220         * lyxvc.h: clarify comment
2221
2222         * vspace.C: tiny housekeeping
2223
2224 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
2225
2226         * text.C (PrepareToPrint): RTL Fix.
2227
2228         * paragraph.C (GetUChar): New method.
2229         (String):  Use GetUChar.
2230
2231         * buffer.C (asciiParagraph): Use GetUChar.
2232
2233 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
2234
2235         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2236
2237 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
2238
2239         * buffer.h:
2240         * buffer.C: rename to getLogName(), handle
2241           build log / latex log nicely
2242
2243 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2244
2245         * MenuBackend.C: 
2246         * MenuBackend.h: remove support for reference menuitem type.
2247
2248 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
2249
2250         * BufferView_pimpl.C: housekeeping
2251         * BufferView_pimpl.h:
2252         * LyXView.h:
2253         * Makefile.am:
2254         * Timeout.C:
2255         * Timeout.h:
2256         * minibuffer.h: move Timeout GUI-I
2257                           
2258 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
2259
2260         * lyxrc.C (read): Update converters data-structures.
2261
2262 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
2263
2264         * LaTeX.h (operator!=): add operator != for Aux_Info 
2265
2266 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
2267
2268         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
2269
2270         * LaTeXLog.C: deleted, useful code moved to Buffer
2271
2272         * buffer.h:
2273         * buffer.C: new function getLatexLogName()
2274
2275         * lyx_gui_misc.C:
2276         * lyx_gui.C:
2277         * lyxvc.C:
2278         * lyxvc.h:
2279         * lyxfunc.C: use frontends for LaTeX and VC logs
2280
2281 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2282
2283         * LaTeX.h: yet another std:: that Allan forgot.
2284
2285         * Variables.C (set): renamed from isset(), because this clashes
2286         with some HP-UX macros (grr).
2287
2288 2001-02-06  Allan Rae  <rae@lyx.org>
2289
2290         * LaTeX.h: Another bug fix.  Missing std:: this time.
2291
2292 2001-02-04  Allan Rae  <rae@lyx.org>
2293
2294         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
2295         floats problem. I've left it commented out because it's not quite
2296         correct.  It should also test that the current object is a table or
2297         figure inset.  But I haven't gotten around to figuring out how to do
2298         that.  I *think* it'll be something like: "table" == inset.type()
2299
2300         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
2301         bool.
2302
2303 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
2304
2305         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
2306         all the citation/databases/styles in the auxilary file. 
2307         (run): Rerun latex if there was a babel language error.
2308
2309 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
2310
2311         * text.C (Backspace): Preserve the font when changing newline char
2312         with a space.
2313         (BreakParagraph): If the cursor is before a space, delete the space.
2314
2315         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2316
2317 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
2318
2319         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
2320         new argument (code).
2321         (ChangeCitationsIfUnique): New method.
2322
2323         * paragraph.C (GetPositionOfInset): Handle bibkey.
2324
2325 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2326
2327         * BufferView_pimpl.h: change type of Position::par_pos to
2328         LyXParagraph::size_type. 
2329
2330 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
2331
2332         * BufferView_pimpl.C (savePosition, restorePosition): Write
2333         messages to minibuffer.
2334
2335 2001-01-28  José Matos  <jamatos@fep.up.pt>
2336
2337         * buffer.C (makeDocBookFile): adds support for document language.
2338         A silly restriction on the name of LatexCommand types where removed.
2339         Added support for CDATA sections, allows to chars unescaped, used
2340         among others in code, to avoid escape < and >.
2341         
2342 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
2343
2344         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
2345         saved positions instrad of a stack. Furthermore, a position is
2346         stored using paragraph id/paragraph position.
2347
2348         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
2349         Remove LFUN_REF_BACK.
2350
2351 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
2352
2353         * converter.C (dvipdfm_options): New method.
2354
2355 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
2356
2357         * vspace.C (isValidLength): Fix for empty input string.
2358
2359 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2360
2361         * LyXAction.C (init): change description of LFUN_FIGURE to
2362         "Insert Graphics"
2363
2364 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2365
2366         * LaTeX.C: add using directive
2367
2368 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
2369
2370         * MenuBackend.C (expand): Fix the sorting of the formats.
2371
2372 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
2373
2374         * lyx_main.C: tiny error message fix
2375
2376 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2377
2378         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
2379         calling fl_initialize(). This fixes the problem with ',' as
2380         decimal separator in text files.
2381
2382 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
2383
2384         * trans.C (process): Fix the keymap bug.
2385
2386 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
2387
2388         * LaTeX.C (scanAuxFiles): New method. Provides support for
2389         multiple bibliographies (when using the bibtopic/bibunits pacakges).
2390         (scanLogFile) Scan for "run BibTeX" messages.
2391
2392         * buffer.C (makeLaTeXFile): Do not load the ae package when using
2393         OT1 font encoding. Also, load the aecompl package if the ae
2394         package is loaded.
2395
2396         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2397
2398 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2399
2400         * texrow.C (increasePos): turn two error messages into debug
2401         messages. 
2402
2403 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
2404
2405         * LaTeX.C (scanAux): Handle the \@input macro.
2406         (runBibTeX): Use scanAux().
2407
2408         * language.C (latex_options_): New field.
2409
2410         * LaTeXFeatures.C (getMacros): Add language macros.
2411
2412         * buffer.C (makeLaTeXFile): Small fix.
2413
2414 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2415
2416         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2417
2418         * text2.C: add a using directive.
2419
2420 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
2421
2422         * BufferView2.C:
2423         * lyx_gui_misc.h:
2424         * lyxfr1.C:
2425         * lyxfunc.C: kill LyXBell.
2426
2427 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
2428
2429         * text.C (IsBoundary): Remove the error message
2430         
2431         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2432
2433         * lyxrc.C (setDefaults): Correct initialization value for
2434         font_norm_type.
2435
2436 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
2437
2438         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2439         gotoError().
2440
2441         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2442         and GotoNextNote().
2443
2444         * src/LyXAction.C: Added reference-next.
2445
2446         * text.C (InsertChar): Use contains instead of strchr.
2447
2448         * lyx_cb.C (MenuInsertLabel): Enable default value code.
2449
2450 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
2451
2452         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2453         alignment commands (when needed).
2454
2455         * text.C (InsertChar): Add ':' to number separator chars.